how to get the properties of a class?

Hi!

Am am new to RDF. I created an ontology in Protege and I have to use it.

We are working on a web interface in .NET with SPARQL.

I wonder how one can get the list of the properteie (own and inherited) of a class?

I have written something like this: SELECT DISTINCT ?a WHERE {?a rdf:type owl:DatatypeProperty. ?x owl:Class :MyClass}

It does not return anything. I also tried to use filters with regex, but that did not work either.

Thanks,
 
Székely-Sipos Sándor Zolta




       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games..yahoo.com/proddesc?gamekey=monopolyherenow  

Received on Tuesday, 12 June 2007 17:53:36 UTC