Thanks, Jonas. Here is:

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX v: <http://www.wikidata.org/prop/statement/>
PREFIX q: <http://www.wikidata.org/prop/qualifier/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT ?photographer ?photographer_label ?pob ?pob_label ?state
?state_label ?cob ?cob_label WHERE {
   ?photographer wdt:P106 wd:Q33231 .    # find items that have "occupation
(P106): photographer (Q33231) "
   ?photographer wdt:P19 ?pob .       # with a P19 (place of birth) claim
   ?pob wdt:P17 ?cob .       # ... where the pob has a Country
   ?pob wdt:P131 ?state ; #where the pob has a state

   OPTIONAL {?photographer rdfs:label ?photographer_label filter
(lang(?photographer_label) = "en") .}
   OPTIONAL {?pob rdfs:label ?pob_label filter (lang(?pob_label) = "en") .}
   OPTIONAL {?cob rdfs:label ?cob_label filter (lang(?cob_label) = "en") .}
   OPTIONAL {?state rdfs:label ?state_label filter (lang(?state_label) =
"en") .}
}

On Wed, Nov 4, 2015 at 1:49 AM, Jonas Kress <[email protected]>
wrote:

> Could you provide your query, so I can test whats wrong with exporting
> your result.
>
> Cheers,
> Jonas
>
> 2015-11-03 21:48 GMT+01:00 David Lowe <[email protected]>:
>
>> I seem to be unable to download my SPARQL query results. It does nothing
>> when I click any off the options, nothing happens (it's only ~8,000
>> results, so it shouldn't be too taxing...). Is this working for others?
>>
>> _______________________________________________
>> Wikidata mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/wikidata
>>
>>
>
>
> --
>
> Jonas KressSoftware Developer
> Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 BerlinPhone: +49 
> (0)30 219 158 26-0http://wikimedia.de
>
> Imagine a world, in which every single human being can freely share in the 
> sum of all knowledge. That‘s our commitment.
>
> Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V. 
> Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter 
> der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für 
> Körperschaften I Berlin, Steuernummer 27/681/51985.
>
>
> _______________________________________________
> Wikidata mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>
>
_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata

Reply via email to