Simple Question (Direct)
Simple Question
Q5626017
P19
Q56061
USER
Where was Gérard Roland born ?
(Q5626017,P19,c(Q56061))
action filter_type
action find
entity Q5626017
relation P19
type Q56061
['Q5626017', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q5626017 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Gérard Roland
action filter_type
action find
entity Gérard Roland
relation place of birth
type administrative territorial entity
['Gérard Roland', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Gérard_Roland property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1479
SYSTEM
Bordeaux
Q1479
(Q5626017,P19,c(Q56061))
action filter_type
action find
entity Q5626017
relation P19
type Q56061
Gérard Roland was born in [ANSWER]
['Q5626017', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q5626017 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Bordeaux
Gérard Roland was born in Bordeaux
Bordeaux
action filter_type
action find
entity Gérard Roland
relation place of birth
type administrative territorial entity
['Gérard Roland', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Gérard_Roland property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1479
P47
Q20667921
USER
Which french administrative divisions are adjacent to that administrative territory ?
(Q1479,P47,c(Q20667921))
action filter_type
action find
entity Q1479
relation P47
type Q20667921
['Q1479', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q1479 property:P47 ?b . ?b rdf:type ontology:Q20667921 }
Bordeaux
action filter_type
action find
entity Bordeaux
relation shares border with
type type of french administrative division
['Bordeaux', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Bordeaux property:shares_border_with ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q205551 Q192438 Q207156
SYSTEM
Mérignac, Bègles, Pessac
Q192461 Q205551 Q1053472 Q327025 Q192438 Q192481 Q220592 Q467370 Q199682 Q243682 Q235300 Q207156
(Q1479,P47,c(Q20667921))
action filter_type
action find
entity Q1479
relation P47
type Q20667921
[ANSWERS] are adjacent to that administrative territory
['Q1479', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q1479 property:P47 ?b . ?b rdf:type ontology:Q20667921 }
Le Bouscat Mérignac Cenon Bruges Bègles Talence Blanquefort Eysines Floirac Bassens Lormont Pessac
Mérignac, Bègles and Pessac are adjacent to that administrative territory
Mérignac Bègles Pessac
action filter_type
action find
entity Bordeaux
relation shares border with
type type of french administrative division
['Bordeaux', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Bordeaux property:shares_border_with ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q205551 Q192438 Q207156
P1376
Q20667921
USER
Which french administrative divisions have those ones as their capital ?
(Q205551,P1376,c(Q20667921)) (Q192438,P1376,c(Q20667921)) (Q207156,P1376,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P1376
type Q20667921
['Q205551', 'P1376', {'concept': 'Q20667921'}] ['Q192438', 'P1376', {'concept': 'Q20667921'}] ['Q207156', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?b ) { ( resource:Q192461 ) ( resource:Q205551 ) ( resource:Q1053472 ) } . ?b property:P1376 ?u . ?u rdf:type ontology:Q20667921 }
Mérignac Bègles Pessac
action filter_type
action find
entity prev_answer
relation capital of
type type of french administrative division
['Mérignac', 'capital of', {'concept': 'type of french administrative division'}] ['Bègles', 'capital of', {'concept': 'type of french administrative division'}] ['Pessac', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?b ) { ( resource:Le_Bouscat ) ( resource:Mérignac ) ( resource:Cenon ) } . ?b property:capital_of ?u . ?u rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q26817 Q26815 Q1724655
SYSTEM
canton of Mérignac-1, canton of Mérignac-2, canton of Bègles
Q26817 Q26815 Q1724655 Q27055 Q27057
(Q205551,P1376,c(Q20667921)) (Q192438,P1376,c(Q20667921)) (Q207156,P1376,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P1376
type Q20667921
[ANSWERS] have those ones as their capital
['Q205551', 'P1376', {'concept': 'Q20667921'}] ['Q192438', 'P1376', {'concept': 'Q20667921'}] ['Q207156', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?b ) { ( resource:Q192461 ) ( resource:Q205551 ) ( resource:Q1053472 ) } . ?b property:P1376 ?u . ?u rdf:type ontology:Q20667921 }
canton of Mérignac-1 canton of Mérignac-2 canton of Bègles canton of Pessac-1 canton of Pessac-2
Canton of Mérignac-1, canton of Mérignac-2 and canton of Bègles have those ones as their capital
canton of Mérignac-1 canton of Mérignac-2 canton of Bègles
action filter_type
action find
entity prev_answer
relation capital of
type type of french administrative division
['Mérignac', 'capital of', {'concept': 'type of french administrative division'}] ['Bègles', 'capital of', {'concept': 'type of french administrative division'}] ['Pessac', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { VALUES ( ?b ) { ( resource:Le_Bouscat ) ( resource:Mérignac ) ( resource:Cenon ) } . ?b property:capital_of ?u . ?u rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1479
P189
Q18783400
USER
Which genre of sculpture was discovered at Bordeaux ?
(c(Q18783400),P189,Q1479)
action filter_type
action find_reverse
entity Q1479
relation P189
type Q18783400
[{'concept': 'Q18783400'}, 'P189', 'Q1479']
SELECT DISTINCT ?h WHERE { ?h property:P189 resource:Q1479 . ?h rdf:type ontology:Q18783400 }
Bordeaux
action filter_type
action find_reverse
entity Bordeaux
relation location of discovery
type genre of sculpture
[{'concept': 'genre of sculpture'}, 'location of discovery', 'Bordeaux']
SELECT DISTINCT ?h WHERE { ?h property:location_of_discovery resource:Bordeaux . ?h rdf:type ontology:genre_of_sculpture }
[]
genre of sculpture
Q18324815
SYSTEM
statue of Hercules
Q18324815
(c(Q18783400),P189,Q1479)
action filter_type
action find_reverse
entity Q1479
relation P189
type Q18783400
[ANSWER] was discovered at Bordeaux
[{'concept': 'Q18783400'}, 'P189', 'Q1479']
SELECT DISTINCT ?h WHERE { ?h property:P189 resource:Q1479 . ?h rdf:type ontology:Q18783400 }
statue of Hercules
Statue of Hercules was discovered at Bordeaux
statue of Hercules
action filter_type
action find_reverse
entity Bordeaux
relation location of discovery
type genre of sculpture
[{'concept': 'genre of sculpture'}, 'location of discovery', 'Bordeaux']
SELECT DISTINCT ?h WHERE { ?h property:location_of_discovery resource:Bordeaux . ?h rdf:type ontology:genre_of_sculpture }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q205551
P190
Q1048835
USER
Which political territory is partner town of Mérignac ?
(Q205551,P190,c(Q1048835))
action filter_type
action find
entity Q205551
relation P190
type Q1048835
['Q205551', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q205551 property:P190 ?e . ?e rdf:type ontology:Q1048835 }
Mérignac
action filter_type
action find
entity Mérignac
relation sister city
type political territorial entity
['Mérignac', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Mérignac property:sister_city ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q15553
SYSTEM
Vilanova i la Geltrú
Q15553
(Q205551,P190,c(Q1048835))
action filter_type
action find
entity Q205551
relation P190
type Q1048835
[ANSWER] is partner town of Mérignac
['Q205551', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q205551 property:P190 ?e . ?e rdf:type ontology:Q1048835 }
Vilanova i la Geltrú
Vilanova i la Geltrú is partner town of Mérignac
Vilanova i la Geltrú
action filter_type
action find
entity Mérignac
relation sister city
type political territorial entity
['Mérignac', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Mérignac property:sister_city ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q205551
Q13220204
USER
And which administrative country subdivision?
(Q205551,P190,c(Q13220204))
action filter_type
action find
entity Q205551
relation P190
type Q13220204
['Q205551', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?a WHERE { resource:Q205551 property:P190 ?a . ?a rdf:type ontology:Q13220204 }
Mérignac
action filter_type
action find
entity Mérignac
relation sister city
type second-level administrative country subdivision
['Mérignac', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?a WHERE { resource:Mérignac property:sister_city ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q841299
SYSTEM
Matosinhos
Q841299
(Q205551,P190,c(Q13220204))
action filter_type
action find
entity Q205551
relation P190
type Q13220204
[ANSWER]
['Q205551', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?a WHERE { resource:Q205551 property:P190 ?a . ?a rdf:type ontology:Q13220204 }
Matosinhos
Matosinhos
action filter_type
action find
entity Mérignac
relation sister city
type second-level administrative country subdivision
['Mérignac', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?a WHERE { resource:Mérignac property:sister_city ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q15617994 Q13220204
USER
How many administrative territories are exactly 1 administrative country subdivision named after ?
(c(Q13220204),P138,c(Q15617994))
action count
action equal
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
value 1
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:P138 ?m . ?m rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q13220204 } GROUP BY ?m } . FILTER ( ?a = 1 ) }
action count
action equal
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
value 1
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:named_after ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?m } . FILTER ( ?a = 1 ) }
[]
designation for an administrative territorial entity second-level administrative country subdivision
SYSTEM
2
Q159856 Q2719360
(c(Q13220204),P138,c(Q15617994))
action count
action equal
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
value 1
[ANSWER]
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:P138 ?m . ?m rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q13220204 } GROUP BY ?m } . FILTER ( ?a = 1 ) }
Duchy of Brabant Duchy of Luxembourg
2
action count
action equal
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
value 1
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?a ) WHERE { ?j property:named_after ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?m } . FILTER ( ?a = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q18324815 Q1237093
P17
Q1048835
USER
How many political territories do statue of Hercules or Wringen belong to ?
(Q18324815,P17,c(Q1048835)) (Q1237093,P17,c(Q1048835))
action count
action union
action filter_type
action find
entity Q18324815
relation P17
type Q1048835
action filter_type
action find
entity Q1237093
relation P17
type Q1048835
['Q18324815', 'P17', {'concept': 'Q1048835'}] ['Q1237093', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?x property:P17 ?i . VALUES ( ?x ) { ( resource:Q18324815 ) ( resource:Q1237093 ) } }
statue of Hercules Wringen
action count
action union
action filter_type
action find
entity statue of Hercules
relation country
type political territorial entity
action filter_type
action find
entity Wringen
relation country
type political territorial entity
['statue of Hercules', 'country', {'concept': 'political territorial entity'}] ['Wringen', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?x property:country ?i . VALUES ( ?x ) { ( resource:statue_of_Hercules ) ( resource:Wringen ) } }
[]
political territorial entity
SYSTEM
2
Q183 Q40
(Q18324815,P17,c(Q1048835)) (Q1237093,P17,c(Q1048835))
action count
action union
action filter_type
action find
entity Q18324815
relation P17
type Q1048835
action filter_type
action find
entity Q1237093
relation P17
type Q1048835
[ANSWER]
['Q18324815', 'P17', {'concept': 'Q1048835'}] ['Q1237093', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?x property:P17 ?i . VALUES ( ?x ) { ( resource:Q18324815 ) ( resource:Q1237093 ) } }
Germany Austria
2
action count
action union
action filter_type
action find
entity statue of Hercules
relation country
type political territorial entity
action filter_type
action find
entity Wringen
relation country
type political territorial entity
['statue of Hercules', 'country', {'concept': 'political territorial entity'}] ['Wringen', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { ?x property:country ?i . VALUES ( ?x ) { ( resource:statue_of_Hercules ) ( resource:Wringen ) } }
[]