Simple Question (Direct)
Simple Question
Q10556418
P184
Q502895
USER
Who was the doctoral advisor of Laurens de Haan ?
(Q10556418,P184,c(Q502895))
action filter_type
action find
entity Q10556418
relation P184
type Q502895
['Q10556418', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q10556418 property:P184 ?h . ?h rdf:type ontology:Q502895 }
Laurens de Haan
action filter_type
action find
entity Laurens de Haan
relation doctoral advisor
type common name
['Laurens de Haan', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Laurens_de_Haan property:doctoral_advisor ?h . ?h rdf:type ontology:common_name }
[]
common name
Q15429380
SYSTEM
Johannes Runnenburg
Q15429380
(Q10556418,P184,c(Q502895))
action filter_type
action find
entity Q10556418
relation P184
type Q502895
The doctoral advisor of Laurens de Haan was [ANSWER]
['Q10556418', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q10556418 property:P184 ?h . ?h rdf:type ontology:Q502895 }
Johannes Runnenburg
The doctoral advisor of Laurens de Haan was Johannes Runnenburg
Johannes Runnenburg
action filter_type
action find
entity Laurens de Haan
relation doctoral advisor
type common name
['Laurens de Haan', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Laurens_de_Haan property:doctoral_advisor ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15429380
P21
Q290
USER
Which sex does that person possess ?
(Q15429380,P21,c(Q290))
action filter_type
action find
entity Q15429380
relation P21
type Q290
['Q15429380', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q15429380 property:P21 ?c . ?c rdf:type ontology:Q290 }
Johannes Runnenburg
action filter_type
action find
entity Johannes Runnenburg
relation gender
type sex
['Johannes Runnenburg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Johannes_Runnenburg property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15429380,P21,c(Q290))
action filter_type
action find
entity Q15429380
relation P21
type Q290
That person possesses a [ANSWER]
['Q15429380', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q15429380 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Johannes Runnenburg
relation gender
type sex
['Johannes Runnenburg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Johannes_Runnenburg property:gender ?c . ?c rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7626805 Q15429380
P21
Q290
USER
Or Stuart Magee?
OR((Q15429380,P21,c(Q290)), (Q7626805,P21,c(Q290)))
action filter_type
action union
action find
entity Q15429380
relation P21
action find
entity Q7626805
relation P21
type Q290
{'OR': [['Q15429380', 'P21', {'concept': 'Q290'}], ['Q7626805', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . { { resource:Q15429380 property:P21 ?m } UNION { resource:Q7626805 property:P21 ?m } } }
Stuart Magee Johannes Runnenburg
action filter_type
action union
action find
entity Johannes Runnenburg
relation gender
action find
entity Stuart Magee
relation gender
type sex
{'OR': [['Johannes Runnenburg', 'gender', {'concept': 'sex'}], ['Stuart Magee', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . { { resource:Johannes_Runnenburg property:gender ?m } UNION { resource:Stuart_Magee property:gender ?m } } }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q15429380,P21,c(Q290)), (Q7626805,P21,c(Q290)))
action filter_type
action union
action find
entity Q15429380
relation P21
action find
entity Q7626805
relation P21
type Q290
[ANSWER]
{'OR': [['Q15429380', 'P21', {'concept': 'Q290'}], ['Q7626805', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . { { resource:Q15429380 property:P21 ?m } UNION { resource:Q7626805 property:P21 ?m } } }
male
male
action filter_type
action union
action find
entity Johannes Runnenburg
relation gender
action find
entity Stuart Magee
relation gender
type sex
{'OR': [['Johannes Runnenburg', 'gender', {'concept': 'sex'}], ['Stuart Magee', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . { { resource:Johannes_Runnenburg property:gender ?m } UNION { resource:Stuart_Magee property:gender ?m } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7626805
P106
Q12737077
USER
What is the profession of Stuart Magee ?
(Q7626805,P106,c(Q12737077))
action filter_type
action find
entity Q7626805
relation P106
type Q12737077
['Q7626805', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q7626805 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Stuart Magee
action filter_type
action find
entity Stuart Magee
relation occupation
type occupation
['Stuart Magee', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Stuart_Magee property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q13414980
SYSTEM
Australian-rules footballer
Q13414980
(Q7626805,P106,c(Q12737077))
action filter_type
action find
entity Q7626805
relation P106
type Q12737077
The profession of Stuart Magee is an [ANSWER]
['Q7626805', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q7626805 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Australian-rules footballer
The profession of Stuart Magee is an Australian-rules footballer
Australian-rules footballer
action filter_type
action find
entity Stuart Magee
relation occupation
type occupation
['Stuart Magee', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Stuart_Magee property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3371057 Q10556418
P19
Q56061
USER
Which administrative territories are the places of birth of Laurens de Haan or Paul Desmarteaux ?
OR((Q10556418,P19,c(Q56061)), (Q3371057,P19,c(Q56061)))
action filter_type
action union
action find
entity Q10556418
relation P19
action find
entity Q3371057
relation P19
type Q56061
{'OR': [['Q10556418', 'P19', {'concept': 'Q56061'}], ['Q3371057', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q3371057 property:P19 ?z } UNION { resource:Q10556418 property:P19 ?z } } . ?z rdf:type ontology:Q56061 }
Paul Desmarteaux Laurens de Haan
action filter_type
action union
action find
entity Laurens de Haan
relation place of birth
action find
entity Paul Desmarteaux
relation place of birth
type administrative territorial entity
{'OR': [['Laurens de Haan', 'place of birth', {'concept': 'administrative territorial entity'}], ['Paul Desmarteaux', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Paul_Desmarteaux property:place_of_birth ?z } UNION { resource:Laurens_de_Haan property:place_of_birth ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q34370 Q340
SYSTEM
Rotterdam, Montreal
Q34370 Q340
OR((Q10556418,P19,c(Q56061)), (Q3371057,P19,c(Q56061)))
action filter_type
action union
action find
entity Q10556418
relation P19
action find
entity Q3371057
relation P19
type Q56061
[ANSWERS] are the places of birth of Laurens de Haan or Paul Desmarteaux
{'OR': [['Q10556418', 'P19', {'concept': 'Q56061'}], ['Q3371057', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q3371057 property:P19 ?z } UNION { resource:Q10556418 property:P19 ?z } } . ?z rdf:type ontology:Q56061 }
Rotterdam Montreal
Rotterdam and Montreal are the places of birth of Laurens de Haan or Paul Desmarteaux
Rotterdam Montreal
action filter_type
action union
action find
entity Laurens de Haan
relation place of birth
action find
entity Paul Desmarteaux
relation place of birth
type administrative territorial entity
{'OR': [['Laurens de Haan', 'place of birth', {'concept': 'administrative territorial entity'}], ['Paul Desmarteaux', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Paul_Desmarteaux property:place_of_birth ?z } UNION { resource:Laurens_de_Haan property:place_of_birth ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q8686
P190
Q56061
USER
Are Shanghai sister town of those ones ?
(Q8686,P190,Q34370) (Q8686,P190,Q340)
action is_in
entity prev_answer
action find
entity Q8686
relation P190
['Q8686', 'P190', 'Q34370'] ['Q8686', 'P190', 'Q340']
ASK WHERE { resource:Q8686 property:P190 ?v . VALUES ( ?v ) { ( resource:Q34370 ) ( resource:Q340 ) } }
Shanghai
action is_in
entity prev_answer
action find
entity Shanghai
relation sister city
['Shanghai', 'sister city', 'Rotterdam'] ['Shanghai', 'sister city', 'Montreal']
ASK WHERE { resource:Shanghai property:sister_city ?v . VALUES ( ?v ) { ( resource:Rotterdam ) ( resource:Montreal ) } }
[]
administrative territorial entity
SYSTEM
YES
(Q8686,P190,Q34370) (Q8686,P190,Q340)
action is_in
entity prev_answer
action find
entity Q8686
relation P190
[ANSWER]
['Q8686', 'P190', 'Q34370'] ['Q8686', 'P190', 'Q340']
ASK WHERE { resource:Q8686 property:P190 ?v . VALUES ( ?v ) { ( resource:Q34370 ) ( resource:Q340 ) } }
Yes
action is_in
entity prev_answer
action find
entity Shanghai
relation sister city
['Shanghai', 'sister city', 'Rotterdam'] ['Shanghai', 'sister city', 'Montreal']
ASK WHERE { resource:Shanghai property:sister_city ?v . VALUES ( ?v ) { ( resource:Rotterdam ) ( resource:Montreal ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q15429380 Q29999
P27
Q15617994
USER
Is Kingdom of the Netherlands the native country of Johannes Runnenburg ?
(Q15429380,P27,Q29999)
action is_in
entity Q29999
action find
entity Q15429380
relation P27
['Q15429380', 'P27', 'Q29999']
ASK WHERE { resource:Q15429380 property:P27 resource:Q29999 }
Johannes Runnenburg Kingdom of the Netherlands
action is_in
entity Kingdom of the Netherlands
action find
entity Johannes Runnenburg
relation country of citizenship
['Johannes Runnenburg', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Johannes_Runnenburg property:country_of_citizenship resource:Kingdom_of_the_Netherlands }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q15429380,P27,Q29999)
action is_in
entity Q29999
action find
entity Q15429380
relation P27
[ANSWER]
['Q15429380', 'P27', 'Q29999']
ASK WHERE { resource:Q15429380 property:P27 resource:Q29999 }
Yes
action is_in
entity Kingdom of the Netherlands
action find
entity Johannes Runnenburg
relation country of citizenship
['Johannes Runnenburg', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Johannes_Runnenburg property:country_of_citizenship resource:Kingdom_of_the_Netherlands }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q340 Q613
P190
Q56061
USER
How many administrative territories are the sister cities of Montreal and Emirate of Dubai ?
(Q340,P190,c(Q56061)) (Q613,P190,c(Q56061))
action count
action intersection
action filter_type
action find
entity Q340
relation P190
type Q56061
action filter_type
action find
entity Q613
relation P190
type Q56061
['Q340', 'P190', {'concept': 'Q56061'}] ['Q613', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:Q56061 . resource:Q340 property:P190 ?w . resource:Q613 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Montreal Emirate of Dubai
action count
action intersection
action filter_type
action find
entity Montreal
relation sister city
type administrative territorial entity
action filter_type
action find
entity Emirate of Dubai
relation sister city
type administrative territorial entity
['Montreal', 'sister city', {'concept': 'administrative territorial entity'}] ['Emirate of Dubai', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Montreal property:sister_city ?w . resource:Emirate_of_Dubai property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
2
Q3820 Q8686
(Q340,P190,c(Q56061)) (Q613,P190,c(Q56061))
action count
action intersection
action filter_type
action find
entity Q340
relation P190
type Q56061
action filter_type
action find
entity Q613
relation P190
type Q56061
[ANSWER]
['Q340', 'P190', {'concept': 'Q56061'}] ['Q613', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:Q56061 . resource:Q340 property:P190 ?w . resource:Q613 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Beirut Shanghai
2
action count
action intersection
action filter_type
action find
entity Montreal
relation sister city
type administrative territorial entity
action filter_type
action find
entity Emirate of Dubai
relation sister city
type administrative territorial entity
['Montreal', 'sister city', {'concept': 'administrative territorial entity'}] ['Emirate of Dubai', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Montreal property:sister_city ?w . resource:Emirate_of_Dubai property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]