query-f2cb104fda9dc29ee85c9adb19cb15b8
Broichmore(P276)location (Q1199924)National Maritime Museum
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?contributor
WHERE
{
SERVICE wikibase:mwapi
{
bd:serviceParam wikibase:endpoint "www.wikidata.org".
bd:serviceParam wikibase:api "Generator".
bd:serviceParam mwapi:generator "search".
bd:serviceParam mwapi:gsrsearch "haswbstatement:P276=Q1199924".
bd:serviceParam mwapi:gsrlimit "50".
bd:serviceParam mwapi:prop "info|pageprops|contributors".
bd:serviceParam mwapi:pcexcludegroup "bot|sysop|rollbacker|translationadmin".
bd:serviceParam mwapi:pclimit "max".
?item wikibase:apiOutputItem mwapi:title.
?contributor wikibase:apiOutput "contributors/user[@name='Broichmore'][1]/@name".
}
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;
v2("?contributor"):::projected
v1("?item"):::projected
c14(["info|pageprops|contributors"]):::literal
c8(["search"]):::literal
c2(["bd:serviceParam"]):::iri
c16(["bot|sysop|rollbacker|translationadmin"]):::literal
c12(["50"]):::literal
c4(["www.wikidata.org"]):::literal
c22(["contributors/user#91;@name='Broichmore'#93;#91;1#93;/@name"]):::literal
c18(["max"]):::literal
c25(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c10(["haswbstatement:P276=Q1199924"]):::literal
c20(["mwapi:title"]):::iri
c6(["Generator"]):::literal
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c2 --"mwapi:endpoint"--> c4
c2 --"mwapi:api"--> c6
c2 --"mwapi:generator"--> c8
c2 --"mwapi:gsrsearch"--> c10
c2 --"mwapi:gsrlimit"--> c12
c2 --"mwapi:prop"--> c14
c2 --"mwapi:pcexcludegroup"--> c16
c2 --"mwapi:pclimit"--> c18
v1 --"mwapi:apiOutputItem"--> c20
v2 --"mwapi:apiOutput"--> c22
end
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c2 --"mwapi:language"--> c25
end