Simple Question (Direct)
Simple Question
Q1440958
P47
Q20667921
USER
Which french administrative divisions share border with Izaut-de-l'Hôtel ?
(Q1440958,P47,c(Q20667921))
action filter_type
action find
entity Q1440958
relation P47
type Q20667921
['Q1440958', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q20667921 . resource:Q1440958 property:P47 ?p }
Izaut-de-l'Hôtel
action filter_type
action find
entity Izaut-de-l'Hôtel
relation shares border with
type type of french administrative division
["Izaut-de-l'Hôtel", 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:type_of_french_administrative_division . resource:Izaut-de-l'Hôtel property:shares_border_with ?p }
[]
type of french administrative division
Q642808 Q1432831 Q1143784
SYSTEM
Aspet, Malvezie, Sengouagnet
Q1432831 Q1428805 Q1143784 Q1419031 Q642808 Q1431636 Q533440
(Q1440958,P47,c(Q20667921))
action filter_type
action find
entity Q1440958
relation P47
type Q20667921
[ANSWERS] share border with Izaut-de-l'Hôtel
['Q1440958', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q20667921 . resource:Q1440958 property:P47 ?p }
Malvezie Payssous Sengouagnet Cabanac-Cazaux Aspet Juzet-d'Izaut Arbon
Aspet, Malvezie and Sengouagnet share border with Izaut-de-l'Hôtel
Aspet Malvezie Sengouagnet
action filter_type
action find
entity Izaut-de-l'Hôtel
relation shares border with
type type of french administrative division
["Izaut-de-l'Hôtel", 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:type_of_french_administrative_division . resource:Izaut-de-l'Hôtel property:shares_border_with ?p }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q642808 Q1432831 Q1143784
P47
Q20667921
USER
Which french administrative divisions do those ones share a border with ?
(c(Q20667921),P47,Q642808) (c(Q20667921),P47,Q1432831) (c(Q20667921),P47,Q1143784)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q642808'] [{'concept': 'Q20667921'}, 'P47', 'Q1432831'] [{'concept': 'Q20667921'}, 'P47', 'Q1143784']
SELECT DISTINCT ?n WHERE { ?i property:P47 ?n . ?n rdf:type ontology:Q20667921 . VALUES ( ?i ) { ( resource:Q1432831 ) ( resource:Q1428805 ) ( resource:Q1143784 ) } }
Aspet Malvezie Sengouagnet
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Aspet'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Malvezie'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Sengouagnet']
SELECT DISTINCT ?n WHERE { ?i property:shares_border_with ?n . ?n rdf:type ontology:type_of_french_administrative_division . VALUES ( ?i ) { ( resource:Malvezie ) ( resource:Payssous ) ( resource:Sengouagnet ) } }
[]
type of french administrative division
Q1428747 Q1467072 Q642808
SYSTEM
Sauveterre-de-Comminges, Boutx, Aspet
Q1143784 Q1143851 Q1440958 Q576288 Q1349047 Q304967 Q1143740 Q1419031 Q835578 Q1428805 Q1088695 Q533440 Q1440958 Q1428747 Q1340884 Q1088688 Q1467072 Q1431636 Q1440958 Q576288 Q642808 Q1144164
(c(Q20667921),P47,Q642808) (c(Q20667921),P47,Q1432831) (c(Q20667921),P47,Q1143784)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
Those ones share a border with [ANSWERS]
[{'concept': 'Q20667921'}, 'P47', 'Q642808'] [{'concept': 'Q20667921'}, 'P47', 'Q1432831'] [{'concept': 'Q20667921'}, 'P47', 'Q1143784']
SELECT DISTINCT ?n WHERE { ?i property:P47 ?n . ?n rdf:type ontology:Q20667921 . VALUES ( ?i ) { ( resource:Q1432831 ) ( resource:Q1428805 ) ( resource:Q1143784 ) } }
Sengouagnet Encausse-les-Thermes Izaut-de-l'Hôtel Milhas Chein-Dessus Estadens Soueich Cabanac-Cazaux Saint-Pé-d'Ardet Payssous Génos Arbon Izaut-de-l'Hôtel Sauveterre-de-Comminges Cazaunous Arguenos Boutx Juzet-d'Izaut Izaut-de-l'Hôtel Milhas Aspet Razecueillé
Those ones share a border with Sauveterre-de-Comminges, Boutx and Aspet
Sauveterre-de-Comminges Boutx Aspet
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Aspet'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Malvezie'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Sengouagnet']
SELECT DISTINCT ?n WHERE { ?i property:shares_border_with ?n . ?n rdf:type ontology:type_of_french_administrative_division . VALUES ( ?i ) { ( resource:Malvezie ) ( resource:Payssous ) ( resource:Sengouagnet ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q642808
P1376
Q20667921
USER
Which french administrative division has Aspet has its center of administration ?
(Q1428747,P1376,c(Q20667921)) (Q1467072,P1376,c(Q20667921)) (Q642808,P1376,c(Q20667921))
action filter_type
action find
entity Q642808
relation P1376
type Q20667921
['Q1428747', 'P1376', {'concept': 'Q20667921'}] ['Q1467072', 'P1376', {'concept': 'Q20667921'}] ['Q642808', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q642808 property:P1376 ?a . ?a rdf:type ontology:Q20667921 }
Aspet
action filter_type
action find
entity Aspet
relation capital of
type type of french administrative division
['Sauveterre-de-Comminges', 'capital of', {'concept': 'type of french administrative division'}] ['Boutx', 'capital of', {'concept': 'type of french administrative division'}] ['Aspet', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Aspet property:capital_of ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1724244
SYSTEM
canton of Aspet
Q1724244
(Q1428747,P1376,c(Q20667921)) (Q1467072,P1376,c(Q20667921)) (Q642808,P1376,c(Q20667921))
action filter_type
action find
entity Q642808
relation P1376
type Q20667921
[ANSWER] has Aspet has its center of administration
['Q1428747', 'P1376', {'concept': 'Q20667921'}] ['Q1467072', 'P1376', {'concept': 'Q20667921'}] ['Q642808', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q642808 property:P1376 ?a . ?a rdf:type ontology:Q20667921 }
canton of Aspet
Canton of Aspet has Aspet has its center of administration
canton of Aspet
action filter_type
action find
entity Aspet
relation capital of
type type of french administrative division
['Sauveterre-de-Comminges', 'capital of', {'concept': 'type of french administrative division'}] ['Boutx', 'capital of', {'concept': 'type of french administrative division'}] ['Aspet', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Aspet property:capital_of ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3445370 Q642808
P17
Q15617994
USER
Which administrative territories are Aspet or Route nationale 93 a part of ?
OR((Q642808,P17,c(Q15617994)), (Q3445370,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q642808
relation P17
action find
entity Q3445370
relation P17
type Q15617994
{'OR': [['Q642808', 'P17', {'concept': 'Q15617994'}], ['Q3445370', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?q ) { ( resource:Q642808 ) ( resource:Q3445370 ) } . ?q property:P17 ?n } . ?n rdf:type ontology:Q15617994 }
Route nationale 93 Aspet
action filter_type
action union
action find
entity Aspet
relation country
action find
entity Route nationale 93
relation country
type designation for an administrative territorial entity
{'OR': [['Aspet', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Route nationale 93', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?q ) { ( resource:Aspet ) ( resource:Route_nationale_93 ) } . ?q property:country ?n } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
OR((Q642808,P17,c(Q15617994)), (Q3445370,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q642808
relation P17
action find
entity Q3445370
relation P17
type Q15617994
[ANSWER] is Aspet or Route nationale 93 a part of
{'OR': [['Q642808', 'P17', {'concept': 'Q15617994'}], ['Q3445370', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?q ) { ( resource:Q642808 ) ( resource:Q3445370 ) } . ?q property:P17 ?n } . ?n rdf:type ontology:Q15617994 }
France
France is Aspet or Route nationale 93 a part of
France
action filter_type
action union
action find
entity Aspet
relation country
action find
entity Route nationale 93
relation country
type designation for an administrative territorial entity
{'OR': [['Aspet', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Route nationale 93', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?q ) { ( resource:Aspet ) ( resource:Route_nationale_93 ) } . ?q property:country ?n } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P1001
Q211364
USER
Which principle presides the jurisdiction over that administrative territory ?
(c(Q211364),P1001,Q142)
action filter_type
action find_reverse
entity Q142
relation P1001
type Q211364
[{'concept': 'Q211364'}, 'P1001', 'Q142']
SELECT DISTINCT ?z WHERE { ?z property:P1001 resource:Q142 . ?z rdf:type ontology:Q211364 }
France
action filter_type
action find_reverse
entity France
relation applies to jurisdiction
type principle
[{'concept': 'principle'}, 'applies to jurisdiction', 'France']
SELECT DISTINCT ?z WHERE { ?z property:applies_to_jurisdiction resource:France . ?z rdf:type ontology:principle }
[]
principle
Q16024874
SYSTEM
tax credit for competitivity and employment
Q16024874
(c(Q211364),P1001,Q142)
action filter_type
action find_reverse
entity Q142
relation P1001
type Q211364
And [ANSWER] presides the jurisdiction over that administrative territory
[{'concept': 'Q211364'}, 'P1001', 'Q142']
SELECT DISTINCT ?z WHERE { ?z property:P1001 resource:Q142 . ?z rdf:type ontology:Q211364 }
tax credit for competitivity and employment
And tax credit for competitivity and employment presides the jurisdiction over that administrative territory
tax credit for competitivity and employment
action filter_type
action find_reverse
entity France
relation applies to jurisdiction
type principle
[{'concept': 'principle'}, 'applies to jurisdiction', 'France']
SELECT DISTINCT ?z WHERE { ?z property:applies_to_jurisdiction resource:France . ?z rdf:type ontology:principle }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1724244
P17
Q15617994
USER
How many administrative territories are canton of Aspet a part of ?
(Q1724244,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1724244
relation P17
type Q15617994
['Q1724244', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Q1724244 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
canton of Aspet
action count
action filter_type
action find
entity canton of Aspet
relation country
type designation for an administrative territorial entity
['canton of Aspet', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:canton_of_Aspet property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q142
(Q1724244,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1724244
relation P17
type Q15617994
[ANSWER]
['Q1724244', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Q1724244 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
France
1
action count
action filter_type
action find
entity canton of Aspet
relation country
type designation for an administrative territorial entity
['canton of Aspet', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:canton_of_Aspet property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q26723
Q15617994
USER
And also tell me about Iron County?
(Q26723,P17,c(Q15617994))
action count
action filter_type
action find
entity Q26723
relation P17
type Q15617994
['Q26723', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Q26723 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Iron County
action count
action filter_type
action find
entity Iron County
relation country
type designation for an administrative territorial entity
['Iron County', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Iron_County property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q26723,P17,c(Q15617994))
action count
action filter_type
action find
entity Q26723
relation P17
type Q15617994
[ANSWER]
['Q26723', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Q26723 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Iron County
relation country
type designation for an administrative territorial entity
['Iron County', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Iron_County property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]