[Pellet-users] Pellet bugs?

James Howison james at howison.name
Wed May 7 15:18:27 UTC 2008


All we can see from that query is that there is are two solutions for  
each wine:

<wine_url> wine:colour ontology1207680807:white .
<wine_url> wine:colour ontology1207680807:red .

with the other attributes the same.  We can't tell how this might have  
come to have happened, maybe it is the result of the ground data  
provided to Pellet, maybe it is the result of OWL inference or SWRL  
inference by Pellet.

One thing that does jump to mind, though, is to ask what the  
definition of the wine:colour property is?  Is it, for example,  
functional?  If it is then this ontology would seem to be  
inconsistent.  You could make it functional and then see when/how the  
ontology becomes inconsistent.  If it is the result of inference (or  
perhaps of SWRL rules), then the capabilities of Pellet ought to show  
you how the contradictory statements come to be (you can easily access  
the explanations though Protege 4 or OwlSight).

I suspect, though, that this is a ground data issue, but without  
sample data and the ontology it is hard to tell :)

--J

On May 7, 2008, at 12:58 AM, Margaret A Mitchell wrote:

> Hello,
>
> I've built a wine ontology that I'm querying using Pellet, but  
> something funny has started happening...we've associated 'colour' as  
> a property of wine individuals, where the possible colour values are  
> red, white, and rose.  But, when we query Pellet to list the wines  
> in our ontology, the colour values for each wine aren't right...each  
> wine is listed as both red AND white.
>
> Any ideas about how to keep this from happening?
>
> Query:
> PREFIX wine: <http://www.owl-ontologies.com/Ontology1207680807.owl#>
> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
> PREFIX owl: <http://www.w3.org/2002/07/owl#>
> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
> SELECT ?name ?body ?flavour ?region ?price ?year ?colour
> WHERE
> {?name wine:body ?body;
> wine:year ?year;
> wine:price ?price;
> wine:region ?region;
> wine:colour ?colour;
> wine:flavour ?flavour.
> ?name rdfs:comment ?comment.
> }
> ORDER BY ?name
>
>
> And here's a snippet of what it returns...
>
> ontology1207680807 
> :Antica_Terra_Botanica_Pinot_Noir                                  |  
> ontology1207680807:intensely_rich_or_rich |  
> ontology1207680807:bergamot         |  
> ontology1207680807:Willamette_Valley  | ontology1207680807:under_50   
> | ontology1207680807:Year_2006 | ontology1207680807:red
> ontology1207680807 
> :Antica_Terra_Botanica_Pinot_Noir                                  |  
> ontology1207680807:intensely_rich_or_rich |  
> ontology1207680807:blueberry        |  
> ontology1207680807:Willamette_Valley  | ontology1207680807:under_50   
> | ontology1207680807:Year_2006 | ontology1207680807:red
> ontology1207680807 
> :Antica_Terra_Botanica_Pinot_Noir                                  |  
> ontology1207680807:intensely_rich_or_rich |  
> ontology1207680807:cherry           |  
> ontology1207680807:Willamette_Valley  | ontology1207680807:under_50   
> | ontology1207680807:Year_2006 | ontology1207680807:red
> ontology1207680807 
> :Antica_Terra_Botanica_Pinot_Noir                                  |  
> ontology1207680807:intensely_rich_or_rich |  
> ontology1207680807:cinnamon         |  
> ontology1207680807:Willamette_Valley  | ontology1207680807:under_50   
> | ontology1207680807:Year_2006 | ontology1207680807:red
> ontology1207680807 
> :Antica_Terra_Botanica_Pinot_Noir                                  |  
> ontology1207680807:intensely_rich_or_rich |  
> ontology1207680807:raspberry        |  
> ontology1207680807:Willamette_Valley  | ontology1207680807:under_50   
> | ontology1207680807:Year_2006 | ontology1207680807:red
> ontology1207680807 
> :Antica_Terra_Botanica_Pinot_Noir                                  |  
> ontology1207680807:intensely_rich_or_rich |  
> ontology1207680807:rose_petals      |  
> ontology1207680807:Willamette_Valley  | ontology1207680807:under_50   
> | ontology1207680807:Year_2006 | ontology1207680807:red
> ontology1207680807 
> :Antica_Terra_Botanica_Pinot_Noir                                  |  
> ontology1207680807:intensely_rich_or_rich |  
> ontology1207680807:spice            |  
> ontology1207680807:Willamette_Valley  | ontology1207680807:under_50   
> | ontology1207680807:Year_2006 | ontology1207680807:red
> ontology1207680807 
> :Antica_Terra_Botanica_Pinot_Noir                                  |  
> ontology1207680807:intensely_rich_or_rich |  
> ontology1207680807:bergamot         |  
> ontology1207680807:Willamette_Valley  | ontology1207680807:under_50   
> | ontology1207680807:Year_2006 | ontology1207680807:white
> ontology1207680807 
> :Antica_Terra_Botanica_Pinot_Noir                                  |  
> ontology1207680807:intensely_rich_or_rich |  
> ontology1207680807:blueberry        |  
> ontology1207680807:Willamette_Valley  | ontology1207680807:under_50   
> | ontology1207680807:Year_2006 | ontology1207680807:white
> ontology1207680807 
> :Antica_Terra_Botanica_Pinot_Noir                                  |  
> ontology1207680807:intensely_rich_or_rich |  
> ontology1207680807:cherry           |  
> ontology1207680807:Willamette_Valley  | ontology1207680807:under_50   
> | ontology1207680807:Year_2006 | ontology1207680807:white
> ontology1207680807 
> :Antica_Terra_Botanica_Pinot_Noir                                  |  
> ontology1207680807:intensely_rich_or_rich |  
> ontology1207680807:cinnamon         |  
> ontology1207680807:Willamette_Valley  | ontology1207680807:under_50   
> | ontology1207680807:Year_2006 | ontology1207680807:white
> ontology1207680807 
> :Antica_Terra_Botanica_Pinot_Noir                                  |  
> ontology1207680807:intensely_rich_or_rich |  
> ontology1207680807:raspberry        |  
> ontology1207680807:Willamette_Valley  | ontology1207680807:under_50   
> | ontology1207680807:Year_2006 | ontology1207680807:white
> ontology1207680807 
> :Antica_Terra_Botanica_Pinot_Noir                                  |  
> ontology1207680807:intensely_rich_or_rich |  
> ontology1207680807:rose_petals      |  
> ontology1207680807:Willamette_Valley  | ontology1207680807:under_50   
> | ontology1207680807:Year_2006 | ontology1207680807:white
> ontology1207680807 
> :Antica_Terra_Botanica_Pinot_Noir                                  |  
> ontology1207680807:intensely_rich_or_rich |  
> ontology1207680807:spice            |  
> ontology1207680807:Willamette_Valley  | ontology1207680807:under_50   
> | ontology1207680807:Year_2006 | ontology1207680807:white
>
>
> You can see that it starts off 'red', but then becomes 'white', even  
> though the individual it's referencing is the same.  Why is this?   
> What can we do to stop it?
>
>
> Thanks,
> M
>
> _______________________________________________
> 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