query-8c1ece0b9b4ee5ba56a15ca96121702b
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?statement ?subjectLabel ?subject ?propertyLabel ?property ?objectLabel ?object ?refURL WHERE {
?ref pr:P854 ?refURL
FILTER (CONTAINS(str(?refURL),'https://acdps.umontreal.accesstomemory.org/')) .
?statement prov:wasDerivedFrom ?ref .
?subject ?p ?statement .
?property wikibase:claim ?p .
?property wikibase:statementProperty ?ps .
?statement ?ps ?object .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v8("?object"):::projected
v5("?p")
v6("?property"):::projected
v7("?ps")
v2("?ref")
v1("?refURL"):::projected
v3("?statement"):::projected
v4("?subject"):::projected
c7(["bd:serviceParam"]):::iri
c9(["en"]):::literal
f0[["contains(str(?refURL),'https://acdps.umontreal.accesstomemory.org/')"]]
f0 --> v1
v2 --"pr:P854"--> v1
v3 --"prov:wasDerivedFrom"--> v2
v4 -->v5--> v3
v6 --"wikibase:claim"--> v5
v6 --"wikibase:statementProperty"--> v7
v3 -->v7--> v8
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end