Our Example in SPARQL
- The Python example in SPARQL:
SELECT ?p ?o
WHERE {subject ?p ?o}
- The triplets in
WHEREdefine the graph pattern -
?pand?odenote the “unbound” symbols - The query returns a list of matching
p,opairs
114 (147)
SELECT ?p ?o
WHERE {subject ?p ?o}
WHERE define the graph pattern?p and ?o denote the “unbound” symbolsp,o pairs