You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by David Riccitelli <da...@interact.it> on 2011/07/12 14:54:25 UTC
only some rules loaded
I have the attached seo_rules.sem file, which is made of many rules.
Nevertheless, when it is loaded by the refactor engine, only the first three
rules get loaded:
12.07.2011 15:51:21.676 *INFO* [FelixPackageAdmin]
org.apache.stanbol.rules.manager.changes.RuleStoreImpl The rule
http://kres.iks-project.eu/ontology/meta/variables#livingPeopleTypeRule has
been added to the ruleset
12.07.2011 15:51:21.676 *INFO* [FelixPackageAdmin]
org.apache.stanbol.rules.manager.changes.RuleStoreImpl The rule
http://kres.iks-project.eu/ontology/meta/variables#dbpropNameRule has been
added to the ruleset
12.07.2011 15:51:21.677 *INFO* [FelixPackageAdmin]
org.apache.stanbol.rules.manager.changes.RuleStoreImpl The rule
http://kres.iks-project.eu/ontology/meta/variables#dbpropCurrentTeamRule has
been added to the ruleset
12.07.2011 15:51:21.677 *INFO* [FelixPackageAdmin]
org.apache.stanbol.enhancer.engines.refactor.RefactorEnhancementEngine Added
rules to recipe
12.07.2011 15:51:21.677 *INFO* [FelixPackageAdmin]
org.apache.stanbol.enhancer.engines.refactor.RefactorEnhancementEngine
Activated Dulcifier engine
I cannot understand why ...
BR
David
--
David Riccitelli
Interact SpA
Via A. Bargoni 78 (scala F)
00153 Roma
T +39 06 58318 301
F +39 06 58318 303
Re: only some rules loaded
Posted by Andrea Giovanni Nuzzolese <nu...@cs.unibo.it>.
Yes.
Rigth now is mandatory a join . between spaces.
I am investigating how to prevent it.
Andrea
On Jul 12, 2011, at 4:39 PM, David Riccitelli wrote:
> I finally found the issue, by hex dumping the file I noticed that rules
> stopped processing when the line was ending w/o a space, i.e.:
>
> - no space after dot, *not working*:
> "dbpropCurrentTeamRule[has(dbprop:currentTeam, ?x, ?y) .
> has(dbprop:currentTeam, ?x, ?y) -> has(google:affiliation, ?x, ?y)] ."
> - space after dot, *working*: "no space after dot, not working:
> "dbpropCurrentTeamRule[has(dbprop:currentTeam, ?x, ?y) .
> has(dbprop:currentTeam, ?x, ?y) -> has(google:affiliation, ?x, ?y)] . "
>
> Is the space after the dot a must then?
>
> BR
> David
>
> On Tue, Jul 12, 2011 at 3:54 PM, David Riccitelli <
> david.riccitelli@interact.it> wrote:
>
>> I have the attached seo_rules.sem file, which is made of many rules.
>>
>> Nevertheless, when it is loaded by the refactor engine, only the first
>> three rules get loaded:
>> 12.07.2011 15:51:21.676 *INFO* [FelixPackageAdmin]
>> org.apache.stanbol.rules.manager.changes.RuleStoreImpl The rule
>> http://kres.iks-project.eu/ontology/meta/variables#livingPeopleTypeRulehas been added to the ruleset
>> 12.07.2011 15:51:21.676 *INFO* [FelixPackageAdmin]
>> org.apache.stanbol.rules.manager.changes.RuleStoreImpl The rule
>> http://kres.iks-project.eu/ontology/meta/variables#dbpropNameRule has been
>> added to the ruleset
>> 12.07.2011 15:51:21.677 *INFO* [FelixPackageAdmin]
>> org.apache.stanbol.rules.manager.changes.RuleStoreImpl The rule
>> http://kres.iks-project.eu/ontology/meta/variables#dbpropCurrentTeamRulehas been added to the ruleset
>> 12.07.2011 15:51:21.677 *INFO* [FelixPackageAdmin]
>> org.apache.stanbol.enhancer.engines.refactor.RefactorEnhancementEngine Added
>> rules to recipe
>> 12.07.2011 15:51:21.677 *INFO* [FelixPackageAdmin]
>> org.apache.stanbol.enhancer.engines.refactor.RefactorEnhancementEngine
>> Activated Dulcifier engine
>>
>>
>> I cannot understand why ...
>>
>> BR
>> David
>>
>> --
>> David Riccitelli
>>
>> Interact SpA
>> Via A. Bargoni 78 (scala F)
>> 00153 Roma
>>
>> T +39 06 58318 301
>> F +39 06 58318 303
>>
>>
>
>
> --
> David Riccitelli
>
> Interact SpA
> Via A. Bargoni 78 (scala F)
> 00153 Roma
>
> T +39 06 58318 301
> F +39 06 58318 303
Re: only some rules loaded
Posted by David Riccitelli <da...@interact.it>.
I finally found the issue, by hex dumping the file I noticed that rules
stopped processing when the line was ending w/o a space, i.e.:
- no space after dot, *not working*:
"dbpropCurrentTeamRule[has(dbprop:currentTeam, ?x, ?y) .
has(dbprop:currentTeam, ?x, ?y) -> has(google:affiliation, ?x, ?y)] ."
- space after dot, *working*: "no space after dot, not working:
"dbpropCurrentTeamRule[has(dbprop:currentTeam, ?x, ?y) .
has(dbprop:currentTeam, ?x, ?y) -> has(google:affiliation, ?x, ?y)] . "
Is the space after the dot a must then?
BR
David
On Tue, Jul 12, 2011 at 3:54 PM, David Riccitelli <
david.riccitelli@interact.it> wrote:
> I have the attached seo_rules.sem file, which is made of many rules.
>
> Nevertheless, when it is loaded by the refactor engine, only the first
> three rules get loaded:
> 12.07.2011 15:51:21.676 *INFO* [FelixPackageAdmin]
> org.apache.stanbol.rules.manager.changes.RuleStoreImpl The rule
> http://kres.iks-project.eu/ontology/meta/variables#livingPeopleTypeRulehas been added to the ruleset
> 12.07.2011 15:51:21.676 *INFO* [FelixPackageAdmin]
> org.apache.stanbol.rules.manager.changes.RuleStoreImpl The rule
> http://kres.iks-project.eu/ontology/meta/variables#dbpropNameRule has been
> added to the ruleset
> 12.07.2011 15:51:21.677 *INFO* [FelixPackageAdmin]
> org.apache.stanbol.rules.manager.changes.RuleStoreImpl The rule
> http://kres.iks-project.eu/ontology/meta/variables#dbpropCurrentTeamRulehas been added to the ruleset
> 12.07.2011 15:51:21.677 *INFO* [FelixPackageAdmin]
> org.apache.stanbol.enhancer.engines.refactor.RefactorEnhancementEngine Added
> rules to recipe
> 12.07.2011 15:51:21.677 *INFO* [FelixPackageAdmin]
> org.apache.stanbol.enhancer.engines.refactor.RefactorEnhancementEngine
> Activated Dulcifier engine
>
>
> I cannot understand why ...
>
> BR
> David
>
> --
> David Riccitelli
>
> Interact SpA
> Via A. Bargoni 78 (scala F)
> 00153 Roma
>
> T +39 06 58318 301
> F +39 06 58318 303
>
>
--
David Riccitelli
Interact SpA
Via A. Bargoni 78 (scala F)
00153 Roma
T +39 06 58318 301
F +39 06 58318 303