This seems to work.

SELECT distinct ?h ?label ?ll
WHERE
{
        ?h wdt:P31 wd:Q5 .
        ?h wdt:P569 ?date .
    ?h wdt:P19 ?birthplace .
    ?birthplace wdt:P31*/wdt:P131* wd:Q5720 .
   ?h rdfs:label ?label .
    FILTER (NOT EXISTS {
        BIND (lang(?label) as ?ll)
                FILTER ( ?ll = "de"  ) .
    })
}
 ORDER BY ?label LIMIT 100

On 29/04/16 09:24, Toni Hermoso Pulido wrote:
Hello,

I'm trying to retrieve via SPARQL those entries missing a label in a
certain language (e.g. "de").
Example from this query: http://tinyurl.com/zazewyx

How this could be done straight from a SPARQL query?

Thanks,


--
-------------------------------------------------------------------
Jerven Bolleman                        [email protected]
SIB Swiss Institute of Bioinformatics  Tel: +41 (0)22 379 58 85
CMU, rue Michel Servet 1               Fax: +41 (0)22 379 58 58
1211 Geneve 4,
Switzerland     www.sib.swiss - www.uniprot.org
Follow us at https://twitter.com/#!/uniprot
-------------------------------------------------------------------

_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata

Reply via email to