query-0372d46a1fc6e9588a2f96a420804144

rq turtle/ttl

Note: indentation and other whitespaces don’t actually matter – they just make it more readable. You can also write this as: Note: indentation and other whitespaces don’t actually matter – they just make it more readable. You can also write this as: Note: indentation and other whitespaces don’t actually matter – they just make it more readable. You can also write this as: Note: indentation and other whitespaces don’t actually matter – they just make it more readable. You can also write this as: Note: indentation and other whitespaces don’t actually matter – they just make it more readable. You can also write this as: Note: indentation and other whitespaces don’t actually matter – they just make it more readable. You can also write this as: Note: indentation and other whitespaces don’t actually matter – they just make it more readable. You can also write this as: Note: indentation and other whitespaces don’t actually matter – they just make it more readable. You can also write this as: Note: indentation and other whitespaces don’t actually matter – they just make it more readable. You can also write this as: Note: indentation and other whitespaces don’t actually matter – they just make it more readable. You can also write this as:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?child ?childLabel
WHERE
{
  ?child wdt:P22 wd:Q1339;
         wdt:P25 wd:Q57487;
         wdt:P106 wd:Q36834, wd:Q486748.
  # both occupations in one line
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?child"):::projected c2(["wd:Q1339"]):::iri c9(["bd:serviceParam"]):::iri c11(["#91;AUTO_LANGUAGE#93;"]):::literal c4(["wd:Q57487"]):::iri c7(["wd:Q486748"]):::iri c6(["wd:Q36834"]):::iri v1 --"wdt:P22"--> c2 v1 --"wdt:P25"--> c4 v1 --"wdt:P106"--> c6 v1 --"wdt:P106"--> c7 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end