Simple Question (Direct)
Simple Question
Q686601
P20
Q56061
USER
Where did the expiration of Alexander von Bournonville occur ?
(Q686601,P20,c(Q56061))
action filter_type
action find
entity Q686601
relation P20
type Q56061
['Q686601', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q686601 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Alexander von Bournonville
action filter_type
action find
entity Alexander von Bournonville
relation place of death
type administrative territorial entity
['Alexander von Bournonville', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Alexander_von_Bournonville property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q10282
SYSTEM
Pamplona
Q10282
(Q686601,P20,c(Q56061))
action filter_type
action find
entity Q686601
relation P20
type Q56061
The expiration of Alexander von Bournonville occurred of [ANSWER]
['Q686601', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q686601 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Pamplona
The expiration of Alexander von Bournonville occurred of Pamplona
Pamplona
action filter_type
action find
entity Alexander von Bournonville
relation place of death
type administrative territorial entity
['Alexander von Bournonville', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Alexander_von_Bournonville property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q686601
P19
Q515
USER
Which city was Alexander von Bournonville born in ?
(Q686601,P19,c(Q515))
action filter_type
action find
entity Q686601
relation P19
type Q515
['Q686601', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q686601 property:P19 ?e . ?e rdf:type ontology:Q515 }
Alexander von Bournonville
action filter_type
action find
entity Alexander von Bournonville
relation place of birth
type city
['Alexander von Bournonville', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Alexander_von_Bournonville property:place_of_birth ?e . ?e rdf:type ontology:city }
[]
city
Q9005
SYSTEM
Brussels
Q9005
(Q686601,P19,c(Q515))
action filter_type
action find
entity Q686601
relation P19
type Q515
Alexander von Bournonville was born in [ANSWER]
['Q686601', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q686601 property:P19 ?e . ?e rdf:type ontology:Q515 }
Brussels
Alexander von Bournonville was born in Brussels
Brussels
action filter_type
action find
entity Alexander von Bournonville
relation place of birth
type city
['Alexander von Bournonville', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Alexander_von_Bournonville property:place_of_birth ?e . ?e rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1596226
Q515
USER
And how about Heini Göbel?
(Q1596226,P19,c(Q515))
action filter_type
action find
entity Q1596226
relation P19
type Q515
['Q1596226', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q1596226 property:P19 ?r . ?r rdf:type ontology:Q515 }
Heini Göbel
action filter_type
action find
entity Heini Göbel
relation place of birth
type city
['Heini Göbel', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Heini_Göbel property:place_of_birth ?r . ?r rdf:type ontology:city }
[]
city
Q1794
SYSTEM
Frankfurt
Q1794
(Q1596226,P19,c(Q515))
action filter_type
action find
entity Q1596226
relation P19
type Q515
[ANSWER]
['Q1596226', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q1596226 property:P19 ?r . ?r rdf:type ontology:Q515 }
Frankfurt
Frankfurt
action filter_type
action find
entity Heini Göbel
relation place of birth
type city
['Heini Göbel', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Heini_Göbel property:place_of_birth ?r . ?r rdf:type ontology:city }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P206
Q1267889 Q515
USER
How many cities are located next to lesser number of waterways than that city ?
(c(Q515),P206,c(Q1267889))
action count
action less
action find_tuple_counts
relation P206
type Q1267889
type Q515
action count
action filter_type
action find
entity Q1794
relation P206
type Q1267889
[{'concept': 'Q515'}, 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?d ) WHERE { ?q property:P206 ?x . ?q rdf:type ontology:Q1267889 . ?x rdf:type ontology:Q515 } GROUP BY ?q } . FILTER ( ?d < ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Q1794 property:P206 ?e . ?e rdf:type ontology:Q1267889 } } }
action count
action less
action find_tuple_counts
relation located next to body of water
type waterway
type city
action count
action filter_type
action find
entity Frankfurt
relation located next to body of water
type waterway
[{'concept': 'city'}, 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?d ) WHERE { ?q property:located_next_to_body_of_water ?x . ?q rdf:type ontology:waterway . ?x rdf:type ontology:city } GROUP BY ?q } . FILTER ( ?d < ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Frankfurt property:located_next_to_body_of_water ?e . ?e rdf:type ontology:waterway } } }
[]
waterway city
SYSTEM
0
(c(Q515),P206,c(Q1267889))
action count
action less
action find_tuple_counts
relation P206
type Q1267889
type Q515
action count
action filter_type
action find
entity Q1794
relation P206
type Q1267889
[ANSWER]
[{'concept': 'Q515'}, 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?d ) WHERE { ?q property:P206 ?x . ?q rdf:type ontology:Q1267889 . ?x rdf:type ontology:Q515 } GROUP BY ?q } . FILTER ( ?d < ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Q1794 property:P206 ?e . ?e rdf:type ontology:Q1267889 } } }
0
action count
action less
action find_tuple_counts
relation located next to body of water
type waterway
type city
action count
action filter_type
action find
entity Frankfurt
relation located next to body of water
type waterway
[{'concept': 'city'}, 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?d ) WHERE { ?q property:located_next_to_body_of_water ?x . ?q rdf:type ontology:waterway . ?x rdf:type ontology:city } GROUP BY ?q } . FILTER ( ?d < ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Frankfurt property:located_next_to_body_of_water ?e . ?e rdf:type ontology:waterway } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q515 Q13220204
USER
How many administrative country subdivisions are twin town of atleast 4 cities ?
(c(Q13220204),P190,c(Q515))
action count
action atleast
action find_tuple_counts
relation P190
type Q13220204
type Q515
value 4
[{'concept': 'Q13220204'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?s ) WHERE { ?x property:P190 ?w . ?x rdf:type ontology:Q13220204 . ?w rdf:type ontology:Q515 } GROUP BY ?x } . FILTER ( ?s >= 4 ) }
action count
action atleast
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
value 4
[{'concept': 'second-level administrative country subdivision'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?s ) WHERE { ?x property:sister_city ?w . ?x rdf:type ontology:second-level_administrative_country_subdivision . ?w rdf:type ontology:city } GROUP BY ?x } . FILTER ( ?s >= 4 ) }
[]
city second-level administrative country subdivision
SYSTEM
3
Q25444 Q9899 Q1435
(c(Q13220204),P190,c(Q515))
action count
action atleast
action find_tuple_counts
relation P190
type Q13220204
type Q515
value 4
[ANSWER]
[{'concept': 'Q13220204'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?s ) WHERE { ?x property:P190 ?w . ?x rdf:type ontology:Q13220204 . ?w rdf:type ontology:Q515 } GROUP BY ?x } . FILTER ( ?s >= 4 ) }
Funchal Amsterdam Zagreb
3
action count
action atleast
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type city
value 4
[{'concept': 'second-level administrative country subdivision'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?s ) WHERE { ?x property:sister_city ?w . ?x rdf:type ontology:second-level_administrative_country_subdivision . ?w rdf:type ontology:city } GROUP BY ?x } . FILTER ( ?s >= 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10282
P1427
Q878123
USER
Which racing has Pamplona as the start location ?
(c(Q878123),P1427,Q10282)
action filter_type
action find_reverse
entity Q10282
relation P1427
type Q878123
[{'concept': 'Q878123'}, 'P1427', 'Q10282']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q878123 . ?n property:P1427 resource:Q10282 }
Pamplona
action filter_type
action find_reverse
entity Pamplona
relation start point
type racing
[{'concept': 'racing'}, 'start point', 'Pamplona']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:racing . ?n property:start_point resource:Pamplona }
[]
racing
Q18213555
SYSTEM
2014 Vuelta a España, Stage 11
Q18213555
(c(Q878123),P1427,Q10282)
action filter_type
action find_reverse
entity Q10282
relation P1427
type Q878123
[ANSWER] has Pamplona as the start location
[{'concept': 'Q878123'}, 'P1427', 'Q10282']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q878123 . ?n property:P1427 resource:Q10282 }
2014 Vuelta a España, Stage 11
2014 Vuelta a España, Stage 11 has Pamplona as the start location
2014 Vuelta a España, Stage 11
action filter_type
action find_reverse
entity Pamplona
relation start point
type racing
[{'concept': 'racing'}, 'start point', 'Pamplona']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:racing . ?n property:start_point resource:Pamplona }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18213555
P1346
Q502895
USER
Which person was the winner of that racing ?
(Q18213555,P1346,c(Q502895))
action filter_type
action find
entity Q18213555
relation P1346
type Q502895
['Q18213555', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q18213555 property:P1346 ?t . ?t rdf:type ontology:Q502895 }
2014 Vuelta a España, Stage 11
action filter_type
action find
entity 2014 Vuelta a España, Stage 11
relation winner
type common name
['2014 Vuelta a España, Stage 11', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:2014_Vuelta_a_España,_Stage_11 property:winner ?t . ?t rdf:type ontology:common_name }
[]
common name
Q1033882
SYSTEM
Fabio Aru
Q1033882
(Q18213555,P1346,c(Q502895))
action filter_type
action find
entity Q18213555
relation P1346
type Q502895
[ANSWER] was the winner of that racing
['Q18213555', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q18213555 property:P1346 ?t . ?t rdf:type ontology:Q502895 }
Fabio Aru
Fabio Aru was the winner of that racing
Fabio Aru
action filter_type
action find
entity 2014 Vuelta a España, Stage 11
relation winner
type common name
['2014 Vuelta a España, Stage 11', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:2014_Vuelta_a_España,_Stage_11 property:winner ?t . ?t rdf:type ontology:common_name }
[]