Simple Question (Direct)
Simple Question
Q766823
P20
Q56061
USER
Which administrative territory is the place of death of Auguste Castan ?
(Q766823,P20,c(Q56061))
action filter_type
action find
entity Q766823
relation P20
type Q56061
['Q766823', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q766823 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Auguste Castan
action filter_type
action find
entity Auguste Castan
relation place of death
type administrative territorial entity
['Auguste Castan', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Auguste_Castan property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q37776
SYSTEM
Besançon
Q37776
(Q766823,P20,c(Q56061))
action filter_type
action find
entity Q766823
relation P20
type Q56061
[ANSWER] is the place of death of Auguste Castan
['Q766823', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q766823 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Besançon
Besançon is the place of death of Auguste Castan
Besançon
action filter_type
action find
entity Auguste Castan
relation place of death
type administrative territorial entity
['Auguste Castan', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Auguste_Castan property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q766823
P166
Q618779
USER
What was awarded to Auguste Castan ?
(Q766823,P166,c(Q618779))
action filter_type
action find
entity Q766823
relation P166
type Q618779
['Q766823', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { resource:Q766823 property:P166 ?v . ?v rdf:type ontology:Q618779 }
Auguste Castan
action filter_type
action find
entity Auguste Castan
relation award received
type award
['Auguste Castan', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { resource:Auguste_Castan property:award_received ?v . ?v rdf:type ontology:award }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q766823,P166,c(Q618779))
action filter_type
action find
entity Q766823
relation P166
type Q618779
De [ANSWER] was awarded to Auguste Castan
['Q766823', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { resource:Q766823 property:P166 ?v . ?v rdf:type ontology:Q618779 }
Knight of the Legion of Honour
De Knight of the Legion of Honour was awarded to Auguste Castan
Knight of the Legion of Honour
action filter_type
action find
entity Auguste Castan
relation award received
type award
['Auguste Castan', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { resource:Auguste_Castan property:award_received ?v . ?v rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10855271
P17
Q15617994
USER
Which administrative territory does that award belong to ?
(Q10855271,P17,c(Q15617994))
action filter_type
action find
entity Q10855271
relation P17
type Q15617994
['Q10855271', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q10855271 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Knight of the Legion of Honour
action filter_type
action find
entity Knight of the Legion of Honour
relation country
type designation for an administrative territorial entity
['Knight of the Legion of Honour', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Knight_of_the_Legion_of_Honour property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q10855271,P17,c(Q15617994))
action filter_type
action find
entity Q10855271
relation P17
type Q15617994
That award belongs to [ANSWER]
['Q10855271', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q10855271 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
France
That award belongs to France
France
action filter_type
action find
entity Knight of the Legion of Honour
relation country
type designation for an administrative territorial entity
['Knight of the Legion of Honour', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Knight_of_the_Legion_of_Honour property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with min number of administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?o ) { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?u ) WHERE { ?d property:P530 ?j . ?d rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?d } } . { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?v ) WHERE { ?r property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?v = ?o ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?o ) { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?u ) WHERE { ?d property:diplomatic_relation ?j . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } } . { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?v ) WHERE { ?r property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?v = ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] have tactful political relations with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?o ) { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?u ) WHERE { ?d property:P530 ?j . ?d rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?d } } . { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?v ) WHERE { ?r property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?v = ?o ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands, Dominican Republic and Tanzania have tactful political relations with min number of administrative territories
Kingdom of the Netherlands Dominican Republic Tanzania
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?o ) { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?u ) WHERE { ?d property:diplomatic_relation ?j . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } } . { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?v ) WHERE { ?r property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?v = ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q786
P276
Q350604
USER
Which armed conflict is situated at Dominican Republic ?
(c(Q350604),P276,Q786)
action filter_type
action find_reverse
entity Q786
relation P276
type Q350604
[{'concept': 'Q350604'}, 'P276', 'Q786']
SELECT DISTINCT ?c WHERE { ?c property:P276 resource:Q786 . ?c rdf:type ontology:Q350604 }
Dominican Republic
action filter_type
action find_reverse
entity Dominican Republic
relation location
type armed conflict
[{'concept': 'armed conflict'}, 'location', 'Dominican Republic']
SELECT DISTINCT ?c WHERE { ?c property:location resource:Dominican_Republic . ?c rdf:type ontology:armed_conflict }
[]
armed conflict
Q3439047
SYSTEM
Dominican War of Independence
Q3439047
(c(Q350604),P276,Q786)
action filter_type
action find_reverse
entity Q786
relation P276
type Q350604
[ANSWER] is situated at Dominican Republic
[{'concept': 'Q350604'}, 'P276', 'Q786']
SELECT DISTINCT ?c WHERE { ?c property:P276 resource:Q786 . ?c rdf:type ontology:Q350604 }
Dominican War of Independence
Dominican War of Independence is situated at Dominican Republic
Dominican War of Independence
action filter_type
action find_reverse
entity Dominican Republic
relation location
type armed conflict
[{'concept': 'armed conflict'}, 'location', 'Dominican Republic']
SELECT DISTINCT ?c WHERE { ?c property:location resource:Dominican_Republic . ?c rdf:type ontology:armed_conflict }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P35
Q502895
USER
Who are elected as the head of state of France ?
(Q142,P35,c(Q502895))
action filter_type
action find
entity Q142
relation P35
type Q502895
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q142 property:P35 ?x . ?x rdf:type ontology:Q502895 }
France
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:France property:head_of_state ?x . ?x rdf:type ontology:common_name }
[]
common name
Q2105 Q2042 Q2038
SYSTEM
Jacques Chirac, Charles de Gaulle, François Mitterrand
Q2105 Q2038 Q157 Q329 Q2042 Q12950 Q2185 Q2124
(Q142,P35,c(Q502895))
action filter_type
action find
entity Q142
relation P35
type Q502895
[ANSWERS] are elected as the head of state of France
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q142 property:P35 ?x . ?x rdf:type ontology:Q502895 }
Jacques Chirac François Mitterrand François Hollande Nicolas Sarkozy Charles de Gaulle Alain Poher Georges Pompidou Valéry Giscard d'Estaing
Jacques Chirac, Charles de Gaulle and François Mitterrand are elected as the head of state of France
Jacques Chirac Charles de Gaulle François Mitterrand
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:France property:head_of_state ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2042
P991
Q40231
USER
Which elections were Charles de Gaulle elected from ?
(c(Q40231),P991,Q2042)
action filter_type
action find_reverse
entity Q2042
relation P991
type Q40231
[{'concept': 'Q40231'}, 'P991', 'Q2042']
SELECT DISTINCT ?s WHERE { ?s property:P991 resource:Q2042 . ?s rdf:type ontology:Q40231 }
Charles de Gaulle
action filter_type
action find_reverse
entity Charles de Gaulle
relation successful candidate
type election
[{'concept': 'election'}, 'successful candidate', 'Charles de Gaulle']
SELECT DISTINCT ?s WHERE { ?s property:successful_candidate resource:Charles_de_Gaulle . ?s rdf:type ontology:election }
[]
election
Q1450635 Q1450633
SYSTEM
French presidential election, 1965, French presidential election, 1958
Q1450635 Q1450633
(c(Q40231),P991,Q2042)
action filter_type
action find_reverse
entity Q2042
relation P991
type Q40231
[ANSWERS]
[{'concept': 'Q40231'}, 'P991', 'Q2042']
SELECT DISTINCT ?s WHERE { ?s property:P991 resource:Q2042 . ?s rdf:type ontology:Q40231 }
French presidential election, 1965 French presidential election, 1958
Charles de Gaulle were elected in French presidential election, 1965 and French presidential election, 1958
French presidential election, 1965 French presidential election, 1958
action filter_type
action find_reverse
entity Charles de Gaulle
relation successful candidate
type election
[{'concept': 'election'}, 'successful candidate', 'Charles de Gaulle']
SELECT DISTINCT ?s WHERE { ?s property:successful_candidate resource:Charles_de_Gaulle . ?s rdf:type ontology:election }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1450635 Q1450633
P991
Q502895
USER
Who were elected in those elections ?
(Q1450635,P991,c(Q502895)) (Q1450633,P991,c(Q502895))
action filter_type
action find
entity prev_answer
relation P991
type Q502895
['Q1450635', 'P991', {'concept': 'Q502895'}] ['Q1450633', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?i ) { ( resource:Q1450635 ) ( resource:Q1450633 ) } . ?q rdf:type ontology:Q502895 . ?i property:P991 ?q }
French presidential election, 1965 French presidential election, 1958
action filter_type
action find
entity prev_answer
relation successful candidate
type common name
['French presidential election, 1965', 'successful candidate', {'concept': 'common name'}] ['French presidential election, 1958', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?i ) { ( resource:French_presidential_election,_1965 ) ( resource:French_presidential_election,_1958 ) } . ?q rdf:type ontology:common_name . ?i property:successful_candidate ?q }
[]
common name
Q2042 Q2042
SYSTEM
Charles de Gaulle
Q2042 Q2042
(Q1450635,P991,c(Q502895)) (Q1450633,P991,c(Q502895))
action filter_type
action find
entity prev_answer
relation P991
type Q502895
Were [ANSWER] and [ANSWER] were elected in those elections
['Q1450635', 'P991', {'concept': 'Q502895'}] ['Q1450633', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?i ) { ( resource:Q1450635 ) ( resource:Q1450633 ) } . ?q rdf:type ontology:Q502895 . ?i property:P991 ?q }
Charles de Gaulle Charles de Gaulle
Were Charles de Gaulle and Charles de Gaulle were elected in those elections
Charles de Gaulle Charles de Gaulle
action filter_type
action find
entity prev_answer
relation successful candidate
type common name
['French presidential election, 1965', 'successful candidate', {'concept': 'common name'}] ['French presidential election, 1958', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?i ) { ( resource:French_presidential_election,_1965 ) ( resource:French_presidential_election,_1958 ) } . ?q rdf:type ontology:common_name . ?i property:successful_candidate ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2042
P102
Q7210356
USER
Which parties do that person belong to ?
(Q2042,P102,c(Q7210356)) (Q2042,P102,c(Q7210356))
action filter_type
action find
entity Q2042
relation P102
type Q7210356
['Q2042', 'P102', {'concept': 'Q7210356'}] ['Q2042', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q2042 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Charles de Gaulle
action filter_type
action find
entity Charles de Gaulle
relation member of political party
type political organization
['Charles de Gaulle', 'member of political party', {'concept': 'political organization'}] ['Charles de Gaulle', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Charles_de_Gaulle property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
political organization
Q2132031 Q1904825
SYSTEM
Rally of the French People, Union of Democrats for the Republic
Q2132031 Q1904825
(Q2042,P102,c(Q7210356)) (Q2042,P102,c(Q7210356))
action filter_type
action find
entity Q2042
relation P102
type Q7210356
That person belong to [ANSWERS]
['Q2042', 'P102', {'concept': 'Q7210356'}] ['Q2042', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q2042 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Rally of the French People Union of Democrats for the Republic
That person belong to Rally of the French People and Union of Democrats for the Republic
Rally of the French People Union of Democrats for the Republic
action filter_type
action find
entity Charles de Gaulle
relation member of political party
type political organization
['Charles de Gaulle', 'member of political party', {'concept': 'political organization'}] ['Charles de Gaulle', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Charles_de_Gaulle property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2042
P410
Q4189293
USER
Which title was the military rank conferred upon that person ?
(Q2132031,P410,c(Q4189293)) (Q1904825,P410,c(Q4189293))
action filter_type
action find
entity Q2042
relation P410
type Q4189293
['Q2132031', 'P410', {'concept': 'Q4189293'}] ['Q1904825', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?a WHERE { resource:Q2042 property:P410 ?a . ?a rdf:type ontology:Q4189293 }
Charles de Gaulle
action filter_type
action find
entity Charles de Gaulle
relation military rank
type title
['Rally of the French People', 'military rank', {'concept': 'title'}] ['Union of Democrats for the Republic', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?a WHERE { resource:Charles_de_Gaulle property:military_rank ?a . ?a rdf:type ontology:title }
[]
title
Q152956
SYSTEM
brigadier general
Q152956
(Q2132031,P410,c(Q4189293)) (Q1904825,P410,c(Q4189293))
action filter_type
action find
entity Q2042
relation P410
type Q4189293
General [ANSWER] was the military rank conferred upon that person
['Q2132031', 'P410', {'concept': 'Q4189293'}] ['Q1904825', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?a WHERE { resource:Q2042 property:P410 ?a . ?a rdf:type ontology:Q4189293 }
brigadier general
General brigadier general was the military rank conferred upon that person
brigadier general
action filter_type
action find
entity Charles de Gaulle
relation military rank
type title
['Rally of the French People', 'military rank', {'concept': 'title'}] ['Union of Democrats for the Republic', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?a WHERE { resource:Charles_de_Gaulle property:military_rank ?a . ?a rdf:type ontology:title }
[]