query-5b1cfc9bf32f606cc3cf607a2c05585b

rq turtle/ttl

).contribs • [[User talk:|talk]] ([[User:|?]] comment was added byunsignedThe preceding –

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?a ?aLabel ?aDescription ?b ?bLabel ?bDescription
{
    ?a wdt:P1889 ?b . 
    FILTER ( str(?a) < str(?b) ) 
    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
LIMIT 10

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?a"):::projected v2("?b"):::projected c3(["bd:serviceParam"]):::iri c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["str(?a) < str(?b)"]] f0 --> v1 f0 --> v2 v1 --"wdt:P1889"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c3 --"wikibase:language"--> c5 end