Simple Question (Direct)
Simple Question
Q3351286
P69
Q3914
USER
Which school is the alma mater of Olivier Pironneau ?
(Q3351286,P69,c(Q3914))
action filter_type
action find
entity Q3351286
relation P69
type Q3914
['Q3351286', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?q WHERE { resource:Q3351286 property:P69 ?q . ?q rdf:type ontology:Q3914 }
Olivier Pironneau
action filter_type
action find
entity Olivier Pironneau
relation educated at
type school
['Olivier Pironneau', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?q WHERE { resource:Olivier_Pironneau property:educated_at ?q . ?q rdf:type ontology:school }
[]
school
Q273626
SYSTEM
École Polytechnique
Q273626
(Q3351286,P69,c(Q3914))
action filter_type
action find
entity Q3351286
relation P69
type Q3914
[ANSWER] is the alma mater of Olivier Pironneau
['Q3351286', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?q WHERE { resource:Q3351286 property:P69 ?q . ?q rdf:type ontology:Q3914 }
École Polytechnique
École Polytechnique is the alma mater of Olivier Pironneau
École Polytechnique
action filter_type
action find
entity Olivier Pironneau
relation educated at
type school
['Olivier Pironneau', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?q WHERE { resource:Olivier_Pironneau property:educated_at ?q . ?q rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3351286
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q273626,P27,c(Q15617994))
action filter_type
action find
entity Q3351286
relation P27
type Q15617994
['Q273626', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q3351286 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Olivier Pironneau
action filter_type
action find
entity Olivier Pironneau
relation country of citizenship
type designation for an administrative territorial entity
['École Polytechnique', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Olivier_Pironneau property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q273626,P27,c(Q15617994))
action filter_type
action find
entity Q3351286
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q273626', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q3351286 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
France
That person belongs to the France
France
action filter_type
action find
entity Olivier Pironneau
relation country of citizenship
type designation for an administrative territorial entity
['École Polytechnique', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Olivier_Pironneau property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3351286
P21
Q290
USER
Which sex does that person possess ?
(Q142,P21,c(Q290))
action filter_type
action find
entity Q3351286
relation P21
type Q290
['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q3351286 property:P21 ?x . ?x rdf:type ontology:Q290 }
Olivier Pironneau
action filter_type
action find
entity Olivier Pironneau
relation gender
type sex
['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Olivier_Pironneau property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q142,P21,c(Q290))
action filter_type
action find
entity Q3351286
relation P21
type Q290
That person possesses a [ANSWER]
['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q3351286 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Olivier Pironneau
relation gender
type sex
['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Olivier_Pironneau property:gender ?x . ?x rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2036989 Q3351286
P21
Q290
USER
Or Obbo Johannes Scherphuis?
OR((Q3351286,P21,c(Q290)), (Q2036989,P21,c(Q290)))
action filter_type
action union
action find
entity Q3351286
relation P21
action find
entity Q2036989
relation P21
type Q290
{'OR': [['Q3351286', 'P21', {'concept': 'Q290'}], ['Q2036989', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?u ) { ( resource:Q3351286 ) ( resource:Q2036989 ) } . ?u property:P21 ?o } . ?o rdf:type ontology:Q290 }
Obbo Johannes Scherphuis Olivier Pironneau
action filter_type
action union
action find
entity Olivier Pironneau
relation gender
action find
entity Obbo Johannes Scherphuis
relation gender
type sex
{'OR': [['Olivier Pironneau', 'gender', {'concept': 'sex'}], ['Obbo Johannes Scherphuis', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?u ) { ( resource:Olivier_Pironneau ) ( resource:Obbo_Johannes_Scherphuis ) } . ?u property:gender ?o } . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q3351286,P21,c(Q290)), (Q2036989,P21,c(Q290)))
action filter_type
action union
action find
entity Q3351286
relation P21
action find
entity Q2036989
relation P21
type Q290
[ANSWER]
{'OR': [['Q3351286', 'P21', {'concept': 'Q290'}], ['Q2036989', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?u ) { ( resource:Q3351286 ) ( resource:Q2036989 ) } . ?u property:P21 ?o } . ?o rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Olivier Pironneau
relation gender
action find
entity Obbo Johannes Scherphuis
relation gender
type sex
{'OR': [['Olivier Pironneau', 'gender', {'concept': 'sex'}], ['Obbo Johannes Scherphuis', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?u ) { ( resource:Olivier_Pironneau ) ( resource:Obbo_Johannes_Scherphuis ) } . ?u property:gender ?o } . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2036989
P106
Q12737077
USER
Which occupation is the profession of Obbo Johannes Scherphuis ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q2036989
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q2036989 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Obbo Johannes Scherphuis
action filter_type
action find
entity Obbo Johannes Scherphuis
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Obbo_Johannes_Scherphuis property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q2036989
relation P106
type Q12737077
O [ANSWER] is the profession of Obbo Johannes Scherphuis
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q2036989 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
politician
O politician is the profession of Obbo Johannes Scherphuis
politician
action filter_type
action find
entity Obbo Johannes Scherphuis
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Obbo_Johannes_Scherphuis property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q1173839 Q2036989
P106
Q12737077
USER
And also David Brooks
AND((Q2036989,P106,c(Q12737077)), (Q1173839,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q2036989
relation P106
action find
entity Q1173839
relation P106
type Q12737077
{'AND': [['Q2036989', 'P106', {'concept': 'Q12737077'}], ['Q1173839', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { resource:Q2036989 property:P106 ?i . resource:Q1173839 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
David Brooks Obbo Johannes Scherphuis
action filter_type
action intersection
action find
entity Obbo Johannes Scherphuis
relation occupation
action find
entity David Brooks
relation occupation
type occupation
{'AND': [['Obbo Johannes Scherphuis', 'occupation', {'concept': 'occupation'}], ['David Brooks', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { resource:Obbo_Johannes_Scherphuis property:occupation ?i . resource:David_Brooks property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
AND((Q2036989,P106,c(Q12737077)), (Q1173839,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q2036989
relation P106
action find
entity Q1173839
relation P106
type Q12737077
[ANSWER]
{'AND': [['Q2036989', 'P106', {'concept': 'Q12737077'}], ['Q1173839', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { resource:Q2036989 property:P106 ?i . resource:Q1173839 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action intersection
action find
entity Obbo Johannes Scherphuis
relation occupation
action find
entity David Brooks
relation occupation
type occupation
{'AND': [['Obbo Johannes Scherphuis', 'occupation', {'concept': 'occupation'}], ['David Brooks', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { resource:Obbo_Johannes_Scherphuis property:occupation ?i . resource:David_Brooks property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1173839
P39
Q12737077
USER
What was the position held by David Brooks ?
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q1173839
relation P39
type Q12737077
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q1173839 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
David Brooks
action filter_type
action find
entity David Brooks
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:David_Brooks property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q1173839
relation P39
type Q12737077
The position held by David Brooks was a [ANSWER]
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q1173839 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
United States representative
The position held by David Brooks was a United States representative
United States representative
action filter_type
action find
entity David Brooks
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:David_Brooks property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q13218630 Q11144
P39
Q502895
USER
How many people held the position of United States representative and Associate Justice of the Supreme Court of the United States ?
(c(Q502895),P39,Q13218630) (c(Q502895),P39,Q11144)
action count
action intersection
action filter_type
action find_reverse
entity Q13218630
relation P39
type Q502895
action filter_type
action find_reverse
entity Q11144
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q13218630'] [{'concept': 'Q502895'}, 'P39', 'Q11144']
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P39 resource:Q11144 . ?p rdf:type ontology:Q502895 . ?p property:P39 resource:Q13218630 . ?p rdf:type ontology:Q502895 }
United States representative Associate Justice of the Supreme Court of the United States
action count
action intersection
action filter_type
action find_reverse
entity United States representative
relation position held
type common name
action filter_type
action find_reverse
entity Associate Justice of the Supreme Court of the United States
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'United States representative'] [{'concept': 'common name'}, 'position held', 'Associate Justice of the Supreme Court of the United States']
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:position_held resource:Associate_Justice_of_the_Supreme_Court_of_the_United_States . ?p rdf:type ontology:common_name . ?p property:position_held resource:United_States_representative . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
6
Q724503 Q432726 Q724329 Q726427 Q1368374 Q1549250
(c(Q502895),P39,Q13218630) (c(Q502895),P39,Q11144)
action count
action intersection
action filter_type
action find_reverse
entity Q13218630
relation P39
type Q502895
action filter_type
action find_reverse
entity Q11144
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q13218630'] [{'concept': 'Q502895'}, 'P39', 'Q11144']
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P39 resource:Q11144 . ?p rdf:type ontology:Q502895 . ?p property:P39 resource:Q13218630 . ?p rdf:type ontology:Q502895 }
William Henry Moody James F. Byrnes Nathan Clifford Philip Pendleton Barbour Joseph Story Lucius Quintus Cincinnatus Lamar II
6
action count
action intersection
action filter_type
action find_reverse
entity United States representative
relation position held
type common name
action filter_type
action find_reverse
entity Associate Justice of the Supreme Court of the United States
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'United States representative'] [{'concept': 'common name'}, 'position held', 'Associate Justice of the Supreme Court of the United States']
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:position_held resource:Associate_Justice_of_the_Supreme_Court_of_the_United_States . ?p rdf:type ontology:common_name . ?p property:position_held resource:United_States_representative . ?p rdf:type ontology:common_name }
[]