Simple Question (Direct)
Simple Question
Q23658061
P2416
Q31629
USER
Which type of sport did Brianne Nelson participate in ?
(Q23658061,P2416,c(Q31629))
action filter_type
action find
entity Q23658061
relation P2416
type Q31629
['Q23658061', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?x WHERE { resource:Q23658061 property:P2416 ?x . ?x rdf:type ontology:Q31629 }
Brianne Nelson
action filter_type
action find
entity Brianne Nelson
relation sports discipline competed in
type type of sport
['Brianne Nelson', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?x WHERE { resource:Brianne_Nelson property:sports_discipline_competed_in ?x . ?x rdf:type ontology:type_of_sport }
[]
type of sport
Q40244
SYSTEM
marathon
Q40244
(Q23658061,P2416,c(Q31629))
action filter_type
action find
entity Q23658061
relation P2416
type Q31629
Brianne Nelson participated in [ANSWER]
['Q23658061', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?x WHERE { resource:Q23658061 property:P2416 ?x . ?x rdf:type ontology:Q31629 }
marathon
Brianne Nelson participated in marathon
marathon
action filter_type
action find
entity Brianne Nelson
relation sports discipline competed in
type type of sport
['Brianne Nelson', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?x WHERE { resource:Brianne_Nelson property:sports_discipline_competed_in ?x . ?x rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23658061
P641
Q212434
USER
Which Olympic sport did Brianne Nelson participate in ?
(Q23658061,P641,c(Q212434))
action filter_type
action find
entity Q23658061
relation P641
type Q212434
['Q23658061', 'P641', {'concept': 'Q212434'}]
SELECT DISTINCT ?c WHERE { resource:Q23658061 property:P641 ?c . ?c rdf:type ontology:Q212434 }
Brianne Nelson
action filter_type
action find
entity Brianne Nelson
relation sport
type Olympic sport
['Brianne Nelson', 'sport', {'concept': 'Olympic sport'}]
SELECT DISTINCT ?c WHERE { resource:Brianne_Nelson property:sport ?c . ?c rdf:type ontology:Olympic_sport }
[]
Olympic sport
Q1934817
SYSTEM
road running
Q1934817
(Q23658061,P641,c(Q212434))
action filter_type
action find
entity Q23658061
relation P641
type Q212434
Brianne Nelson participated in [ANSWER]
['Q23658061', 'P641', {'concept': 'Q212434'}]
SELECT DISTINCT ?c WHERE { resource:Q23658061 property:P641 ?c . ?c rdf:type ontology:Q212434 }
road running
Brianne Nelson participated in road running
road running
action filter_type
action find
entity Brianne Nelson
relation sport
type Olympic sport
['Brianne Nelson', 'sport', {'concept': 'Olympic sport'}]
SELECT DISTINCT ?c WHERE { resource:Brianne_Nelson property:sport ?c . ?c rdf:type ontology:Olympic_sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q7511639
P1444
Q14524493 Q31629
USER
Which terrains do around the same number of types of sport finally stop at as Sierra de Cazorla ?
(c(Q31629),P1444,c(Q14524493))
action approx
action find_reverse_tuple_counts
relation P1444
type Q14524493
type Q31629
action count
action filter_type
action find
entity Q7511639
relation P1444
type Q14524493
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?i ) WHERE { ?y rdf:type ontology:Q14524493 . ?b rdf:type ontology:Q31629 . ?b property:P1444 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:Q7511639 property:P1444 ?t . ?t rdf:type ontology:Q14524493 } } . FILTER ( ?i = ?p ) }
Sierra de Cazorla
action approx
action find_reverse_tuple_counts
relation destination point
type terrain
type type of sport
action count
action filter_type
action find
entity Sierra de Cazorla
relation destination point
type terrain
[{'concept': 'type of sport'}, 'destination point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?i ) WHERE { ?y rdf:type ontology:terrain . ?b rdf:type ontology:type_of_sport . ?b property:destination_point ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:Sierra_de_Cazorla property:destination_point ?t . ?t rdf:type ontology:terrain } } . FILTER ( ?i = ?p ) }
[]
terrain type of sport
Q3861976 Q2842559 Q3321710
SYSTEM
Monte San Vicino, Kluisberg, mount Brouilly
Q3861976 Q699291 Q7511639 Q2842559 Q1122701 Q15622232 Q539792 Q3321710 Q22038925 Q8537932 Q913368
(c(Q31629),P1444,c(Q14524493))
action approx
action find_reverse_tuple_counts
relation P1444
type Q14524493
type Q31629
action count
action filter_type
action find
entity Q7511639
relation P1444
type Q14524493
[ANSWERS] do around the same number of types of sport finally stop at as Sierra de Cazorla
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?i ) WHERE { ?y rdf:type ontology:Q14524493 . ?b rdf:type ontology:Q31629 . ?b property:P1444 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:Q7511639 property:P1444 ?t . ?t rdf:type ontology:Q14524493 } } . FILTER ( ?i = ?p ) }
Monte San Vicino Arrate Sierra de Cazorla Kluisberg Montjuïc La Camperona Monte Naranco mount Brouilly Cerro El Amago Peña Cabarga Fóia
Monte San Vicino, Kluisberg and mount Brouilly do around the same number of types of sport finally stop at as Sierra de Cazorla
Monte San Vicino Kluisberg mount Brouilly
action approx
action find_reverse_tuple_counts
relation destination point
type terrain
type type of sport
action count
action filter_type
action find
entity Sierra de Cazorla
relation destination point
type terrain
[{'concept': 'type of sport'}, 'destination point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?i ) WHERE { ?y rdf:type ontology:terrain . ?b rdf:type ontology:type_of_sport . ?b property:destination_point ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:Sierra_de_Cazorla property:destination_point ?t . ?t rdf:type ontology:terrain } } . FILTER ( ?i = ?p ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories do that terrain belong to ?
(Q3861976,P17,c(Q15617994))
['Q3861976', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3861976 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['Monte San Vicino', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Monte_San_Vicino property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q3861976
SYSTEM
Did you mean Monte San Vicino ?
(Q3861976,P17,c(Q15617994)) (Q2842559,P17,c(Q15617994)) (Q3321710,P17,c(Q15617994))
[ANSWER]
['Q3861976', 'P17', {'concept': 'Q15617994'}] ['Q2842559', 'P17', {'concept': 'Q15617994'}] ['Q3321710', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3861976 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Monte San Vicino ?
Monte San Vicino
['Monte San Vicino', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kluisberg', 'country', {'concept': 'designation for an administrative territorial entity'}] ['mount Brouilly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Monte_San_Vicino property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q3861976,P17,c(Q15617994))
['Q3861976', 'P17', {'concept': 'Q15617994'}]
['Monte San Vicino', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q38
(Q3861976,P17,c(Q15617994))
[ANSWER]
['Q3861976', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3861976 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Italy
1
['Monte San Vicino', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Monte_San_Vicino property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q22321289 Q3861976
P361 P1444
Q31629
USER
Which types of sport finally halts at Monte San Vicino and are a part of 2016 Tirreno–Adriatico ?
AND((c(Q31629),P1444,Q3861976), (c(Q31629),P361,Q22321289))
action filter_type
action intersection
action find_reverse
entity Q3861976
relation P1444
action find_reverse
entity Q22321289
relation P361
type Q31629
{'AND': [[{'concept': 'Q31629'}, 'P1444', 'Q3861976'], [{'concept': 'Q31629'}, 'P361', 'Q22321289']]}
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q22321289 . ?b property:P1444 resource:Q3861976 . ?b rdf:type ontology:Q31629 }
2016 Tirreno–Adriatico Monte San Vicino
action filter_type
action intersection
action find_reverse
entity Monte San Vicino
relation destination point
action find_reverse
entity 2016 Tirreno–Adriatico
relation part of
type type of sport
{'AND': [[{'concept': 'type of sport'}, 'destination point', 'Monte San Vicino'], [{'concept': 'type of sport'}, 'part of', '2016 Tirreno–Adriatico']]}
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:2016_Tirreno–Adriatico . ?b property:destination_point resource:Monte_San_Vicino . ?b rdf:type ontology:type_of_sport }
[]
type of sport
Q23010376
SYSTEM
2016 Tirreno–Adriatico, Stage 5
Q23010376
AND((c(Q31629),P1444,Q3861976), (c(Q31629),P361,Q22321289))
action filter_type
action intersection
action find_reverse
entity Q3861976
relation P1444
action find_reverse
entity Q22321289
relation P361
type Q31629
[ANSWER] finally halts at Monte San Vicino and are a part of 2016 Tirreno–Adriatico
{'AND': [[{'concept': 'Q31629'}, 'P1444', 'Q3861976'], [{'concept': 'Q31629'}, 'P361', 'Q22321289']]}
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q22321289 . ?b property:P1444 resource:Q3861976 . ?b rdf:type ontology:Q31629 }
2016 Tirreno–Adriatico, Stage 5
2016 Tirreno–Adriatico, Stage 5 finally halts at Monte San Vicino and are a part of 2016 Tirreno–Adriatico
2016 Tirreno–Adriatico, Stage 5
action filter_type
action intersection
action find_reverse
entity Monte San Vicino
relation destination point
action find_reverse
entity 2016 Tirreno–Adriatico
relation part of
type type of sport
{'AND': [[{'concept': 'type of sport'}, 'destination point', 'Monte San Vicino'], [{'concept': 'type of sport'}, 'part of', '2016 Tirreno–Adriatico']]}
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:2016_Tirreno–Adriatico . ?b property:destination_point resource:Monte_San_Vicino . ?b rdf:type ontology:type_of_sport }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1427
Q56061 Q15617994 Q31629
USER
Which types of sport have their origin at max number of administrative territories and administrative territories ?
(c(Q31629),P1427,c(Q56061)|c(Q15617994))
action argmax
action union
action find_tuple_counts
relation P1427
type Q31629
type Q56061
action find_tuple_counts
relation P1427
type Q31629
type Q15617994
[{'concept': 'Q31629'}, 'P1427', [{'concept': 'Q56061'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?w ) { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?p ) WHERE { ?n rdf:type ?r . VALUES ( ?r ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?a } } . { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?e ) WHERE { { ?c property:P1427 ?s . ?c rdf:type ontology:Q31629 . ?s rdf:type ontology:Q56061 } UNION { ?c property:P1427 ?s . ?c rdf:type ontology:Q31629 . ?s rdf:type ontology:Q15617994 } } GROUP BY ?c } . FILTER ( ?e = ?w ) }
action argmax
action union
action find_tuple_counts
relation start point
type type of sport
type administrative territorial entity
action find_tuple_counts
relation start point
type type of sport
type designation for an administrative territorial entity
[{'concept': 'type of sport'}, 'start point', [{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?w ) { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?p ) WHERE { ?n rdf:type ?r . VALUES ( ?r ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?a } } . { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?e ) WHERE { { ?c property:start_point ?s . ?c rdf:type ontology:type_of_sport . ?s rdf:type ontology:administrative_territorial_entity } UNION { ?c property:start_point ?s . ?c rdf:type ontology:type_of_sport . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?c } . FILTER ( ?e = ?w ) }
[]
administrative territorial entity designation for an administrative territorial entity type of sport
Q21155397 Q21155402 Q21996985
SYSTEM
2016 Tour de France, Stage 12, 2016 Tour de France, Stage 17, 2016 Vuelta a España, Stage 17
Q23709836 Q22337762 Q22337763 Q22337761 Q22337764 Q22337765 Q22350602 Q23924439 Q22101596 Q21074489 Q21074486 Q21074487 Q24070597 Q24070599 Q22783217 Q23010417 Q22811879 Q22811878 Q20746188 Q20746184 Q260938 Q24070584 Q22677360 Q22677363 Q22680887 Q22569460 Q22569461 Q22569462 Q22569463 Q19946578 Q22921515 Q22921510 Q21155402 Q23001608 Q27440826 Q22101616 Q22101611 Q22101613 Q24070583 Q22132652 Q22783207 Q22132651 Q22132650 Q22281256 Q20680831 Q17747711 Q23045737 Q23895114 Q23895116 Q21155397 Q25314466 Q26209129 Q20680809 Q23924514 Q22569842 Q22569843 Q22569841 Q22569844 Q19946565 Q24262172 Q22303600 Q2219503 Q26793343 Q22350619 Q22783188 Q23010433 Q22281260 Q22783180 Q22570170 Q22570171 Q22570172 Q22570173 Q21886154 Q19896424 Q22101607 Q22350620 Q22281258 Q21074504 Q21074506 Q21074501 Q21074500 Q21074503 Q21074502 Q21934634 Q21934633 Q21996979 Q22132648 Q22132649 Q26793337 Q26793336 Q23010362 Q26793333 Q23010367 Q26793330 Q23010369 Q20680824 Q20680825 Q20680821 Q22038847 Q22038846 Q22038844 Q22038843 Q22038842 Q22783162 Q23709827 Q19947738 Q23895115 Q22074401 Q22570134 Q22569488 Q22350612 Q20973565 Q20973566 Q20973567 Q25821627 Q20680817 Q21074499 Q21074498 Q21074493 Q21074492 Q21074491 Q21074490 Q21074497 Q21074496 Q21074495 Q21074494 Q20670203 Q20670204 Q24070601 Q24070600 Q21996986 Q21996985 Q26793338 Q23854944 Q23854941 Q23854940 Q22570083 Q22570089 Q22783198 Q22570101 Q21996989 Q22569499 Q22670413 Q16831772 Q26722640 Q21768453 Q21768451 Q21886153 Q21886155 Q26209147 Q19059744 Q21996964 Q26793328 Q17620472 Q26793322 Q20680812 Q23010376 Q22340098 Q23924616 Q22772358 Q23854945 Q22811880 Q22772357 Q22783172 Q22303599 Q20670199
(c(Q31629),P1427,c(Q56061)|c(Q15617994))
action argmax
action union
action find_tuple_counts
relation P1427
type Q31629
type Q56061
action find_tuple_counts
relation P1427
type Q31629
type Q15617994
[ANSWERS]
[{'concept': 'Q31629'}, 'P1427', [{'concept': 'Q56061'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?w ) { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?p ) WHERE { ?n rdf:type ?r . VALUES ( ?r ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?a } } . { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?e ) WHERE { { ?c property:P1427 ?s . ?c rdf:type ontology:Q31629 . ?s rdf:type ontology:Q56061 } UNION { ?c property:P1427 ?s . ?c rdf:type ontology:Q31629 . ?s rdf:type ontology:Q15617994 } } GROUP BY ?c } . FILTER ( ?e = ?w ) }
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 4 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 Tirreno–Adriatico, Stage 6 2016 Volta ao Algarve, Stage 4 2016 Volta ao Algarve, Stage 3 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 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 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 12 2nd stage of the 2016 Tour of Austria 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 Tirreno–Adriatico, Stage 7 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 2015 Giro d'Italia, Stage 1 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 19 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 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 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 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 2015 Giro d'Italia, Stage 2 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 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 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 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 Langkawi, Stage 5 2014 Arctic Race of Norway, Stage 3 2016 Vuelta a España, Stage 20 2013 Arctic Race of Norway, Stage 3 2016 La Méditerranéenne, Stage 4 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 2016 Tirreno–Adriatico, Stage 5 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 2 2016 Tour de Langkawi, Stage 2 2011 Delta Tour Zeeland, Prologue 2015 Eneco Tour/Stage 4
2016 Tour de France, Stage 12, 2016 Tour de France, Stage 17 and 2016 Vuelta a España, Stage 17 have their origin at max number of administrative territories and administrative territories
2016 Tour de France, Stage 12 2016 Tour de France, Stage 17 2016 Vuelta a España, Stage 17
action argmax
action union
action find_tuple_counts
relation start point
type type of sport
type administrative territorial entity
action find_tuple_counts
relation start point
type type of sport
type designation for an administrative territorial entity
[{'concept': 'type of sport'}, 'start point', [{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?w ) { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?p ) WHERE { ?n rdf:type ?r . VALUES ( ?r ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?a } } . { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?e ) WHERE { { ?c property:start_point ?s . ?c rdf:type ontology:type_of_sport . ?s rdf:type ontology:administrative_territorial_entity } UNION { ?c property:start_point ?s . ?c rdf:type ontology:type_of_sport . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?c } . FILTER ( ?e = ?w ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19912451 Q40244
P793 P138
Q1190554
USER
Which events are marathon named after or are the significant events associated with Charles-Alfred Roy de Puyfontaine ?
OR((Q40244,P138,c(Q1190554)), (Q19912451,P793,c(Q1190554)))
action filter_type
action union
action find
entity Q40244
relation P138
action find
entity Q19912451
relation P793
type Q1190554
{'OR': [['Q40244', 'P138', {'concept': 'Q1190554'}], ['Q19912451', 'P793', {'concept': 'Q1190554'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q40244 property:P138 ?n } UNION { resource:Q19912451 property:P793 ?n } } . ?n rdf:type ontology:Q1190554 }
Charles-Alfred Roy de Puyfontaine marathon
action filter_type
action union
action find
entity marathon
relation named after
action find
entity Charles-Alfred Roy de Puyfontaine
relation significant event
type event
{'OR': [['marathon', 'named after', {'concept': 'event'}], ['Charles-Alfred Roy de Puyfontaine', 'significant event', {'concept': 'event'}]]}
SELECT DISTINCT ?n WHERE { { { resource:marathon property:named_after ?n } UNION { resource:Charles-Alfred_Roy_de_Puyfontaine property:significant_event ?n } } . ?n rdf:type ontology:event }
[]
event
Q31900 Q201676
SYSTEM
Battle of Marathon, funeral
Q31900 Q201676
OR((Q40244,P138,c(Q1190554)), (Q19912451,P793,c(Q1190554)))
action filter_type
action union
action find
entity Q40244
relation P138
action find
entity Q19912451
relation P793
type Q1190554
[ANSWERS]
{'OR': [['Q40244', 'P138', {'concept': 'Q1190554'}], ['Q19912451', 'P793', {'concept': 'Q1190554'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q40244 property:P138 ?n } UNION { resource:Q19912451 property:P793 ?n } } . ?n rdf:type ontology:Q1190554 }
Battle of Marathon funeral
Which events are marathon named after or are the significant events associated with Charles-Alfred Roy de Puyfontaine
Battle of Marathon funeral
action filter_type
action union
action find
entity marathon
relation named after
action find
entity Charles-Alfred Roy de Puyfontaine
relation significant event
type event
{'OR': [['marathon', 'named after', {'concept': 'event'}], ['Charles-Alfred Roy de Puyfontaine', 'significant event', {'concept': 'event'}]]}
SELECT DISTINCT ?n WHERE { { { resource:marathon property:named_after ?n } UNION { resource:Charles-Alfred_Roy_de_Puyfontaine property:significant_event ?n } } . ?n rdf:type ontology:event }
[]