query-cd85e4b9e3a32bc9a80328ae4d2f8607
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
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 DISTINCT ?item ?itemLabel ?stmt ?refURL
WHERE {
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:api "Search";
wikibase:endpoint "www.wikidata.org";
mwapi:srsearch "etheses.lse.ac.uk".
?item wikibase:apiOutputItem mwapi:title .
}
?item ?p ?stmt .
?stmt prov:wasDerivedFrom/pr:P854 ?refURL .
FILTER(CONTAINS(str(?refURL), 'etheses.lse.ac.uk')) .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v3("?p")
v1("?refURL"):::projected
v4("?stmt"):::projected
a1((" "))
c7(["www.wikidata.org"]):::literal
c3(["bd:serviceParam"]):::iri
c5(["Search"]):::literal
c1(["etheses.lse.ac.uk"]):::literal
c15(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c10(["mwapi:title"]):::iri
f0[["contains(str(?refURL),'etheses.lse.ac.uk')"]]
f0 --> v1
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c3 --"mwapi:api"--> c5
c3 --"mwapi:endpoint"--> c7
c3 --"mwapi:srsearch"--> c1
v2 --"mwapi:apiOutputItem"--> c10
end
v2 -->v3--> v4
v4 --"prov:wasDerivedFrom"--> a1
a1 --"pr:P854"--> v1
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c3 --"mwapi:language"--> c15
end