Simple Question (Direct)
Simple Question
Q15728088
P20
Q56061
USER
Which administrative territory is the place of death of Georg Lind ?
(Q15728088,P20,c(Q56061))
action filter_type
action find
entity Q15728088
relation P20
type Q56061
['Q15728088', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q15728088 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Georg Lind
action filter_type
action find
entity Georg Lind
relation place of death
type administrative territorial entity
['Georg Lind', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Georg_Lind property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q15728088,P20,c(Q56061))
action filter_type
action find
entity Q15728088
relation P20
type Q56061
[ANSWER] is the place of death of Georg Lind
['Q15728088', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q15728088 property:P20 ?w . ?w rdf:type ontology:Q56061 }
London
London is the place of death of Georg Lind
London
action filter_type
action find
entity Georg Lind
relation place of death
type administrative territorial entity
['Georg Lind', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Georg_Lind property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15728088
P27
Q7275
USER
Which state does that person belong to ?
(Q84,P27,c(Q7275))
action filter_type
action find
entity Q15728088
relation P27
type Q7275
['Q84', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?z WHERE { resource:Q15728088 property:P27 ?z . ?z rdf:type ontology:Q7275 }
Georg Lind
action filter_type
action find
entity Georg Lind
relation country of citizenship
type state
['London', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?z WHERE { resource:Georg_Lind property:country_of_citizenship ?z . ?z rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q84,P27,c(Q7275))
action filter_type
action find
entity Q15728088
relation P27
type Q7275
That person belongs to [ANSWER]
['Q84', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?z WHERE { resource:Q15728088 property:P27 ?z . ?z rdf:type ontology:Q7275 }
Soviet Union
That person belongs to Soviet Union
Soviet Union
action filter_type
action find
entity Georg Lind
relation country of citizenship
type state
['London', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?z WHERE { resource:Georg_Lind property:country_of_citizenship ?z . ?z rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15180
P138
Q2235308
USER
Which ship type has that state as its toponym ?
(c(Q2235308),P138,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q15180']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q15180 . ?l rdf:type ontology:Q2235308 }
Soviet Union
action filter_type
action find_reverse
entity Soviet Union
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Soviet Union']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Soviet_Union . ?l rdf:type ontology:ship_type }
[]
ship type
Q2304911
SYSTEM
Sovetskiy Soyuz
Q2304911
(c(Q2235308),P138,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P138
type Q2235308
[ANSWER] has that state as its toponym
[{'concept': 'Q2235308'}, 'P138', 'Q15180']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q15180 . ?l rdf:type ontology:Q2235308 }
Sovetskiy Soyuz
Sovetskiy Soyuz has that state as its toponym
Sovetskiy Soyuz
action filter_type
action find_reverse
entity Soviet Union
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Soviet Union']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Soviet_Union . ?l rdf:type ontology:ship_type }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q15728088
P27
Q7275 Q3024240
USER
How many states and former countries are Georg Lind a civilian of ?
(Q15728088,P27,c(Q7275)) (Q15728088,P27,c(Q3024240))
action count
action union
action filter_type
action find
entity Q15728088
relation P27
type Q7275
action filter_type
action find
entity Q15728088
relation P27
type Q3024240
['Q15728088', 'P27', {'concept': 'Q7275'}] ['Q15728088', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { VALUES ( ?p ) { ( ontology:Q3024240 ) ( ontology:Q7275 ) } . ?o rdf:type ?p }
Georg Lind
action count
action union
action filter_type
action find
entity Georg Lind
relation country of citizenship
type state
action filter_type
action find
entity Georg Lind
relation country of citizenship
type former country
['Georg Lind', 'country of citizenship', {'concept': 'state'}] ['Georg Lind', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { VALUES ( ?p ) { ( ontology:former_country ) ( ontology:state ) } . ?o rdf:type ?p }
[]
state former country
SYSTEM
1 states and 1 former countries
Q34266 Q15180
(Q15728088,P27,c(Q7275)) (Q15728088,P27,c(Q3024240))
action count
action union
action filter_type
action find
entity Q15728088
relation P27
type Q7275
action filter_type
action find
entity Q15728088
relation P27
type Q3024240
[ANSWER]
['Q15728088', 'P27', {'concept': 'Q7275'}] ['Q15728088', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { VALUES ( ?p ) { ( ontology:Q3024240 ) ( ontology:Q7275 ) } . ?o rdf:type ?p }
Russian Empire Soviet Union
1 states and 1 former countries
action count
action union
action filter_type
action find
entity Georg Lind
relation country of citizenship
type state
action filter_type
action find
entity Georg Lind
relation country of citizenship
type former country
['Georg Lind', 'country of citizenship', {'concept': 'state'}] ['Georg Lind', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { VALUES ( ?p ) { ( ontology:former_country ) ( ontology:state ) } . ?o rdf:type ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15728088
P641
Q31629
USER
Which type of sport did that person participate in ?
action filter_type
action find
entity Q15728088
relation P641
type Q31629
SELECT DISTINCT ?q WHERE { resource:Q15728088 property:P641 ?q . ?q rdf:type ontology:Q31629 }
Georg Lind
action filter_type
action find
entity Georg Lind
relation sport
type type of sport
SELECT DISTINCT ?q WHERE { resource:Georg_Lind property:sport ?q . ?q rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
action filter_type
action find
entity Q15728088
relation P641
type Q31629
That person participated in [ANSWER]
SELECT DISTINCT ?q WHERE { resource:Q15728088 property:P641 ?q . ?q rdf:type ontology:Q31629 }
athletics
That person participated in athletics
athletics
action filter_type
action find
entity Georg Lind
relation sport
type type of sport
SELECT DISTINCT ?q WHERE { resource:Georg_Lind property:sport ?q . ?q rdf:type ontology:type_of_sport }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1427
Q515 Q56061 Q31629
USER
Which types of sport have their origin at max number of cities and administrative territories ?
(c(Q31629),P1427,c(Q515)|c(Q56061))
action argmax
action union
action find_tuple_counts
relation P1427
type Q31629
type Q515
action find_tuple_counts
relation P1427
type Q31629
type Q56061
[{'concept': 'Q31629'}, 'P1427', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) ?b WHERE { { ?b rdf:type ontology:Q31629 . ?m rdf:type ontology:Q515 . ?b property:P1427 ?m } UNION { ?b property:P1427 ?m . ?b rdf:type ontology:Q31629 . ?m rdf:type ontology:Q56061 } } GROUP BY ?b } . FILTER ( ?t = ?g ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) ?l WHERE { VALUES ( ?q ) { ( ontology:Q515 ) ( ontology:Q56061 ) } . ?o rdf:type ?q } GROUP BY ?l } } }
action argmax
action union
action find_tuple_counts
relation start point
type type of sport
type city
action find_tuple_counts
relation start point
type type of sport
type administrative territorial entity
[{'concept': 'type of sport'}, 'start point', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) ?b WHERE { { ?b rdf:type ontology:type_of_sport . ?m rdf:type ontology:city . ?b property:start_point ?m } UNION { ?b property:start_point ?m . ?b rdf:type ontology:type_of_sport . ?m rdf:type ontology:administrative_territorial_entity } } GROUP BY ?b } . FILTER ( ?t = ?g ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) ?l WHERE { VALUES ( ?q ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } . ?o rdf:type ?q } GROUP BY ?l } } }
[]
city administrative territorial entity type of sport
Q21155396 Q21155397 Q21155402
SYSTEM
2016 Tour de France, Stage 11, 2016 Tour de France, Stage 12, 2016 Tour de France, Stage 17
Q23709836 Q22337762 Q22337763 Q22337761 Q22337764 Q22337765 Q22350602 Q23924439 Q22101596 Q21074486 Q21074487 Q24070597 Q24070599 Q22783217 Q22811879 Q22811878 Q22772360 Q22772363 Q20746188 Q20746184 Q260938 Q24070584 Q22677361 Q22677360 Q22677363 Q22680887 Q22569460 Q22569461 Q22569462 Q22569463 Q19946578 Q22921515 Q22921510 Q21155402 Q23001608 Q27440826 Q22101616 Q22101611 Q22101613 Q24070583 Q22132652 Q22783207 Q22783202 Q22132651 Q22132650 Q22281256 Q20680831 Q17747711 Q23045737 Q23895114 Q23895116 Q21155396 Q21155397 Q26209129 Q20680809 Q23924514 Q22569842 Q22569843 Q22569841 Q22569844 Q19946565 Q24262172 Q22303600 Q2219503 Q26793343 Q22350619 Q22783188 Q22281260 Q22783180 Q22570170 Q22570171 Q22570172 Q22570173 Q21886154 Q22101607 Q22350620 Q22281258 Q21074500 Q21934634 Q21934633 Q21996979 Q22132648 Q22132649 Q26793337 Q26793336 Q26793333 Q26793330 Q20680824 Q20680825 Q20680821 Q22038847 Q22038846 Q22038844 Q22038843 Q22038842 Q22783162 Q23709827 Q23895115 Q22074401 Q22570134 Q22569488 Q22350612 Q20973565 Q20973566 Q20973567 Q25821627 Q20680817 Q21074496 Q20670203 Q20670204 Q24070601 Q24070600 Q21996986 Q21996985 Q26793338 Q22570083 Q22570089 Q22783198 Q22570101 Q21996989 Q22569499 Q16831772 Q26722640 Q21768453 Q21768451 Q21886153 Q21886155 Q26209147 Q19059744 Q21996964 Q26793328 Q17620472 Q26793322 Q20680812 Q20680818 Q22340098 Q23924616 Q22772358 Q22811880 Q22772356 Q22772357 Q22783172 Q22303599 Q20670199
(c(Q31629),P1427,c(Q515)|c(Q56061))
action argmax
action union
action find_tuple_counts
relation P1427
type Q31629
type Q515
action find_tuple_counts
relation P1427
type Q31629
type Q56061
[ANSWERS]
[{'concept': 'Q31629'}, 'P1427', [{'concept': 'Q515'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) ?b WHERE { { ?b rdf:type ontology:Q31629 . ?m rdf:type ontology:Q515 . ?b property:P1427 ?m } UNION { ?b property:P1427 ?m . ?b rdf:type ontology:Q31629 . ?m rdf:type ontology:Q56061 } } GROUP BY ?b } . FILTER ( ?t = ?g ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) ?l WHERE { VALUES ( ?q ) { ( ontology:Q515 ) ( ontology:Q56061 ) } . ?o rdf:type ?q } GROUP BY ?l } } }
2016 Tour of the Basque Country, Stage 6 2016 Tour d'Egypte, Stage 2 2016 Tour d'Egypte, Stage 3 2016 Tour d'Egypte, Stage 1 2016 Tour d'Egypte, Stage 4 2016 Tour d'Egypte, Stage 5 2016 Vuelta al Táchira, Stage 1 2016 Tour de Romandie, Prologue 2016 La Tropicale Amissa Bongo, Stage 1 2016 Giro d'Italia, Stage 2 2016 Giro d'Italia, Stage 3 2016 Tour of California, Stage 4 2016 Tour of California, Stage 5 2016 Tour de Langkawi, Stage 8 2016 Volta ao Algarve, Stage 4 2016 Volta ao Algarve, Stage 3 2016 Tour of Oman, Stage 4 2016 Tour of Oman, Stage 6 2015 Tour de Pologne, Stage 5 2015 Tour de Pologne, Stage 1 2012 Tour de France, Prologue 2016 Tour of California, Stage 3 2016 Tour of Qatar, Stage 2 2016 Tour of Qatar, Stage 1 2016 Tour of Qatar, Stage 3 2017 Tour de France, Stage 2 2016 Herald Sun Tour, Prologue 2016 Herald Sun Tour, Stage 1 2016 Herald Sun Tour, Stage 2 2016 Herald Sun Tour, Stage 3 2015 Tour de France, Stage 3 2016 Volta a Catalunya, Stage 7 2016 Volta a Catalunya, Stage 3 2016 Tour de France, Stage 17 2016 Driedaagse van West-Vlaanderen, Stage 1 Abu Dhabi Tour 2016: Stage 1 2016 La Tropicale Amissa Bongo, Stage 6 2016 La Tropicale Amissa Bongo, Stage 3 2016 La Tropicale Amissa Bongo, Stage 4 2016 Tour of California, Stage 2 2016 New Zealand Cycle Classic, Stage 5 2016 Tour de Langkawi, Stage 7 2016 Tour de Langkawi, Stage 6 2016 New Zealand Cycle Classic, Stage 4 2016 New Zealand Cycle Classic, Stage 3 2016 Tour of Norway, Stage 1 2015 Vuelta a España, Stage 21 2014 Tour of Norway, Stage 2 2016 Tour International de Sétif, Stage 1 2016 Tour of Croatia, Stage 3 2016 Tour of Croatia, Stage 5 2016 Tour de France, Stage 11 2016 Tour de France, Stage 12 2016 Vuelta a Burgos, Stage 2 2015 Vuelta a España, Stage 3 2016 Tour de Romandie, Stage 1 2016 Dubai Tour, Stage 2 2016 Dubai Tour, Stage 3 2016 Dubai Tour, Stage 1 2016 Dubai Tour, Stage 4 2015 Tour de France, Stage 8 1st stage of Tour de Luxembourg 2016 2011 Delta Tour Zeeland, Stage 1 2004 Tour de France, Prologue 2016 Tour of Britain, Stage 8 2016 Vuelta al Táchira, Stage 3 2016 Tour de Langkawi, Stage 4 2016 Tour of Norway, Stage 5 2016 Tour de Langkawi, Stage 3 2016 Volta a la Comunitat Valenciana, Stage 2 2016 Volta a la Comunitat Valenciana, Stage 3 2016 Volta a la Comunitat Valenciana, Stage 4 2016 Volta a la Comunitat Valenciana, Stage 5 2016 Tour de Yorkshire, Stage 2 2016 La Tropicale Amissa Bongo, Stage 2 2016 Vuelta al Táchira, Stage 4 2016 Tour of Norway, Stage 3 2016 Giro d'Italia, Stage 15 2016 Tour Down Under, Stage 6 2016 Tour Down Under, Stage 5 2016 Vuelta a España, Stage 13 2016 New Zealand Cycle Classic, Stage 1 2016 New Zealand Cycle Classic, Stage 2 2016 Tour of Britain, Stage 7a 2016 Tour of Britain, Stage 6 2016 Tour of Britain, Stage 5 2016 Tour of Britain, Stage 3 2015 Vuelta a España, Stage 16 2015 Vuelta a España, Stage 17 2015 Vuelta a España, Stage 14 2016 Tour de San Luis, Stage 7 2016 Tour de San Luis, Stage 6 2016 Tour de San Luis, Stage 4 2016 Tour de San Luis, Stage 3 2016 Tour de San Luis, Stage 2 2016 Tour de Langkawi, Stage 1 2016 Tour of the Basque Country, Stage 3 2016 Tour of Croatia, Stage 4 2017 Tour de France, Stage 1 2014 Arctic Race of Norway, Stage 4 2013 Arctic Race of Norway, Stage 2 2016 Vuelta al Táchira, Stage 2 2015 Tour of Norway, Stage 2 2015 Tour of Norway, Stage 3 2015 Tour of Norway, Stage 4 1st stage of the 2016 Tour de Pologne 2015 Vuelta a España, Stage 10 2016 Giro d'Italia, Stage 11 2015 Eneco Tour, Stage 1 2015 Eneco Tour, Stage 2 2016 Tour of California, Stage 7 2016 Tour of California, Stage 6 2016 Vuelta a España, Stage 18 2016 Vuelta a España, Stage 17 2016 Tour of Britain, Stage 7b 2014 Arctic Race of Norway, Stage 1 2014 Arctic Race of Norway, Stage 2 2016 Tour de Langkawi, Stage 5 2014 Arctic Race of Norway, Stage 3 2016 Vuelta a España, Stage 20 2013 Arctic Race of Norway, Stage 3 2014 Giro d'Italia, Stage 3 2016 Tour des Fjords, Stage 4 2016 Paris–Nice, Stage 7 2016 Paris–Nice, Stage 6 2016 Tour de Yorkshire, Stage 1 2016 Tour de Yorkshire, Stage 3 2016 Vuelta a Burgos, Stage 4 2015 Tour de France, Stage 2 2016 Vuelta a España, Stage 2 2016 Tour of Britain, Stage 2 2015 Tour de France, Stage 1 2016 Tour of Britain, Stage 1 2015 Vuelta a España, Stage 6 2015 Vuelta a España, Stage 11 2016 Arctic Race of Norway, Stage 2 2016 Tour de Romandie, Stage 3 2016 Tour of Oman, Stage 3 2016 Volta ao Algarve, Stage 5 2016 Tour of Oman, Stage 1 2016 Tour of Oman, Stage 2 2016 Tour de Langkawi, Stage 2 2011 Delta Tour Zeeland, Prologue 2015 Eneco Tour/Stage 4
2016 Tour de France, Stage 11, 2016 Tour de France, Stage 12 and 2016 Tour de France, Stage 17 have their origin at max number of cities and administrative territories
2016 Tour de France, Stage 11 2016 Tour de France, Stage 12 2016 Tour de France, Stage 17
action argmax
action union
action find_tuple_counts
relation start point
type type of sport
type city
action find_tuple_counts
relation start point
type type of sport
type administrative territorial entity
[{'concept': 'type of sport'}, 'start point', [{'concept': 'city'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) ?b WHERE { { ?b rdf:type ontology:type_of_sport . ?m rdf:type ontology:city . ?b property:start_point ?m } UNION { ?b property:start_point ?m . ?b rdf:type ontology:type_of_sport . ?m rdf:type ontology:administrative_territorial_entity } } GROUP BY ?b } . FILTER ( ?t = ?g ) . { SELECT DISTINCT ( MAX ( ?k ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) ?l WHERE { VALUES ( ?q ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } . ?o rdf:type ?q } GROUP BY ?l } } }
[]