Project:SPARQL/examples: Difference between revisions

add graph
(add people in wiki query)
(add graph)
Line 49: Line 49:
}
}
LIMIT 1000 #please don't make this number too big as it will slow down the site!
LIMIT 1000 #please don't make this number too big as it will slow down the site!
</sparql>
===All triples in the wiki, represented as a crude graph===
<sparql tryit="1">
#defaultView:Graph
SELECT ?a ?aLabel ?c ?cLabel WHERE {
    ?a ?b ?c
    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en-gb". }
}
#note query returns every connection in the wikibase so it may fall over!
</sparql>
</sparql>
6,317

edits