Simple Question (Direct)
Simple Question
Q448817
P19
Q15617994
USER
Which administrative territory was Steffi Martin born at ?
(Q448817,P19,c(Q15617994))
action filter_type
action find
entity Q448817
relation P19
type Q15617994
['Q448817', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q448817 property:P19 ?n . ?n rdf:type ontology:Q15617994 }
Steffi Martin
action filter_type
action find
entity Steffi Martin
relation place of birth
type designation for an administrative territorial entity
['Steffi Martin', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Steffi_Martin property:place_of_birth ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q57711
SYSTEM
Bad Schlema
Q57711
(Q448817,P19,c(Q15617994))
action filter_type
action find
entity Q448817
relation P19
type Q15617994
Steffi Martin was born in [ANSWER]
['Q448817', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q448817 property:P19 ?n . ?n rdf:type ontology:Q15617994 }
Bad Schlema
Steffi Martin was born in Bad Schlema
Bad Schlema
action filter_type
action find
entity Steffi Martin
relation place of birth
type designation for an administrative territorial entity
['Steffi Martin', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Steffi_Martin property:place_of_birth ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q448817
P641
Q31629
USER
Which type of sport was that person a part of ?
(Q57711,P641,c(Q31629))
action filter_type
action find
entity Q448817
relation P641
type Q31629
['Q57711', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { resource:Q448817 property:P641 ?q . ?q rdf:type ontology:Q31629 }
Steffi Martin
action filter_type
action find
entity Steffi Martin
relation sport
type type of sport
['Bad Schlema', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { resource:Steffi_Martin property:sport ?q . ?q rdf:type ontology:type_of_sport }
[]
type of sport
Q273285
SYSTEM
luge
Q273285
(Q57711,P641,c(Q31629))
action filter_type
action find
entity Q448817
relation P641
type Q31629
The [ANSWER] was that person a part of
['Q57711', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { resource:Q448817 property:P641 ?q . ?q rdf:type ontology:Q31629 }
luge
The luge was that person a part of
luge
action filter_type
action find
entity Steffi Martin
relation sport
type type of sport
['Bad Schlema', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { resource:Steffi_Martin property:sport ?q . ?q rdf:type ontology:type_of_sport }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q273285
P21 P641
Q502895
USER
Which people are known to play luge and have the gender as male ?
AND((c(Q502895),P641,Q273285), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q273285
relation P641
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q273285'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i property:P641 resource:Q273285 . ?i property:P21 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
male luge
action filter_type
action intersection
action find_reverse
entity luge
relation sport
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'luge'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i property:sport resource:luge . ?i property:gender resource:male . ?i rdf:type ontology:common_name }
[]
common name
Q710846 Q67843 Q962578 Q60711 Q4341437 Q459610 Q245814 Q241633 Q469772 Q367601
SYSTEM
Some of them are Ma Chih-hung, Wolfgang Scheidel, Georg Fluckinger, Felix Loch, Semen Pavlichenko, Wendel Suckow, Ralf Palik, Ewald Walch, Anton Winkler, Reinhard Bredow
Q15273961 Q86445 Q347993 Q245814 Q67755 Q71595 Q727455 Q1201213 Q68141 Q1352768 Q2077126 Q727595 Q1971241 Q63530 Q16269649 Q1026743 Q479926 Q1026747 Q685841 Q680466 Q65473 Q2615712 Q471649 Q876090 Q467828 Q568695 Q3432610 Q873796 Q39588 Q4215033 Q686638 Q459610 Q324294 Q515804 Q1886557 Q568608 Q3378 Q1649519 Q1972250 Q473431 Q15968593 Q15968592 Q682451 Q319528 Q70947 Q63112 Q507470 Q692318 Q4281227 Q1581676 Q954516 Q69399 Q551571 Q68276 Q194003 Q505828 Q962578 Q3432305 Q523738 Q719522 Q912693 Q3897759 Q4422867 Q139616 Q2283592 Q473425 Q719540 Q3814808 Q180421 Q1265411 Q3431453 Q544210 Q716265 Q688889 Q1356129 Q471686 Q193690 Q322889 Q595077 Q2587415 Q686652 Q728086 Q15720892 Q71312 Q992994 Q695370 Q1090590 Q1555019 Q2562347 Q68641 Q671575 Q4067342 Q1577408 Q2562914 Q710846 Q467884 Q722133 Q957923 Q820885 Q567096 Q691438 Q471481 Q511890 Q1317411 Q469772 Q469676 Q1705858 Q7499240 Q715569 Q568566 Q319658 Q60711 Q712749 Q2562417 Q518540 Q499325 Q1184678 Q1387930 Q68693 Q2339740 Q78342 Q383087 Q597423 Q674004 Q508334 Q224466 Q3525158 Q325775 Q981381 Q357752 Q193999 Q3839173 Q65670 Q467845 Q3432354 Q1077810 Q72320 Q675550 Q4341437 Q67843 Q63549 Q4158059 Q546240 Q142746 Q120420 Q672768 Q937658 Q2462705 Q241633 Q673730 Q3713347 Q367601 Q1684421
AND((c(Q502895),P641,Q273285), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q273285
relation P641
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are known to play luge and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q273285'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i property:P641 resource:Q273285 . ?i property:P21 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
Chris Eißler Toni Eggert Armin Zöggeler Ralf Palik Jan Behrendt Johannes Ludwig Viktor Kneib Detlef Bertz Jan-Armin Eichhorn Karl Brunner Gerhard Gleirscher Patrick Gruber Wilfried Huber Andi Langenhan Frank Masley Aleksandr Belyakov Wolfgang Winkler Yevgeny Vladimirovich Belousov Alexander Resch Christian Oberstolz Stefan Krauße Markus Schmidt Horst Hörnlein Josef Feistmantl Norbert Hahn Torsten Wustlich Stepan Fedorov Reinhard Egger Georg Hackl Gregory Carigiet Georg Fischler Wendel Suckow René Friedl Markus Prock Peter Gschnitzer Klaus Bonsack Steffen Wöller Preston Griffall Paul Hildgartner Yves Mankel Ion Pervilhac Pierre Larchier Wolfgang Kindl Michael Walter Hans Stangassinger David Möller Wolfgang Linger Daniel Pfister Reiner Margreiter Hans Peter Fischnaller Gerhard Plankensteiner Bernhard Glass Harald Ehrig Jochen Pietzsch Justin Snith Wolfgang Staudinger Georg Fluckinger Yuri Kharchenko Hans Rinn Reinhold Rainer Brian Martin Patrick Rastner Jaroslav Slavík Inārs Kivlenieks Sigisfredo Mair Thomas Rudolph Tony Benshoof Kevin Fischnaller Samuel Edney Duncan Kennedy Rubén González Fritz Nachmann Sergey Danilin Helmut Thaler Kurt Brugger Thomas Schwab Nodar Kumaritashvili Steffen Skel Dan Joye Vladimir Prokhorov Peter Penz Vladimir Makhnutin Tucker West Josef Fendt Bruno Banani Arnold Huber Clay Ives Guntis Rēķis Rudolf Schmid Tobias Arlt Markus Kleinheinz Vladislav Antonov Hans-Joachim Menge Reinhold Senn Ma Chih-hung Wolfram Fiedler Juris Šics Norbert Huber Sascha Benecken Thomas Köhler Manfred Schmid Mārtiņš Rubenis Andris Šics Julian von Schleinitz Anton Winkler Hans Plenk Josef Strillinger Shiva Keshavan Albert Demtschenko Dettlef Günther Balthasar Schwarm Felix Loch Ernst Haspinger Franz Schachner André Florschütz Andreas Linger Mark Grimmette Oswald Haselrieder Tobias Wendl Karl Schrott Hans Brandner Christian Niccum Hansjörg Raffl Bibi Torriani Jerzy Wojnar Miroslav Zajonc Thomas Girod Tobias Schiegl Walter Aussendorfer Maciej Kurowski Tristan Walker Ludwig Rieder Jens Müller Franz Wembacher Valery Dudin Chris Thorpe Jörg Hoffmann Vladislav Yuzhakov Semen Pavlichenko Wolfgang Scheidel Patric Leitner Alexander Denisyev Gordon Sheer Walter Plaikner David Mair Markus Schiegl Chris Mazdzer Tyler Seitz Ewald Walch Stefan Höhener Dominik Fischnaller Reinhard Bredow Jayson Terdiman
Ma Chih-hung, Wolfgang Scheidel, Georg Fluckinger, Felix Loch, Semen Pavlichenko, Wendel Suckow, Ralf Palik, Ewald Walch, Anton Winkler and Reinhard Bredow are known to play luge and have the gender as male
Ma Chih-hung Wolfgang Scheidel Georg Fluckinger Felix Loch Semen Pavlichenko Wendel Suckow Ralf Palik Ewald Walch Anton Winkler Reinhard Bredow
action filter_type
action intersection
action find_reverse
entity luge
relation sport
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'luge'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i property:sport resource:luge . ?i property:gender resource:male . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q469772
P1344
Q15900616
USER
What did Anton Winkler participate in ?
(Q469772,P1344,c(Q15900616))
action filter_type
action find
entity Q469772
relation P1344
type Q15900616
['Q469772', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?l WHERE { resource:Q469772 property:P1344 ?l . ?l rdf:type ontology:Q15900616 }
Anton Winkler
action filter_type
action find
entity Anton Winkler
relation participant of
type event sequence
['Anton Winkler', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?l WHERE { resource:Anton_Winkler property:participant_of ?l . ?l rdf:type ontology:event_sequence }
[]
event sequence
Q9652 Q9651
SYSTEM
1980 Winter Olympics, 1976 Winter Olympics
Q9652 Q9651
(Q469772,P1344,c(Q15900616))
action filter_type
action find
entity Q469772
relation P1344
type Q15900616
Anton Winkler participated in [ANSWERS]
['Q469772', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?l WHERE { resource:Q469772 property:P1344 ?l . ?l rdf:type ontology:Q15900616 }
1980 Winter Olympics 1976 Winter Olympics
Anton Winkler participated in 1980 Winter Olympics and 1976 Winter Olympics
1980 Winter Olympics 1976 Winter Olympics
action filter_type
action find
entity Anton Winkler
relation participant of
type event sequence
['Anton Winkler', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?l WHERE { resource:Anton_Winkler property:participant_of ?l . ?l rdf:type ontology:event_sequence }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q504942
Q15900616
USER
And what about Vladimir Krutov?
(Q504942,P1344,c(Q15900616))
action filter_type
action find
entity Q504942
relation P1344
type Q15900616
['Q504942', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?f WHERE { resource:Q504942 property:P1344 ?f . ?f rdf:type ontology:Q15900616 }
Vladimir Krutov
action filter_type
action find
entity Vladimir Krutov
relation participant of
type event sequence
['Vladimir Krutov', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?f WHERE { resource:Vladimir_Krutov property:participant_of ?f . ?f rdf:type ontology:event_sequence }
[]
event sequence
Q9652 Q9658 Q9657
SYSTEM
1980 Winter Olympics, 1988 Winter Olympics, 1984 Winter Olympics
Q9652 Q9658 Q9657
(Q504942,P1344,c(Q15900616))
action filter_type
action find
entity Q504942
relation P1344
type Q15900616
[ANSWERS]
['Q504942', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?f WHERE { resource:Q504942 property:P1344 ?f . ?f rdf:type ontology:Q15900616 }
1980 Winter Olympics 1988 Winter Olympics 1984 Winter Olympics
1980 Winter Olympics 1988 Winter Olympics 1984 Winter Olympics
action filter_type
action find
entity Vladimir Krutov
relation participant of
type event sequence
['Vladimir Krutov', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?f WHERE { resource:Vladimir_Krutov property:participant_of ?f . ?f rdf:type ontology:event_sequence }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q189472
P641
Q31629 Q12973014 Q18608583
USER
How many types of sport were more number of sports teams or recurring sporting events a part of than freestyle skiing ?
(c(Q12973014)|c(Q18608583),P641,c(Q31629))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q189472
relation P641
type Q12973014
type Q18608583
[[{'concept': 'Q12973014'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?q WHERE { { ?x property:P641 ?q . ?q rdf:type ontology:Q31629 . ?x rdf:type ontology:Q12973014 } UNION { ?q rdf:type ontology:Q31629 . ?x rdf:type ontology:Q18608583 . ?x property:P641 ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { VALUES ( ?i ) { ( ontology:Q12973014 ) ( ontology:Q18608583 ) } . ?s rdf:type ?i } . ?s property:P641 resource:Q189472 } } . FILTER ( ?a > ?b ) }
freestyle skiing
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity freestyle skiing
relation sport
type sports team
type recurring sporting event
[[{'concept': 'sports team'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?q WHERE { { ?x property:sport ?q . ?q rdf:type ontology:type_of_sport . ?x rdf:type ontology:sports_team } UNION { ?q rdf:type ontology:type_of_sport . ?x rdf:type ontology:recurring_sporting_event . ?x property:sport ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { VALUES ( ?i ) { ( ontology:sports_team ) ( ontology:recurring_sporting_event ) } . ?s rdf:type ?i } . ?s property:sport resource:freestyle_skiing } } . FILTER ( ?a > ?b ) }
[]
type of sport sports team recurring sporting event
SYSTEM
17
Q10980 Q29358 Q326827 Q216613 Q542 Q718 Q179687 Q272460 Q159354 Q3609 Q40244 Q14554839 Q520611 Q186222 Q1128216 Q7735 Q48890
(c(Q12973014)|c(Q18608583),P641,c(Q31629))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q189472
relation P641
type Q12973014
type Q18608583
[ANSWER]
[[{'concept': 'Q12973014'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?q WHERE { { ?x property:P641 ?q . ?q rdf:type ontology:Q31629 . ?x rdf:type ontology:Q12973014 } UNION { ?q rdf:type ontology:Q31629 . ?x rdf:type ontology:Q18608583 . ?x property:P641 ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { VALUES ( ?i ) { ( ontology:Q12973014 ) ( ontology:Q18608583 ) } . ?s rdf:type ?i } . ?s property:P641 resource:Q189472 } } . FILTER ( ?a > ?b ) }
triathlon orienteering artistic gymnastics Nordic skiing athletics chess cross-country skiing Pilates rowing road bicycle racing marathon competitive fencing mountain biking alpine skiing wheelchair basketball diving college basketball
17
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity freestyle skiing
relation sport
type sports team
type recurring sporting event
[[{'concept': 'sports team'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?q WHERE { { ?x property:sport ?q . ?q rdf:type ontology:type_of_sport . ?x rdf:type ontology:sports_team } UNION { ?q rdf:type ontology:type_of_sport . ?x rdf:type ontology:recurring_sporting_event . ?x property:sport ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { { VALUES ( ?i ) { ( ontology:sports_team ) ( ontology:recurring_sporting_event ) } . ?s rdf:type ?i } . ?s property:sport resource:freestyle_skiing } } . FILTER ( ?a > ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q453778
P641
Q31629 Q12973014 Q18608583
USER
And also tell me about Roller skiing?
(c(Q12973014)|c(Q18608583),P641,c(Q31629))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q453778
relation P641
type Q12973014
type Q18608583
[[{'concept': 'Q12973014'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?v WHERE { ?o rdf:type ?c . VALUES ( ?c ) { ( ontology:Q18608583 ) ( ontology:Q12973014 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:P641 resource:Q453778 . { { ?r rdf:type ontology:Q12973014 } UNION { ?r rdf:type ontology:Q18608583 } } } } . FILTER ( ?b > ?g ) }
Roller skiing
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity Roller skiing
relation sport
type sports team
type recurring sporting event
[[{'concept': 'sports team'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?v WHERE { ?o rdf:type ?c . VALUES ( ?c ) { ( ontology:recurring_sporting_event ) ( ontology:sports_team ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:sport resource:Roller_skiing . { { ?r rdf:type ontology:sports_team } UNION { ?r rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?b > ?g ) }
[]
type of sport sports team recurring sporting event
SYSTEM
17
Q10980 Q29358 Q326827 Q216613 Q542 Q718 Q179687 Q272460 Q159354 Q3609 Q40244 Q14554839 Q520611 Q186222 Q1128216 Q7735 Q48890
(c(Q12973014)|c(Q18608583),P641,c(Q31629))
action count
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q453778
relation P641
type Q12973014
type Q18608583
[ANSWER]
[[{'concept': 'Q12973014'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?v WHERE { ?o rdf:type ?c . VALUES ( ?c ) { ( ontology:Q18608583 ) ( ontology:Q12973014 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:P641 resource:Q453778 . { { ?r rdf:type ontology:Q12973014 } UNION { ?r rdf:type ontology:Q18608583 } } } } . FILTER ( ?b > ?g ) }
triathlon orienteering artistic gymnastics Nordic skiing athletics chess cross-country skiing Pilates rowing road bicycle racing marathon competitive fencing mountain biking alpine skiing wheelchair basketball diving college basketball
17
action count
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity Roller skiing
relation sport
type sports team
type recurring sporting event
[[{'concept': 'sports team'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?v WHERE { ?o rdf:type ?c . VALUES ( ?c ) { ( ontology:recurring_sporting_event ) ( ontology:sports_team ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:sport resource:Roller_skiing . { { ?r rdf:type ontology:sports_team } UNION { ?r rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?b > ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9652
P361
Q16510064
USER
Which sporting events are parts of 1980 Winter Olympics ?
(c(Q16510064),P361,Q9652)
action filter_type
action find_reverse
entity Q9652
relation P361
type Q16510064
[{'concept': 'Q16510064'}, 'P361', 'Q9652']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q16510064 . ?u property:P361 resource:Q9652 }
1980 Winter Olympics
action filter_type
action find_reverse
entity 1980 Winter Olympics
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', '1980 Winter Olympics']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sporting_event . ?u property:part_of resource:1980_Winter_Olympics }
[]
sporting event
Q512017 Q1042221 Q376145
SYSTEM
Speed skating at the 1980 Winter Olympics, Cross-country skiing at the 1980 Winter Olympics, Figure skating at the 1980 Winter Olympics
Q1042221 Q512017 Q1221907 Q660797 Q1221766 Q531172 Q1005636 Q1222521 Q648267 Q1221986 Q988357 Q570049 Q1005327 Q376145 Q940561 Q1005798 Q1005029 Q794573 Q1222246 Q610008 Q176424 Q736827 Q1222457 Q1042424 Q238709 Q1004921 Q988342 Q1005150 Q928296 Q1005116 Q1005569 Q1222706 Q1005451 Q611118
(c(Q16510064),P361,Q9652)
action filter_type
action find_reverse
entity Q9652
relation P361
type Q16510064
[ANSWERS] are parts of 1980 Winter Olympics
[{'concept': 'Q16510064'}, 'P361', 'Q9652']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q16510064 . ?u property:P361 resource:Q9652 }
Cross-country skiing at the 1980 Winter Olympics Speed skating at the 1980 Winter Olympics Speed skating at the 1980 Winter Olympics – Women's 1500 metres Alpine skiing at the 1980 Winter Olympics Speed skating at the 1980 Winter Olympics – Women's 1000 metres Speed skating at the 1980 Winter Olympics – Men's 10000 metres Alpine skiing at the 1980 Winter Olympics – Men's slalom Alpine skiing at the 1980 Winter Olympics – Women's slalom Speed skating at the 1980 Winter Olympics – Men's 1000 metres Speed skating at the 1980 Winter Olympics – Women's 3000 metres Ski jumping at the 1980 Winter Olympics – Normal hill individual Luge at the 1980 Winter Olympics Luge at the 1980 Winter Olympics – Men's singles Figure skating at the 1980 Winter Olympics Speed skating at the 1980 Winter Olympics – Women's 500 metres Alpine skiing at the 1980 Winter Olympics – Men's giant slalom Biathlon at the 1980 Winter Olympics – Individual Biathlon at the 1980 Winter Olympics Luge at the 1980 Winter Olympics – Women's singles Nordic combined at the 1980 Winter Olympics Bobsleigh at the 1980 Winter Olympics Ice hockey at the 1980 Winter Olympics Alpine skiing at the 1980 Winter Olympics – Women's downhill Ski jumping at the 1980 Winter Olympics Speed skating at the 1980 Winter Olympics – Men's 500 metres Biathlon at the 1980 Winter Olympics – Sprint Ski jumping at the 1980 Winter Olympics – Large hill individual Speed skating at the 1980 Winter Olympics – Men's 5000 metres Nordic skiing at the 1980 Winter Olympics Biathlon at the 1980 Winter Olympics – Relay Alpine skiing at the 1980 Winter Olympics – Men's downhill Alpine skiing at the 1980 Winter Olympics – Women's giant slalom Luge at the 1980 Winter Olympics – Doubles Speed skating at the 1980 Winter Olympics – Men's 1500 metres
Speed skating at the 1980 Winter Olympics, Cross-country skiing at the 1980 Winter Olympics and Figure skating at the 1980 Winter Olympics are parts of 1980 Winter Olympics
Speed skating at the 1980 Winter Olympics Cross-country skiing at the 1980 Winter Olympics Figure skating at the 1980 Winter Olympics
action filter_type
action find_reverse
entity 1980 Winter Olympics
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', '1980 Winter Olympics']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sporting_event . ?u property:part_of resource:1980_Winter_Olympics }
[]
Clarification
Simple Question|Single Entity|Indirect
Q376145
P17
Q15617994
USER
Which administrative territory is that sporting event a part of ?
(Q376145,P17,c(Q15617994))
action filter_type
action find
entity Q376145
relation P17
type Q15617994
['Q376145', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q376145 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Figure skating at the 1980 Winter Olympics
action filter_type
action find
entity Figure skating at the 1980 Winter Olympics
relation country
type designation for an administrative territorial entity
['Figure skating at the 1980 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Figure_skating_at_the_1980_Winter_Olympics property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q376145
SYSTEM
Did you mean Figure skating at the 1980 Winter Olympics ?
Q512017 Q1042221 Q376145
(Q512017,P17,c(Q15617994)) (Q1042221,P17,c(Q15617994)) (Q376145,P17,c(Q15617994))
[ANSWER]
['Q512017', 'P17', {'concept': 'Q15617994'}] ['Q1042221', 'P17', {'concept': 'Q15617994'}] ['Q376145', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q376145 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Speed skating at the 1980 Winter Olympics Cross-country skiing at the 1980 Winter Olympics Figure skating at the 1980 Winter Olympics
Did you mean Figure skating at the 1980 Winter Olympics ?
Figure skating at the 1980 Winter Olympics
['Speed skating at the 1980 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cross-country skiing at the 1980 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Figure skating at the 1980 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Figure_skating_at_the_1980_Winter_Olympics property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q376145,P17,c(Q15617994))
['Q376145', 'P17', {'concept': 'Q15617994'}]
['Figure skating at the 1980 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q376145,P17,c(Q15617994))
action filter_type
action find
entity Q376145
relation P17
type Q15617994
The [ANSWER] is that sporting event a part of
['Q376145', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q376145 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
The United States of America is that sporting event a part of
United States of America
action filter_type
action find
entity Figure skating at the 1980 Winter Olympics
relation country
type designation for an administrative territorial entity
['Figure skating at the 1980 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Figure_skating_at_the_1980_Winter_Olympics property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P19
Q12737077 Q636497
USER
How many occupations and stock characters have place of birth as that administrative territory ?
(c(Q12737077),P19,Q30) (c(Q636497),P19,Q30) (c(Q12737077),P19,Q30) (c(Q636497),P19,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P19
type Q12737077
action filter_type
action find_reverse
entity Q30
relation P19
type Q636497
[{'concept': 'Q12737077'}, 'P19', 'Q30'] [{'concept': 'Q636497'}, 'P19', 'Q30'] [{'concept': 'Q12737077'}, 'P19', 'Q30'] [{'concept': 'Q636497'}, 'P19', 'Q30']
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { ?o rdf:type ?n . VALUES ( ?n ) { ( ontology:Q12737077 ) ( ontology:Q636497 ) } }
action count
action union
action filter_type
action find_reverse
entity United States of America
relation place of birth
type occupation
action filter_type
action find_reverse
entity United States of America
relation place of birth
type stock character
[{'concept': 'occupation'}, 'place of birth', 'United States of America'] [{'concept': 'stock character'}, 'place of birth', 'United States of America'] [{'concept': 'occupation'}, 'place of birth', 'United States of America'] [{'concept': 'stock character'}, 'place of birth', 'United States of America']
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { ?o rdf:type ?n . VALUES ( ?n ) { ( ontology:occupation ) ( ontology:stock_character ) } }
[]
occupation stock character
SYSTEM
1 occupations and 1 stock characters
Q7130171 Q8003808
(c(Q12737077),P19,Q30) (c(Q636497),P19,Q30) (c(Q12737077),P19,Q30) (c(Q636497),P19,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P19
type Q12737077
action filter_type
action find_reverse
entity Q30
relation P19
type Q636497
[ANSWER]
[{'concept': 'Q12737077'}, 'P19', 'Q30'] [{'concept': 'Q636497'}, 'P19', 'Q30'] [{'concept': 'Q12737077'}, 'P19', 'Q30'] [{'concept': 'Q636497'}, 'P19', 'Q30']
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { ?o rdf:type ?n . VALUES ( ?n ) { ( ontology:Q12737077 ) ( ontology:Q636497 ) } }
Panbanisha William "B.J." Blazkowicz
1 occupations and 1 stock characters
action count
action union
action filter_type
action find_reverse
entity United States of America
relation place of birth
type occupation
action filter_type
action find_reverse
entity United States of America
relation place of birth
type stock character
[{'concept': 'occupation'}, 'place of birth', 'United States of America'] [{'concept': 'stock character'}, 'place of birth', 'United States of America'] [{'concept': 'occupation'}, 'place of birth', 'United States of America'] [{'concept': 'stock character'}, 'place of birth', 'United States of America']
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { ?o rdf:type ?n . VALUES ( ?n ) { ( ontology:occupation ) ( ontology:stock_character ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P530
Q22676587 Q1048835
USER
How many monarchic systems or political territories are known to have diplomatic connections with United States of America ?
(c(Q22676587),P530,Q30) (c(Q1048835),P530,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P530
type Q22676587
action filter_type
action find_reverse
entity Q30
relation P530
type Q1048835
[{'concept': 'Q22676587'}, 'P530', 'Q30'] [{'concept': 'Q1048835'}, 'P530', 'Q30']
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?i ) { ( ontology:Q22676587 ) ( ontology:Q1048835 ) } . ?z rdf:type ?i }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type monarchic system
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type political territorial entity
[{'concept': 'monarchic system'}, 'diplomatic relation', 'United States of America'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'United States of America']
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?i ) { ( ontology:monarchic_system ) ( ontology:political_territorial_entity ) } . ?z rdf:type ?i }
[]
monarchic system political territorial entity
SYSTEM
4
Q16 Q408 Q183 Q23057402
(c(Q22676587),P530,Q30) (c(Q1048835),P530,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P530
type Q22676587
action filter_type
action find_reverse
entity Q30
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q22676587'}, 'P530', 'Q30'] [{'concept': 'Q1048835'}, 'P530', 'Q30']
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?i ) { ( ontology:Q22676587 ) ( ontology:Q1048835 ) } . ?z rdf:type ?i }
Canada Australia Germany Qumar
4
action count
action union
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type monarchic system
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type political territorial entity
[{'concept': 'monarchic system'}, 'diplomatic relation', 'United States of America'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'United States of America']
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { VALUES ( ?i ) { ( ontology:monarchic_system ) ( ontology:political_territorial_entity ) } . ?z rdf:type ?i }
[]