Simple Question (Direct)
Simple Question
Q23636058
P97
Q4164871
USER
Which position was held by Louis-Alexis-Arsène Valette des Hermaux ?
(Q23636058,P97,c(Q4164871))
action filter_type
action find
entity Q23636058
relation P97
type Q4164871
['Q23636058', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?h WHERE { resource:Q23636058 property:P97 ?h . ?h rdf:type ontology:Q4164871 }
Louis-Alexis-Arsène Valette des Hermaux
action filter_type
action find
entity Louis-Alexis-Arsène Valette des Hermaux
relation noble title
type position
['Louis-Alexis-Arsène Valette des Hermaux', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?h WHERE { resource:Louis-Alexis-Arsène_Valette_des_Hermaux property:noble_title ?h . ?h rdf:type ontology:position }
[]
position
Q165503
SYSTEM
baron
Q165503
(Q23636058,P97,c(Q4164871))
action filter_type
action find
entity Q23636058
relation P97
type Q4164871
[ANSWER] was held by Louis-Alexis-Arsène Valette des Hermaux
['Q23636058', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?h WHERE { resource:Q23636058 property:P97 ?h . ?h rdf:type ontology:Q4164871 }
baron
Baron was held by Louis-Alexis-Arsène Valette des Hermaux
baron
action filter_type
action find
entity Louis-Alexis-Arsène Valette des Hermaux
relation noble title
type position
['Louis-Alexis-Arsène Valette des Hermaux', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?h WHERE { resource:Louis-Alexis-Arsène_Valette_des_Hermaux property:noble_title ?h . ?h rdf:type ontology:position }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23636058
P27
Q15617994
USER
Which administrative territory is the native country of Louis-Alexis-Arsène Valette des Hermaux ?
(Q23636058,P27,c(Q15617994))
action filter_type
action find
entity Q23636058
relation P27
type Q15617994
['Q23636058', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q23636058 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Louis-Alexis-Arsène Valette des Hermaux
action filter_type
action find
entity Louis-Alexis-Arsène Valette des Hermaux
relation country of citizenship
type designation for an administrative territorial entity
['Louis-Alexis-Arsène Valette des Hermaux', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Louis-Alexis-Arsène_Valette_des_Hermaux property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q23636058,P27,c(Q15617994))
action filter_type
action find
entity Q23636058
relation P27
type Q15617994
[ANSWER] is the native country of Louis-Alexis-Arsène Valette des Hermaux
['Q23636058', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q23636058 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
France
France is the native country of Louis-Alexis-Arsène Valette des Hermaux
France
action filter_type
action find
entity Louis-Alexis-Arsène Valette des Hermaux
relation country of citizenship
type designation for an administrative territorial entity
['Louis-Alexis-Arsène Valette des Hermaux', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Louis-Alexis-Arsène_Valette_des_Hermaux property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P1532
Q6979593
USER
Who represent that administrative territory ?
(c(Q6979593),P1532,Q142)
action filter_type
action find_reverse
entity Q142
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q142']
SELECT DISTINCT ?k WHERE { ?k property:P1532 resource:Q142 . ?k rdf:type ontology:Q6979593 }
France
action filter_type
action find_reverse
entity France
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'France']
SELECT DISTINCT ?k WHERE { ?k property:country_for_sport resource:France . ?k rdf:type ontology:national_association_football_team }
[]
national association football team
Q751670 Q32970 Q3590215
SYSTEM
France women's national football team, France women's national under-19 football team, France Olympic football team
Q32970 Q751670 Q3590215 Q3590145 Q4534660
(c(Q6979593),P1532,Q142)
action filter_type
action find_reverse
entity Q142
relation P1532
type Q6979593
And [ANSWERS] represent that administrative territory
[{'concept': 'Q6979593'}, 'P1532', 'Q142']
SELECT DISTINCT ?k WHERE { ?k property:P1532 resource:Q142 . ?k rdf:type ontology:Q6979593 }
France women's national under-19 football team France women's national football team France Olympic football team France women's national under-17 football team France national youth football team
And France women's national football team, France women's national under-19 football team and France Olympic football team represent that administrative territory
France women's national football team France women's national under-19 football team France Olympic football team
action filter_type
action find_reverse
entity France
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'France']
SELECT DISTINCT ?k WHERE { ?k property:country_for_sport resource:France . ?k rdf:type ontology:national_association_football_team }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P1532
Q56061 Q6979593
USER
How many national association football teams play for lesser number of administrative territories than that national association football team ?
(c(Q6979593),P1532,c(Q56061))
[{'concept': 'Q6979593'}, 'P1532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P1532 ?y . ?z rdf:type ontology:Q6979593 . ?y rdf:type ontology:Q56061 }
[{'concept': 'national association football team'}, 'country for sport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:country_for_sport ?y . ?z rdf:type ontology:national_association_football_team . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity national association football team
Comparative|Count over More/Less|Single entity type|Clarification
Q751670
SYSTEM
Did you mean France women's national football team ?
(c(Q6979593),P1532,c(Q56061))
[ANSWER]
[{'concept': 'Q6979593'}, 'P1532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P1532 ?y . ?z rdf:type ontology:Q6979593 . ?y rdf:type ontology:Q56061 }
Did you mean France women's national football team ?
France women's national football team
[{'concept': 'national association football team'}, 'country for sport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:country_for_sport ?y . ?z rdf:type ontology:national_association_football_team . ?y rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant France Olympic football team. Could you tell me the answer for that?
(c(Q6979593),P1532,c(Q56061))
Q3590215
[{'concept': 'Q6979593'}, 'P1532', {'concept': 'Q56061'}]
[{'concept': 'national association football team'}, 'country for sport', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
0
(c(Q6979593),P1532,c(Q56061))
[ANSWER]
[{'concept': 'Q6979593'}, 'P1532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P1532 ?y . ?z rdf:type ontology:Q6979593 . ?y rdf:type ontology:Q56061 }
0
[{'concept': 'national association football team'}, 'country for sport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:country_for_sport ?y . ?z rdf:type ontology:national_association_football_team . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with approximately 39 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 39
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { FILTER ( ?t = 39 ) . { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?t ) WHERE { ?k property:P530 ?z . ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?k } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 39
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { FILTER ( ?t = 39 ) . { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?t ) WHERE { ?k property:diplomatic_relation ?z . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
1
Q184
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 39
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { FILTER ( ?t = 39 ) . { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?t ) WHERE { ?k property:P530 ?z . ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?k } }
Belarus
1
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 39
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { FILTER ( ?t = 39 ) . { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?t ) WHERE { ?k property:diplomatic_relation ?z . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P6
Q502895
USER
Which people have France as their heads of government ?
(Q142,P6,c(Q502895))
action filter_type
action find
entity Q142
relation P6
type Q502895
['Q142', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q142 property:P6 ?d . ?d rdf:type ontology:Q502895 }
France
action filter_type
action find
entity France
relation head of government
type common name
['France', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:France property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
common name
Q10287 Q7711
SYSTEM
Manuel Valls, Jean-Marc Ayrault
Q10287 Q7711
(Q142,P6,c(Q502895))
action filter_type
action find
entity Q142
relation P6
type Q502895
[ANSWERS] have France as their heads of government
['Q142', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q142 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Manuel Valls Jean-Marc Ayrault
Manuel Valls and Jean-Marc Ayrault have France as their heads of government
Manuel Valls Jean-Marc Ayrault
action filter_type
action find
entity France
relation head of government
type common name
['France', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:France property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P194
Q1752346
USER
Which assembly is the representative body for France ?
(Q142,P194,c(Q1752346))
action filter_type
action find
entity Q142
relation P194
type Q1752346
['Q142', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?h WHERE { resource:Q142 property:P194 ?h . ?h rdf:type ontology:Q1752346 }
France
action filter_type
action find
entity France
relation legislative body
type assembly
['France', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?h WHERE { resource:France property:legislative_body ?h . ?h rdf:type ontology:assembly }
[]
assembly
Q632552
SYSTEM
French Parliament
Q632552
(Q142,P194,c(Q1752346))
action filter_type
action find
entity Q142
relation P194
type Q1752346
France [ANSWER] is the representative body for France
['Q142', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?h WHERE { resource:Q142 property:P194 ?h . ?h rdf:type ontology:Q1752346 }
French Parliament
France French Parliament is the representative body for France
French Parliament
action filter_type
action find
entity France
relation legislative body
type assembly
['France', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?h WHERE { resource:France property:legislative_body ?h . ?h rdf:type ontology:assembly }
[]