Hello all,
 
I am trying to do the following:
 
PREFIX  rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
 
      SELECT      ?label ?x
      WHERE 
       { 
      ?x  rdfs:label ?label.
     ?x  rdfs:label  "Jet engine"
            
      }
 
 
and I get no results
but when I try:
 
SELECT ?s ?p ?o
 WHERE {
?s ?p ?o.
FILTER(?s = <http://dbpedia.org/resource/Jet_engine> ).
}
 
I get results and there is  label for "Jet engine"

http://dbpedia.org/resource/Jet_engine
http://www.w3.org/2000/01/rdf-schema#label
Jet engine
 
 
 
 
Why does the 1st SPARQL not work right?
 
Thanks, John
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to