Simple Question (Direct)
Simple Question
Q286183
P413
Q878123
USER
Which racing is occupied by Alejandro Valverde ?
(Q286183,P413,c(Q878123))
action filter_type
action find
entity Q286183
relation P413
type Q878123
['Q286183', 'P413', {'concept': 'Q878123'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q878123 . resource:Q286183 property:P413 ?o }
Alejandro Valverde
action filter_type
action find
entity Alejandro Valverde
relation position played on team / speciality
type racing
['Alejandro Valverde', 'position played on team / speciality', {'concept': 'racing'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:racing . resource:Alejandro_Valverde property:position_played_on_team_/_speciality ?o }
[]
racing
Q1318941
SYSTEM
stage race
Q1318941
(Q286183,P413,c(Q878123))
action filter_type
action find
entity Q286183
relation P413
type Q878123
The [ANSWER] is occupied by Alejandro Valverde
['Q286183', 'P413', {'concept': 'Q878123'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q878123 . resource:Q286183 property:P413 ?o }
stage race
The stage race is occupied by Alejandro Valverde
stage race
action filter_type
action find
entity Alejandro Valverde
relation position played on team / speciality
type racing
['Alejandro Valverde', 'position played on team / speciality', {'concept': 'racing'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:racing . resource:Alejandro_Valverde property:position_played_on_team_/_speciality ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q286183
P1344
Q1318941
USER
What did Alejandro Valverde participate in ?
(Q286183,P1344,c(Q1318941))
action filter_type
action find
entity Q286183
relation P1344
type Q1318941
['Q286183', 'P1344', {'concept': 'Q1318941'}]
SELECT DISTINCT ?z WHERE { resource:Q286183 property:P1344 ?z . ?z rdf:type ontology:Q1318941 }
Alejandro Valverde
action filter_type
action find
entity Alejandro Valverde
relation participant of
type stage race
['Alejandro Valverde', 'participant of', {'concept': 'stage race'}]
SELECT DISTINCT ?z WHERE { resource:Alejandro_Valverde property:participant_of ?z . ?z rdf:type ontology:stage_race }
[]
stage race
Q15621924 Q2913643
SYSTEM
2014 Vuelta a España, 2013 Vuelta a España
Q15621924 Q2913643
(Q286183,P1344,c(Q1318941))
action filter_type
action find
entity Q286183
relation P1344
type Q1318941
Alejandro Valverde participated in [ANSWERS]
['Q286183', 'P1344', {'concept': 'Q1318941'}]
SELECT DISTINCT ?z WHERE { resource:Q286183 property:P1344 ?z . ?z rdf:type ontology:Q1318941 }
2014 Vuelta a España 2013 Vuelta a España
Alejandro Valverde participated in 2014 Vuelta a España and 2013 Vuelta a España
2014 Vuelta a España 2013 Vuelta a España
action filter_type
action find
entity Alejandro Valverde
relation participant of
type stage race
['Alejandro Valverde', 'participant of', {'concept': 'stage race'}]
SELECT DISTINCT ?z WHERE { resource:Alejandro_Valverde property:participant_of ?z . ?z rdf:type ontology:stage_race }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q286183
Q18608583
USER
And which recurring sporting event?
(Q286183,P1344,c(Q18608583))
action filter_type
action find
entity Q286183
relation P1344
type Q18608583
['Q286183', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?o WHERE { resource:Q286183 property:P1344 ?o . ?o rdf:type ontology:Q18608583 }
Alejandro Valverde
action filter_type
action find
entity Alejandro Valverde
relation participant of
type recurring sporting event
['Alejandro Valverde', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?o WHERE { resource:Alejandro_Valverde property:participant_of ?o . ?o rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q1065480 Q895853 Q219414
SYSTEM
2013 Tour de France, 2014 Tour de France, 2012 Tour de France
Q1065480 Q895853 Q219414
(Q286183,P1344,c(Q18608583))
action filter_type
action find
entity Q286183
relation P1344
type Q18608583
[ANSWERS]
['Q286183', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?o WHERE { resource:Q286183 property:P1344 ?o . ?o rdf:type ontology:Q18608583 }
2013 Tour de France 2014 Tour de France 2012 Tour de France
2013 Tour de France 2014 Tour de France 2012 Tour de France
action filter_type
action find
entity Alejandro Valverde
relation participant of
type recurring sporting event
['Alejandro Valverde', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?o WHERE { resource:Alejandro_Valverde property:participant_of ?o . ?o rdf:type ontology:recurring_sporting_event }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q21993598 Q286183
P1923 P1346
Q22348500
USER
Which cycling race classes were Alejandro Valverde decalred as a champion of and did Wanty-Groupe Gobert 2016 compete in ?
AND((c(Q22348500),P1346,Q286183), (c(Q22348500),P1923,Q21993598))
action filter_type
action intersection
action find_reverse
entity Q286183
relation P1346
action find_reverse
entity Q21993598
relation P1923
type Q22348500
{'AND': [[{'concept': 'Q22348500'}, 'P1346', 'Q286183'], [{'concept': 'Q22348500'}, 'P1923', 'Q21993598']]}
SELECT DISTINCT ?f WHERE { ?f property:P1346 resource:Q286183 . ?f property:P1923 resource:Q21993598 . ?f rdf:type ontology:Q22348500 }
Wanty-Groupe Gobert 2016 Alejandro Valverde
action filter_type
action intersection
action find_reverse
entity Alejandro Valverde
relation winner
action find_reverse
entity Wanty-Groupe Gobert 2016
relation participating teams
type cycling race class defined by the International Cycling Union
{'AND': [[{'concept': 'cycling race class defined by the International Cycling Union'}, 'winner', 'Alejandro Valverde'], [{'concept': 'cycling race class defined by the International Cycling Union'}, 'participating teams', 'Wanty-Groupe Gobert 2016']]}
SELECT DISTINCT ?f WHERE { ?f property:winner resource:Alejandro_Valverde . ?f property:participating_teams resource:Wanty-Groupe_Gobert_2016 . ?f rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
cycling race class defined by the International Cycling Union
Q20033471 Q22806707
SYSTEM
2016 La Flèche Wallonne, 2016 Vuelta a Andalucía
Q20033471 Q22806707
AND((c(Q22348500),P1346,Q286183), (c(Q22348500),P1923,Q21993598))
action filter_type
action intersection
action find_reverse
entity Q286183
relation P1346
action find_reverse
entity Q21993598
relation P1923
type Q22348500
Alejandro Valverde were decalred compete in as a champion of the [ANSWERS]
{'AND': [[{'concept': 'Q22348500'}, 'P1346', 'Q286183'], [{'concept': 'Q22348500'}, 'P1923', 'Q21993598']]}
SELECT DISTINCT ?f WHERE { ?f property:P1346 resource:Q286183 . ?f property:P1923 resource:Q21993598 . ?f rdf:type ontology:Q22348500 }
2016 La Flèche Wallonne 2016 Vuelta a Andalucía
Alejandro Valverde were decalred compete in as a champion of the 2016 La Flèche Wallonne and 2016 Vuelta a Andalucía
2016 La Flèche Wallonne 2016 Vuelta a Andalucía
action filter_type
action intersection
action find_reverse
entity Alejandro Valverde
relation winner
action find_reverse
entity Wanty-Groupe Gobert 2016
relation participating teams
type cycling race class defined by the International Cycling Union
{'AND': [[{'concept': 'cycling race class defined by the International Cycling Union'}, 'winner', 'Alejandro Valverde'], [{'concept': 'cycling race class defined by the International Cycling Union'}, 'participating teams', 'Wanty-Groupe Gobert 2016']]}
SELECT DISTINCT ?f WHERE { ?f property:winner resource:Alejandro_Valverde . ?f property:participating_teams resource:Wanty-Groupe_Gobert_2016 . ?f rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2522
Q22348500 Q502895
USER
Which people were victorious in approximately 1 cycling race class ?
(c(Q502895),P2522,c(Q22348500))
action approx
action find_tuple_counts
relation P2522
type Q502895
type Q22348500
value 1
[{'concept': 'Q502895'}, 'P2522', {'concept': 'Q22348500'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?g ) WHERE { ?t property:P2522 ?o . ?t rdf:type ontology:Q502895 . ?o rdf:type ontology:Q22348500 } GROUP BY ?t } . FILTER ( ?g = 1 ) }
action approx
action find_tuple_counts
relation victory
type common name
type cycling race class defined by the International Cycling Union
value 1
[{'concept': 'common name'}, 'victory', {'concept': 'cycling race class defined by the International Cycling Union'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?g ) WHERE { ?t property:victory ?o . ?t rdf:type ontology:common_name . ?o rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } GROUP BY ?t } . FILTER ( ?g = 1 ) }
[]
cycling race class defined by the International Cycling Union common name
Q188197 Q309911
SYSTEM
Fabian Cancellara, Peter Sagan
Q188197 Q309911
(c(Q502895),P2522,c(Q22348500))
action approx
action find_tuple_counts
relation P2522
type Q502895
type Q22348500
value 1
[ANSWERS] were victorious in approximately 1 cycling race class
[{'concept': 'Q502895'}, 'P2522', {'concept': 'Q22348500'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?g ) WHERE { ?t property:P2522 ?o . ?t rdf:type ontology:Q502895 . ?o rdf:type ontology:Q22348500 } GROUP BY ?t } . FILTER ( ?g = 1 ) }
Fabian Cancellara Peter Sagan
Fabian Cancellara and Peter Sagan were victorious in approximately 1 cycling race class
Fabian Cancellara Peter Sagan
action approx
action find_tuple_counts
relation victory
type common name
type cycling race class defined by the International Cycling Union
value 1
[{'concept': 'common name'}, 'victory', {'concept': 'cycling race class defined by the International Cycling Union'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?g ) WHERE { ?t property:victory ?o . ?t rdf:type ontology:common_name . ?o rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } GROUP BY ?t } . FILTER ( ?g = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q507962
P1344
Q1318941 Q15275719
USER
How many stage races and recurring events did Jakob Fuglsang participate in ?
(Q507962,P1344,c(Q1318941)) (Q507962,P1344,c(Q15275719))
action count
action union
action filter_type
action find
entity Q507962
relation P1344
type Q1318941
action filter_type
action find
entity Q507962
relation P1344
type Q15275719
['Q507962', 'P1344', {'concept': 'Q1318941'}] ['Q507962', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { resource:Q507962 property:P1344 ?z . ?z rdf:type ontology:Q1318941 } UNION { resource:Q507962 property:P1344 ?z . ?z rdf:type ontology:Q15275719 } }
Jakob Fuglsang
action count
action union
action filter_type
action find
entity Jakob Fuglsang
relation participant of
type stage race
action filter_type
action find
entity Jakob Fuglsang
relation participant of
type recurring event
['Jakob Fuglsang', 'participant of', {'concept': 'stage race'}] ['Jakob Fuglsang', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { resource:Jakob_Fuglsang property:participant_of ?z . ?z rdf:type ontology:stage_race } UNION { resource:Jakob_Fuglsang property:participant_of ?z . ?z rdf:type ontology:recurring_event } }
[]
stage race recurring event
SYSTEM
1 stage races and 1 recurring events
Q2913643 Q33881
(Q507962,P1344,c(Q1318941)) (Q507962,P1344,c(Q15275719))
action count
action union
action filter_type
action find
entity Q507962
relation P1344
type Q1318941
action filter_type
action find
entity Q507962
relation P1344
type Q15275719
[ANSWER]
['Q507962', 'P1344', {'concept': 'Q1318941'}] ['Q507962', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { resource:Q507962 property:P1344 ?z . ?z rdf:type ontology:Q1318941 } UNION { resource:Q507962 property:P1344 ?z . ?z rdf:type ontology:Q15275719 } }
2013 Vuelta a España Tour de France
1 stage races and 1 recurring events
action count
action union
action filter_type
action find
entity Jakob Fuglsang
relation participant of
type stage race
action filter_type
action find
entity Jakob Fuglsang
relation participant of
type recurring event
['Jakob Fuglsang', 'participant of', {'concept': 'stage race'}] ['Jakob Fuglsang', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { resource:Jakob_Fuglsang property:participant_of ?z . ?z rdf:type ontology:stage_race } UNION { resource:Jakob_Fuglsang property:participant_of ?z . ?z rdf:type ontology:recurring_event } }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q8558 Q2913643
P1344
Q502895
USER
Which people participated in 2013 Vuelta a España but not 2004 Summer Olympics ?
AND((c(Q502895),P1344,Q2913643), NOT((c(Q502895),P1344,Q8558)))
action filter_type
action difference
action find_reverse
entity Q2913643
relation P1344
action find_reverse
entity Q8558
relation P1344
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1344', 'Q2913643'], {'NOT': [[{'concept': 'Q502895'}, 'P1344', 'Q8558']]}]}
SELECT DISTINCT ?f WHERE { ?f property:P1344 resource:Q2913643 . MINUS { ?f property:P1344 resource:Q8558 } . ?f rdf:type ontology:Q502895 }
2004 Summer Olympics 2013 Vuelta a España
action filter_type
action difference
action find_reverse
entity 2013 Vuelta a España
relation participant of
action find_reverse
entity 2004 Summer Olympics
relation participant of
type common name
{'AND': [[{'concept': 'common name'}, 'participant of', '2013 Vuelta a España'], {'NOT': [[{'concept': 'common name'}, 'participant of', '2004 Summer Olympics']]}]}
SELECT DISTINCT ?f WHERE { ?f property:participant_of resource:2013_Vuelta_a_España . MINUS { ?f property:participant_of resource:2004_Summer_Olympics } . ?f rdf:type ontology:common_name }
[]
common name
Q462867 Q250249 Q362037 Q569813 Q719994 Q523223 Q1065172 Q1720382 Q313826 Q360851
SYSTEM
Some of them are Alex Rasmussen, Jorge Azanza, Amets Txurruka, Barry Markus, Juan José Oroz, Klaas Lodewyck, Julien Bérard, Tiziano Dall'Antonia, Joaquim Rodríguez, Rinaldo Nocentini
Q447932 Q386459 Q1856582 Q561546 Q523444 Q347184 Q447837 Q74271 Q1383974 Q448511 Q946385 Q462828 Q127803 Q1654263 Q362043 Q929392 Q512714 Q378257 Q428524 Q704703 Q363840 Q182828 Q454642 Q507962 Q512801 Q713320 Q1509199 Q774498 Q358182 Q962498 Q600285 Q981161 Q504645 Q374497 Q1163788 Q2717076 Q653813 Q1232432 Q362185 Q3023220 Q1356932 Q1930823 Q523223 Q446616 Q362037 Q282775 Q462801 Q809568 Q950702 Q517775 Q493086 Q1368079 Q1359381 Q742648 Q562966 Q701074 Q1364319 Q719994 Q169109 Q707108 Q689177 Q6195 Q713520 Q462788 Q1396493 Q318898 Q433756 Q1885916 Q1553933 Q722223 Q1396949 Q449139 Q677007 Q250249 Q588086 Q1344488 Q2015598 Q733072 Q313826 Q1065172 Q1363271 Q707059 Q921437 Q913983 Q2119544 Q1270426 Q375046 Q738763 Q447792 Q672920 Q90403 Q439803 Q2080556 Q689917 Q934333 Q713274 Q462867 Q1877075 Q174719 Q718646 Q447082 Q1081094 Q380048 Q1975797 Q704469 Q1808982 Q447478 Q596427 Q501951 Q330065 Q333351 Q471707 Q705441 Q445289 Q1720382 Q1338005 Q523361 Q1762389 Q377150 Q362095 Q469675 Q255439 Q652240 Q630025 Q463705 Q657088 Q967879 Q956618 Q577603 Q251954 Q941854 Q164090 Q950505 Q645051 Q724930 Q945019 Q738702 Q688538 Q61049 Q934364 Q447816 Q371299 Q734427 Q349670 Q648076 Q362568 Q569813 Q1391413 Q360851 Q382400 Q3509840 Q1284197 Q512051 Q440041 Q502477 Q144739 Q460872 Q61215 Q298185 Q458728 Q462932 Q382065 Q945275 Q1176809 Q358163 Q930658 Q562309 Q309938 Q722315 Q719451 Q529136 Q929383 Q977150 Q509434 Q955949 Q524506 Q312322 Q145833 Q1342225 Q301095 Q463442
AND((c(Q502895),P1344,Q2913643), NOT((c(Q502895),P1344,Q8558)))
action filter_type
action difference
action find_reverse
entity Q2913643
relation P1344
action find_reverse
entity Q8558
relation P1344
type Q502895
[ANSWERS] participated in 2013 Vuelta a España but not 2004 Summer Olympics
{'AND': [[{'concept': 'Q502895'}, 'P1344', 'Q2913643'], {'NOT': [[{'concept': 'Q502895'}, 'P1344', 'Q8558']]}]}
SELECT DISTINCT ?f WHERE { ?f property:P1344 resource:Q2913643 . MINUS { ?f property:P1344 resource:Q8558 } . ?f rdf:type ontology:Q502895 }
Domenico Pozzovivo Paolo Tiralongo Romain Zingle Michael Matthews Daniel Martin Roman Kreuziger Dario Cataldo Gorka Verdugo Serge Pauwels David Arroyo Alex Howes Beñat Intxausti Sebastian Lander Luca Dodi Johan Vansummeren Vladimir Isaichev Caleb Fairly Tyler Farrar Stéphane Poulhies Johannes Fröhlinger Igor Antón Fabricio Ferrari Lieuwe Westra Jakob Fuglsang Anthony Roux Sergio Henao Marcos García Pieter Serry Marco Pinotti Thomas Peterson Giampaolo Caruso Tosh Van der Sande Andrew Fenn Leigh Howard Daniele Ratto David de la Cruz Jan Bárta Dmitry Kozonchuk Rigoberto Urán Dennis Vanendert José Mendes Michel Kreder Klaas Lodewyck Jussi Veikkanen Amets Txurruka Tomasz Marczyński Jelle Vanendert Bartosz Huzarski Steve Chainel Georg Preidler André Cardoso Maciej Paterski Geoffrey Soupe Xabier Zandio Javier Aramendia Paul Voss Nicolas Edet Juan José Oroz Zdeněk Štybar Lloyd Mondory Martin Kohler Juan Antonio Flecha Laurens ten Dam Thomas De Gendt Javier Moreno Vasil Kiryienka Andriy Hryvko Matthew Busche Guillaume Van Keirsbulck Leopold König Luis Ángel Maté Stef Clement Vicente Reynès Jorge Azanza Kevin De Weert Yoann Bagot Reinardt Janse van Rensburg Gianni Meersman Joaquim Rodríguez Julien Bérard Rafał Majka Pablo Lastras Carlos Betancur Yannick Eijssen Salvatore Puccio Maximiliano Richeze Nicolas Roche Kristof Vandewalle Chris Anker Sørensen Wesley Sulzberger Nikias Arndt Mikel Nieve Francesco Lasca Dominik Nerz Winner Anacona Simon Clarke Alex Rasmussen Luke Rowe Grega Bole Alberto Losada Koldo Fernández Christian Meier Bauke Mollema Simone Stortoni Matteo Bono Nico Sijmens Tanel Kangert Arnaud Courteille Kenny Elissonde Mitchell Docker Edvald Boasson Hagen Robert Wagner Eros Capecchi Vladimir Gusev Tiziano Dall'Antonia Alexandre Geniez Jérôme Coppel Ramon Sinkeldam Adrien Petit Michele Scarponi Johnny Hoogerland Simon Gerrans Iker Camaño Ben Gastauer Matteo Tosatto José Herrada Paolo Longo Borghini Lucas Sebastián Haedo Antonio Piedra Ángel Vicioso Francis De Greef Luis León Sánchez Laurent Mangel Danilo Wyss Manuele Mori Guillaume Boivin Pablo Urtasun Daniel Schorn Tony Martin Sam Bewley Michael Mørkøv Haimar Zubeldia Ben Hermans Adam Hansen Alessandro Vanotti Egoi Martínez Barry Markus Tom Stamsnijder Rinaldo Nocentini Nick Nuyens Warren Barguil Thierry Hupond Chris Horner Diego Ulissi Andrey Zeits Zak Dempster Thibaut Pinot Christian Knees Samuel Sánchez Oliver Zaugg Robert Kišerlovski Janez Brajkovič Mikaël Cherel David Tanner Juan Manuel Gárate Cepa Mikel Landa Wout Poels Ivan Basso Iván Velasco Matteo Montaguti Markel Irizar Rafael Valls Cédric Pineau Bart De Clercq Cayetano Sarmiento Daniel Moreno Vincenzo Nibali Ivan Santaromita Jurgen Van de Walle Massimo Graziato Imanol Erviti
Alex Rasmussen, Jorge Azanza, Amets Txurruka, Barry Markus, Juan José Oroz, Klaas Lodewyck, Julien Bérard, Tiziano Dall'Antonia, Joaquim Rodríguez and Rinaldo Nocentini participated in 2013 Vuelta a España but not 2004 Summer Olympics
Alex Rasmussen Jorge Azanza Amets Txurruka Barry Markus Juan José Oroz Klaas Lodewyck Julien Bérard Tiziano Dall'Antonia Joaquim Rodríguez Rinaldo Nocentini
action filter_type
action difference
action find_reverse
entity 2013 Vuelta a España
relation participant of
action find_reverse
entity 2004 Summer Olympics
relation participant of
type common name
{'AND': [[{'concept': 'common name'}, 'participant of', '2013 Vuelta a España'], {'NOT': [[{'concept': 'common name'}, 'participant of', '2004 Summer Olympics']]}]}
SELECT DISTINCT ?f WHERE { ?f property:participant_of resource:2013_Vuelta_a_España . MINUS { ?f property:participant_of resource:2004_Summer_Olympics } . ?f rdf:type ontology:common_name }
[]