[Pellet-users] [Fwd: example BnodeQueryExample error]

Evren Sirin evren at clarkparsia.com
Mon Mar 5 14:39:08 UTC 2007


Note that, these are just warnings printed and not error messages. The 
problem is the ontology uses a property from OWL namespace 
owl:sameIndividualAs which is not defined in OWL. And this is because 
the food ontology used in that example is from an earlier OWL guide 
(before owl:sameIndividualAs was dropped in favor of owl:sameAs). The 
corrected food ontology is at [2] and does not have that problem. But 
this little problem has no effect on the results of that example, i.e. 
you are supposed to get answers only with the first execution of query 
and not the rest.

Cheers,
Evren

[1] http://www.w3.org/2001/sw/WebOnt/guide-src/food.owl
[2] http://www.w3.org/TR/2003/PR-owl-guide-20031209/food


On 3/3/07 10:19 AM, Olli wrote:
> Hi all,
>
> The code from BnodeQueryExample.java is working but I 
> got following WARN message by executing the example and don't understand why:
>
> Running first query with PelletQueryEngine...
> WARN [main] (OWLLoader.java:305) - Ignoring triple with unknown property from OWL namespace: http://www.w3.org/2001/sw/WebOnt/guide-src/food#Dry @owl:sameIndividualAs http://www.w3.org/2001/sw/WebOnt/guide-src/wine#Dry
> WARN [main] (OWLLoader.java:305) - Ignoring triple with unknown property from OWL namespace: http://www.w3.org/2001/sw/WebOnt/guide-src/food#White @owl:sameIndividualAs http://www.w3.org/2001/sw/WebOnt/guide-src/wine#White
> WARN [main] (OWLLoader.java:305) - Ignoring triple with unknown property from OWL namespace: http://www.w3.org/2001/sw/WebOnt/guide-src/food#Moderate @owl:sameIndividualAs http://www.w3.org/2001/sw/WebOnt/guide-src/wine#Moderate
> WARN [main] (OWLLoader.java:305) - Ignoring triple with unknown property from OWL namespace: http://www.w3.org/2001/sw/WebOnt/guide-src/food#Sweet @owl:sameIndividualAs http://www.w3.org/2001/sw/WebOnt/guide-src/wine#Sweet
> WARN [main] (OWLLoader.java:305) - Ignoring triple with unknown property from OWL namespace: http://www.w3.org/2001/sw/WebOnt/guide-src/food#Delicate @owl:sameIndividualAs http://www.w3.org/2001/sw/WebOnt/guide-src/wine#Delicate
> WARN [main] (OWLLoader.java:305) - Ignoring triple with unknown property from OWL namespace: http://www.w3.org/2001/sw/WebOnt/guide-src/food#OffDry @owl:sameIndividualAs http://www.w3.org/2001/sw/WebOnt/guide-src/wine#OffDry
> WARN [main] (OWLLoader.java:305) - Ignoring triple with unknown property from OWL namespace: http://www.w3.org/2001/sw/WebOnt/guide-src/food#Strong @owl:sameIndividualAs http://www.w3.org/2001/sw/WebOnt/guide-src/wine#Strong
> WARN [main] (OWLLoader.java:305) - Ignoring triple with unknown property from OWL namespace: http://www.w3.org/2001/sw/WebOnt/guide-src/food#Light @owl:sameIndividualAs http://www.w3.org/2001/sw/WebOnt/guide-src/wine#Light
> WARN [main] (OWLLoader.java:305) - Ignoring triple with unknown property from OWL namespace: http://www.w3.org/2001/sw/WebOnt/guide-src/food#Rose @owl:sameIndividualAs http://www.w3.org/2001/sw/WebOnt/guide-src/wine#Rose
> WARN [main] (OWLLoader.java:305) - Ignoring triple with unknown property from OWL namespace: http://www.w3.org/2001/sw/WebOnt/guide-src/food#Red @owl:sameIndividualAs http://www.w3.org/2001/sw/WebOnt/guide-src/wine#Red
> WARN [main] (OWLLoader.java:305) - Ignoring triple with unknown property from OWL namespace: http://www.w3.org/2001/sw/WebOnt/guide-src/food#Medium @owl:sameIndividualAs http://www.w3.org/2001/sw/WebOnt/guide-src/wine#Medium
> WARN [main] (OWLLoader.java:305) - Ignoring triple with unknown property from OWL namespace: http://www.w3.org/2001/sw/WebOnt/guide-src/food#Full @owl:sameIndividualAs http://www.w3.org/2001/sw/WebOnt/guide-src/wine#Full
> ------------------------------
> | Meal          | WineColor  |
> ==============================
> | food:MyDinner | food:Red   |
> | food:MyLunch  | food:White |
> ------------------------------
>
> Running second query with PelletQueryEngine...
> --------------------
> | Meal | WineColor |
> ====================
> --------------------
>
> Running first query with standard Jena QueryEngine...
> --------------------
> | Meal | WineColor |
> ====================
> --------------------
>
> I hope I don't waste your time!
> What could be the reason for this WARNING?
> As the code is working I assume that the .classpath and the other stuff should be configured right.
> Relating to the svn entry there's been no change to OWLLoader.java in Pellet since the  Mon Aug 07 19:26:28 BST 2006?!.......I have no idea........
>
> Thanks in advance.
>
> cheers
> Olli
>
>
>
>
>
>
> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________
>
> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/
>   



More information about the Pellet-users mailing list