[Pellet-users] help please
Giantonio Chiarelli
giantkiar at gmail.com
Sat May 10 13:07:18 UTC 2008
I make a simple protégé project in wich there are Person, Colors, Black
hair and blond hair;
Person has a ObjectProperty "haCapelli" (hasHair), from Person to Colors;
Colors has more individuals: Nero (black), Marrone (brown) e Giallo
(Yellow);
Person has more individuals:
Mari has brown hair
Giantonio has black hair
Giacomo has yellow hair
Rules are (made by Protégé SWRL tab):
bruno(X) :- Persona(X), haCapelli(X, Y), Colore(Y), Y = 'nero';
biondo(X) :- Persona(X), not bruno(X)
than
bruno(Giantonio)
biondo(Mari)
biondo(Giacomo)
But Pellet exaplain some warning because for negation I use the built-in
function 'http://www.w3.org/2003/11/swrlb#notEqual'...
What is wrong? Or how can I use Pellet to make this inference?
I send you the ontology (prova.rar) and the warning message report...
WARN [main] (BindingGeneratorStrategyImpl.java:94) - IGNORING RULE
[http://localhost:8080/clickworld2/ontologie/ontology.owl#Persona(?http://localhos
t:8080/clickworld2/ontologie/ontology.owl#x),
http://www.w3.org/2003/11/swrlb#notEqual([?http://localhost:8080/clickworld2/ontologie/ontology.owl#Brun
o])] =>
[http://localhost:8080/clickworld2/ontologie/ontology.owl#Biondo(?http://localhost:8080/clickworld2/ontologie/ontology.owl#x)]:
Cannot generat
e bindings for all data variables.
Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warningMessage.jpg
Type: image/jpeg
Size: 234475 bytes
Desc: not available
Url : http://lists.owldl.com/pipermail/pellet-users/attachments/20080510/c6d09a6b/attachment-0001.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prova.rar
Type: application/octet-stream
Size: 16050 bytes
Desc: not available
Url : http://lists.owldl.com/pipermail/pellet-users/attachments/20080510/c6d09a6b/attachment-0001.obj
More information about the Pellet-users
mailing list