Simple Question (Direct)
Simple Question
Q15121026
P69
Q163740
USER
Which nonprofit organizations were Max Wiznitzer educated at ?
(Q15121026,P69,c(Q163740))
action filter_type
action find
entity Q15121026
relation P69
type Q163740
['Q15121026', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q163740 . resource:Q15121026 property:P69 ?a }
Max Wiznitzer
action filter_type
action find
entity Max Wiznitzer
relation educated at
type nonprofit organization
['Max Wiznitzer', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:nonprofit_organization . resource:Max_Wiznitzer property:educated_at ?a }
[]
nonprofit organization
Q309350 Q49117
SYSTEM
Northwestern University, University of Pennsylvania
Q309350 Q49117
(Q15121026,P69,c(Q163740))
action filter_type
action find
entity Q15121026
relation P69
type Q163740
Max Wiznitzer were educated at [ANSWERS]
['Q15121026', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q163740 . resource:Q15121026 property:P69 ?a }
Northwestern University University of Pennsylvania
Max Wiznitzer were educated at Northwestern University and University of Pennsylvania
Northwestern University University of Pennsylvania
action filter_type
action find
entity Max Wiznitzer
relation educated at
type nonprofit organization
['Max Wiznitzer', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:nonprofit_organization . resource:Max_Wiznitzer property:educated_at ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15121026
P21
Q290
USER
Which sex does Max Wiznitzer possess ?
(Q15121026,P21,c(Q290))
action filter_type
action find
entity Q15121026
relation P21
type Q290
['Q15121026', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q15121026 property:P21 ?q }
Max Wiznitzer
action filter_type
action find
entity Max Wiznitzer
relation gender
type sex
['Max Wiznitzer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Max_Wiznitzer property:gender ?q }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15121026,P21,c(Q290))
action filter_type
action find
entity Q15121026
relation P21
type Q290
Max Wiznitzer possesses a [ANSWER]
['Q15121026', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q15121026 property:P21 ?q }
male
Max Wiznitzer possesses a male
male
action filter_type
action find
entity Max Wiznitzer
relation gender
type sex
['Max Wiznitzer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Max_Wiznitzer property:gender ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27532990
Q290
USER
And what about M.amin Tabatabaei?
(Q27532990,P21,c(Q290))
action filter_type
action find
entity Q27532990
relation P21
type Q290
['Q27532990', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q27532990 property:P21 ?j . ?j rdf:type ontology:Q290 }
M.amin Tabatabaei
action filter_type
action find
entity M.amin Tabatabaei
relation gender
type sex
['M.amin Tabatabaei', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:M.amin_Tabatabaei property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q27532990,P21,c(Q290))
action filter_type
action find
entity Q27532990
relation P21
type Q290
[ANSWER]
['Q27532990', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q27532990 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity M.amin Tabatabaei
relation gender
type sex
['M.amin Tabatabaei', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:M.amin_Tabatabaei property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27532990
P641
Q31629
USER
Which type of sport was that person a part of ?
(Q6581097,P641,c(Q31629))
action filter_type
action find
entity Q27532990
relation P641
type Q31629
['Q6581097', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?n WHERE { resource:Q27532990 property:P641 ?n . ?n rdf:type ontology:Q31629 }
M.amin Tabatabaei
action filter_type
action find
entity M.amin Tabatabaei
relation sport
type type of sport
['male', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?n WHERE { resource:M.amin_Tabatabaei property:sport ?n . ?n rdf:type ontology:type_of_sport }
[]
type of sport
Q718
SYSTEM
chess
Q718
(Q6581097,P641,c(Q31629))
action filter_type
action find
entity Q27532990
relation P641
type Q31629
Playing [ANSWER] was that person a part of
['Q6581097', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?n WHERE { resource:Q27532990 property:P641 ?n . ?n rdf:type ontology:Q31629 }
chess
Playing chess was that person a part of
chess
action filter_type
action find
entity M.amin Tabatabaei
relation sport
type type of sport
['male', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?n WHERE { resource:M.amin_Tabatabaei property:sport ?n . ?n rdf:type ontology:type_of_sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P366
Q31629 Q8205328
USER
Which types of sport are considered to be the main utilization of approximately the same number of artefacts as that type of sport ?
(c(Q8205328),P366,c(Q31629))
action approx
action find_reverse_tuple_counts
relation P366
type Q31629
type Q8205328
action count
action filter_type
action find
entity Q718
relation P366
type Q31629
[{'concept': 'Q8205328'}, 'P366', {'concept': 'Q31629'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P366 ?v . ?v rdf:type ontology:Q31629 . ?u rdf:type ontology:Q8205328 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s rdf:type ontology:Q31629 . resource:Q718 property:P366 ?s } } . FILTER ( ?y = ?z ) }
action approx
action find_reverse_tuple_counts
relation use
type type of sport
type artefact
action count
action filter_type
action find
entity chess
relation use
type type of sport
[{'concept': 'artefact'}, 'use', {'concept': 'type of sport'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:use ?v . ?v rdf:type ontology:type_of_sport . ?u rdf:type ontology:artefact } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s rdf:type ontology:type_of_sport . resource:chess property:use ?s } } . FILTER ( ?y = ?z ) }
[]
type of sport artefact
Q216613 Q3001473 Q542
SYSTEM
Nordic skiing, Barefoot running, athletics
Q542 Q718 Q216613 Q179226 Q3001473 Q520611
(c(Q8205328),P366,c(Q31629))
action approx
action find_reverse_tuple_counts
relation P366
type Q31629
type Q8205328
action count
action filter_type
action find
entity Q718
relation P366
type Q31629
[ANSWERS] are considered to be the main utilization of approximately the same number of artefacts as that type of sport
[{'concept': 'Q8205328'}, 'P366', {'concept': 'Q31629'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P366 ?v . ?v rdf:type ontology:Q31629 . ?u rdf:type ontology:Q8205328 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s rdf:type ontology:Q31629 . resource:Q718 property:P366 ?s } } . FILTER ( ?y = ?z ) }
athletics chess Nordic skiing equestrianism Barefoot running mountain biking
Nordic skiing, Barefoot running and athletics are considered to be the main utilization of approximately the same number of artefacts as that type of sport
Nordic skiing Barefoot running athletics
action approx
action find_reverse_tuple_counts
relation use
type type of sport
type artefact
action count
action filter_type
action find
entity chess
relation use
type type of sport
[{'concept': 'artefact'}, 'use', {'concept': 'type of sport'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:use ?v . ?v rdf:type ontology:type_of_sport . ?u rdf:type ontology:artefact } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s rdf:type ontology:type_of_sport . resource:chess property:use ?s } } . FILTER ( ?y = ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49117
P740
Q336
USER
Which science originated at University of Pennsylvania ?
(c(Q336),P740,Q49117)
action filter_type
action find_reverse
entity Q49117
relation P740
type Q336
[{'concept': 'Q336'}, 'P740', 'Q49117']
SELECT DISTINCT ?e WHERE { ?e property:P740 resource:Q49117 . ?e rdf:type ontology:Q336 }
University of Pennsylvania
action filter_type
action find_reverse
entity University of Pennsylvania
relation location of formation
type science
[{'concept': 'science'}, 'location of formation', 'University of Pennsylvania']
SELECT DISTINCT ?e WHERE { ?e property:location_of_formation resource:University_of_Pennsylvania . ?e rdf:type ontology:science }
[]
science
Q199906
SYSTEM
clinical psychology
Q199906
(c(Q336),P740,Q49117)
action filter_type
action find_reverse
entity Q49117
relation P740
type Q336
University [ANSWER] originated at University of Pennsylvania
[{'concept': 'Q336'}, 'P740', 'Q49117']
SELECT DISTINCT ?e WHERE { ?e property:P740 resource:Q49117 . ?e rdf:type ontology:Q336 }
clinical psychology
University clinical psychology originated at University of Pennsylvania
clinical psychology
action filter_type
action find_reverse
entity University of Pennsylvania
relation location of formation
type science
[{'concept': 'science'}, 'location of formation', 'University of Pennsylvania']
SELECT DISTINCT ?e WHERE { ?e property:location_of_formation resource:University_of_Pennsylvania . ?e rdf:type ontology:science }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49117
P749
Q41176
USER
Which buildings are that one a parent organization of ?
(c(Q41176),P749,Q199906)
action filter_type
action find_reverse
entity Q49117
relation P749
type Q41176
[{'concept': 'Q41176'}, 'P749', 'Q199906']
SELECT DISTINCT ?r WHERE { ?r property:P749 resource:Q49117 . ?r rdf:type ontology:Q41176 }
University of Pennsylvania
action filter_type
action find_reverse
entity University of Pennsylvania
relation parent organization
type building
[{'concept': 'building'}, 'parent organization', 'clinical psychology']
SELECT DISTINCT ?r WHERE { ?r property:parent_organization resource:University_of_Pennsylvania . ?r rdf:type ontology:building }
[]
building
Q7163209 Q5908783 Q1273145
SYSTEM
Penn Presbyterian Medical Center, Hospital of the University of Pennsylvania, Pennsylvania Hospital
Q7163209 Q5908783 Q1273145
(c(Q41176),P749,Q199906)
action filter_type
action find_reverse
entity Q49117
relation P749
type Q41176
[ANSWERS] are that one a parent organization of
[{'concept': 'Q41176'}, 'P749', 'Q199906']
SELECT DISTINCT ?r WHERE { ?r property:P749 resource:Q49117 . ?r rdf:type ontology:Q41176 }
Penn Presbyterian Medical Center Hospital of the University of Pennsylvania Pennsylvania Hospital
Penn Presbyterian Medical Center, Hospital of the University of Pennsylvania and Pennsylvania Hospital are that one a parent organization of
Penn Presbyterian Medical Center Hospital of the University of Pennsylvania Pennsylvania Hospital
action filter_type
action find_reverse
entity University of Pennsylvania
relation parent organization
type building
[{'concept': 'building'}, 'parent organization', 'clinical psychology']
SELECT DISTINCT ?r WHERE { ?r property:parent_organization resource:University_of_Pennsylvania . ?r rdf:type ontology:building }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16955998
P355
Q43229
USER
Are those buildings the subsidiary of New Brunswick Broadcasting Company ?
(Q16955998,P355,Q7163209) (Q16955998,P355,Q5908783) (Q16955998,P355,Q1273145)
action is_in
entity prev_answer
action find
entity Q16955998
relation P355
['Q16955998', 'P355', 'Q7163209'] ['Q16955998', 'P355', 'Q5908783'] ['Q16955998', 'P355', 'Q1273145']
ASK WHERE { VALUES ( ?l ) { ( resource:Q7163209 ) ( resource:Q5908783 ) ( resource:Q1273145 ) } . resource:Q16955998 property:P355 ?l }
New Brunswick Broadcasting Company
action is_in
entity prev_answer
action find
entity New Brunswick Broadcasting Company
relation subsidiary
['New Brunswick Broadcasting Company', 'subsidiary', 'Penn Presbyterian Medical Center'] ['New Brunswick Broadcasting Company', 'subsidiary', 'Hospital of the University of Pennsylvania'] ['New Brunswick Broadcasting Company', 'subsidiary', 'Pennsylvania Hospital']
ASK WHERE { VALUES ( ?l ) { ( resource:Penn_Presbyterian_Medical_Center ) ( resource:Hospital_of_the_University_of_Pennsylvania ) ( resource:Pennsylvania_Hospital ) } . resource:New_Brunswick_Broadcasting_Company property:subsidiary ?l }
[]
organization
SYSTEM
NO
(Q16955998,P355,Q7163209) (Q16955998,P355,Q5908783) (Q16955998,P355,Q1273145)
action is_in
entity prev_answer
action find
entity Q16955998
relation P355
[ANSWER]
['Q16955998', 'P355', 'Q7163209'] ['Q16955998', 'P355', 'Q5908783'] ['Q16955998', 'P355', 'Q1273145']
ASK WHERE { VALUES ( ?l ) { ( resource:Q7163209 ) ( resource:Q5908783 ) ( resource:Q1273145 ) } . resource:Q16955998 property:P355 ?l }
No
action is_in
entity prev_answer
action find
entity New Brunswick Broadcasting Company
relation subsidiary
['New Brunswick Broadcasting Company', 'subsidiary', 'Penn Presbyterian Medical Center'] ['New Brunswick Broadcasting Company', 'subsidiary', 'Hospital of the University of Pennsylvania'] ['New Brunswick Broadcasting Company', 'subsidiary', 'Pennsylvania Hospital']
ASK WHERE { VALUES ( ?l ) { ( resource:Penn_Presbyterian_Medical_Center ) ( resource:Hospital_of_the_University_of_Pennsylvania ) ( resource:Pennsylvania_Hospital ) } . resource:New_Brunswick_Broadcasting_Company property:subsidiary ?l }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1444
Q515 Q20667921 Q31629
USER
Which types of sport have min number of cities and french administrative divisions as their destination point ?
(c(Q31629),P1444,c(Q515)|c(Q20667921))
action argmin
action union
action find_tuple_counts
relation P1444
type Q31629
type Q515
action find_tuple_counts
relation P1444
type Q31629
type Q20667921
[{'concept': 'Q31629'}, 'P1444', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?r WHERE { VALUES ( ?g ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } . ?p rdf:type ?g } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?b WHERE { { ?b property:P1444 ?c . ?b rdf:type ontology:Q31629 . ?c rdf:type ontology:Q515 } UNION { ?b rdf:type ontology:Q31629 . ?c rdf:type ontology:Q20667921 . ?b property:P1444 ?c } } GROUP BY ?b } . FILTER ( ?k = ?t ) }
action argmin
action union
action find_tuple_counts
relation destination point
type type of sport
type city
action find_tuple_counts
relation destination point
type type of sport
type type of french administrative division
[{'concept': 'type of sport'}, 'destination point', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?r WHERE { VALUES ( ?g ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } . ?p rdf:type ?g } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?b WHERE { { ?b property:destination_point ?c . ?b rdf:type ontology:type_of_sport . ?c rdf:type ontology:city } UNION { ?b rdf:type ontology:type_of_sport . ?c rdf:type ontology:type_of_french_administrative_division . ?b property:destination_point ?c } } GROUP BY ?b } . FILTER ( ?k = ?t ) }
[]
city type of french administrative division type of sport
Q21934629 Q21996963 Q21155401
SYSTEM
2016 Tour Down Under, Stage 1, 2016 Vuelta a España, Stage 1, 2016 Tour de France, Stage 16
Q17747909 Q22569505 Q23709836 Q23709834 Q22337762 Q22337763 Q22337761 Q22337764 Q22337765 Q23660995 Q22350602 Q22340122 Q20738918 Q23924439 Q22101596 Q21074489 Q21074485 Q21074486 Q21074487 Q24070597 Q24070599 Q23010332 Q19944928 Q22783217 Q26793331 Q26846397 Q24070577 Q20680826 Q22344380 Q23010417 Q19392891 Q19392890 Q21996963 Q22811879 Q22811878 Q22811877 Q22772360 Q22772363 Q20746188 Q20746189 Q20746184 Q20746185 Q20746186 Q20746187 Q260938 Q24070584 Q23660933 Q22677364 Q22677360 Q22677363 Q21768448 Q22569464 Q22680887 Q22569460 Q22569461 Q22569462 Q22569463 Q26209139 Q19946575 Q19946574 Q19946578 Q22921514 Q22921515 Q24238207 Q24238206 Q22921510 Q22921512 Q22921513 Q24238209 Q24238208 Q21155285 Q22344375 Q21155402 Q21155401 Q21155407 Q22570169 Q22101618 Q23001607 Q23001608 Q23001609 Q27440826 Q22101614 Q22101616 Q22101611 Q23660967 Q22101613 Q22340119 Q26209094 Q19946535 Q21888058 Q24070583 Q21888056 Q21888057 Q26722635 Q22132652 Q22783207 Q22783202 Q23709814 Q21934629 Q19392888 Q19392889 Q22132651 Q22132650 Q22281256 Q22281259 Q20680831 Q20680830 Q21964247 Q265672 Q19951568 Q17747711 Q23895113 Q23045737 Q23709788 Q23895114 Q23895117 Q23895116 Q20680807 Q21155398 Q21155396 Q21155397 Q25314466 Q26209129 Q20680808 Q20680809 Q25821630 Q22281257 Q23924514 Q22569842 Q22569843 Q22569841 Q22569844 Q19946560 Q19946563 Q24262172 Q22303600 Q22303601 Q2219503 Q26793343 Q21996991 Q22344367 Q22350619 Q22783188 Q23010433 Q22281260 Q23498325 Q22783180 Q22570170 Q22570171 Q22570172 Q22570173 Q23045738 Q23045739 Q21886154 Q21883988 Q19896424 Q22101607 Q22350620 Q22350621 Q22350622 Q22350623 Q22350624 Q22350625 Q22350626 Q23045740 Q22281258 Q21964256 Q21964255 Q21964254 Q21964252 Q21964251 Q21964250 Q21074505 Q21074506 Q21074501 Q21074500 Q21074503 Q21074502 Q26209155 Q21934634 Q21934630 Q21934631 Q21934632 Q21934633 Q21996979 Q21996978 Q21996977 Q21996975 Q21996974 Q21996973 Q21996971 Q21155371 Q22132648 Q22132649 Q26793337 Q26793336 Q23010362 Q26793333 Q23010367 Q26793330 Q23010369 Q20680827 Q20680824 Q20680825 Q20680823 Q20680820 Q20680821 Q22038847 Q22038846 Q22038845 Q22038844 Q22038843 Q22038842 Q22038841 Q22783162 Q22344357 Q22808743 Q22808742 Q22808746 Q22808745 Q22808744 Q23709829 Q23709827 Q26722636 Q23895112 Q19947738 Q23895115 Q26722638 Q22074401 Q22570134 Q12007223 Q21876100 Q22569482 Q22340033 Q22569488 Q22350612 Q20973564 Q20973565 Q20973566 Q20973567 Q20973568 Q25821627 Q20680817 Q21074499 Q21074498 Q21074493 Q21074492 Q21074491 Q21074490 Q21074497 Q21074496 Q21074495 Q21074494 Q20670201 Q20670200 Q20670203 Q20670202 Q20670205 Q20670204 Q23924622 Q24070603 Q24070601 Q24070600 Q21996986 Q21996985 Q21996982 Q21996983 Q21996981 Q26846386 Q26846380 Q26793338 Q23854944 Q23854941 Q23854940 Q22570083 Q22570089 Q21155346 Q22570101 Q21996988 Q21883990 Q21883991 Q21883992 Q21996989 Q17747832 Q23924628 Q20746190 Q22921507 Q23660948 Q22569499 Q17747942 Q22670413 Q17747499 Q26722641 Q26722640 Q22681040 Q22921508 Q21964246 Q21768453 Q21964249 Q21768451 Q23924587 Q21886153 Q21886155 Q26209147 Q22670410 Q19059744 Q21996964 Q21996965 Q21996967 Q21996968 Q21996969 Q26793328 Q17620472 Q26793322 Q20680813 Q20680812 Q20680811 Q20680810 Q23010376 Q20680816 Q20680815 Q20680819 Q20680818 Q22340098 Q23924616 Q22772358 Q23854945 Q22811880 Q22772356 Q22772357 Q22783172 Q22303599 Q20670199 Q23498324
(c(Q31629),P1444,c(Q515)|c(Q20667921))
action argmin
action union
action find_tuple_counts
relation P1444
type Q31629
type Q515
action find_tuple_counts
relation P1444
type Q31629
type Q20667921
[ANSWERS]
[{'concept': 'Q31629'}, 'P1444', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?r WHERE { VALUES ( ?g ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } . ?p rdf:type ?g } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?b WHERE { { ?b property:P1444 ?c . ?b rdf:type ontology:Q31629 . ?c rdf:type ontology:Q515 } UNION { ?b rdf:type ontology:Q31629 . ?c rdf:type ontology:Q20667921 . ?b property:P1444 ?c } } GROUP BY ?b } . FILTER ( ?k = ?t ) }
2014 Tour of Norway, Stage 4 2013 Arctic Race of Norway, Stage 4 2016 Tour of the Basque Country, Stage 6 2016 Tour of the Basque Country, Stage 5 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 Three Days of De Panne, Stage 3b 2016 Vuelta al Táchira, Stage 1 2016 Arctic Race of Norway, Stage 4 2016 Tour de France, Stage 1 2016 Tour de Romandie, Prologue 2016 La Tropicale Amissa Bongo, Stage 1 2016 Giro d'Italia, Stage 4 2016 Giro d'Italia, 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 Tirreno–Adriatico, Stage 1 2015 Tour de France, Stage 21 2016 Tour de Langkawi, Stage 8 2016 Tour of Britain, Stage 4 7. Etappe der Eneco Tour 2016 2016 Tour of California, Stage 1 2015 Vuelta a España, Stage 18 2016 Ladies Tour of Qatar, Stage 4 2016 Tirreno–Adriatico, Stage 6 2013 Tour of Norway, Stage 5 2013 Tour of Norway, Stage 4 2016 Vuelta a España, Stage 1 2016 Volta ao Algarve, Stage 4 2016 Volta ao Algarve, Stage 3 2016 Volta ao Algarve, Stage 2 2016 Tour of Oman, Stage 4 2016 Tour of Oman, Stage 6 2015 Tour de Pologne, Stage 5 2015 Tour de Pologne, Stage 6 2015 Tour de Pologne, Stage 1 2015 Tour de Pologne, Stage 2 2015 Tour de Pologne, Stage 3 2015 Tour de Pologne, Stage 4 2012 Tour de France, Prologue 2016 Tour of California, Stage 3 2016 Three Days of De Panne, Stage 1 2016 Tour of Qatar, Stage 4 2016 Tour of Qatar, Stage 1 2016 Tour of Qatar, Stage 3 2016 Paris–Nice, Stage 3 2016 Herald Sun Tour, Stage 4 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 2016 Vuelta a Burgos, Stage 3 2015 Tour de France, Stage 5 2015 Tour de France, Stage 6 2015 Tour de France, Stage 3 2016 Volta a Catalunya, Stage 6 2016 Volta a Catalunya, Stage 7 2016 Tour of Belgium, Stage 2 2016 Tour of Belgium, Stage 1 2016 Volta a Catalunya, Stage 3 2016 Volta a Catalunya, Stage 4 2016 Volta a Catalunya, Stage 5 2016 Tour of Belgium, Stage 4 2016 Tour of Belgium, Stage 3 2016 Tour de France, Stage 5 2016 Ladies Tour of Qatar, Stage 3 2016 Tour de France, Stage 17 2016 Tour de France, Stage 16 2016 Tour de France, Stage 21 2016 Volta a la Comunitat Valenciana, Stage 1 2016 La Tropicale Amissa Bongo, Stage 7 2016 Driedaagse van West-Vlaanderen, Prologue 2016 Driedaagse van West-Vlaanderen, Stage 1 2016 Driedaagse van West-Vlaanderen, Stage 2 Abu Dhabi Tour 2016: Stage 1 2016 La Tropicale Amissa Bongo, Stage 5 2016 La Tropicale Amissa Bongo, Stage 6 2016 La Tropicale Amissa Bongo, Stage 3 2016 Three Days of De Panne, Stage 3a 2016 La Tropicale Amissa Bongo, Stage 4 2016 Arctic Race of Norway, Stage 3 2016 Vuelta a Burgos, Stage 1 2015 Tour de France, Stage 17 2016 ZLM Tour, Stage 3 2016 Tour of California, Stage 2 2016 ZLM Tour, Stage 1 2016 ZLM Tour, Stage 2 2016 Tour des Fjords, Stage 1 2016 New Zealand Cycle Classic, Stage 5 2016 Tour de Langkawi, Stage 7 2016 Tour de Langkawi, Stage 6 2016 Tour of the Basque Country, Stage 2 2016 Tour Down Under, Stage 1 2013 Tour of Norway, Stage 1 2013 Tour of Norway, Stage 2 2016 New Zealand Cycle Classic, Stage 4 2016 New Zealand Cycle Classic, Stage 3 2016 Tour of Norway, Stage 1 2016 Tour of Norway, Stage 4 2015 Vuelta a España, Stage 21 2015 Vuelta a España, Stage 20 2016 Tour de Suisse, Stage 2 2008 Tour de France, Stage 8 2015 Tour de France, Stage 20 2014 Tour of Norway, Stage 2 2016 Tour of Croatia, Stage 2 2016 Tour International de Sétif, Stage 1 2016 Tour of the Basque Country, Stage 1 2016 Tour of Croatia, Stage 3 2016 Tour of Croatia, Stage 6 2016 Tour of Croatia, Stage 5 2015 Vuelta a España, Stage 1 2016 Tour de France, Stage 13 2016 Tour de France, Stage 11 2016 Tour de France, Stage 12 2nd stage of the 2016 Tour of Austria 2016 Vuelta a Burgos, Stage 2 2015 Vuelta a España, Stage 2 2015 Vuelta a España, Stage 3 2nd stage of the 2016 Tour de Pologne 2016 Tour of Norway, Stage 2 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 12 2015 Tour de France, Stage 10 1st stage of Tour de Luxembourg 2016 2011 Delta Tour Zeeland, Stage 1 2011 Delta Tour Zeeland, Stage 2 2004 Tour de France, Prologue 2016 Tour of Britain, Stage 8 2016 Vuelta a España, Stage 21 2016 Ladies Tour of Qatar, Stage 2 2016 Vuelta al Táchira, Stage 3 2016 Tour de Langkawi, Stage 4 2016 Tirreno–Adriatico, Stage 7 2016 Tour of Norway, Stage 5 2016 Critérium du Dauphiné, Stage 7 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 International de Sétif, Stage 2 2016 Tour International de Sétif, Stage 3 2016 Tour de Yorkshire, Stage 2 2014 Triptyque des Monts et Châteaux, Stage 1 2015 Giro d'Italia, Stage 1 2016 La Tropicale Amissa Bongo, Stage 2 2016 Vuelta al Táchira, Stage 4 2016 Vuelta al Táchira, Stage 5 2016 Vuelta al Táchira, Stage 6 2016 Vuelta al Táchira, Stage 7 2016 Vuelta al Táchira, Stage 8 2016 Vuelta al Táchira, Stage 9 2016 Vuelta al Táchira, Stage 10 2016 Tour International de Sétif, Stage 4 2016 Tour of Norway, Stage 3 2016 Tour de Suisse, Stage 9 2016 Tour de Suisse, Stage 8 2016 Tour de Suisse, Stage 7 2016 Tour de Suisse, Stage 6 2016 Tour de Suisse, Stage 5 2016 Tour de Suisse, Stage 4 2016 Giro d'Italia, Stage 20 2016 Giro d'Italia, Stage 21 2016 Giro d'Italia, Stage 16 2016 Giro d'Italia, Stage 15 2016 Giro d'Italia, Stage 18 2016 Giro d'Italia, Stage 17 2016 Vuelta a Burgos, Stage 5 2016 Tour Down Under, Stage 6 2016 Tour Down Under, Stage 2 2016 Tour Down Under, Stage 3 2016 Tour Down Under, Stage 4 2016 Tour Down Under, Stage 5 2016 Vuelta a España, Stage 13 2016 Vuelta a España, Stage 12 2016 Vuelta a España, Stage 11 2016 Vuelta a España, Stage 10 2016 Vuelta a España, Stage 9 2016 Vuelta a España, Stage 8 2016 Vuelta a España, Stage 7 2016 Tour de France, Stage 9 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 Tirreno–Adriatico, Stage 2 2016 Tour of Britain, Stage 5 2016 Tirreno–Adriatico, Stage 3 2016 Tour of Britain, Stage 3 2016 Tirreno–Adriatico, Stage 4 2015 Vuelta a España, Stage 19 2015 Vuelta a España, Stage 16 2015 Vuelta a España, Stage 17 2015 Vuelta a España, Stage 15 2015 Vuelta a España, Stage 13 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 5 2016 Tour de San Luis, Stage 4 2016 Tour de San Luis, Stage 3 2016 Tour de San Luis, Stage 2 2016 Tour de San Luis, Stage 1 2016 Tour de Langkawi, Stage 1 2016 Ladies Tour of Qatar, Stage 1 2016 Vuelta a Andalucía, Stage 2 2016 Vuelta a Andalucía, Stage 1 2016 Vuelta a Andalucía, Stage 5 2016 Vuelta a Andalucía, Stage 4 2016 Vuelta a Andalucía, Stage 3 2016 Tour of the Basque Country, Stage 4 2016 Tour of the Basque Country, Stage 3 2016 Tour des Fjords, Stage 2 2016 Tour of Croatia, Stage 1 2015 Giro d'Italia, Stage 2 2016 Tour of Croatia, Stage 4 2016 Tour des Fjords, Stage 3 2017 Tour de France, Stage 1 2014 Arctic Race of Norway, Stage 4 2013 Tour of Norway, Stage 3 2005 Triptyque des Monts et Châteaux, Stage 2a 2013 Arctic Race of Norway, Stage 1 2016 Arctic Race of Norway, Stage 1 2013 Arctic Race of Norway, Stage 2 2016 Vuelta al Táchira, Stage 2 2015 Tour of Norway, Stage 1 2015 Tour of Norway, Stage 2 2015 Tour of Norway, Stage 3 2015 Tour of Norway, Stage 4 2015 Tour of Norway, Stage 5 1st stage of the 2016 Tour de Pologne 2015 Vuelta a España, Stage 10 2016 Giro d'Italia, Stage 14 2016 Giro d'Italia, Stage 13 2016 Giro d'Italia, Stage 8 2016 Giro d'Italia, Stage 7 2016 Giro d'Italia, Stage 6 2016 Giro d'Italia, Stage 5 2016 Giro d'Italia, Stage 12 2016 Giro d'Italia, Stage 11 2016 Giro d'Italia, Stage 10 2016 Giro d'Italia, Stage 9 2015 Eneco Tour/Stage 6 2015 Eneco Tour/Stage 5 2015 Eneco Tour, Stage 1 2015 Eneco Tour/Stage 7 2015 Eneco Tour, Stage 3 2015 Eneco Tour, Stage 2 2016 Tour de Romandie, Stage 4 2016 Tour of California, Stage 8 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 Vuelta a España, Stage 15 2016 Vuelta a España, Stage 16 2016 Vuelta a España, Stage 14 Sixth stage of the 2016 Eneco Tour stage 5 of 2016 Eneco Tour 2016 Tour of Britain, Stage 7b 2016 Giro del Trentino, Stage 3 2016 Giro del Trentino, Stage 2 2016 Giro del Trentino, Stage 1 2014 Arctic Race of Norway, Stage 1 2014 Arctic Race of Norway, Stage 2 2016 Tour de France, Stage 7 2014 Arctic Race of Norway, Stage 3 2016 Vuelta a España, Stage 19 2014 Triptyque des Monts et Châteaux, Stage 2a 2014 Triptyque des Monts et Châteaux, Stage 2b 2014 Triptyque des Monts et Châteaux, Stage 3 2016 Vuelta a España, Stage 20 2014 Tour of Norway, Stage 3 2016 Tour de Romandie, Stage 5 2015 Tour de Pologne, Stage 7 2016 Volta a Catalunya, Stage 1 2016 Three Days of De Panne, Stage 2 2013 Arctic Race of Norway, Stage 3 2014 Tour of Norway, Stage 5 2016 La Méditerranéenne, Stage 4 2014 Tour of Norway, Stage 1 2016 Tour des Fjords, Stage 5 2016 Tour des Fjords, Stage 4 2017 Tour de France, Stage 21 2016 Volta a Catalunya, Stage 2 2016 Tour de Suisse, Stage 1 2016 Paris–Nice, Stage 7 2016 Tour de Suisse, Stage 3 2016 Paris–Nice, Stage 6 2016 Tour de Romandie, Stage 2 2016 Tour de Yorkshire, Stage 1 2016 Tour de Yorkshire, Stage 3 2016 Vuelta a Burgos, Stage 4 2016 La Méditerranéenne, Stage 1 2015 Tour de France, Stage 2 2016 Vuelta a España, Stage 2 2016 Vuelta a España, Stage 3 2016 Vuelta a España, Stage 4 2016 Vuelta a España, Stage 5 2016 Vuelta a España, Stage 6 2016 Tour of Britain, Stage 2 2015 Tour de France, Stage 1 2016 Tour of Britain, Stage 1 2015 Vuelta a España, Stage 7 2015 Vuelta a España, Stage 6 2015 Vuelta a España, Stage 5 2015 Vuelta a España, Stage 4 2016 Tirreno–Adriatico, Stage 5 2015 Vuelta a España, Stage 9 2015 Vuelta a España, Stage 8 2015 Vuelta a España, Stage 12 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 Giro del Trentino, Stage 4 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 Critérium du Dauphiné, Stage 6
2016 Tour Down Under, Stage 1, 2016 Vuelta a España, Stage 1 and 2016 Tour de France, Stage 16 have min number of cities and french administrative divisions as their destination point
2016 Tour Down Under, Stage 1 2016 Vuelta a España, Stage 1 2016 Tour de France, Stage 16
action argmin
action union
action find_tuple_counts
relation destination point
type type of sport
type city
action find_tuple_counts
relation destination point
type type of sport
type type of french administrative division
[{'concept': 'type of sport'}, 'destination point', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?r WHERE { VALUES ( ?g ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } . ?p rdf:type ?g } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?b WHERE { { ?b property:destination_point ?c . ?b rdf:type ontology:type_of_sport . ?c rdf:type ontology:city } UNION { ?b rdf:type ontology:type_of_sport . ?c rdf:type ontology:type_of_french_administrative_division . ?b property:destination_point ?c } } GROUP BY ?b } . FILTER ( ?k = ?t ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q1048835
USER
How many political territories are that type of sport located in ?
(Q21934629,P17,c(Q1048835))
['Q21934629', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21934629 property:Q6256 ?z . ?z rdf:type ontology:Q1048835 }
['2016 Tour Down Under, Stage 1', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:2016_Tour_Down_Under,_Stage_1 property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Quantitative|Count|Single entity type|Clarification
Q21996963
SYSTEM
Did you mean 2016 Vuelta a España, Stage 1 ?
(Q21934629,P17,c(Q1048835)) (Q21996963,P17,c(Q1048835)) (Q21155401,P17,c(Q1048835))
[ANSWER]
['Q21934629', 'P17', {'concept': 'Q1048835'}] ['Q21996963', 'P17', {'concept': 'Q1048835'}] ['Q21155401', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21934629 property:Q6256 ?z . ?z rdf:type ontology:Q1048835 }
Did you mean 2016 Vuelta a España, Stage 1 ?
2016 Vuelta a España, Stage 1
['2016 Tour Down Under, Stage 1', 'country', {'concept': 'political territorial entity'}] ['2016 Vuelta a España, Stage 1', 'country', {'concept': 'political territorial entity'}] ['2016 Tour de France, Stage 16', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:2016_Tour_Down_Under,_Stage_1 property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant 2016 Tour Down Under, Stage 1. Could you tell me the answer for that?
(Q21934629,P17,c(Q1048835))
Q21934629
['Q21934629', 'P17', {'concept': 'Q1048835'}]
['2016 Tour Down Under, Stage 1', 'country', {'concept': 'political territorial entity'}]
[]
SYSTEM
1
Q408
(Q21934629,P17,c(Q1048835))
[ANSWER]
['Q21934629', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21934629 property:Q6256 ?z . ?z rdf:type ontology:Q1048835 }
Australia
1
['2016 Tour Down Under, Stage 1', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:2016_Tour_Down_Under,_Stage_1 property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1273145
P17
Q15617994
USER
Which administrative territory is Pennsylvania Hospital present in ?
(Q1273145,P17,c(Q15617994))
action filter_type
action find
entity Q1273145
relation P17
type Q15617994
['Q1273145', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q1273145 property:P17 ?p }
Pennsylvania Hospital
action filter_type
action find
entity Pennsylvania Hospital
relation country
type designation for an administrative territorial entity
['Pennsylvania Hospital', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pennsylvania_Hospital property:country ?p }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1273145,P17,c(Q15617994))
action filter_type
action find
entity Q1273145
relation P17
type Q15617994
Pennsylvania Hospital is the [ANSWER]
['Q1273145', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q1273145 property:P17 ?p }
United States of America
Pennsylvania Hospital is the United States of America
United States of America
action filter_type
action find
entity Pennsylvania Hospital
relation country
type designation for an administrative territorial entity
['Pennsylvania Hospital', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pennsylvania_Hospital property:country ?p }
[]