Simple Question (Direct)
Simple Question
Q984456
P1344
Q18608583
USER
Which recurring sporting event did Pedro Martins compete in ?
(Q984456,P1344,c(Q18608583))
action filter_type
action find
entity Q984456
relation P1344
type Q18608583
['Q984456', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q18608583 . resource:Q984456 property:P1344 ?e }
Pedro Martins
action filter_type
action find
entity Pedro Martins
relation participant of
type recurring sporting event
['Pedro Martins', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:recurring_sporting_event . resource:Pedro_Martins property:participant_of ?e }
[]
recurring sporting event
Q11894661
SYSTEM
Badminton at the 2016 Summer Olympics
Q11894661
(Q984456,P1344,c(Q18608583))
action filter_type
action find
entity Q984456
relation P1344
type Q18608583
Pedro Martins competed in [ANSWER]
['Q984456', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q18608583 . resource:Q984456 property:P1344 ?e }
Badminton at the 2016 Summer Olympics
Pedro Martins competed in Badminton at the 2016 Summer Olympics
Badminton at the 2016 Summer Olympics
action filter_type
action find
entity Pedro Martins
relation participant of
type recurring sporting event
['Pedro Martins', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:recurring_sporting_event . resource:Pedro_Martins property:participant_of ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q984456
P710
Q18536594
USER
What event was that person a participant of ?
(c(Q18536594),P710,Q11894661)
action filter_type
action find_reverse
entity Q984456
relation P710
type Q18536594
[{'concept': 'Q18536594'}, 'P710', 'Q11894661']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q18536594 . ?f property:P710 resource:Q984456 }
Pedro Martins
action filter_type
action find_reverse
entity Pedro Martins
relation participant
type Olympic sporting event
[{'concept': 'Olympic sporting event'}, 'participant', 'Badminton at the 2016 Summer Olympics']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Olympic_sporting_event . ?f property:participant resource:Pedro_Martins }
[]
Olympic sporting event
Q1140736
SYSTEM
Badminton at the 2012 Summer Olympics – Men's singles
Q1140736
(c(Q18536594),P710,Q11894661)
action filter_type
action find_reverse
entity Q984456
relation P710
type Q18536594
What event was that person a participant of
[{'concept': 'Q18536594'}, 'P710', 'Q11894661']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q18536594 . ?f property:P710 resource:Q984456 }
Badminton at the 2012 Summer Olympics – Men's singles
What event was that person a participant of
Badminton at the 2012 Summer Olympics – Men's singles
action filter_type
action find_reverse
entity Pedro Martins
relation participant
type Olympic sporting event
[{'concept': 'Olympic sporting event'}, 'participant', 'Badminton at the 2016 Summer Olympics']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Olympic_sporting_event . ?f property:participant resource:Pedro_Martins }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1140736 Q983488 Q64564
P710
Q502895
USER
Was Edwin Ekiring and Daniel Domscheit-Berg a participant of Q1140736 ?
(Q1140736,P710,Q983488) (Q1140736,P710,Q64564)
action is_in
entity Q1140736
action intersection
action find_reverse
entity Q983488
relation P710
action find_reverse
entity Q64564
relation P710
['Q1140736', 'P710', 'Q983488'] ['Q1140736', 'P710', 'Q64564']
ASK WHERE { resource:Q1140736 property:P710 resource:Q983488 . resource:Q1140736 property:P710 resource:Q64564 }
Badminton at the 2012 Summer Olympics – Men's singles Edwin Ekiring Daniel Domscheit-Berg
action is_in
entity Badminton at the 2012 Summer Olympics – Men's singles
action intersection
action find_reverse
entity Edwin Ekiring
relation participant
action find_reverse
entity Daniel Domscheit-Berg
relation participant
["Badminton at the 2012 Summer Olympics – Men's singles", 'participant', 'Edwin Ekiring'] ["Badminton at the 2012 Summer Olympics – Men's singles", 'participant', 'Daniel Domscheit-Berg']
ASK WHERE { resource:Badminton_at_the_2012_Summer_Olympics_–_Men's_singles property:participant resource:Edwin_Ekiring . resource:Badminton_at_the_2012_Summer_Olympics_–_Men's_singles property:participant resource:Daniel_Domscheit-Berg }
[]
common name
SYSTEM
YES and NO respectively
(Q1140736,P710,Q983488) (Q1140736,P710,Q64564)
action is_in
entity Q1140736
action intersection
action find_reverse
entity Q983488
relation P710
action find_reverse
entity Q64564
relation P710
[ANSWER]
['Q1140736', 'P710', 'Q983488'] ['Q1140736', 'P710', 'Q64564']
ASK WHERE { resource:Q1140736 property:P710 resource:Q983488 . resource:Q1140736 property:P710 resource:Q64564 }
YES and NO respectively
action is_in
entity Badminton at the 2012 Summer Olympics – Men's singles
action intersection
action find_reverse
entity Edwin Ekiring
relation participant
action find_reverse
entity Daniel Domscheit-Berg
relation participant
["Badminton at the 2012 Summer Olympics – Men's singles", 'participant', 'Edwin Ekiring'] ["Badminton at the 2012 Summer Olympics – Men's singles", 'participant', 'Daniel Domscheit-Berg']
ASK WHERE { resource:Badminton_at_the_2012_Summer_Olympics_–_Men's_singles property:participant resource:Edwin_Ekiring . resource:Badminton_at_the_2012_Summer_Olympics_–_Men's_singles property:participant resource:Daniel_Domscheit-Berg }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q468936 Q983488
P710
Q18536594
USER
Which Olympic sporting events did Edwin Ekiring or Simone Prutsch participate in ?
OR((c(Q18536594),P710,Q983488), (c(Q18536594),P710,Q468936))
action filter_type
action union
action find_reverse
entity Q983488
relation P710
action find_reverse
entity Q468936
relation P710
type Q18536594
{'OR': [[{'concept': 'Q18536594'}, 'P710', 'Q983488'], [{'concept': 'Q18536594'}, 'P710', 'Q468936']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q18536594 . { VALUES ( ?s ) { ( resource:Q983488 ) ( resource:Q468936 ) } . ?o property:P710 ?s } }
Simone Prutsch Edwin Ekiring
action filter_type
action union
action find_reverse
entity Edwin Ekiring
relation participant
action find_reverse
entity Simone Prutsch
relation participant
type Olympic sporting event
{'OR': [[{'concept': 'Olympic sporting event'}, 'participant', 'Edwin Ekiring'], [{'concept': 'Olympic sporting event'}, 'participant', 'Simone Prutsch']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Olympic_sporting_event . { VALUES ( ?s ) { ( resource:Edwin_Ekiring ) ( resource:Simone_Prutsch ) } . ?o property:participant ?s } }
[]
Olympic sporting event
Q1076273 Q1140736 Q1345726
SYSTEM
Badminton at the 2008 Summer Olympics – Men's singles, Badminton at the 2012 Summer Olympics – Men's singles, Badminton at the 2012 Summer Olympics – Women's singles
Q1076273 Q1140736 Q1345726
OR((c(Q18536594),P710,Q983488), (c(Q18536594),P710,Q468936))
action filter_type
action union
action find_reverse
entity Q983488
relation P710
action find_reverse
entity Q468936
relation P710
type Q18536594
Edwin Ekiring or Simone Prutsch participated in [ANSWERS]
{'OR': [[{'concept': 'Q18536594'}, 'P710', 'Q983488'], [{'concept': 'Q18536594'}, 'P710', 'Q468936']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q18536594 . { VALUES ( ?s ) { ( resource:Q983488 ) ( resource:Q468936 ) } . ?o property:P710 ?s } }
Badminton at the 2008 Summer Olympics – Men's singles Badminton at the 2012 Summer Olympics – Men's singles Badminton at the 2012 Summer Olympics – Women's singles
Edwin Ekiring or Simone Prutsch participated in Badminton at the 2008 Summer Olympics – Men's singles, Badminton at the 2012 Summer Olympics – Men's singles and Badminton at the 2012 Summer Olympics – Women's singles
Badminton at the 2008 Summer Olympics – Men's singles Badminton at the 2012 Summer Olympics – Men's singles Badminton at the 2012 Summer Olympics – Women's singles
action filter_type
action union
action find_reverse
entity Edwin Ekiring
relation participant
action find_reverse
entity Simone Prutsch
relation participant
type Olympic sporting event
{'OR': [[{'concept': 'Olympic sporting event'}, 'participant', 'Edwin Ekiring'], [{'concept': 'Olympic sporting event'}, 'participant', 'Simone Prutsch']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Olympic_sporting_event . { VALUES ( ?s ) { ( resource:Edwin_Ekiring ) ( resource:Simone_Prutsch ) } . ?o property:participant ?s } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1444
Q486972 Q13539802 Q18608583
USER
Which recurring sporting events have max number of human settlements or places with town privileges as their destination point ?
(c(Q18608583),P1444,c(Q486972)|c(Q13539802))
action argmax
action union
action find_tuple_counts
relation P1444
type Q18608583
type Q486972
action find_tuple_counts
relation P1444
type Q18608583
type Q13539802
[{'concept': 'Q18608583'}, 'P1444', [{'concept': 'Q486972'}, {'concept': 'Q13539802'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?e ) { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?h ) WHERE { ?u rdf:type ?y . VALUES ( ?y ) { ( ontology:Q486972 ) ( ontology:Q13539802 ) } } GROUP BY ?f } } . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?k ) WHERE { { ?l property:P1444 ?t . ?t rdf:type ontology:Q486972 . ?l rdf:type ontology:Q18608583 } UNION { ?l property:P1444 ?t . ?l rdf:type ontology:Q18608583 . ?t rdf:type ontology:Q13539802 } } GROUP BY ?l } . FILTER ( ?k = ?e ) }
action argmax
action union
action find_tuple_counts
relation destination point
type recurring sporting event
type human settlement
action find_tuple_counts
relation destination point
type recurring sporting event
type place with town rights and privileges
[{'concept': 'recurring sporting event'}, 'destination point', [{'concept': 'human settlement'}, {'concept': 'place with town rights and privileges'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?e ) { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?h ) WHERE { ?u rdf:type ?y . VALUES ( ?y ) { ( ontology:human_settlement ) ( ontology:place_with_town_rights_and_privileges ) } } GROUP BY ?f } } . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?k ) WHERE { { ?l property:destination_point ?t . ?t rdf:type ontology:human_settlement . ?l rdf:type ontology:recurring_sporting_event } UNION { ?l property:destination_point ?t . ?l rdf:type ontology:recurring_sporting_event . ?t rdf:type ontology:place_with_town_rights_and_privileges } } GROUP BY ?l } . FILTER ( ?k = ?e ) }
[]
human settlement place with town rights and privileges recurring sporting event
Q22041575 Q22029432 Q18710420
SYSTEM
2011   Copper Basin 300, 2016 Copper Basin 300, 2015 E3 Harelbeke
Q22041575 Q19576833 Q22029432 Q10949486 Q18710420
(c(Q18608583),P1444,c(Q486972)|c(Q13539802))
action argmax
action union
action find_tuple_counts
relation P1444
type Q18608583
type Q486972
action find_tuple_counts
relation P1444
type Q18608583
type Q13539802
[ANSWERS]
[{'concept': 'Q18608583'}, 'P1444', [{'concept': 'Q486972'}, {'concept': 'Q13539802'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?e ) { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?h ) WHERE { ?u rdf:type ?y . VALUES ( ?y ) { ( ontology:Q486972 ) ( ontology:Q13539802 ) } } GROUP BY ?f } } . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?k ) WHERE { { ?l property:P1444 ?t . ?t rdf:type ontology:Q486972 . ?l rdf:type ontology:Q18608583 } UNION { ?l property:P1444 ?t . ?l rdf:type ontology:Q18608583 . ?t rdf:type ontology:Q13539802 } } GROUP BY ?l } . FILTER ( ?k = ?e ) }
2011   Copper Basin 300 2015 Tour de Pologne 2016 Copper Basin 300 2002 La Flèche Wallonne 2015 E3 Harelbeke
2011 Copper Basin 300, 2016 Copper Basin 300 and 2015 E3 Harelbeke have max number of human settlements or places with town privileges as their destination point
2011   Copper Basin 300 2016 Copper Basin 300 2015 E3 Harelbeke
action argmax
action union
action find_tuple_counts
relation destination point
type recurring sporting event
type human settlement
action find_tuple_counts
relation destination point
type recurring sporting event
type place with town rights and privileges
[{'concept': 'recurring sporting event'}, 'destination point', [{'concept': 'human settlement'}, {'concept': 'place with town rights and privileges'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?e ) { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?h ) WHERE { ?u rdf:type ?y . VALUES ( ?y ) { ( ontology:human_settlement ) ( ontology:place_with_town_rights_and_privileges ) } } GROUP BY ?f } } . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?k ) WHERE { { ?l property:destination_point ?t . ?t rdf:type ontology:human_settlement . ?l rdf:type ontology:recurring_sporting_event } UNION { ?l property:destination_point ?t . ?l rdf:type ontology:recurring_sporting_event . ?t rdf:type ontology:place_with_town_rights_and_privileges } } GROUP BY ?l } . FILTER ( ?k = ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1076273
P710
Q502895
USER
How many people attended Badminton at the 2008 Summer Olympics – Men's singles ?
(Q1076273,P710,c(Q502895))
action count
action filter_type
action find
entity Q1076273
relation P710
type Q502895
['Q1076273', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Q1076273 property:P710 ?e . ?e rdf:type ontology:Q502895 }
Badminton at the 2008 Summer Olympics – Men's singles
action count
action filter_type
action find
entity Badminton at the 2008 Summer Olympics – Men's singles
relation participant
type common name
["Badminton at the 2008 Summer Olympics – Men's singles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Badminton_at_the_2008_Summer_Olympics_–_Men's_singles property:participant ?e . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
41
Q731914 Q1387668 Q363540 Q983375 Q319346 Q983379 Q983449 Q612515 Q506331 Q958317 Q678450 Q983474 Q1363126 Q717789 Q709411 Q63693 Q1390341 Q249594 Q972401 Q738936 Q983384 Q744515 Q1738878 Q893081 Q132267 Q1737254 Q660145 Q1387740 Q1387653 Q2128976 Q688088 Q504363 Q2094970 Q935323 Q562083 Q703233 Q983488 Q15223 Q707205 Q489232 Q949360
(Q1076273,P710,c(Q502895))
action count
action filter_type
action find
entity Q1076273
relation P710
type Q502895
[ANSWER]
['Q1076273', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Q1076273 property:P710 ?e . ?e rdf:type ontology:Q502895 }
Sony Dwi Kuncoro Raul Must Peter Gade Marco Vasconcelos Lee Chong Wei Nabil Lasmari Przemysław Wacha Anup Sridhar Andrew Smith Nguyễn Tiến Minh John Moody Pablo Abián Erwin Kehlhoffner Hsieh Yu-Hsing Ng Wei Marc Zwiebler Lin Dan Scott Evans Kevin Cordón Bao Chunlai Stuart Gomez Ville Lång Kenneth Jonassen Boonsak Ponsana Eli Mambwe Kaveh Mehrabi Taufik Hidayat Petr Koukal Shoji Sato Raju Rai Christian Bösiger Andrew Dabeka Vladislav Druzchenko Chen Jin Lee Hyun-il Wong Choong Hann Edwin Ekiring Stanislav Pukhov Ronald Susilo Park Sung-hwan Kęstutis Navickas
41
action count
action filter_type
action find
entity Badminton at the 2008 Summer Olympics – Men's singles
relation participant
type common name
["Badminton at the 2008 Summer Olympics – Men's singles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Badminton_at_the_2008_Summer_Olympics_–_Men's_singles property:participant ?e . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q27799355
P710
Q502895
USER
And also tell me about 1999 Japanese Badminton Championships – Women's doubles?
(Q27799355,P710,c(Q502895))
action count
action filter_type
action find
entity Q27799355
relation P710
type Q502895
['Q27799355', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { resource:Q27799355 property:P710 ?u . ?u rdf:type ontology:Q502895 }
1999 Japanese Badminton Championships – Women's doubles
action count
action filter_type
action find
entity 1999 Japanese Badminton Championships – Women's doubles
relation participant
type common name
["1999 Japanese Badminton Championships – Women's doubles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { resource:1999_Japanese_Badminton_Championships_–_Women's_doubles property:participant ?u . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q2389046 Q435448
(Q27799355,P710,c(Q502895))
action count
action filter_type
action find
entity Q27799355
relation P710
type Q502895
[ANSWER]
['Q27799355', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { resource:Q27799355 property:P710 ?u . ?u rdf:type ontology:Q502895 }
Takae Masumo Chikako Nakayama
2
action count
action filter_type
action find
entity 1999 Japanese Badminton Championships – Women's doubles
relation participant
type common name
["1999 Japanese Badminton Championships – Women's doubles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { resource:1999_Japanese_Badminton_Championships_–_Women's_doubles property:participant ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q27340348
Q502895
USER
And what about 1972 All England Badminton Championships – Women's singles?
(Q27340348,P710,c(Q502895))
action count
action filter_type
action find
entity Q27340348
relation P710
type Q502895
['Q27340348', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r rdf:type ontology:Q502895 . resource:Q27340348 property:P710 ?r }
1972 All England Badminton Championships – Women's singles
action count
action filter_type
action find
entity 1972 All England Badminton Championships – Women's singles
relation participant
type common name
["1972 All England Badminton Championships – Women's singles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r rdf:type ontology:common_name . resource:1972_All_England_Badminton_Championships_–_Women's_singles property:participant ?r }
[]
common name
SYSTEM
4
(Q27340348,P710,c(Q502895))
action count
action filter_type
action find
entity Q27340348
relation P710
type Q502895
[ANSWER]
['Q27340348', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r rdf:type ontology:Q502895 . resource:Q27340348 property:P710 ?r }
4
action count
action filter_type
action find
entity 1972 All England Badminton Championships – Women's singles
relation participant
type common name
["1972 All England Badminton Championships – Women's singles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { ?r rdf:type ontology:common_name . resource:1972_All_England_Badminton_Championships_–_Women's_singles property:participant ?r }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q9772
P1444
Q13220204 Q18608583
USER
Which administrative country subdivisions do the journey end for lesser number of recurring sporting events than Meerssen ?
(c(Q18608583),P1444,c(Q13220204))
action less
action find_reverse_tuple_counts
relation P1444
type Q13220204
type Q18608583
action count
action filter_type
action find_reverse
entity Q9772
relation P1444
type Q18608583
[{'concept': 'Q18608583'}, 'P1444', {'concept': 'Q13220204'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:P1444 ?w . ?w rdf:type ontology:Q13220204 . ?x rdf:type ontology:Q18608583 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:P1444 resource:Q9772 . ?u rdf:type ontology:Q18608583 } } . FILTER ( ?q < ?i ) }
Meerssen
action less
action find_reverse_tuple_counts
relation destination point
type second-level administrative country subdivision
type recurring sporting event
action count
action filter_type
action find_reverse
entity Meerssen
relation destination point
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'destination point', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:destination_point ?w . ?w rdf:type ontology:second-level_administrative_country_subdivision . ?x rdf:type ontology:recurring_sporting_event } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:destination_point resource:Meerssen . ?u rdf:type ontology:recurring_sporting_event } } . FILTER ( ?q < ?i ) }
[]
second-level administrative country subdivision recurring sporting event
Q10081 Q101918 Q1435
SYSTEM
Terneuzen, Apeldoorn, Zagreb
Q64087 Q236744 Q70108 Q82119 Q48278 Q66604 Q101341 Q690142 Q488955 Q10081 Q10082 Q1435 Q68256 Q10005 Q39383 Q109494 Q101918 Q52685 Q21079234 Q211260 Q27587 Q2735908 Q9799 Q3549 Q73065 Q156125 Q65679 Q1663 Q586722 Q14641 Q68877 Q70202 Q179948 Q269667 Q68097 Q69126 Q65816 Q108025 Q65877 Q850211 Q9802 Q5420 Q2841 Q157144 Q9781 Q372840 Q3370
(c(Q18608583),P1444,c(Q13220204))
action less
action find_reverse_tuple_counts
relation P1444
type Q13220204
type Q18608583
action count
action filter_type
action find_reverse
entity Q9772
relation P1444
type Q18608583
[ANSWERS] the journey end for lesser number of recur sporting events than Meerssen
[{'concept': 'Q18608583'}, 'P1444', {'concept': 'Q13220204'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:P1444 ?w . ?w rdf:type ontology:Q13220204 . ?x rdf:type ontology:Q18608583 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:P1444 resource:Q9772 . ?u rdf:type ontology:Q18608583 } } . FILTER ( ?q < ?i ) }
Baar Tunja Düdingen A Coruña Province Antioquia - Medellín Risch-Rotkreuz Lillehammer Olivone Målselv Terneuzen Tholen Zagreb Porrentruy Hellendoorn Bodø Odda Apeldoorn Champagne Gippingen Zaandam Sandnes Philippine Heerlen Šibenik Veendam Larvik Amden Split Loulé Municipality Emmen Finhaut Moudon Évora Rheinfelden Davos Möhlin Jonschwil Sarpsborg Embrach Slochteren Echt-Susteren Varaždin Bogotá Vinnytsia Sittard-Geleen Tavira Municipality Zadar
Terneuzen, Apeldoorn and Zagreb the journey end for lesser number of recur sporting events than Meerssen
Terneuzen Apeldoorn Zagreb
action less
action find_reverse_tuple_counts
relation destination point
type second-level administrative country subdivision
type recurring sporting event
action count
action filter_type
action find_reverse
entity Meerssen
relation destination point
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'destination point', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:destination_point ?w . ?w rdf:type ontology:second-level_administrative_country_subdivision . ?x rdf:type ontology:recurring_sporting_event } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:destination_point resource:Meerssen . ?u rdf:type ontology:recurring_sporting_event } } . FILTER ( ?q < ?i ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24231374 Q18710420
P1346
Q502895
USER
Which people were the champions of 2015 E3 Harelbeke or Ingeborg Bachmann Award 2016 ?
OR((Q18710420,P1346,c(Q502895)), (Q24231374,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q18710420
relation P1346
action find
entity Q24231374
relation P1346
type Q502895
{'OR': [['Q18710420', 'P1346', {'concept': 'Q502895'}], ['Q24231374', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q24231374 property:P1346 ?z } UNION { resource:Q18710420 property:P1346 ?z } } . ?z rdf:type ontology:Q502895 }
Ingeborg Bachmann Award 2016 2015 E3 Harelbeke
action filter_type
action union
action find
entity 2015 E3 Harelbeke
relation winner
action find
entity Ingeborg Bachmann Award 2016
relation winner
type common name
{'OR': [['2015 E3 Harelbeke', 'winner', {'concept': 'common name'}], ['Ingeborg Bachmann Award 2016', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Ingeborg_Bachmann_Award_2016 property:winner ?z } UNION { resource:2015_E3_Harelbeke property:winner ?z } } . ?z rdf:type ontology:common_name }
[]
common name
Q1223080 Q971841 Q25301101 Q24199819 Q356327 Q169109 Q23059289
SYSTEM
Dieter Zwicky, Matteo Trentin, Julia Wolf, Sharon Dodua Otoo, Geraint Thomas, Zdeněk Štybar, Stefanie Sargnagel
Q1223080 Q971841 Q25301101 Q24199819 Q356327 Q169109 Q23059289
OR((Q18710420,P1346,c(Q502895)), (Q24231374,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q18710420
relation P1346
action find
entity Q24231374
relation P1346
type Q502895
[ANSWERS] were the champions of 2015 E3 Harelbeke or Ingeborg Bachmann Award 2016
{'OR': [['Q18710420', 'P1346', {'concept': 'Q502895'}], ['Q24231374', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q24231374 property:P1346 ?z } UNION { resource:Q18710420 property:P1346 ?z } } . ?z rdf:type ontology:Q502895 }
Dieter Zwicky Matteo Trentin Julia Wolf Sharon Dodua Otoo Geraint Thomas Zdeněk Štybar Stefanie Sargnagel
Dieter Zwicky, Matteo Trentin, Julia Wolf, Sharon Dodua Otoo, Geraint Thomas, Zdeněk Štybar and Stefanie Sargnagel were the champions of 2015 E3 Harelbeke or Ingeborg Bachmann Award 2016
Dieter Zwicky Matteo Trentin Julia Wolf Sharon Dodua Otoo Geraint Thomas Zdeněk Štybar Stefanie Sargnagel
action filter_type
action union
action find
entity 2015 E3 Harelbeke
relation winner
action find
entity Ingeborg Bachmann Award 2016
relation winner
type common name
{'OR': [['2015 E3 Harelbeke', 'winner', {'concept': 'common name'}], ['Ingeborg Bachmann Award 2016', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Ingeborg_Bachmann_Award_2016 property:winner ?z } UNION { resource:2015_E3_Harelbeke property:winner ?z } } . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1223080
P136
Q483394
USER
What can be considered as category for Dieter Zwicky ?
(Q1223080,P136,c(Q483394))
action filter_type
action find
entity Q1223080
relation P136
type Q483394
['Q1223080', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q483394 . resource:Q1223080 property:P136 ?u }
Dieter Zwicky
action filter_type
action find
entity Dieter Zwicky
relation genre
type genre
['Dieter Zwicky', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:genre . resource:Dieter_Zwicky property:genre ?u }
[]
genre
Q49084
SYSTEM
short story
Q49084
(Q1223080,P136,c(Q483394))
action filter_type
action find
entity Q1223080
relation P136
type Q483394
The [ANSWER] can be considered as category for Dieter Zwicky
['Q1223080', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q483394 . resource:Q1223080 property:P136 ?u }
short story
The short story can be considered as category for Dieter Zwicky
short story
action filter_type
action find
entity Dieter Zwicky
relation genre
type genre
['Dieter Zwicky', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:genre . resource:Dieter_Zwicky property:genre ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49084
P425
Q12737077
USER
Which occupation does that genre belong to ?
(c(Q12737077),P425,Q49084)
action filter_type
action find_reverse
entity Q49084
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q49084']
SELECT DISTINCT ?y WHERE { ?y property:P425 resource:Q49084 . ?y rdf:type ontology:Q12737077 }
short story
action filter_type
action find_reverse
entity short story
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'short story']
SELECT DISTINCT ?y WHERE { ?y property:field_of_this_occupation resource:short_story . ?y rdf:type ontology:occupation }
[]
occupation
Q15949613
SYSTEM
short story writer
Q15949613
(c(Q12737077),P425,Q49084)
action filter_type
action find_reverse
entity Q49084
relation P425
type Q12737077
That genre belongs to [ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q49084']
SELECT DISTINCT ?y WHERE { ?y property:P425 resource:Q49084 . ?y rdf:type ontology:Q12737077 }
short story writer
That genre belongs to short story writer
short story writer
action filter_type
action find_reverse
entity short story
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'short story']
SELECT DISTINCT ?y WHERE { ?y property:field_of_this_occupation resource:short_story . ?y rdf:type ontology:occupation }
[]