Simple Question (Direct)
Simple Question
Q24718599
P20
Q56061
USER
Where did the demise of Jean Saint-Geours occur ?
(Q24718599,P20,c(Q56061))
action filter_type
action find
entity Q24718599
relation P20
type Q56061
['Q24718599', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q24718599 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Jean Saint-Geours
action filter_type
action find
entity Jean Saint-Geours
relation place of death
type administrative territorial entity
['Jean Saint-Geours', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Jean_Saint-Geours property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1479
SYSTEM
Bordeaux
Q1479
(Q24718599,P20,c(Q56061))
action filter_type
action find
entity Q24718599
relation P20
type Q56061
The demise of Jean Saint-Geours occurred in [ANSWER]
['Q24718599', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q24718599 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Bordeaux
The demise of Jean Saint-Geours occurred in Bordeaux
Bordeaux
action filter_type
action find
entity Jean Saint-Geours
relation place of death
type administrative territorial entity
['Jean Saint-Geours', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Jean_Saint-Geours property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1479
P159
Q43229
USER
Which organizations have headquarters located at that administrative territory ?
(c(Q43229),P159,Q1479)
action filter_type
action find_reverse
entity Q1479
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q1479']
SELECT DISTINCT ?y WHERE { ?y property:P159 resource:Q1479 . ?y rdf:type ontology:Q43229 }
Bordeaux
action filter_type
action find_reverse
entity Bordeaux
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Bordeaux']
SELECT DISTINCT ?y WHERE { ?y property:headquarters_location resource:Bordeaux . ?y rdf:type ontology:organization }
[]
organization
Q3325177 Q2943530 Q7605612
SYSTEM
Motion-Twin, Cdiscount, Steek
Q3325177 Q7605612 Q19014916 Q2943530
(c(Q43229),P159,Q1479)
action filter_type
action find_reverse
entity Q1479
relation P159
type Q43229
[ANSWERS] have headquarters located at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q1479']
SELECT DISTINCT ?y WHERE { ?y property:P159 resource:Q1479 . ?y rdf:type ontology:Q43229 }
Motion-Twin Steek Société Aérienne Bordelaise Cdiscount
Motion-Twin, Cdiscount and Steek have headquarters located at that administrative territory
Motion-Twin Cdiscount Steek
action filter_type
action find_reverse
entity Bordeaux
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Bordeaux']
SELECT DISTINCT ?y WHERE { ?y property:headquarters_location resource:Bordeaux . ?y rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1479
P1376
Q20667921
USER
Which french administrative divisions have Bordeaux have their first city ?
(Q1479,P1376,c(Q20667921))
action filter_type
action find
entity Q1479
relation P1376
type Q20667921
['Q1479', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q20667921 . resource:Q1479 property:P1376 ?b }
Bordeaux
action filter_type
action find
entity Bordeaux
relation capital of
type type of french administrative division
['Bordeaux', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:type_of_french_administrative_division . resource:Bordeaux property:capital_of ?b }
[]
type of french administrative division
Q18678082 Q607547 Q1724526
SYSTEM
Nouvelle-Aquitaine, canton of Bordeaux-8, canton of Bordeaux-5
Q607547 Q1724526 Q1724519 Q1724529 Q18678082 Q1724527 Q1724524 Q1724517 Q1724521
(Q1479,P1376,c(Q20667921))
action filter_type
action find
entity Q1479
relation P1376
type Q20667921
Bordeaux have their first city in [ANSWERS]
['Q1479', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q20667921 . resource:Q1479 property:P1376 ?b }
canton of Bordeaux-8 canton of Bordeaux-5 canton of Bordeaux-2 canton of Bordeaux-7 Nouvelle-Aquitaine canton of Bordeaux-6 canton of Bordeaux-4 canton of Bordeaux-1 canton of Bordeaux-3
Bordeaux have their first city in Nouvelle-Aquitaine, canton of Bordeaux-8 and canton of Bordeaux-5
Nouvelle-Aquitaine canton of Bordeaux-8 canton of Bordeaux-5
action filter_type
action find
entity Bordeaux
relation capital of
type type of french administrative division
['Bordeaux', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:type_of_french_administrative_division . resource:Bordeaux property:capital_of ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q990774
Q20667921
USER
And also tell me about Laguiole?
(Q990774,P1376,c(Q20667921))
action filter_type
action find
entity Q990774
relation P1376
type Q20667921
['Q990774', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q990774 property:P1376 ?g . ?g rdf:type ontology:Q20667921 }
Laguiole
action filter_type
action find
entity Laguiole
relation capital of
type type of french administrative division
['Laguiole', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Laguiole property:capital_of ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q983778
SYSTEM
canton of Laguiole
Q983778
(Q990774,P1376,c(Q20667921))
action filter_type
action find
entity Q990774
relation P1376
type Q20667921
[ANSWER]
['Q990774', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q990774 property:P1376 ?g . ?g rdf:type ontology:Q20667921 }
canton of Laguiole
canton of Laguiole
action filter_type
action find
entity Laguiole
relation capital of
type type of french administrative division
['Laguiole', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Laguiole property:capital_of ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q983778 Q1178466
P17
Q15617994
USER
Does canton of Laguiole belong to Dawa District ?
(Q983778,P17,Q1178466)
action is_in
entity Q1178466
action find
entity Q983778
relation P17
['Q983778', 'P17', 'Q1178466']
ASK WHERE { resource:Q983778 property:P17 resource:Q1178466 }
canton of Laguiole Dawa District
action is_in
entity Dawa District
action find
entity canton of Laguiole
relation country
['canton of Laguiole', 'country', 'Dawa District']
ASK WHERE { resource:canton_of_Laguiole property:country resource:Dawa_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q983778,P17,Q1178466)
action is_in
entity Q1178466
action find
entity Q983778
relation P17
[ANSWER]
['Q983778', 'P17', 'Q1178466']
ASK WHERE { resource:Q983778 property:P17 resource:Q1178466 }
No
action is_in
entity Dawa District
action find
entity canton of Laguiole
relation country
['canton of Laguiole', 'country', 'Dawa District']
ASK WHERE { resource:canton_of_Laguiole property:country resource:Dawa_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q18678082 Q4018
P47
Q1048835
USER
How many political territories share the border with Nouvelle-Aquitaine and Navarre ?
(Q18678082,P47,c(Q1048835)) (Q4018,P47,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q18678082
relation P47
type Q1048835
action filter_type
action find
entity Q4018
relation P47
type Q1048835
['Q18678082', 'P47', {'concept': 'Q1048835'}] ['Q4018', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q18678082 property:P47 ?u . ?u rdf:type ontology:Q1048835 . resource:Q4018 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Nouvelle-Aquitaine Navarre
action count
action intersection
action filter_type
action find
entity Nouvelle-Aquitaine
relation shares border with
type political territorial entity
action filter_type
action find
entity Navarre
relation shares border with
type political territorial entity
['Nouvelle-Aquitaine', 'shares border with', {'concept': 'political territorial entity'}] ['Navarre', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Nouvelle-Aquitaine property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity . resource:Navarre property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q4040 Q3995
(Q18678082,P47,c(Q1048835)) (Q4018,P47,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q18678082
relation P47
type Q1048835
action filter_type
action find
entity Q4018
relation P47
type Q1048835
[ANSWER]
['Q18678082', 'P47', {'concept': 'Q1048835'}] ['Q4018', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q18678082 property:P47 ?u . ?u rdf:type ontology:Q1048835 . resource:Q4018 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Aragon Basque Country
2
action count
action intersection
action filter_type
action find
entity Nouvelle-Aquitaine
relation shares border with
type political territorial entity
action filter_type
action find
entity Navarre
relation shares border with
type political territorial entity
['Nouvelle-Aquitaine', 'shares border with', {'concept': 'political territorial entity'}] ['Navarre', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Nouvelle-Aquitaine property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity . resource:Navarre property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18678082
P36
Q56061
USER
What is the capital of that french administrative division ?
action filter_type
action find
entity Q18678082
relation P36
type Q56061
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q18678082 property:P36 ?k }
Nouvelle-Aquitaine
action filter_type
action find
entity Nouvelle-Aquitaine
relation capital
type administrative territorial entity
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Nouvelle-Aquitaine property:capital ?k }
[]
administrative territorial entity
Q1479
SYSTEM
Bordeaux
Q1479
action filter_type
action find
entity Q18678082
relation P36
type Q56061
The capital of that french administrative division is [ANSWER]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q18678082 property:P36 ?k }
Bordeaux
The capital of that french administrative division is Bordeaux
Bordeaux
action filter_type
action find
entity Nouvelle-Aquitaine
relation capital
type administrative territorial entity
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Nouvelle-Aquitaine property:capital ?k }
[]