query-7dd8d022fdf4af1930ff65369183f849

rq turtle/ttl

How many children got Alkmene (Q190543)It seems easy.

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 ?Alcmena ?AlcmenaLabel ?said_to_be_the_same_as ?said_to_be_the_same_asLabel WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?Alcmena wdt:P25 wd:Q190543.
  OPTIONAL { ?Alcmena wdt:P460 ?said_to_be_the_same_as. }
}
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?Alcmena"):::projected v2("?said_to_be_the_same_as"):::projected c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal c6(["wd:Q190543"]):::iri subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v1 --"wdt:P25"--> c6 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P460".-> v2 end