Simple Question (Direct)
Simple Question
Q3743809
P641
Q349
USER
Which sport did Ferruccio Ratti participate in ?
(Q3743809,P641,c(Q349))
action filter_type
action find
entity Q3743809
relation P641
type Q349
['Q3743809', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q3743809 property:P641 ?s . ?s rdf:type ontology:Q349 }
Ferruccio Ratti
action filter_type
action find
entity Ferruccio Ratti
relation sport
type sport
['Ferruccio Ratti', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Ferruccio_Ratti property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3743809,P641,c(Q349))
action filter_type
action find
entity Q3743809
relation P641
type Q349
Ferruccio Ratti participated in [ANSWER]
['Q3743809', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q3743809 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
Ferruccio Ratti participated in association football
association football
action filter_type
action find
entity Ferruccio Ratti
relation sport
type sport
['Ferruccio Ratti', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Ferruccio_Ratti property:sport ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Which territory is the country of origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?x WHERE { resource:Q2736 property:P495 ?x . ?x rdf:type ontology:Q1496967 }
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 ?x WHERE { resource:association_football property:country_of_origin ?x . ?x rdf:type ontology:territorial_entity }
[]
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 that sport
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?x WHERE { resource:Q2736 property:P495 ?x . ?x rdf:type ontology:Q1496967 }
England
England is the country of origin of that sport
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 ?x WHERE { resource:association_football property:country_of_origin ?x . ?x rdf:type ontology:territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q21 Q84 Q7924327
P36
Q56061
USER
Is London and Vi Hương the capital of England ?
(Q21,P36,Q84) (Q21,P36,Q7924327)
action is_in
entity Q21
action intersection
action find_reverse
entity Q84
relation P36
action find_reverse
entity Q7924327
relation P36
['Q21', 'P36', 'Q84'] ['Q21', 'P36', 'Q7924327']
ASK WHERE { resource:Q21 property:P36 resource:Q7924327 . resource:Q21 property:P36 resource:Q84 }
England London Vi Hương
action is_in
entity England
action intersection
action find_reverse
entity London
relation capital
action find_reverse
entity Vi Hương
relation capital
['England', 'capital', 'London'] ['England', 'capital', 'Vi Hương']
ASK WHERE { resource:England property:capital resource:Vi_Hương . resource:England property:capital resource:London }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q21,P36,Q84) (Q21,P36,Q7924327)
action is_in
entity Q21
action intersection
action find_reverse
entity Q84
relation P36
action find_reverse
entity Q7924327
relation P36
[ANSWER]
['Q21', 'P36', 'Q84'] ['Q21', 'P36', 'Q7924327']
ASK WHERE { resource:Q21 property:P36 resource:Q7924327 . resource:Q21 property:P36 resource:Q84 }
YES and NO respectively
action is_in
entity England
action intersection
action find_reverse
entity London
relation capital
action find_reverse
entity Vi Hương
relation capital
['England', 'capital', 'London'] ['England', 'capital', 'Vi Hương']
ASK WHERE { resource:England property:capital resource:Vi_Hương . resource:England property:capital resource:London }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P1532
Q502895
USER
Whose people are England ?
(c(Q502895),P1532,Q21)
action filter_type
action find_reverse
entity Q21
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q21']
SELECT DISTINCT ?h WHERE { ?h property:P1532 resource:Q21 . ?h rdf:type ontology:Q502895 }
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 ?h WHERE { ?h property:country_for_sport resource:England . ?h rdf:type ontology:common_name }
[]
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] are England
[{'concept': 'Q502895'}, 'P1532', 'Q21']
SELECT DISTINCT ?h WHERE { ?h property:P1532 resource:Q21 . ?h rdf:type ontology:Q502895 }
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 are England
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 ?h WHERE { ?h property:country_for_sport resource:England . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P85
Q484692
USER
What are the national anthems of England ?
(Q21,P85,c(Q484692))
action filter_type
action find
entity Q21
relation P85
type Q484692
['Q21', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?m WHERE { resource:Q21 property:P85 ?m . ?m rdf:type ontology:Q484692 }
England
action filter_type
action find
entity England
relation anthem
type hymn
['England', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?m WHERE { resource:England property:anthem ?m . ?m rdf:type ontology:hymn }
[]
hymn
Q489607 Q182268
SYSTEM
And did those feet in ancient time, Land of Hope and Glory
Q489607 Q182268
(Q21,P85,c(Q484692))
action filter_type
action find
entity Q21
relation P85
type Q484692
The national anthems of England are held [ANSWERS]
['Q21', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?m WHERE { resource:Q21 property:P85 ?m . ?m rdf:type ontology:Q484692 }
And did those feet in ancient time Land of Hope and Glory
The national anthems of England are held And did those feet in ancient time and Land of Hope and Glory
And did those feet in ancient time Land of Hope and Glory
action filter_type
action find
entity England
relation anthem
type hymn
['England', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?m WHERE { resource:England property:anthem ?m . ?m rdf:type ontology:hymn }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5446
Q484692
USER
And how about Mari El Republic?
(Q5446,P85,c(Q484692))
action filter_type
action find
entity Q5446
relation P85
type Q484692
['Q5446', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?c WHERE { resource:Q5446 property:P85 ?c . ?c rdf:type ontology:Q484692 }
Mari El Republic
action filter_type
action find
entity Mari El Republic
relation anthem
type hymn
['Mari El Republic', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?c WHERE { resource:Mari_El_Republic property:anthem ?c . ?c rdf:type ontology:hymn }
[]
hymn
Q581991
SYSTEM
National Anthem of the Mari El Republic
Q581991
(Q5446,P85,c(Q484692))
action filter_type
action find
entity Q5446
relation P85
type Q484692
[ANSWER]
['Q5446', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?c WHERE { resource:Q5446 property:P85 ?c . ?c rdf:type ontology:Q484692 }
National Anthem of the Mari El Republic
National Anthem of the Mari El Republic
action filter_type
action find
entity Mari El Republic
relation anthem
type hymn
['Mari El Republic', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?c WHERE { resource:Mari_El_Republic property:anthem ?c . ?c rdf:type ontology:hymn }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q234576
P40
Q502895
USER
Who is a child of Teddy Sheringham ?
(Q234576,P40,c(Q502895))
action filter_type
action find
entity Q234576
relation P40
type Q502895
['Q234576', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q234576 property:P40 ?b . ?b rdf:type ontology:Q502895 }
Teddy Sheringham
action filter_type
action find
entity Teddy Sheringham
relation child
type common name
['Teddy Sheringham', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Teddy_Sheringham property:child ?b . ?b rdf:type ontology:common_name }
[]
common name
Q1245704
SYSTEM
Charlie Sheringham
Q1245704
(Q234576,P40,c(Q502895))
action filter_type
action find
entity Q234576
relation P40
type Q502895
A child of Teddy Sheringham is called [ANSWER]
['Q234576', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q234576 property:P40 ?b . ?b rdf:type ontology:Q502895 }
Charlie Sheringham
A child of Teddy Sheringham is called Charlie Sheringham
Charlie Sheringham
action filter_type
action find
entity Teddy Sheringham
relation child
type common name
['Teddy Sheringham', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Teddy_Sheringham property:child ?b . ?b rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1245704 Q234576 Q11398666
P22
Q502895
USER
Does that person have Teddy Sheringham and Osamu Kajisa as a father ?
(Q1245704,P22,Q234576) (Q1245704,P22,Q11398666)
action is_in
entity Q1245704
action intersection
action find_reverse
entity Q234576
relation P22
action find_reverse
entity Q11398666
relation P22
['Q1245704', 'P22', 'Q234576'] ['Q1245704', 'P22', 'Q11398666']
ASK WHERE { resource:Q1245704 property:P22 resource:Q234576 . resource:Q1245704 property:P22 resource:Q11398666 }
Charlie Sheringham Teddy Sheringham Osamu Kajisa
action is_in
entity Charlie Sheringham
action intersection
action find_reverse
entity Teddy Sheringham
relation father
action find_reverse
entity Osamu Kajisa
relation father
['Charlie Sheringham', 'father', 'Teddy Sheringham'] ['Charlie Sheringham', 'father', 'Osamu Kajisa']
ASK WHERE { resource:Charlie_Sheringham property:father resource:Teddy_Sheringham . resource:Charlie_Sheringham property:father resource:Osamu_Kajisa }
[]
common name
SYSTEM
YES and NO respectively
(Q1245704,P22,Q234576) (Q1245704,P22,Q11398666)
action is_in
entity Q1245704
action intersection
action find_reverse
entity Q234576
relation P22
action find_reverse
entity Q11398666
relation P22
[ANSWER]
['Q1245704', 'P22', 'Q234576'] ['Q1245704', 'P22', 'Q11398666']
ASK WHERE { resource:Q1245704 property:P22 resource:Q234576 . resource:Q1245704 property:P22 resource:Q11398666 }
YES and NO respectively
action is_in
entity Charlie Sheringham
action intersection
action find_reverse
entity Teddy Sheringham
relation father
action find_reverse
entity Osamu Kajisa
relation father
['Charlie Sheringham', 'father', 'Teddy Sheringham'] ['Charlie Sheringham', 'father', 'Osamu Kajisa']
ASK WHERE { resource:Charlie_Sheringham property:father resource:Teddy_Sheringham . resource:Charlie_Sheringham property:father resource:Osamu_Kajisa }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q2342494
USER
Which collectables did max number of people dub for ?
(c(Q2342494),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q2342494
type Q502895
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?o ) { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?y ) WHERE { ?a rdf:type ontology:Q2342494 . ?p rdf:type ontology:Q502895 . ?a property:P725 ?p } GROUP BY ?a } } . FILTER ( ?r = ?o ) . { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?r ) WHERE { ?g property:P725 ?h . ?g rdf:type ontology:Q2342494 . ?h rdf:type ontology:Q502895 } GROUP BY ?g } }
action argmax
action find_tuple_counts
relation voice actor
type collectable
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?o ) { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?y ) WHERE { ?a rdf:type ontology:collectable . ?p rdf:type ontology:common_name . ?a property:voice_actor ?p } GROUP BY ?a } } . FILTER ( ?r = ?o ) . { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?r ) WHERE { ?g property:voice_actor ?h . ?g rdf:type ontology:collectable . ?h rdf:type ontology:common_name } GROUP BY ?g } }
[]
common name collectable
Q53351
SYSTEM
Accel World
Q53351
(c(Q2342494),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q2342494
type Q502895
Max number of people dubbed by [ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?o ) { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?y ) WHERE { ?a rdf:type ontology:Q2342494 . ?p rdf:type ontology:Q502895 . ?a property:P725 ?p } GROUP BY ?a } } . FILTER ( ?r = ?o ) . { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?r ) WHERE { ?g property:P725 ?h . ?g rdf:type ontology:Q2342494 . ?h rdf:type ontology:Q502895 } GROUP BY ?g } }
Accel World
Max number of people dubbed by Accel World
Accel World
action argmax
action find_tuple_counts
relation voice actor
type collectable
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?o ) { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?y ) WHERE { ?a rdf:type ontology:collectable . ?p rdf:type ontology:common_name . ?a property:voice_actor ?p } GROUP BY ?a } } . FILTER ( ?r = ?o ) . { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?r ) WHERE { ?g property:voice_actor ?h . ?g rdf:type ontology:collectable . ?h rdf:type ontology:common_name } GROUP BY ?g } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q53351 Q4272926
P800
Q502895
USER
Does HIMA have that collectable as a notable work ?
(Q4272926,P800,Q53351)
action is_in
entity Q53351
action find
entity Q4272926
relation P800
['Q4272926', 'P800', 'Q53351']
ASK WHERE { resource:Q4272926 property:P800 resource:Q53351 }
Accel World HIMA
action is_in
entity Accel World
action find
entity HIMA
relation notable work
['HIMA', 'notable work', 'Accel World']
ASK WHERE { resource:HIMA property:notable_work resource:Accel_World }
[]
common name
SYSTEM
YES
(Q4272926,P800,Q53351)
action is_in
entity Q53351
action find
entity Q4272926
relation P800
[ANSWER]
['Q4272926', 'P800', 'Q53351']
ASK WHERE { resource:Q4272926 property:P800 resource:Q53351 }
Yes
action is_in
entity Accel World
action find
entity HIMA
relation notable work
['HIMA', 'notable work', 'Accel World']
ASK WHERE { resource:HIMA property:notable_work resource:Accel_World }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1029
Q502895 Q2235308 Q1656682
USER
How many people were crew members of around 1 ship types and events ?
(c(Q2235308)|c(Q1656682),P1029,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
value 1
[[{'concept': 'Q2235308'}, {'concept': 'Q1656682'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?e ) WHERE { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2235308 ) ( ontology:Q1656682 ) } } GROUP BY ?f } . FILTER ( ?e = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action find_reverse_tuple_counts
relation crew member
type common name
type event
value 1
[[{'concept': 'ship type'}, {'concept': 'event'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?e ) WHERE { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:ship_type ) ( ontology:event ) } } GROUP BY ?f } . FILTER ( ?e = 1 ) }
[]
common name ship type event
SYSTEM
25
Q927249 Q107667 Q349365 Q111240 Q17519 Q18762 Q4715991 Q158486 Q19242 Q17478723 Q70468 Q229674 Q334084 Q49284 Q316417 Q364476 Q315730 Q25981 Q278656 Q363506 Q174979 Q466075 Q317643 Q382013 Q320047
(c(Q2235308)|c(Q1656682),P1029,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
value 1
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q1656682'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?e ) WHERE { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2235308 ) ( ontology:Q1656682 ) } } GROUP BY ?f } . FILTER ( ?e = 1 ) }
Oleg Skripochka John Young Ellison Onizuka Jim Lovell Anousheh Ansari Frank Borman Aleksey Ovchinin Eugene Cernan Bill Anders Hans-Kurt von Bremen Otto von Bülow Christa McAuliffe Thomas Grenville Judith Resnik Thomas P. Stafford James McDivitt Ronald McNair Michael J. Smith David Scott Rusty Schweickart Alan Shepard Pavel Vinogradov Marcos Pontes Gregory Jarvis Dick Scobee
25
action count
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action find_reverse_tuple_counts
relation crew member
type common name
type event
value 1
[[{'concept': 'ship type'}, {'concept': 'event'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?e ) WHERE { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:ship_type ) ( ontology:event ) } } GROUP BY ?f } . FILTER ( ?e = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q319008 Q190782
P1346
Q500834
USER
Which tournaments were Ronnie O'Sullivan or Ding Junhui decalred as a champion of ?
OR((c(Q500834),P1346,Q190782), (c(Q500834),P1346,Q319008))
action filter_type
action union
action find_reverse
entity Q190782
relation P1346
action find_reverse
entity Q319008
relation P1346
type Q500834
{'OR': [[{'concept': 'Q500834'}, 'P1346', 'Q190782'], [{'concept': 'Q500834'}, 'P1346', 'Q319008']]}
SELECT DISTINCT ?z WHERE { { { ?z property:P1346 resource:Q190782 } UNION { ?z property:P1346 resource:Q319008 } } . ?z rdf:type ontology:Q500834 }
Ding Junhui Ronnie O'Sullivan
action filter_type
action union
action find_reverse
entity Ronnie O'Sullivan
relation winner
action find_reverse
entity Ding Junhui
relation winner
type tournament
{'OR': [[{'concept': 'tournament'}, 'winner', "Ronnie O'Sullivan"], [{'concept': 'tournament'}, 'winner', 'Ding Junhui']]}
SELECT DISTINCT ?z WHERE { { { ?z property:winner resource:Ronnie_O'Sullivan } UNION { ?z property:winner resource:Ding_Junhui } } . ?z rdf:type ontology:tournament }
[]
tournament
Q4625140 Q481305 Q1632092 Q14945940 Q15730371 Q1971569 Q4339730 Q21999755 Q14404933 Q9177257
SYSTEM
Some of them are 2012 Championship League, 2012 German Masters, 2012 Welsh Open, 2013 International Championship, 2014 China Open (snooker), 2009 Shanghai Masters, 1999 China Open, 2016 Welsh Open, 2013 Indian Open, 2013 World Snooker Championship
Q26736151 Q21089481 Q21999755 Q17167728 Q4355282 Q2560034 Q4339728 Q920205 Q14346337 Q1088396 Q2558488 Q15730371 Q2667545 Q15717462 Q4509015 Q2559197 Q1671630 Q15293318 Q481305 Q550702 Q585584 Q18430630 Q15297980 Q15052068 Q1465628 Q1688885 Q4339730 Q18347553 Q14404933 Q4509021 Q4509009 Q9177257 Q4625140 Q4339794 Q1971569 Q14945940 Q21061566 Q612943 Q1632092 Q27676214 Q14299011
OR((c(Q500834),P1346,Q190782), (c(Q500834),P1346,Q319008))
action filter_type
action union
action find_reverse
entity Q190782
relation P1346
action find_reverse
entity Q319008
relation P1346
type Q500834
Ronnie O'Sullivan or Ding Junhui were decalred as a champion of the [ANSWERS]
{'OR': [[{'concept': 'Q500834'}, 'P1346', 'Q190782'], [{'concept': 'Q500834'}, 'P1346', 'Q319008']]}
SELECT DISTINCT ?z WHERE { { { ?z property:P1346 resource:Q190782 } UNION { ?z property:P1346 resource:Q319008 } } . ?z rdf:type ontology:Q500834 }
2016 Six-red World Championship Asian Tour 2015/2016 – Event 1 2016 Welsh Open Asian Tour 2014/2015 – Event 1 Players Tour Championship 2012/2013 – Finals 2005 Welsh Open 2000 China Open 2009 UK Championship European Tour 2013/2014 – Event 4 2004 Welsh Open 2005 UK Championship 2014 China Open (snooker) 2007 UK Championship 2014 Welsh Open (snooker) 1997 UK Championship 2005 China Open 2001 World Snooker Championship 2014 Masters 2012 German Masters 2012 World Snooker Championship 2004 World Snooker Championship 2014 UK Championship 2014 German Masters 2013 Champion of Champions 2008 World Snooker Championship 2008 Jiangsu Classic 1999 China Open 2014 Champion of Champions 2013 Indian Open 2001 UK Championship 1993 UK Championship 2013 World Snooker Championship 2012 Championship League 2000 Scottish Open 2009 Shanghai Masters 2013 International Championship 2016 Masters European Tour 2012/2013 – Event 5 2012 Welsh Open 1998 Scottish Open 2013 Shanghai Masters
Ronnie O'Sullivan or Ding Junhui were decalred as a champion of the 2012 Championship League, 2012 German Masters, 2012 Welsh Open, 2013 International Championship, 2014 China Open (snooker), 2009 Shanghai Masters, 1999 China Open, 2016 Welsh Open, 2013 Indian Open and 2013 World Snooker Championship
2012 Championship League 2012 German Masters 2012 Welsh Open 2013 International Championship 2014 China Open (snooker) 2009 Shanghai Masters 1999 China Open 2016 Welsh Open 2013 Indian Open 2013 World Snooker Championship
action filter_type
action union
action find_reverse
entity Ronnie O'Sullivan
relation winner
action find_reverse
entity Ding Junhui
relation winner
type tournament
{'OR': [[{'concept': 'tournament'}, 'winner', "Ronnie O'Sullivan"], [{'concept': 'tournament'}, 'winner', 'Ding Junhui']]}
SELECT DISTINCT ?z WHERE { { { ?z property:winner resource:Ronnie_O'Sullivan } UNION { ?z property:winner resource:Ding_Junhui } } . ?z rdf:type ontology:tournament }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q481305
P276
Q56061 Q811430
USER
How many administrative territories or constructions are the locations of 2012 German Masters ?
(Q481305,P276,c(Q56061)) (Q481305,P276,c(Q811430))
action count
action union
action filter_type
action find
entity Q481305
relation P276
type Q56061
action filter_type
action find
entity Q481305
relation P276
type Q811430
['Q481305', 'P276', {'concept': 'Q56061'}] ['Q481305', 'P276', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { resource:Q481305 property:P276 ?q . ?q rdf:type ontology:Q56061 } UNION { resource:Q481305 property:P276 ?q . ?q rdf:type ontology:Q811430 } }
2012 German Masters
action count
action union
action filter_type
action find
entity 2012 German Masters
relation location
type administrative territorial entity
action filter_type
action find
entity 2012 German Masters
relation location
type construction
['2012 German Masters', 'location', {'concept': 'administrative territorial entity'}] ['2012 German Masters', 'location', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { resource:2012_German_Masters property:location ?q . ?q rdf:type ontology:administrative_territorial_entity } UNION { resource:2012_German_Masters property:location ?q . ?q rdf:type ontology:construction } }
[]
administrative territorial entity construction
SYSTEM
2
Q64 Q896180
(Q481305,P276,c(Q56061)) (Q481305,P276,c(Q811430))
action count
action union
action filter_type
action find
entity Q481305
relation P276
type Q56061
action filter_type
action find
entity Q481305
relation P276
type Q811430
[ANSWER]
['Q481305', 'P276', {'concept': 'Q56061'}] ['Q481305', 'P276', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { resource:Q481305 property:P276 ?q . ?q rdf:type ontology:Q56061 } UNION { resource:Q481305 property:P276 ?q . ?q rdf:type ontology:Q811430 } }
Berlin Tempodrom
2
action count
action union
action filter_type
action find
entity 2012 German Masters
relation location
type administrative territorial entity
action filter_type
action find
entity 2012 German Masters
relation location
type construction
['2012 German Masters', 'location', {'concept': 'administrative territorial entity'}] ['2012 German Masters', 'location', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { resource:2012_German_Masters property:location ?q . ?q rdf:type ontology:administrative_territorial_entity } UNION { resource:2012_German_Masters property:location ?q . ?q rdf:type ontology:construction } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q481305
P276
Q811430
USER
Where is that tournament located ?
action filter_type
action find
entity Q481305
relation P276
type Q811430
SELECT DISTINCT ?u WHERE { resource:Q481305 property:P276 ?u . ?u rdf:type ontology:Q811430 }
2012 German Masters
action filter_type
action find
entity 2012 German Masters
relation location
type construction
SELECT DISTINCT ?u WHERE { resource:2012_German_Masters property:location ?u . ?u rdf:type ontology:construction }
[]
construction
Q896180
SYSTEM
Tempodrom
Q896180
action filter_type
action find
entity Q481305
relation P276
type Q811430
That tournament is located in [ANSWER]
SELECT DISTINCT ?u WHERE { resource:Q481305 property:P276 ?u . ?u rdf:type ontology:Q811430 }
Tempodrom
That tournament is located in Tempodrom
Tempodrom
action filter_type
action find
entity 2012 German Masters
relation location
type construction
SELECT DISTINCT ?u WHERE { resource:2012_German_Masters property:location ?u . ?u rdf:type ontology:construction }
[]