Simple Question (Direct)
Simple Question
Q3379983
P19
Q56061
USER
Which administrative territory was Philippe Guénin born in ?
(Q3379983,P19,c(Q56061))
action filter_type
action find
entity Q3379983
relation P19
type Q56061
['Q3379983', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q3379983 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Philippe Guénin
action filter_type
action find
entity Philippe Guénin
relation place of birth
type administrative territorial entity
['Philippe Guénin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Philippe_Guénin property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3379983,P19,c(Q56061))
action filter_type
action find
entity Q3379983
relation P19
type Q56061
Philippe Guénin was born in [ANSWER]
['Q3379983', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q3379983 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Paris
Philippe Guénin was born in Paris
Paris
action filter_type
action find
entity Philippe Guénin
relation place of birth
type administrative territorial entity
['Philippe Guénin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Philippe_Guénin property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3379983
P21
Q290
USER
What is the sex of that person ?
(Q90,P21,c(Q290))
action filter_type
action find
entity Q3379983
relation P21
type Q290
['Q90', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3379983 property:P21 ?t . ?t rdf:type ontology:Q290 }
Philippe Guénin
action filter_type
action find
entity Philippe Guénin
relation gender
type sex
['Paris', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Philippe_Guénin property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q90,P21,c(Q290))
action filter_type
action find
entity Q3379983
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q90', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3379983 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Philippe Guénin
relation gender
type sex
['Paris', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Philippe_Guénin property:gender ?t . ?t rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q506401
P21
Q502895
USER
Does Bil Keane have that sex as the sex ?
(Q506401,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q506401
relation P21
['Q506401', 'P21', 'Q6581097']
ASK WHERE { resource:Q506401 property:P21 resource:Q6581097 }
male Bil Keane
action is_in
entity male
action find
entity Bil Keane
relation gender
['Bil Keane', 'gender', 'male']
ASK WHERE { resource:Bil_Keane property:gender resource:male }
[]
common name
SYSTEM
YES
(Q506401,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q506401
relation P21
[ANSWER]
['Q506401', 'P21', 'Q6581097']
ASK WHERE { resource:Q506401 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Bil Keane
relation gender
['Bil Keane', 'gender', 'male']
ASK WHERE { resource:Bil_Keane property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q90 Q12788
P47
Q15617994
USER
Is Val-de-Marne adjacent to Paris ?
(Q90,P47,Q12788)
action is_in
entity Q12788
action find
entity Q90
relation P47
['Q90', 'P47', 'Q12788']
ASK WHERE { resource:Q90 property:P47 resource:Q12788 }
Paris Val-de-Marne
action is_in
entity Val-de-Marne
action find
entity Paris
relation shares border with
['Paris', 'shares border with', 'Val-de-Marne']
ASK WHERE { resource:Paris property:shares_border_with resource:Val-de-Marne }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q90,P47,Q12788)
action is_in
entity Q12788
action find
entity Q90
relation P47
[ANSWER]
['Q90', 'P47', 'Q12788']
ASK WHERE { resource:Q90 property:P47 resource:Q12788 }
Yes
action is_in
entity Val-de-Marne
action find
entity Paris
relation shares border with
['Paris', 'shares border with', 'Val-de-Marne']
ASK WHERE { resource:Paris property:shares_border_with resource:Val-de-Marne }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3379983 Q3397436 Q260902
P27
Q15617994
USER
Is Philippe Guénin a citizen of Cando and Bernried ?
(Q3379983,P27,Q3397436) (Q3379983,P27,Q260902)
action is_in
entity Q3379983
action intersection
action find_reverse
entity Q3397436
relation P27
action find_reverse
entity Q260902
relation P27
['Q3379983', 'P27', 'Q3397436'] ['Q3379983', 'P27', 'Q260902']
ASK WHERE { resource:Q3379983 property:P27 resource:Q3397436 . resource:Q3379983 property:P27 resource:Q260902 }
Philippe Guénin Cando Bernried
action is_in
entity Philippe Guénin
action intersection
action find_reverse
entity Cando
relation country of citizenship
action find_reverse
entity Bernried
relation country of citizenship
['Philippe Guénin', 'country of citizenship', 'Cando'] ['Philippe Guénin', 'country of citizenship', 'Bernried']
ASK WHERE { resource:Philippe_Guénin property:country_of_citizenship resource:Cando . resource:Philippe_Guénin property:country_of_citizenship resource:Bernried }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3379983,P27,Q3397436) (Q3379983,P27,Q260902)
action is_in
entity Q3379983
action intersection
action find_reverse
entity Q3397436
relation P27
action find_reverse
entity Q260902
relation P27
[ANSWER]
['Q3379983', 'P27', 'Q3397436'] ['Q3379983', 'P27', 'Q260902']
ASK WHERE { resource:Q3379983 property:P27 resource:Q3397436 . resource:Q3379983 property:P27 resource:Q260902 }
No
action is_in
entity Philippe Guénin
action intersection
action find_reverse
entity Cando
relation country of citizenship
action find_reverse
entity Bernried
relation country of citizenship
['Philippe Guénin', 'country of citizenship', 'Cando'] ['Philippe Guénin', 'country of citizenship', 'Bernried']
ASK WHERE { resource:Philippe_Guénin property:country_of_citizenship resource:Cando . resource:Philippe_Guénin property:country_of_citizenship resource:Bernried }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q90
P6
Q502895
USER
How many people are the heads of the government of Paris ?
(Q90,P6,c(Q502895))
action count
action filter_type
action find
entity Q90
relation P6
type Q502895
['Q90', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q90 property:P6 ?b . ?b rdf:type ontology:Q502895 }
Paris
action count
action filter_type
action find
entity Paris
relation head of government
type common name
['Paris', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Paris property:head_of_government ?b . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
16
Q1986521 Q2105 Q289303 Q1685859 Q256294 Q1685102 Q601266 Q2596877 Q677730 Q959708 Q3131449 Q947901 Q2851133 Q656015 Q1684642 Q1685301
(Q90,P6,c(Q502895))
action count
action filter_type
action find
entity Q90
relation P6
type Q502895
[ANSWER]
['Q90', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q90 property:P6 ?b . ?b rdf:type ontology:Q502895 }
Nicolas Chambon Jacques Chirac Étienne Arago Jean Tiberi Bertrand Delanoë Jean-Nicolas Pache Louis-Antoine Garnier-Pagès René Boucher Armand Marrast Jules Ferry Henri Lefèvre d'Ormesson Jérôme Pétion de Villeneuve Anne Hidalgo Philibert Borie Jean-Baptiste Fleuriot-Lescot Jean Sylvain Bailly
16
action count
action filter_type
action find
entity Paris
relation head of government
type common name
['Paris', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Paris property:head_of_government ?b . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q592263
Q502895
USER
And also tell me about Santiago de Alcántara?
(Q592263,P6,c(Q502895))
action count
action filter_type
action find
entity Q592263
relation P6
type Q502895
['Q592263', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Q592263 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Santiago de Alcántara
action count
action filter_type
action find
entity Santiago de Alcántara
relation head of government
type common name
['Santiago de Alcántara', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Santiago_de_Alcántara property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q592263,P6,c(Q502895))
action count
action filter_type
action find
entity Q592263
relation P6
type Q502895
[ANSWER]
['Q592263', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Q592263 property:P6 ?w . ?w rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity Santiago de Alcántara
relation head of government
type common name
['Santiago de Alcántara', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Santiago_de_Alcántara property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6779445 Q506401
P27
Q15617994
USER
Which administrative territories are Bil Keane and Mary Ellen Iskenderian an inhabitant of ?
AND((Q506401,P27,c(Q15617994)), (Q6779445,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q506401
relation P27
action find
entity Q6779445
relation P27
type Q15617994
{'AND': [['Q506401', 'P27', {'concept': 'Q15617994'}], ['Q6779445', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q506401 property:P27 ?w . resource:Q6779445 property:P27 ?w }
Mary Ellen Iskenderian Bil Keane
action filter_type
action intersection
action find
entity Bil Keane
relation country of citizenship
action find
entity Mary Ellen Iskenderian
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Bil Keane', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mary Ellen Iskenderian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bil_Keane property:country_of_citizenship ?w . resource:Mary_Ellen_Iskenderian property:country_of_citizenship ?w }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q506401,P27,c(Q15617994)), (Q6779445,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q506401
relation P27
action find
entity Q6779445
relation P27
type Q15617994
[ANSWER] is Bil Keane and Mary Ellen Iskenderian an inhabitant of
{'AND': [['Q506401', 'P27', {'concept': 'Q15617994'}], ['Q6779445', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q506401 property:P27 ?w . resource:Q6779445 property:P27 ?w }
United States of America
United States of America is Bil Keane and Mary Ellen Iskenderian an inhabitant of
United States of America
action filter_type
action intersection
action find
entity Bil Keane
relation country of citizenship
action find
entity Mary Ellen Iskenderian
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Bil Keane', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mary Ellen Iskenderian', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bil_Keane property:country_of_citizenship ?w . resource:Mary_Ellen_Iskenderian property:country_of_citizenship ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q30 Q4188902
P530
Q1048835
USER
Does Zakhidne have diplomatic relations with United States of America ?
(Q30,P530,Q4188902)
action is_in
entity Q4188902
action find
entity Q30
relation P530
['Q30', 'P530', 'Q4188902']
ASK WHERE { resource:Q30 property:P530 resource:Q4188902 }
United States of America Zakhidne
action is_in
entity Zakhidne
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Zakhidne']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Zakhidne }
[]
political territorial entity
SYSTEM
NO
(Q30,P530,Q4188902)
action is_in
entity Q4188902
action find
entity Q30
relation P530
[ANSWER]
['Q30', 'P530', 'Q4188902']
ASK WHERE { resource:Q30 property:P530 resource:Q4188902 }
No
action is_in
entity Zakhidne
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Zakhidne']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Zakhidne }
[]