Simple Question (Direct)
Simple Question
Q243260
P190
Q56061
USER
Which administrative territory is twin town of Fosses ?
(Q243260,P190,c(Q56061))
action filter_type
action find
entity Q243260
relation P190
type Q56061
['Q243260', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q243260 property:P190 ?r }
Fosses
action filter_type
action find
entity Fosses
relation sister city
type administrative territorial entity
['Fosses', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Fosses property:sister_city ?r }
[]
administrative territorial entity
Q206957
SYSTEM
Serres
Q206957
(Q243260,P190,c(Q56061))
action filter_type
action find
entity Q243260
relation P190
type Q56061
In [ANSWER] is twin town of Fosses
['Q243260', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q243260 property:P190 ?r }
Serres
In Serres is twin town of Fosses
Serres
action filter_type
action find
entity Fosses
relation sister city
type administrative territorial entity
['Fosses', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Fosses property:sister_city ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q243260
P36
Q20667921
USER
Which french administrative division has Fosses as its capital ?
(c(Q20667921),P36,Q243260)
action filter_type
action find_reverse
entity Q243260
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q243260']
SELECT DISTINCT ?i WHERE { ?i property:P36 resource:Q243260 . ?i rdf:type ontology:Q20667921 }
Fosses
action filter_type
action find_reverse
entity Fosses
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Fosses']
SELECT DISTINCT ?i WHERE { ?i property:capital resource:Fosses . ?i rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q19945051
SYSTEM
canton of Fosses
Q19945051
(c(Q20667921),P36,Q243260)
action filter_type
action find_reverse
entity Q243260
relation P36
type Q20667921
The [ANSWER] has Fosses as its capital
[{'concept': 'Q20667921'}, 'P36', 'Q243260']
SELECT DISTINCT ?i WHERE { ?i property:P36 resource:Q243260 . ?i rdf:type ontology:Q20667921 }
canton of Fosses
The canton of Fosses has Fosses as its capital
canton of Fosses
action filter_type
action find_reverse
entity Fosses
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Fosses']
SELECT DISTINCT ?i WHERE { ?i property:capital resource:Fosses . ?i rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19945051
P17
Q15617994
USER
Which administrative territory does that french administrative division belong to ?
(Q19945051,P17,c(Q15617994))
action filter_type
action find
entity Q19945051
relation P17
type Q15617994
['Q19945051', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q19945051 property:P17 ?s }
canton of Fosses
action filter_type
action find
entity canton of Fosses
relation country
type designation for an administrative territorial entity
['canton of Fosses', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:canton_of_Fosses property:country ?s }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q19945051,P17,c(Q15617994))
action filter_type
action find
entity Q19945051
relation P17
type Q15617994
That french administrative division belongs to the [ANSWER]
['Q19945051', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q19945051 property:P17 ?s }
France
That french administrative division belongs to the France
France
action filter_type
action find
entity canton of Fosses
relation country
type designation for an administrative territorial entity
['canton of Fosses', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:canton_of_Fosses property:country ?s }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q142 Q31
P47
Q15617994
USER
Does Belgium share the border with that one ?
(Q142,P47,Q31)
action is_in
entity Q31
action find
entity Q142
relation P47
['Q142', 'P47', 'Q31']
ASK WHERE { resource:Q142 property:P47 resource:Q31 }
France Belgium
action is_in
entity Belgium
action find
entity France
relation shares border with
['France', 'shares border with', 'Belgium']
ASK WHERE { resource:France property:shares_border_with resource:Belgium }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q142,P47,Q31)
action is_in
entity Q31
action find
entity Q142
relation P47
[ANSWER]
['Q142', 'P47', 'Q31']
ASK WHERE { resource:Q142 property:P47 resource:Q31 }
Yes
action is_in
entity Belgium
action find
entity France
relation shares border with
['France', 'shares border with', 'Belgium']
ASK WHERE { resource:France property:shares_border_with resource:Belgium }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q206957 Q34900 Q646286
P17
Q15617994
USER
Is Serres situated in Challand-Saint-Anselme and Hahausen ?
(Q206957,P17,Q34900) (Q206957,P17,Q646286)
action is_in
entity Q206957
action intersection
action find_reverse
entity Q34900
relation P17
action find_reverse
entity Q646286
relation P17
['Q206957', 'P17', 'Q34900'] ['Q206957', 'P17', 'Q646286']
ASK WHERE { resource:Q206957 property:P17 resource:Q34900 . resource:Q206957 property:P17 resource:Q646286 }
Serres Challand-Saint-Anselme Hahausen
action is_in
entity Serres
action intersection
action find_reverse
entity Challand-Saint-Anselme
relation country
action find_reverse
entity Hahausen
relation country
['Serres', 'country', 'Challand-Saint-Anselme'] ['Serres', 'country', 'Hahausen']
ASK WHERE { resource:Serres property:country resource:Challand-Saint-Anselme . resource:Serres property:country resource:Hahausen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q206957,P17,Q34900) (Q206957,P17,Q646286)
action is_in
entity Q206957
action intersection
action find_reverse
entity Q34900
relation P17
action find_reverse
entity Q646286
relation P17
[ANSWER]
['Q206957', 'P17', 'Q34900'] ['Q206957', 'P17', 'Q646286']
ASK WHERE { resource:Q206957 property:P17 resource:Q34900 . resource:Q206957 property:P17 resource:Q646286 }
No
action is_in
entity Serres
action intersection
action find_reverse
entity Challand-Saint-Anselme
relation country
action find_reverse
entity Hahausen
relation country
['Serres', 'country', 'Challand-Saint-Anselme'] ['Serres', 'country', 'Hahausen']
ASK WHERE { resource:Serres property:country resource:Challand-Saint-Anselme . resource:Serres property:country resource:Hahausen }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q206957
P190
Q56061
USER
How many administrative territories are partner towns of Serres ?
(Q206957,P190,c(Q56061))
action count
action filter_type
action find
entity Q206957
relation P190
type Q56061
['Q206957', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q206957 property:P190 ?r . ?r rdf:type ontology:Q56061 }
Serres
action count
action filter_type
action find
entity Serres
relation sister city
type administrative territorial entity
['Serres', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Serres property:sister_city ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
4
Q134762 Q173474 Q173277 Q178405
(Q206957,P190,c(Q56061))
action count
action filter_type
action find
entity Q206957
relation P190
type Q56061
[ANSWER]
['Q206957', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q206957 property:P190 ?r . ?r rdf:type ontology:Q56061 }
Eilat Veliko Tarnovo Blagoevgrad Larissa
4
action count
action filter_type
action find
entity Serres
relation sister city
type administrative territorial entity
['Serres', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Serres property:sister_city ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q211563
Q56061
USER
And how about Beira?
(Q211563,P190,c(Q56061))
action count
action filter_type
action find
entity Q211563
relation P190
type Q56061
['Q211563', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { resource:Q211563 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Beira
action count
action filter_type
action find
entity Beira
relation sister city
type administrative territorial entity
['Beira', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { resource:Beira property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
5
(Q211563,P190,c(Q56061))
action count
action filter_type
action find
entity Q211563
relation P190
type Q56061
[ANSWER]
['Q211563', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { resource:Q211563 property:P190 ?f . ?f rdf:type ontology:Q56061 }
5
action count
action filter_type
action find
entity Beira
relation sister city
type administrative territorial entity
['Beira', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { resource:Beira property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q211563
P159
Q43229
USER
Which organization has its head office location at that administrative territory ?
action filter_type
action find_reverse
entity Q211563
relation P159
type Q43229
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q43229 . ?a property:P159 resource:Q211563 }
Beira
action filter_type
action find_reverse
entity Beira
relation headquarters location
type organization
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:organization . ?a property:headquarters_location resource:Beira }
[]
organization
Q1121236
SYSTEM
Mozambique Company
Q1121236
action filter_type
action find_reverse
entity Q211563
relation P159
type Q43229
[ANSWER] has its head office location at that administrative territory
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q43229 . ?a property:P159 resource:Q211563 }
Mozambique Company
Mozambique Company has its head office location at that administrative territory
Mozambique Company
action filter_type
action find_reverse
entity Beira
relation headquarters location
type organization
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:organization . ?a property:headquarters_location resource:Beira }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1121236 Q6382701
P159
Q56061
USER
Is Keefers, British Columbia the HQ of that organization ?
(Q1121236,P159,Q6382701)
action is_in
entity Q6382701
action find
entity Q1121236
relation P159
['Q1121236', 'P159', 'Q6382701']
ASK WHERE { resource:Q1121236 property:P159 resource:Q6382701 }
Mozambique Company Keefers, British Columbia
action is_in
entity Keefers, British Columbia
action find
entity Mozambique Company
relation headquarters location
['Mozambique Company', 'headquarters location', 'Keefers, British Columbia']
ASK WHERE { resource:Mozambique_Company property:headquarters_location resource:Keefers,_British_Columbia }
[]
administrative territorial entity
SYSTEM
NO
(Q1121236,P159,Q6382701)
action is_in
entity Q6382701
action find
entity Q1121236
relation P159
[ANSWER]
['Q1121236', 'P159', 'Q6382701']
ASK WHERE { resource:Q1121236 property:P159 resource:Q6382701 }
No
action is_in
entity Keefers, British Columbia
action find
entity Mozambique Company
relation headquarters location
['Mozambique Company', 'headquarters location', 'Keefers, British Columbia']
ASK WHERE { resource:Mozambique_Company property:headquarters_location resource:Keefers,_British_Columbia }
[]