Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Infering in Protégé 3.3.1 and query sparql

Zalba zalbazalba at yahoo.it
Fri Oct 31 09:46:08 PDT 2008



I'm sorry if I didn't use the standard notation.
Your translation is correct, but it doesn't work.
I
exported the ontology to format Turtle, I checked the result and I
couldn't file the inferred statement :John :member :Research

What I've to do?
Thanks



----- Messaggio originale -----
Da: James Howison <james at howison.name>
A: User support for the Protege-OWL editor <protege-owl at lists.stanford.edu>
Inviato: Venerdì 31 ottobre 2008, 17:20:17
Oggetto: Re: [protege-owl] Infering in Protégé 3.3.1 and query sparql


On 31 Oct 2008, at 12:05 PM, Zalba wrote:

> Hi, I'm using Protégé 3.3.1 with the reasoner Pellet.
> I created an ontology with classes istance  of rdfs:Class, because I  
> need to work only with RDF/RDFS without OWL.
> How can I infer new concept?
> For example I have
>
> director is a subProperty of member.

>
> and
>
> John  (istance of Person)
> director (property)
> Research (istance of Department)
>

> I've to infer:
>
> John
> member
> Research


Or, in Turtle:

@prefix : <http://www.myUri.com/hidll#> .

:John rdf:type :Person .

:Research rdf:type :Department .

:John :director :Research .

:director rdfs:subPropertyOf :member .


So you expect to infer the statement:

:John :member :Research .

>
> I ask this because If I make a simple Query SPARQL like this
>
> PREFIX uri: <http://www.myUri.com/hidll#>
> SELECT ?x
> WHERE { uri:John ?x ?object }
>
> the result is only "director" and not "member" too.
>
> How can I do?

If I've translated from your notation to standard notation correctly I  
think you should be able to apply a reasoner (Pellet) and you should  
get that result.  That's assuming the SPARQL tab works with the  
inferred as well as the asserted statements.

If that doesn't work, try saving your ontology as Turtle and checking  
the statements.

--J

_______________________________________________
protege-owl mailing list
protege-owl at lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 



      Unisciti alla community di Io fotografo e video, il nuovo corso di fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideo



More information about the protege-owl mailing list