Project:SPARQL/examples: Difference between revisions

Jump to navigation Jump to search
Line 584: Line 584:


SELECT DISTINCT ?item ?qid ?itemLabel WHERE {
SELECT DISTINCT ?item ?qid ?itemLabel WHERE {
   ?item ppt:P18/ppt:P24 pp:Q2.
   ?item ppt:P18/ppt:P24* pp:Q2.
   FILTER NOT EXISTS { ?item ppt:P18 pp:Q1488. } # not a higher taxon
   FILTER NOT EXISTS { ?item ppt:P18 pp:Q1488. } # not a higher taxon
   FILTER NOT EXISTS {
   FILTER NOT EXISTS {

Navigation menu