Difference between revisions of "How many children does Stephen Hawking have? (Q205)"
Jump to navigation
Jump to search
(Created claim: query (P11): SELECT ?obj WHERE { { SELECT (COUNT(*) AS ?obj2) WHERE { wd:Q17714 wdt:P40 ?obj1 . } } OPTIONAL { wd:Q17714 wdt:P1971 ?obj3 . } BIND(COALESCE(?obj2,?obj3) AS ?obj) }) |
(Changed claim: query (P11): SELECT ?obj WHERE { { SELECT (COUNT(*) AS ?obj2) WHERE { wd:Q17714 wdt:P40 ?obj1 . } } OPTIONAL { wd:Q17714 wdt:P1971 ?obj3 . } BIND(COALESCE(?obj2,?obj3) AS ?obj) }) |
||
Property / query: SELECT ?obj WHERE { { SELECT (COUNT(*) AS ?obj2) WHERE { wd:Q17714 wdt:P40 ?obj1 . } } OPTIONAL { wd:Q17714 wdt:P1971 ?obj3 . } BIND(COALESCE(?obj2,?obj3) AS ?obj) } / qualifier | |||
Property / query: SELECT ?obj WHERE { { SELECT (COUNT(*) AS ?obj2) WHERE { wd:Q17714 wdt:P40 ?obj1 . } } OPTIONAL { wd:Q17714 wdt:P1971 ?obj3 . } BIND(COALESCE(?obj2,?obj3) AS ?obj) } / qualifier | |||
Property / query: SELECT ?obj WHERE { { SELECT (COUNT(*) AS ?obj2) WHERE { wd:Q17714 wdt:P40 ?obj1 . } } OPTIONAL { wd:Q17714 wdt:P1971 ?obj3 . } BIND(COALESCE(?obj2,?obj3) AS ?obj) } / qualifier | |||
comment: Will use the number of children property, if available, otherwise it will count the children (English) | |||
Property / query: SELECT ?obj WHERE { { SELECT (COUNT(*) AS ?obj2) WHERE { wd:Q17714 wdt:P40 ?obj1 . } } OPTIONAL { wd:Q17714 wdt:P1971 ?obj3 . } BIND(COALESCE(?obj2,?obj3) AS ?obj) } / qualifier | |||
comment: Usará la propiedad del número de hijos, de haber; si no, contará el número de hijos (Spanish) |
Revision as of 02:08, 11 April 2022
No description defined
- How many children did Stephen Hawking have?
Language | Label | Description | Also known as |
---|---|---|---|
English |
How many children does Stephen Hawking have?
|
No description defined
|
|
Statements
SELECT ?obj WHERE { { SELECT (COUNT(*) AS ?obj2) WHERE { wd:Q17714 wdt:P40 ?obj1 . } } OPTIONAL { wd:Q17714 wdt:P1971 ?obj3 . } BIND(COALESCE(?obj2,?obj3) AS ?obj) }
Will use the number of children property, if available, otherwise it will count the children (English)
Usará la propiedad del número de hijos, de haber; si no, contará el número de hijos (Spanish)
0 references