query-80aecb2edb781691558178e74b8cfff0
Computer History Museum1. Return a list of all people whose archives are at the Computer History Museum } } . "en" language:wikibase serviceParam:bd { label:wikibase SERVICE .Q964035:wd P485:wdt ?person { WHERE ?personLabel ?person SELECT 2. Return a list of people whose archives are at the Computer History Museum as part of the oral history project who have images: } } . "en" language:wikibase serviceParam:bd { label:wikibase SERVICE ?image P18:wdt ?person . Q964035:wd P485:wdt ?person { WHERE ?image ?personLabel SELECT #defaultView:ImageGrid 3. Return a list of all people whose archives are at the Computer history Museum along with the geocoordinates of their places of birth in order to plot on a map:
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Map
SELECT ?personLabel ?birthplaceLabel ?coord ?lat ?lon
WHERE {
?person wdt:P485 wd:Q964035.
?person wdt:P19 ?birthplace
OPTIONAL {?birthplace wdt:P625 ?coord. }
OPTIONAL {
?birthplace p:P625 ?statement.
?statement psv:P625 ?node.
?node wikibase:geoLatitude ?lat.
?node wikibase:geoLongitude ?lon.
}
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;
v2("?birthplace")
v3("?coord"):::projected
v6("?lat"):::projected
v7("?lon"):::projected
v5("?node")
v1("?person")
v4("?statement")
c2(["wd:Q964035"]):::iri
c10(["bd:serviceParam"]):::iri
c12(["en"]):::literal
v1 --"p:direct/P485"--> c2
v1 --"p:direct/P19"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:direct/P625".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:P625".-> v4
v4 --"p:statement/value/P625"--> v5
v5 --"wikibase:geoLatitude"--> v6
v5 --"wikibase:geoLongitude"--> v7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end