Simple Question (Direct)
Simple Question
Q24034346
P21
Q290
USER
What is the sex of Nadège Ait-Ibrahim ?
(Q24034346,P21,c(Q290))
action filter_type
action find
entity Q24034346
relation P21
type Q290
['Q24034346', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q24034346 property:P21 ?f . ?f rdf:type ontology:Q290 }
Nadège Ait-Ibrahim
action filter_type
action find
entity Nadège Ait-Ibrahim
relation gender
type sex
['Nadège Ait-Ibrahim', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Nadège_Ait-Ibrahim property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q24034346,P21,c(Q290))
action filter_type
action find
entity Q24034346
relation P21
type Q290
The sex of Nadège Ait-Ibrahim is the [ANSWER]
['Q24034346', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q24034346 property:P21 ?f . ?f rdf:type ontology:Q290 }
female
The sex of Nadège Ait-Ibrahim is the female
female
action filter_type
action find
entity Nadège Ait-Ibrahim
relation gender
type sex
['Nadège Ait-Ibrahim', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Nadège_Ait-Ibrahim property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24034346
P19
Q20667921
USER
Which french administrative division was Nadège Ait-Ibrahim born at ?
(Q24034346,P19,c(Q20667921))
action filter_type
action find
entity Q24034346
relation P19
type Q20667921
['Q24034346', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q24034346 property:P19 ?g . ?g rdf:type ontology:Q20667921 }
Nadège Ait-Ibrahim
action filter_type
action find
entity Nadège Ait-Ibrahim
relation place of birth
type type of french administrative division
['Nadège Ait-Ibrahim', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Nadège_Ait-Ibrahim property:place_of_birth ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q215155
SYSTEM
Fréjus
Q215155
(Q24034346,P19,c(Q20667921))
action filter_type
action find
entity Q24034346
relation P19
type Q20667921
Which french administrative division was Nadège Ait-Ibrahim born at
['Q24034346', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q24034346 property:P19 ?g . ?g rdf:type ontology:Q20667921 }
Fréjus
Which french administrative division was Nadège Ait-Ibrahim born at
Fréjus
action filter_type
action find
entity Nadège Ait-Ibrahim
relation place of birth
type type of french administrative division
['Nadège Ait-Ibrahim', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Nadège_Ait-Ibrahim property:place_of_birth ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3588406
Q20667921
USER
And also tell me about Émile Chenel?
(Q3588406,P19,c(Q20667921))
action filter_type
action find
entity Q3588406
relation P19
type Q20667921
['Q3588406', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q20667921 . resource:Q3588406 property:P19 ?q }
Émile Chenel
action filter_type
action find
entity Émile Chenel
relation place of birth
type type of french administrative division
['Émile Chenel', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_french_administrative_division . resource:Émile_Chenel property:place_of_birth ?q }
[]
type of french administrative division
Q220684
SYSTEM
Vire
Q220684
(Q3588406,P19,c(Q20667921))
action filter_type
action find
entity Q3588406
relation P19
type Q20667921
[ANSWER]
['Q3588406', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q20667921 . resource:Q3588406 property:P19 ?q }
Vire
Vire
action filter_type
action find
entity Émile Chenel
relation place of birth
type type of french administrative division
['Émile Chenel', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_french_administrative_division . resource:Émile_Chenel property:place_of_birth ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q220684 Q6672341
P17
Q15617994
USER
Is Vire a part of Long Beach School District ?
(Q220684,P17,Q6672341)
action is_in
entity Q6672341
action find
entity Q220684
relation P17
['Q220684', 'P17', 'Q6672341']
ASK WHERE { resource:Q220684 property:P17 resource:Q6672341 }
Vire Long Beach School District
action is_in
entity Long Beach School District
action find
entity Vire
relation country
['Vire', 'country', 'Long Beach School District']
ASK WHERE { resource:Vire property:country resource:Long_Beach_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q220684,P17,Q6672341)
action is_in
entity Q6672341
action find
entity Q220684
relation P17
[ANSWER]
['Q220684', 'P17', 'Q6672341']
ASK WHERE { resource:Q220684 property:P17 resource:Q6672341 }
No
action is_in
entity Long Beach School District
action find
entity Vire
relation country
['Vire', 'country', 'Long Beach School District']
ASK WHERE { resource:Vire property:country resource:Long_Beach_School_District }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q215155
P47
Q20667921
USER
Who share the border with Fréjus ?
(Q215155,P47,c(Q20667921))
action filter_type
action find
entity Q215155
relation P47
type Q20667921
['Q215155', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q20667921 . resource:Q215155 property:P47 ?i }
Fréjus
action filter_type
action find
entity Fréjus
relation shares border with
type type of french administrative division
['Fréjus', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:type_of_french_administrative_division . resource:Fréjus property:shares_border_with ?i }
[]
type of french administrative division
Q688258 Q239317 Q818113
SYSTEM
Bagnols-en-Forêt, Mandelieu-la-Napoule, Tanneron
Q685396 Q688020 Q474773 Q818113 Q239317 Q234281 Q688258
(Q215155,P47,c(Q20667921))
action filter_type
action find
entity Q215155
relation P47
type Q20667921
Of [ANSWERS] share the border with Fréjus
['Q215155', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q20667921 . resource:Q215155 property:P47 ?i }
Puget-sur-Argens Les Adrets-de-l'Estérel Roquebrune-sur-Argens Tanneron Mandelieu-la-Napoule Saint-Raphaël Bagnols-en-Forêt
Of Bagnols-en-Forêt, Mandelieu-la-Napoule and Tanneron share the border with Fréjus
Bagnols-en-Forêt Mandelieu-la-Napoule Tanneron
action filter_type
action find
entity Fréjus
relation shares border with
type type of french administrative division
['Fréjus', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:type_of_french_administrative_division . resource:Fréjus property:shares_border_with ?i }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q688258 Q239317 Q818113
P47
Q20667921
USER
Which french administrative divisions are adjacent to Bagnols-en-Forêt, Mandelieu-la-Napoule and Tanneron ?
(Q688258,P47,c(Q20667921)) (Q239317,P47,c(Q20667921)) (Q818113,P47,c(Q20667921))
action union
action filter_type
action find
entity Q688258
relation P47
type Q20667921
action filter_type
action find
entity Q239317
relation P47
type Q20667921
action filter_type
action find
entity Q818113
relation P47
type Q20667921
['Q688258', 'P47', {'concept': 'Q20667921'}] ['Q239317', 'P47', {'concept': 'Q20667921'}] ['Q818113', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { { resource:Q688258 property:P47 ?a . ?a rdf:type ontology:Q20667921 } UNION { ?a rdf:type ontology:Q20667921 . resource:Q239317 property:P47 ?a } }
Bagnols-en-Forêt Mandelieu-la-Napoule Tanneron
action union
action filter_type
action find
entity Bagnols-en-Forêt
relation shares border with
type type of french administrative division
action filter_type
action find
entity Mandelieu-la-Napoule
relation shares border with
type type of french administrative division
action filter_type
action find
entity Tanneron
relation shares border with
type type of french administrative division
['Bagnols-en-Forêt', 'shares border with', {'concept': 'type of french administrative division'}] ['Mandelieu-la-Napoule', 'shares border with', {'concept': 'type of french administrative division'}] ['Tanneron', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { { resource:Bagnols-en-Forêt property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division } UNION { ?a rdf:type ontology:type_of_french_administrative_division . resource:Mandelieu-la-Napoule property:shares_border_with ?a } }
[]
type of french administrative division
Q39984 Q215155 Q215155
SYSTEM
Cannes for 1st, Fréjus for 2nd, 3rd
Q685396 Q688020 Q817728 Q819035 Q215155 Q201549 Q474773 Q817832 Q818289 Q818180 Q662120 Q215155 Q818113 Q234281 Q287518 Q39984 Q471530 Q688020 Q215155 Q643248 Q239317 Q868100 Q287518 Q640639 Q818180
(Q688258,P47,c(Q20667921)) (Q239317,P47,c(Q20667921)) (Q818113,P47,c(Q20667921))
action union
action filter_type
action find
entity Q688258
relation P47
type Q20667921
action filter_type
action find
entity Q239317
relation P47
type Q20667921
action filter_type
action find
entity Q818113
relation P47
type Q20667921
[ANSWERS]
['Q688258', 'P47', {'concept': 'Q20667921'}] ['Q239317', 'P47', {'concept': 'Q20667921'}] ['Q818113', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { { resource:Q688258 property:P47 ?a . ?a rdf:type ontology:Q20667921 } UNION { ?a rdf:type ontology:Q20667921 . resource:Q239317 property:P47 ?a } }
Puget-sur-Argens Les Adrets-de-l'Estérel Callian Saint-Paul-en-Forêt Fréjus Tourrettes Roquebrune-sur-Argens Le Muy Callas Montauroux La Roquette-sur-Siagne Fréjus Tanneron Saint-Raphaël Pégomas Cannes Théoule-sur-Mer Les Adrets-de-l'Estérel Fréjus Peymeinade Mandelieu-la-Napoule Le Tignet Pégomas Auribeau-sur-Siagne Montauroux
Cannes, Fréjus and Fréjus are adjacent to Bagnols-en-Forêt, Mandelieu-la-Napoule and Tanneron
Cannes Fréjus Fréjus
action union
action filter_type
action find
entity Bagnols-en-Forêt
relation shares border with
type type of french administrative division
action filter_type
action find
entity Mandelieu-la-Napoule
relation shares border with
type type of french administrative division
action filter_type
action find
entity Tanneron
relation shares border with
type type of french administrative division
['Bagnols-en-Forêt', 'shares border with', {'concept': 'type of french administrative division'}] ['Mandelieu-la-Napoule', 'shares border with', {'concept': 'type of french administrative division'}] ['Tanneron', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { { resource:Bagnols-en-Forêt property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division } UNION { ?a rdf:type ontology:type_of_french_administrative_division . resource:Mandelieu-la-Napoule property:shares_border_with ?a } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q215155
P1376
Q20667921
USER
What has that one as its capital ?
(Q39984,P1376,c(Q20667921)) (Q215155,P1376,c(Q20667921)) (Q215155,P1376,c(Q20667921))
action filter_type
action find
entity Q215155
relation P1376
type Q20667921
['Q39984', 'P1376', {'concept': 'Q20667921'}] ['Q215155', 'P1376', {'concept': 'Q20667921'}] ['Q215155', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q215155 property:P1376 ?z . ?z rdf:type ontology:Q20667921 }
Fréjus
action filter_type
action find
entity Fréjus
relation capital of
type type of french administrative division
['Cannes', 'capital of', {'concept': 'type of french administrative division'}] ['Fréjus', 'capital of', {'concept': 'type of french administrative division'}] ['Fréjus', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Fréjus property:capital_of ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1725332
SYSTEM
canton of Fréjus
Q1725332
(Q39984,P1376,c(Q20667921)) (Q215155,P1376,c(Q20667921)) (Q215155,P1376,c(Q20667921))
action filter_type
action find
entity Q215155
relation P1376
type Q20667921
The [ANSWER] has that one as its capital
['Q39984', 'P1376', {'concept': 'Q20667921'}] ['Q215155', 'P1376', {'concept': 'Q20667921'}] ['Q215155', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q215155 property:P1376 ?z . ?z rdf:type ontology:Q20667921 }
canton of Fréjus
The canton of Fréjus has that one as its capital
canton of Fréjus
action filter_type
action find
entity Fréjus
relation capital of
type type of french administrative division
['Cannes', 'capital of', {'concept': 'type of french administrative division'}] ['Fréjus', 'capital of', {'concept': 'type of french administrative division'}] ['Fréjus', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Fréjus property:capital_of ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q390437 Q215155
P1376
Q20667921
USER
Or Saint-Méen-le-Grand?
OR((Q215155,P1376,c(Q20667921)), (Q390437,P1376,c(Q20667921)))
action filter_type
action union
action find
entity Q215155
relation P1376
action find
entity Q390437
relation P1376
type Q20667921
{'OR': [['Q215155', 'P1376', {'concept': 'Q20667921'}], ['Q390437', 'P1376', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?c ) { ( resource:Q215155 ) ( resource:Q390437 ) } . ?c property:P1376 ?j } . ?j rdf:type ontology:Q20667921 }
Saint-Méen-le-Grand Fréjus
action filter_type
action union
action find
entity Fréjus
relation capital of
action find
entity Saint-Méen-le-Grand
relation capital of
type type of french administrative division
{'OR': [['Fréjus', 'capital of', {'concept': 'type of french administrative division'}], ['Saint-Méen-le-Grand', 'capital of', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?c ) { ( resource:Fréjus ) ( resource:Saint-Méen-le-Grand ) } . ?c property:capital_of ?j } . ?j rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1725332 Q1727283
SYSTEM
canton of Fréjus, canton of Saint-Méen-le-Grand
Q1725332 Q1727283
OR((Q215155,P1376,c(Q20667921)), (Q390437,P1376,c(Q20667921)))
action filter_type
action union
action find
entity Q215155
relation P1376
action find
entity Q390437
relation P1376
type Q20667921
[ANSWERS]
{'OR': [['Q215155', 'P1376', {'concept': 'Q20667921'}], ['Q390437', 'P1376', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?c ) { ( resource:Q215155 ) ( resource:Q390437 ) } . ?c property:P1376 ?j } . ?j rdf:type ontology:Q20667921 }
canton of Fréjus canton of Saint-Méen-le-Grand
canton of Fréjus canton of Saint-Méen-le-Grand
action filter_type
action union
action find
entity Fréjus
relation capital of
action find
entity Saint-Méen-le-Grand
relation capital of
type type of french administrative division
{'OR': [['Fréjus', 'capital of', {'concept': 'type of french administrative division'}], ['Saint-Méen-le-Grand', 'capital of', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?c ) { ( resource:Fréjus ) ( resource:Saint-Méen-le-Grand ) } . ?c property:capital_of ?j } . ?j rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6494661 Q220684
P17
Q15617994
USER
Which administrative territories do Vire or Skiptvet Church belong to ?
OR((Q220684,P17,c(Q15617994)), (Q6494661,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q220684
relation P17
action find
entity Q6494661
relation P17
type Q15617994
{'OR': [['Q220684', 'P17', {'concept': 'Q15617994'}], ['Q6494661', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?h ) { ( resource:Q220684 ) ( resource:Q6494661 ) } . ?h property:P17 ?a } . ?a rdf:type ontology:Q15617994 }
Skiptvet Church Vire
action filter_type
action union
action find
entity Vire
relation country
action find
entity Skiptvet Church
relation country
type designation for an administrative territorial entity
{'OR': [['Vire', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Skiptvet Church', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?h ) { ( resource:Vire ) ( resource:Skiptvet_Church ) } . ?h property:country ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q20
SYSTEM
France, Norway
Q142 Q20
OR((Q220684,P17,c(Q15617994)), (Q6494661,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q220684
relation P17
action find
entity Q6494661
relation P17
type Q15617994
Vire or Skiptvet Church belong to [ANSWERS]
{'OR': [['Q220684', 'P17', {'concept': 'Q15617994'}], ['Q6494661', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?h ) { ( resource:Q220684 ) ( resource:Q6494661 ) } . ?h property:P17 ?a } . ?a rdf:type ontology:Q15617994 }
France Norway
Vire or Skiptvet Church belong to France and Norway
France Norway
action filter_type
action union
action find
entity Vire
relation country
action find
entity Skiptvet Church
relation country
type designation for an administrative territorial entity
{'OR': [['Vire', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Skiptvet Church', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?h ) { ( resource:Vire ) ( resource:Skiptvet_Church ) } . ?h property:country ?a } . ?a 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 diplomatic relations with min number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?b ) { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?q ) WHERE { ?p property:P530 ?t . ?t rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?p } } . FILTER ( ?k = ?b ) . { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?k ) WHERE { ?n rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 . ?n property:P530 ?h } GROUP BY ?n } }
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', 'Zambia']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?b ) { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?q ) WHERE { ?p property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } } . FILTER ( ?k = ?b ) . { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?k ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n property:diplomatic_relation ?h } GROUP BY ?n } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] have diplomatic relations with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?b ) { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?q ) WHERE { ?p property:P530 ?t . ?t rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?p } } . FILTER ( ?k = ?b ) . { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?k ) WHERE { ?n rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 . ?n property:P530 ?h } GROUP BY ?n } }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic, Kingdom of the Netherlands and Kazakhstan have diplomatic relations with min number of administrative territories
Central African Republic Kingdom of the Netherlands Kazakhstan
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', 'Zambia']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?b ) { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?q ) WHERE { ?p property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } } . FILTER ( ?k = ?b ) . { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?k ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n property:diplomatic_relation ?h } GROUP BY ?n } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q929 Q29999 Q232
P1001
Q12737077
USER
Which occupations have control over the jurisdiction of those administrative territories ?
(c(Q12737077),P1001,Q929) (c(Q12737077),P1001,Q29999) (c(Q12737077),P1001,Q232)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q929'] [{'concept': 'Q12737077'}, 'P1001', 'Q29999'] [{'concept': 'Q12737077'}, 'P1001', 'Q232']
SELECT DISTINCT ?c WHERE { ?c property:P1001 ?l . ?c rdf:type ontology:Q12737077 . VALUES ( ?l ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q265 ) } }
Central African Republic Kingdom of the Netherlands Kazakhstan
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Central African Republic'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Kingdom of the Netherlands'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Kazakhstan']
SELECT DISTINCT ?c WHERE { ?c property:applies_to_jurisdiction ?l . ?c rdf:type ontology:occupation . VALUES ( ?l ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Uzbekistan ) } }
[]
occupation
Q2045066 Q19305384 Q18887908
SYSTEM
Monarch of the Netherlands, member of the Senate of the Netherlands, member of the House of Representatives of the Netherlands
Q16773091 Q21295977 Q19305384 Q2045066 Q585592 Q18887908 Q2140877 Q21295141 Q5251229 Q5256775 Q21328574
(c(Q12737077),P1001,Q929) (c(Q12737077),P1001,Q29999) (c(Q12737077),P1001,Q232)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[ANSWERS] have control over the jurisdiction of those administrative territories
[{'concept': 'Q12737077'}, 'P1001', 'Q929'] [{'concept': 'Q12737077'}, 'P1001', 'Q29999'] [{'concept': 'Q12737077'}, 'P1001', 'Q232']
SELECT DISTINCT ?c WHERE { ?c property:P1001 ?l . ?c rdf:type ontology:Q12737077 . VALUES ( ?l ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q265 ) } }
Prime Minister of the Central African Republic Member of the National Assembly of the Central African Republic member of the Senate of the Netherlands Monarch of the Netherlands Governor of the Netherlands Antilles member of the House of Representatives of the Netherlands Governor of Curaçao Member of the Senate of Kazakhstan Defence Minister of Kazakhstan President of Kazakhstan Member of the Mazhilis
Monarch of the Netherlands, member of the Senate of the Netherlands and member of the House of Representatives of the Netherlands have control over the jurisdiction of those administrative territories
Monarch of the Netherlands member of the Senate of the Netherlands member of the House of Representatives of the Netherlands
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Central African Republic'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Kingdom of the Netherlands'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Kazakhstan']
SELECT DISTINCT ?c WHERE { ?c property:applies_to_jurisdiction ?l . ?c rdf:type ontology:occupation . VALUES ( ?l ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Uzbekistan ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P610
Q14524493
USER
What is the highest point of France ?
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?h WHERE { resource:Q142 property:P610 ?h . ?h rdf:type ontology:Q14524493 }
France
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?h WHERE { resource:France property:highest_point ?h . ?h rdf:type ontology:terrain }
[]
terrain
Q583
SYSTEM
Mont Blanc
Q583
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
The highest point of France is the [ANSWER]
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?h WHERE { resource:Q142 property:P610 ?h . ?h rdf:type ontology:Q14524493 }
Mont Blanc
The highest point of France is the Mont Blanc
Mont Blanc
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?h WHERE { resource:France property:highest_point ?h . ?h rdf:type ontology:terrain }
[]