I am trying to select the rdf:ID of an object with sparql (inside Protege) and I cant seem to get the rdf:ID. Has anyone seen this problem. The SPARQL query i am using is:
Select * where (?element rdf:id ?id)
The following also does not work:
Select * where (?element rdfs:label ?id)
Took a suggestion, but still this is no go:
Select * where (?element rdfs:about ?id)
But this does:
Select * where (?element rdfs:comment ?id)
All I get is "No Matches". So I can select the comment but not thelabel...ideas?
UPDATE:: After some more research, selecting the following:
Select ?subject ?property ?object where (?subject ?property ?object)
Does not come up with any of the RDFS properties. Am I missing something major? (I can slect it with rdfs:comment, but that does not show up either...