Simple Question (Direct)
Simple Question
Q16025706
P39
Q12737077
USER
What was the position held by Émile Fleurent ?
(Q16025706,P39,c(Q12737077))
action filter_type
action find
entity Q16025706
relation P39
type Q12737077
['Q16025706', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q16025706 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Émile Fleurent
action filter_type
action find
entity Émile Fleurent
relation position held
type occupation
['Émile Fleurent', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Émile_Fleurent property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q16025706,P39,c(Q12737077))
action filter_type
action find
entity Q16025706
relation P39
type Q12737077
The position held by Émile Fleurent was a member of the French National Assembly
['Q16025706', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q16025706 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
member of the French National Assembly
The position held by Émile Fleurent was a member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Émile Fleurent
relation position held
type occupation
['Émile Fleurent', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Émile_Fleurent property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3044918
P106
Q502895
USER
Which person has the profession of that occupation ?
(c(Q502895),P106,Q3044918)
action filter_type
action find_reverse
entity Q3044918
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q3044918']
SELECT DISTINCT ?b WHERE { ?b property:P106 resource:Q3044918 . ?b rdf:type ontology:Q502895 }
member of the French National Assembly
action filter_type
action find_reverse
entity member of the French National Assembly
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the French\xa0National Assembly']
SELECT DISTINCT ?b WHERE { ?b property:occupation resource:member_of_the_French National_Assembly . ?b rdf:type ontology:common_name }
[]
common name
Q3085896
SYSTEM
François Thibault de Ménonville
Q3085896
(c(Q502895),P106,Q3044918)
action filter_type
action find_reverse
entity Q3044918
relation P106
type Q502895
[ANSWER] has the profession of that occupation
[{'concept': 'Q502895'}, 'P106', 'Q3044918']
SELECT DISTINCT ?b WHERE { ?b property:P106 resource:Q3044918 . ?b rdf:type ontology:Q502895 }
François Thibault de Ménonville
François Thibault de Ménonville has the profession of that occupation
François Thibault de Ménonville
action filter_type
action find_reverse
entity member of the French National Assembly
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the French\xa0National Assembly']
SELECT DISTINCT ?b WHERE { ?b property:occupation resource:member_of_the_French National_Assembly . ?b rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3085896 Q142 Q668135
P27
Q15617994
USER
Is François Thibault de Ménonville a native of France and Jois ?
(Q3085896,P27,Q142) (Q3085896,P27,Q668135)
action is_in
entity Q3085896
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q668135
relation P27
['Q3085896', 'P27', 'Q142'] ['Q3085896', 'P27', 'Q668135']
ASK WHERE { resource:Q3085896 property:P27 resource:Q142 . resource:Q3085896 property:P27 resource:Q668135 }
François Thibault de Ménonville France Jois
action is_in
entity François Thibault de Ménonville
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity Jois
relation country of citizenship
['François Thibault de Ménonville', 'country of citizenship', 'France'] ['François Thibault de Ménonville', 'country of citizenship', 'Jois']
ASK WHERE { resource:François_Thibault_de_Ménonville property:country_of_citizenship resource:France . resource:François_Thibault_de_Ménonville property:country_of_citizenship resource:Jois }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q3085896,P27,Q142) (Q3085896,P27,Q668135)
action is_in
entity Q3085896
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q668135
relation P27
[ANSWER]
['Q3085896', 'P27', 'Q142'] ['Q3085896', 'P27', 'Q668135']
ASK WHERE { resource:Q3085896 property:P27 resource:Q142 . resource:Q3085896 property:P27 resource:Q668135 }
YES and NO respectively
action is_in
entity François Thibault de Ménonville
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity Jois
relation country of citizenship
['François Thibault de Ménonville', 'country of citizenship', 'France'] ['François Thibault de Ménonville', 'country of citizenship', 'Jois']
ASK WHERE { resource:François_Thibault_de_Ménonville property:country_of_citizenship resource:France . resource:François_Thibault_de_Ménonville property:country_of_citizenship resource:Jois }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
How many films did atmost 1 person do the dubbing for ?
(c(Q11424),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 1
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { FILTER ( ?w <= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?w ) WHERE { ?u property:P725 ?x . ?u rdf:type ontology:Q11424 . ?x rdf:type ontology:Q502895 } GROUP BY ?u } }
action count
action atmost
action find_tuple_counts
relation voice actor
type film
type common name
value 1
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { FILTER ( ?w <= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?w ) WHERE { ?u property:voice_actor ?x . ?u rdf:type ontology:film . ?x rdf:type ontology:common_name } GROUP BY ?u } }
[]
common name film
SYSTEM
8
Q1138751 Q2918397 Q785363 Q1656435 Q943192 Q1361113 Q2299779 Q1195096
(c(Q11424),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 1
[ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { FILTER ( ?w <= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?w ) WHERE { ?u property:P725 ?x . ?u rdf:type ontology:Q11424 . ?x rdf:type ontology:Q502895 } GROUP BY ?u } }
The Plague Dogs The Bugs Bunny/Road Runner Movie The Time Masters Ico, the Brave Horse Fantasia Pooh's Heffalump Movie Animal Farms Havoc in Heaven
8
action count
action atmost
action find_tuple_counts
relation voice actor
type film
type common name
value 1
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { FILTER ( ?w <= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?w ) WHERE { ?u property:voice_actor ?x . ?u rdf:type ontology:film . ?x rdf:type ontology:common_name } GROUP BY ?u } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30185
P361
Q15617994
USER
What is mayor a part of ?
(Q30185,P361,c(Q15617994))
action filter_type
action find
entity Q30185
relation P361
type Q15617994
['Q30185', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q30185 property:P361 ?r . ?r rdf:type ontology:Q15617994 }
mayor
action filter_type
action find
entity mayor
relation part of
type designation for an administrative territorial entity
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:mayor property:part_of ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q15284
SYSTEM
municipality
Q15284
(Q30185,P361,c(Q15617994))
action filter_type
action find
entity Q30185
relation P361
type Q15617994
What is mayor a part of
['Q30185', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q30185 property:P361 ?r . ?r rdf:type ontology:Q15617994 }
municipality
What is mayor a part of
municipality
action filter_type
action find
entity mayor
relation part of
type designation for an administrative territorial entity
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:mayor property:part_of ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1450662
Q15617994
USER
And also tell me about Government of France?
(Q1450662,P361,c(Q15617994))
action filter_type
action find
entity Q1450662
relation P361
type Q15617994
['Q1450662', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1450662 property:P361 ?a . ?a rdf:type ontology:Q15617994 }
Government of France
action filter_type
action find
entity Government of France
relation part of
type designation for an administrative territorial entity
['Government of France', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Government_of_France property:part_of ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1450662,P361,c(Q15617994))
action filter_type
action find
entity Q1450662
relation P361
type Q15617994
[ANSWER]
['Q1450662', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1450662 property:P361 ?a . ?a rdf:type ontology:Q15617994 }
France
France
action filter_type
action find
entity Government of France
relation part of
type designation for an administrative territorial entity
['Government of France', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Government_of_France property:part_of ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q142 Q730
P47
Q15617994
USER
Does Suriname have a shared border with that one ?
(Q142,P47,Q730)
action is_in
entity Q730
action find
entity Q142
relation P47
['Q142', 'P47', 'Q730']
ASK WHERE { resource:Q142 property:P47 resource:Q730 }
France Suriname
action is_in
entity Suriname
action find
entity France
relation shares border with
['France', 'shares border with', 'Suriname']
ASK WHERE { resource:France property:shares_border_with resource:Suriname }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q142,P47,Q730)
action is_in
entity Q730
action find
entity Q142
relation P47
[ANSWER]
['Q142', 'P47', 'Q730']
ASK WHERE { resource:Q142 property:P47 resource:Q730 }
Yes
action is_in
entity Suriname
action find
entity France
relation shares border with
['France', 'shares border with', 'Suriname']
ASK WHERE { resource:France property:shares_border_with resource:Suriname }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P30
Q2221906
USER
Which geographic locations are France situated in ?
action filter_type
action find
entity Q142
relation P30
type Q2221906
SELECT DISTINCT ?x WHERE { resource:Q142 property:P30 ?x . ?x rdf:type ontology:Q2221906 }
France
action filter_type
action find
entity France
relation continent
type geographic location
SELECT DISTINCT ?x WHERE { resource:France property:continent ?x . ?x rdf:type ontology:geographic_location }
[]
geographic location
Q51 Q15 Q46
SYSTEM
Antarctica, Africa, Europe
Q46 Q15 Q538 Q828 Q51
action filter_type
action find
entity Q142
relation P30
type Q2221906
France are situated in [ANSWERS]
SELECT DISTINCT ?x WHERE { resource:Q142 property:P30 ?x . ?x rdf:type ontology:Q2221906 }
Europe Africa Oceania Americas Antarctica
France are situated in Antarctica, Africa and Europe
Antarctica Africa Europe
action filter_type
action find
entity France
relation continent
type geographic location
SELECT DISTINCT ?x WHERE { resource:France property:continent ?x . ?x rdf:type ontology:geographic_location }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P101
Q2221906 Q21114848
USER
Which geographic locations do around the same number of magazine genres belong to as that geographic location ?
(c(Q21114848),P101,c(Q2221906))
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q2221906 }
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:geographic_location }
[]
geographic location magazine genre
Comparative|More/Less|Single entity type|Clarification
Q46
SYSTEM
Did you mean Europe ?
(c(Q21114848),P101,c(Q2221906))
[ANSWER]
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q2221906 }
Did you mean Europe ?
Europe
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:geographic_location }
[]
Comparative Reasoning (All)
USER
No, I meant Antarctica. Could you tell me the answer for that?
(c(Q21114848),P101,c(Q2221906))
Q51
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q2221906'}]
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'geographic location'}]
[]
Q51 Q48 Q15
SYSTEM
Antarctica, Asia, Africa
Q900636 Q51 Q44497 Q107425 Q11708 Q48 Q7204 Q15 Q48214 Q27468 Q1555938 Q837718 Q12585 Q8072 Q27509
(c(Q21114848),P101,c(Q2221906))
[ANSWERS] around the same number of magazine genres belong to as that geographic location
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q2221906 }
Central and Eastern Europe Antarctica mining landscape Southeast Asia Asia Middle East Africa Near East Eastern Europe Antarctic energy storage Latin America volcano Central Europe
Antarctica, Asia and Africa around the same number of magazine genres belong to as that geographic location
Antarctica Asia Africa
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:geographic_location }
[]