Simple Question (Direct)
Simple Question
Q1341568
P641
Q349
USER
Which sport did Jan Ove Pedersen participate in ?
(Q1341568,P641,c(Q349))
action filter_type
action find
entity Q1341568
relation P641
type Q349
['Q1341568', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q1341568 property:P641 ?b . ?b rdf:type ontology:Q349 }
Jan Ove Pedersen
action filter_type
action find
entity Jan Ove Pedersen
relation sport
type sport
['Jan Ove Pedersen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Jan_Ove_Pedersen property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1341568,P641,c(Q349))
action filter_type
action find
entity Q1341568
relation P641
type Q349
Jan Ove Pedersen participated in [ANSWER]
['Q1341568', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q1341568 property:P641 ?b . ?b rdf:type ontology:Q349 }
association football
Jan Ove Pedersen participated in association football
association football
action filter_type
action find
entity Jan Ove Pedersen
relation sport
type sport
['Jan Ove Pedersen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Jan_Ove_Pedersen property:sport ?b . ?b rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1341568
P54
Q1194951
USER
What is that person a member of ?
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q1341568
relation P54
type Q1194951
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { resource:Q1341568 property:P54 ?q . ?q rdf:type ontology:Q1194951 }
Jan Ove Pedersen
action filter_type
action find
entity Jan Ove Pedersen
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { resource:Jan_Ove_Pedersen property:member_of_sports_team ?q . ?q rdf:type ontology:national_sports_team }
[]
national sports team
Q184387
SYSTEM
Norway national football team
Q184387
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q1341568
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { resource:Q1341568 property:P54 ?q . ?q rdf:type ontology:Q1194951 }
Norway national football team
That person a member of is the Norway national football team
Norway national football team
action filter_type
action find
entity Jan Ove Pedersen
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { resource:Jan_Ove_Pedersen property:member_of_sports_team ?q . ?q rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q184387
P1923
Q15275719 Q1375427
USER
How many recurring events and European Championships did Norway national football team participate in ?
(c(Q15275719),P1923,Q184387) (c(Q1375427),P1923,Q184387)
action count
action union
action filter_type
action find_reverse
entity Q184387
relation P1923
type Q15275719
action filter_type
action find_reverse
entity Q184387
relation P1923
type Q1375427
[{'concept': 'Q15275719'}, 'P1923', 'Q184387'] [{'concept': 'Q1375427'}, 'P1923', 'Q184387']
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?i ) { ( ontology:Q15275719 ) ( ontology:Q1375427 ) } . ?k rdf:type ?i }
Norway national football team
action count
action union
action filter_type
action find_reverse
entity Norway national football team
relation participating teams
type recurring event
action filter_type
action find_reverse
entity Norway national football team
relation participating teams
type European Championship
[{'concept': 'recurring event'}, 'participating teams', 'Norway national football team'] [{'concept': 'European Championship'}, 'participating teams', 'Norway national football team']
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?i ) { ( ontology:recurring_event ) ( ontology:European_Championship ) } . ?k rdf:type ?i }
[]
recurring event European Championship
SYSTEM
3 recurring events and 1 European Championships
Q131591 Q101751 Q101730 Q131239
(c(Q15275719),P1923,Q184387) (c(Q1375427),P1923,Q184387)
action count
action union
action filter_type
action find_reverse
entity Q184387
relation P1923
type Q15275719
action filter_type
action find_reverse
entity Q184387
relation P1923
type Q1375427
[ANSWER]
[{'concept': 'Q15275719'}, 'P1923', 'Q184387'] [{'concept': 'Q1375427'}, 'P1923', 'Q184387']
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?i ) { ( ontology:Q15275719 ) ( ontology:Q1375427 ) } . ?k rdf:type ?i }
1938 FIFA World Cup 1994 FIFA World Cup 1998 FIFA World Cup UEFA Euro 2000
3 recurring events and 1 European Championships
action count
action union
action filter_type
action find_reverse
entity Norway national football team
relation participating teams
type recurring event
action filter_type
action find_reverse
entity Norway national football team
relation participating teams
type European Championship
[{'concept': 'recurring event'}, 'participating teams', 'Norway national football team'] [{'concept': 'European Championship'}, 'participating teams', 'Norway national football team']
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?i ) { ( ontology:recurring_event ) ( ontology:European_Championship ) } . ?k rdf:type ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q184387
P115
Q483110
USER
Where is the home field of that national sports team ?
action filter_type
action find
entity Q184387
relation P115
type Q483110
SELECT DISTINCT ?o WHERE { resource:Q184387 property:P115 ?o . ?o rdf:type ontology:Q483110 }
Norway national football team
action filter_type
action find
entity Norway national football team
relation home venue
type stadium
SELECT DISTINCT ?o WHERE { resource:Norway_national_football_team property:home_venue ?o . ?o rdf:type ontology:stadium }
[]
stadium
Q680291
SYSTEM
Ullevaal Stadion
Q680291
action filter_type
action find
entity Q184387
relation P115
type Q483110
The home field of that national sports team is the [ANSWER]
SELECT DISTINCT ?o WHERE { resource:Q184387 property:P115 ?o . ?o rdf:type ontology:Q483110 }
Ullevaal Stadion
The home field of that national sports team is the Ullevaal Stadion
Ullevaal Stadion
action filter_type
action find
entity Norway national football team
relation home venue
type stadium
SELECT DISTINCT ?o WHERE { resource:Norway_national_football_team property:home_venue ?o . ?o rdf:type ontology:stadium }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P264
Q2031291
USER
Which release has been sponsored by association football for its recording ?
(c(Q2031291),P264,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q2736']
SELECT DISTINCT ?r WHERE { ?r property:P264 resource:Q2736 . ?r rdf:type ontology:Q2031291 }
association football
action filter_type
action find_reverse
entity association football
relation record label
type release
[{'concept': 'release'}, 'record label', 'association football']
SELECT DISTINCT ?r WHERE { ?r property:record_label resource:association_football . ?r rdf:type ontology:release }
[]
release
Q8052504
SYSTEM
Yeovil True
Q8052504
(c(Q2031291),P264,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P264
type Q2031291
[ANSWER] has been sponsored by association football for its recording
[{'concept': 'Q2031291'}, 'P264', 'Q2736']
SELECT DISTINCT ?r WHERE { ?r property:P264 resource:Q2736 . ?r rdf:type ontology:Q2031291 }
Yeovil True
Yeovil True has been sponsored by association football for its recording
Yeovil True
action filter_type
action find_reverse
entity association football
relation record label
type release
[{'concept': 'release'}, 'record label', 'association football']
SELECT DISTINCT ?r WHERE { ?r property:record_label resource:association_football . ?r rdf:type ontology:release }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P495
Q1496967
USER
Which territory is the country of origin of association football ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?u }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?u }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER] is the country of origin of association football
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?u }
England
England is the country of origin of association football
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P1532
Q502895
USER
Which people play for that territory ?
(c(Q502895),P1532,Q21)
action filter_type
action find_reverse
entity Q21
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q21']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P1532 resource:Q21 }
England
action filter_type
action find_reverse
entity England
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'England']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:country_for_sport resource:England }
[]
common name
Q234576 Q190782 Q22669100
SYSTEM
Teddy Sheringham, Ronnie O'Sullivan, Yvonne Saunders
Q21402269 Q16210580 Q1922188 Q718533 Q23933231 Q126279 Q16570372 Q318765 Q310450 Q83756 Q4757089 Q17198424 Q19578071 Q23839484 Q24283657 Q18015449 Q952295 Q27062578 Q1719210 Q25841148 Q25712393 Q730238 Q6382704 Q26464525 Q190782 Q2907705 Q135314 Q311858 Q125538 Q1181146 Q2346840 Q550313 Q6209321 Q23899221 Q7608817 Q178195 Q313507 Q6834464 Q22159069 Q23010253 Q6405342 Q21675005 Q371382 Q3489581 Q16197248 Q357473 Q59600 Q234576 Q935875 Q373397 Q275823 Q318920 Q455460 Q721813 Q138067 Q9140805 Q6211475 Q26217926 Q16019708 Q148312 Q5983251 Q957789 Q391401 Q4707430 Q1681385 Q26217998 Q24050583 Q22669100 Q21808670 Q10718 Q1452267 Q3481426 Q5225233 Q23907033
(c(Q502895),P1532,Q21)
action filter_type
action find_reverse
entity Q21
relation P1532
type Q502895
[ANSWERS] play for that territory
[{'concept': 'Q502895'}, 'P1532', 'Q21']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P1532 resource:Q21 }
Alison Wyeth Keri Lees Mervyn King Owen Farrell Geoff Saunders Craig Gardner Kyle Langford Shaun Murphy Steve Davis Wes Brown Andrew Gilding David Pallett William Thomas Ray Middleton Natalie Williams Ad Wheeler Dave Chisnall John Doherty Kevin Painter Elliot Giles Rachel Wallader James Wade Keegan Brown Colin Walker Ronnie O'Sullivan Bob Hiller Gabriel Agbonlahor Mark Selby Titus Bramble Dean Winstanley Steve Beaton Phil Taylor Joe Cullen John Nuttall Stephen Bunting Luke Moore Judd Trump Michael Smith Andrew Pearson Stephi Douglas Kieran Brookes Sonia McGeorge Andy Hamilton Solomon Wariso Lesley-Ann Skeete Joe Davis Nico Yennaris Teddy Sheringham John Spencer Adrian Lewis Michael Thomas Jonny Wilkinson Terry Jenkins Stuart Bingham Wesley Newton Adelle Tracey Joe Murnan Ann Williams Andy Holden Zat Knight Ian White John Pulman Justin Pipe Alan Norris Jamie Caven Hugh Teape Jordan Thomas Yvonne Saunders Donovan Reid John Eustace Fred Davis Shannon Baker Darren Webster Simon Fairbrother
Teddy Sheringham, Ronnie O'Sullivan and Yvonne Saunders play for that territory
Teddy Sheringham Ronnie O'Sullivan Yvonne Saunders
action filter_type
action find_reverse
entity England
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'England']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:country_for_sport resource:England }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P1344
Q500834 Q13406554
USER
How many tournaments and sport competitions did that person participate in ?
(Q190782,P1344,c(Q500834)) (Q190782,P1344,c(Q13406554)) (Q234576,P1344,c(Q500834)) (Q234576,P1344,c(Q13406554)) (Q190782,P1344,c(Q500834)) (Q190782,P1344,c(Q13406554)) (Q22669100,P1344,c(Q500834)) (Q22669100,P1344,c(Q13406554))
['Q190782', 'P1344', {'concept': 'Q500834'}] ['Q190782', 'P1344', {'concept': 'Q13406554'}] ['Q234576', 'P1344', {'concept': 'Q500834'}] ['Q234576', 'P1344', {'concept': 'Q13406554'}] ['Q190782', 'P1344', {'concept': 'Q500834'}] ['Q190782', 'P1344', {'concept': 'Q13406554'}] ['Q22669100', 'P1344', {'concept': 'Q500834'}] ['Q22669100', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q190782 property:P1344 ?z } UNION { resource:Q190782 property:P1344 ?y } UNION { resource:Q234576 property:P1344 ?z } UNION { resource:Q234576 property:P1344 ?y } UNION { resource:Q190782 property:P1344 ?z } UNION { resource:Q190782 property:P1344 ?y } UNION { resource:Q22669100 property:P1344 ?z } UNION { resource:Q22669100 property:P1344 ?y } } . ?z rdf:type ontology:Q2461450 . ?y rdf:type ontology:Q13406554 }
["Ronnie O'Sullivan", 'participant of', {'concept': 'tournament'}] ["Ronnie O'Sullivan", 'participant of', {'concept': 'sport competition'}] ['Teddy Sheringham', 'participant of', {'concept': 'tournament'}] ['Teddy Sheringham', 'participant of', {'concept': 'sport competition'}] ["Ronnie O'Sullivan", 'participant of', {'concept': 'tournament'}] ["Ronnie O'Sullivan", 'participant of', {'concept': 'sport competition'}] ['Yvonne Saunders', 'participant of', {'concept': 'tournament'}] ['Yvonne Saunders', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Ronnie_O'Sullivan property:participant_of ?z } UNION { resource:Ronnie_O'Sullivan property:participant_of ?y } UNION { resource:Teddy_Sheringham property:participant_of ?z } UNION { resource:Teddy_Sheringham property:participant_of ?y } UNION { resource:Ronnie_O'Sullivan property:participant_of ?z } UNION { resource:Ronnie_O'Sullivan property:participant_of ?y } UNION { resource:Yvonne_Saunders property:participant_of ?z } UNION { resource:Yvonne_Saunders property:participant_of ?y } } . ?z rdf:type ontology:tournament . ?y rdf:type ontology:sport_competition }
[]
tournament sport competition
Quantitative|Count|Mult. entity type|Clarification
Q22669100
SYSTEM
Did you mean Yvonne Saunders ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q190782 property:P1344 ?z } UNION { resource:Q190782 property:P1344 ?y } UNION { resource:Q234576 property:P1344 ?z } UNION { resource:Q234576 property:P1344 ?y } UNION { resource:Q190782 property:P1344 ?z } UNION { resource:Q190782 property:P1344 ?y } UNION { resource:Q22669100 property:P1344 ?z } UNION { resource:Q22669100 property:P1344 ?y } } . ?z rdf:type ontology:Q2461450 . ?y rdf:type ontology:Q13406554 }
Did you mean Yvonne Saunders ?
Yvonne Saunders
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Ronnie_O'Sullivan property:participant_of ?z } UNION { resource:Ronnie_O'Sullivan property:participant_of ?y } UNION { resource:Teddy_Sheringham property:participant_of ?z } UNION { resource:Teddy_Sheringham property:participant_of ?y } UNION { resource:Ronnie_O'Sullivan property:participant_of ?z } UNION { resource:Ronnie_O'Sullivan property:participant_of ?y } UNION { resource:Yvonne_Saunders property:participant_of ?z } UNION { resource:Yvonne_Saunders property:participant_of ?y } } . ?z rdf:type ontology:tournament . ?y rdf:type ontology:sport_competition }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Ronnie O'Sullivan. Could you tell me the answer for that?
(Q190782,P1344,c(Q500834)) (Q190782,P1344,c(Q13406554)) (Q234576,P1344,c(Q500834)) (Q234576,P1344,c(Q13406554)) (Q190782,P1344,c(Q500834)) (Q190782,P1344,c(Q13406554)) (Q22669100,P1344,c(Q500834)) (Q22669100,P1344,c(Q13406554))
Q190782
['Q190782', 'P1344', {'concept': 'Q500834'}] ['Q190782', 'P1344', {'concept': 'Q13406554'}] ['Q234576', 'P1344', {'concept': 'Q500834'}] ['Q234576', 'P1344', {'concept': 'Q13406554'}] ['Q190782', 'P1344', {'concept': 'Q500834'}] ['Q190782', 'P1344', {'concept': 'Q13406554'}] ['Q22669100', 'P1344', {'concept': 'Q500834'}] ['Q22669100', 'P1344', {'concept': 'Q13406554'}]
["Ronnie O'Sullivan", 'participant of', {'concept': 'tournament'}] ["Ronnie O'Sullivan", 'participant of', {'concept': 'sport competition'}] ['Teddy Sheringham', 'participant of', {'concept': 'tournament'}] ['Teddy Sheringham', 'participant of', {'concept': 'sport competition'}] ["Ronnie O'Sullivan", 'participant of', {'concept': 'tournament'}] ["Ronnie O'Sullivan", 'participant of', {'concept': 'sport competition'}] ['Yvonne Saunders', 'participant of', {'concept': 'tournament'}] ['Yvonne Saunders', 'participant of', {'concept': 'sport competition'}]
[]
SYSTEM
19 tournaments and 1 sport competitions
Q1709328 Q2558469 Q776683 Q1154992 Q2070890 Q2070588 Q1709325 Q2557871 Q2557863 Q1709304 Q2070302 Q2665765 Q2071091 Q1907924 Q1709186 Q15293318 Q18609634 Q917676 Q2070014 Q2665537
(Q190782,P1344,c(Q500834)) (Q190782,P1344,c(Q13406554)) (Q234576,P1344,c(Q500834)) (Q234576,P1344,c(Q13406554)) (Q190782,P1344,c(Q500834)) (Q190782,P1344,c(Q13406554)) (Q22669100,P1344,c(Q500834)) (Q22669100,P1344,c(Q13406554))
[ANSWER]
['Q190782', 'P1344', {'concept': 'Q500834'}] ['Q190782', 'P1344', {'concept': 'Q13406554'}] ['Q234576', 'P1344', {'concept': 'Q500834'}] ['Q234576', 'P1344', {'concept': 'Q13406554'}] ['Q190782', 'P1344', {'concept': 'Q500834'}] ['Q190782', 'P1344', {'concept': 'Q13406554'}] ['Q22669100', 'P1344', {'concept': 'Q500834'}] ['Q22669100', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q190782 property:P1344 ?z } UNION { resource:Q190782 property:P1344 ?y } UNION { resource:Q234576 property:P1344 ?z } UNION { resource:Q234576 property:P1344 ?y } UNION { resource:Q190782 property:P1344 ?z } UNION { resource:Q190782 property:P1344 ?y } UNION { resource:Q22669100 property:P1344 ?z } UNION { resource:Q22669100 property:P1344 ?y } } . ?z rdf:type ontology:Q2461450 . ?y rdf:type ontology:Q13406554 }
2006 Masters 1999 Masters 1997 Masters 2011 Masters 1998 Masters 2000 Masters 2010 Masters 2004 Masters 2005 Masters 2009 Masters 2002 Masters 2008 Masters 1995 Masters 2007 Masters 1996 Masters 2014 Masters 2015 Masters 2012 Masters 2001 Masters 2003 Masters
19 tournaments and 1 sport competitions
["Ronnie O'Sullivan", 'participant of', {'concept': 'tournament'}] ["Ronnie O'Sullivan", 'participant of', {'concept': 'sport competition'}] ['Teddy Sheringham', 'participant of', {'concept': 'tournament'}] ['Teddy Sheringham', 'participant of', {'concept': 'sport competition'}] ["Ronnie O'Sullivan", 'participant of', {'concept': 'tournament'}] ["Ronnie O'Sullivan", 'participant of', {'concept': 'sport competition'}] ['Yvonne Saunders', 'participant of', {'concept': 'tournament'}] ['Yvonne Saunders', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Ronnie_O'Sullivan property:participant_of ?z } UNION { resource:Ronnie_O'Sullivan property:participant_of ?y } UNION { resource:Teddy_Sheringham property:participant_of ?z } UNION { resource:Teddy_Sheringham property:participant_of ?y } UNION { resource:Ronnie_O'Sullivan property:participant_of ?z } UNION { resource:Ronnie_O'Sullivan property:participant_of ?y } UNION { resource:Yvonne_Saunders property:participant_of ?z } UNION { resource:Yvonne_Saunders property:participant_of ?y } } . ?z rdf:type ontology:tournament . ?y rdf:type ontology:sport_competition }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by approximately 3627 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3627
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?t = 3627 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3627
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?t = 3627 ) }
[]
musical instrument common name
SYSTEM
2
Q8355 Q1444
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3627
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?t = 3627 ) }
violin organ
2
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3627
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?t = 3627 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P38
Q8142
USER
What is the currency of England ?
(Q21,P38,c(Q8142))
action filter_type
action find
entity Q21
relation P38
type Q8142
['Q21', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q8142 . resource:Q21 property:P38 ?s }
England
action filter_type
action find
entity England
relation currency
type currency
['England', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:currency . resource:England property:currency ?s }
[]
currency
Q25224
SYSTEM
pound sterling
Q25224
(Q21,P38,c(Q8142))
action filter_type
action find
entity Q21
relation P38
type Q8142
The currency of England is the [ANSWER]
['Q21', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q8142 . resource:Q21 property:P38 ?s }
pound sterling
The currency of England is the pound sterling
pound sterling
action filter_type
action find
entity England
relation currency
type currency
['England', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:currency . resource:England property:currency ?s }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26273
Q8142
USER
And how about Sint Maarten?
(Q26273,P38,c(Q8142))
action filter_type
action find
entity Q26273
relation P38
type Q8142
['Q26273', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q8142 . resource:Q26273 property:P38 ?p }
Sint Maarten
action filter_type
action find
entity Sint Maarten
relation currency
type currency
['Sint Maarten', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:currency . resource:Sint_Maarten property:currency ?p }
[]
currency
Q522701
SYSTEM
Netherlands Antillean guilder
Q522701
(Q26273,P38,c(Q8142))
action filter_type
action find
entity Q26273
relation P38
type Q8142
[ANSWER]
['Q26273', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q8142 . resource:Q26273 property:P38 ?p }
Netherlands Antillean guilder
Netherlands Antillean guilder
action filter_type
action find
entity Sint Maarten
relation currency
type currency
['Sint Maarten', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:currency . resource:Sint_Maarten property:currency ?p }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1179017
P1303
Q34379 Q502895
USER
How many musical instruments do greater number of people know to play than Daxophone ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1179017
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?y ) WHERE { ?h rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 . ?x property:P1303 ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ontology:Q34379 . resource:Q1179017 property:P1303 ?n } } . FILTER ( ?y > ?q ) }
Daxophone
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Daxophone
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?y ) WHERE { ?h rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name . ?x property:instrument ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ontology:musical_instrument . resource:Daxophone property:instrument ?n } } . FILTER ( ?y > ?q ) }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1179017
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?y ) WHERE { ?h rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 . ?x property:P1303 ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ontology:Q34379 . resource:Q1179017 property:P1303 ?n } } . FILTER ( ?y > ?q ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Daxophone
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?y ) WHERE { ?h rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name . ?x property:instrument ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n rdf:type ontology:musical_instrument . resource:Daxophone property:instrument ?n } } . FILTER ( ?y > ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q46185
P1303
Q34379 Q502895
USER
And also tell me about bass guitar?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q46185
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Q46185 property:P1303 ?z . ?z rdf:type ontology:Q34379 } } . FILTER ( ?m > ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?d } }
bass guitar
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:bass_guitar property:instrument ?z . ?z rdf:type ontology:musical_instrument } } . FILTER ( ?m > ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?d } }
[]
musical instrument common name
SYSTEM
5
Q5994 Q8338 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q46185
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:Q46185 property:P1303 ?z . ?z rdf:type ontology:Q34379 } } . FILTER ( ?m > ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?d } }
piano trumpet violin organ drum kit
5
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity bass guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { resource:bass_guitar property:instrument ?z . ?z rdf:type ontology:musical_instrument } } . FILTER ( ?m > ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?m ) WHERE { ?g property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?d } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q16258685 Q22669100
P27 P1532
Q1048835
USER
Which political territories do Yvonne Saunders represent and are not the countries of citizenship of Tony Toneatto ?
AND((Q22669100,P1532,c(Q1048835)), NOT((Q16258685,P27,c(Q1048835))))
action filter_type
action difference
action find
entity Q22669100
relation P1532
action find
entity Q16258685
relation P27
type Q1048835
{'AND': [['Q22669100', 'P1532', {'concept': 'Q1048835'}], {'NOT': [['Q16258685', 'P27', {'concept': 'Q1048835'}]]}]}
SELECT DISTINCT ?n WHERE { resource:Q22669100 property:P1532 ?n . MINUS { resource:Q16258685 property:P27 ?n } . ?n rdf:type ontology:Q1048835 }
Tony Toneatto Yvonne Saunders
action filter_type
action difference
action find
entity Yvonne Saunders
relation country for sport
action find
entity Tony Toneatto
relation country of citizenship
type political territorial entity
{'AND': [['Yvonne Saunders', 'country for sport', {'concept': 'political territorial entity'}], {'NOT': [['Tony Toneatto', 'country of citizenship', {'concept': 'political territorial entity'}]]}]}
SELECT DISTINCT ?n WHERE { resource:Yvonne_Saunders property:country_for_sport ?n . MINUS { resource:Tony_Toneatto property:country_of_citizenship ?n } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q766
SYSTEM
Jamaica
Q766
AND((Q22669100,P1532,c(Q1048835)), NOT((Q16258685,P27,c(Q1048835))))
action filter_type
action difference
action find
entity Q22669100
relation P1532
action find
entity Q16258685
relation P27
type Q1048835
[ANSWER] and are not the countries of citizenship of Tony Toneatto Yvonne Saunders represent
{'AND': [['Q22669100', 'P1532', {'concept': 'Q1048835'}], {'NOT': [['Q16258685', 'P27', {'concept': 'Q1048835'}]]}]}
SELECT DISTINCT ?n WHERE { resource:Q22669100 property:P1532 ?n . MINUS { resource:Q16258685 property:P27 ?n } . ?n rdf:type ontology:Q1048835 }
Jamaica
Jamaica and are not the countries of citizenship of Tony Toneatto Yvonne Saunders represent
Jamaica
action filter_type
action difference
action find
entity Yvonne Saunders
relation country for sport
action find
entity Tony Toneatto
relation country of citizenship
type political territorial entity
{'AND': [['Yvonne Saunders', 'country for sport', {'concept': 'political territorial entity'}], {'NOT': [['Tony Toneatto', 'country of citizenship', {'concept': 'political territorial entity'}]]}]}
SELECT DISTINCT ?n WHERE { resource:Yvonne_Saunders property:country_for_sport ?n . MINUS { resource:Tony_Toneatto property:country_of_citizenship ?n } . ?n rdf:type ontology:political_territorial_entity }
[]