query-aea4cde55eb1cd99ddeea72ec4e43767
Slicing with Blazegraph SELECT ?a ?aLabel ?b ?bLabel ?modified WHERE { SERVICE bd:slice { ?a owl:sameAs ?b . bd:serviceParam bd:slice.offset 0 . bd:serviceParam bd:slice.limit 1000 . } ?a schema:dateModified ?modified . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . } }
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX bd: <http://www.bigdata.com/rdf#>
# Slicing with Blazegraph
SELECT ?a ?aLabel ?b ?bLabel ?modified
WHERE {
SERVICE bd:slice
{
?a owl:sameAs ?b .
bd:serviceParam bd:slice.offset 0 .
bd:serviceParam bd:slice.limit 1000 .
}
?a schema:dateModified ?modified .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?a"):::projected
v2("?b"):::projected
v3("?modified"):::projected
c5(["0^^xsd:integer"]):::literal
c3(["bd:serviceParam"]):::iri
c7(["1000^^xsd:integer"]):::literal
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
subgraph s1["http://www.bigdata.com/rdf#slice"]
style s1 stroke-width:4px;
v1 --"owl:sameAs"--> v2
c3 --"bd:slice.offset"--> c5
c3 --"bd:slice.limit"--> c7
end
v1 --"schema:dateModified"--> v3
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c3 --"wikibase:language"--> c11
end