Simple Question (Direct)
Simple Question
Q7151186
P641
Q349
USER
What did Paul Haverson participate in ?
(Q7151186,P641,c(Q349))
action filter_type
action find
entity Q7151186
relation P641
type Q349
['Q7151186', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q7151186 property:P641 ?u . ?u rdf:type ontology:Q349 }
Paul Haverson
action filter_type
action find
entity Paul Haverson
relation sport
type sport
['Paul Haverson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Paul_Haverson property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7151186,P641,c(Q349))
action filter_type
action find
entity Q7151186
relation P641
type Q349
Paul Haverson participated in [ANSWER]
['Q7151186', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q7151186 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
Paul Haverson participated in association football
association football
action filter_type
action find
entity Paul Haverson
relation sport
type sport
['Paul Haverson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Paul_Haverson property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
What 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 ?t WHERE { resource:Q2736 property:P495 ?t . ?t 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 ?t WHERE { resource:association_football property:country_of_origin ?t . ?t 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
The country of origin of that sport is in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?t WHERE { resource:Q2736 property:P495 ?t . ?t rdf:type ontology:Q1496967 }
England
The country of origin of that sport is in England
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 ?t WHERE { resource:association_football property:country_of_origin ?t . ?t rdf:type ontology:territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2896075
Q1496967
USER
And how about Sally Lunn bun?
(Q2896075,P495,c(Q1496967))
action filter_type
action find
entity Q2896075
relation P495
type Q1496967
['Q2896075', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?g WHERE { resource:Q2896075 property:P495 ?g . ?g rdf:type ontology:Q1496967 }
Sally Lunn bun
action filter_type
action find
entity Sally Lunn bun
relation country of origin
type territorial entity
['Sally Lunn bun', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Sally_Lunn_bun property:country_of_origin ?g . ?g rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2896075,P495,c(Q1496967))
action filter_type
action find
entity Q2896075
relation P495
type Q1496967
[ANSWER]
['Q2896075', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?g WHERE { resource:Q2896075 property:P495 ?g . ?g rdf:type ontology:Q1496967 }
England
England
action filter_type
action find
entity Sally Lunn bun
relation country of origin
type territorial entity
['Sally Lunn bun', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Sally_Lunn_bun property:country_of_origin ?g . ?g rdf:type ontology:territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21 Q1556403
P27
Q502895
USER
Is Gustav Siegel a civilian of that territory ?
(Q1556403,P27,Q21)
action is_in
entity Q1556403
action find
entity Q21
relation P27
['Q1556403', 'P27', 'Q21']
ASK WHERE { resource:Q21 property:P27 resource:Q1556403 }
England Gustav Siegel
action is_in
entity Gustav Siegel
action find
entity England
relation country of citizenship
['Gustav Siegel', 'country of citizenship', 'England']
ASK WHERE { resource:England property:country_of_citizenship resource:Gustav_Siegel }
[]
common name
SYSTEM
NO
(Q1556403,P27,Q21)
action is_in
entity Q1556403
action find
entity Q21
relation P27
[ANSWER]
['Q1556403', 'P27', 'Q21']
ASK WHERE { resource:Q21 property:P27 resource:Q1556403 }
No
action is_in
entity Gustav Siegel
action find
entity England
relation country of citizenship
['Gustav Siegel', 'country of citizenship', 'England']
ASK WHERE { resource:England property:country_of_citizenship resource:Gustav_Siegel }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P937
Q874405
USER
Who is an social group who works at England ?
(c(Q874405),P937,Q21)
action filter_type
action find_reverse
entity Q21
relation P937
type Q874405
[{'concept': 'Q874405'}, 'P937', 'Q21']
SELECT DISTINCT ?w WHERE { ?w property:P937 resource:Q21 . ?w rdf:type ontology:Q874405 }
England
action filter_type
action find_reverse
entity England
relation work location
type social group
[{'concept': 'social group'}, 'work location', 'England']
SELECT DISTINCT ?w WHERE { ?w property:work_location resource:England . ?w rdf:type ontology:social_group }
[]
social group
Q20888877
SYSTEM
Bassano
Q20888877
(c(Q874405),P937,Q21)
action filter_type
action find_reverse
entity Q21
relation P937
type Q874405
An social group works at England is of [ANSWER]
[{'concept': 'Q874405'}, 'P937', 'Q21']
SELECT DISTINCT ?w WHERE { ?w property:P937 resource:Q21 . ?w rdf:type ontology:Q874405 }
Bassano
An social group works at England is of Bassano
Bassano
action filter_type
action find_reverse
entity England
relation work location
type social group
[{'concept': 'social group'}, 'work location', 'England']
SELECT DISTINCT ?w WHERE { ?w property:work_location resource:England . ?w rdf:type ontology:social_group }
[]
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 ?t WHERE { ?t property:P1532 resource:Q21 . ?t 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 ?t WHERE { ?t property:country_for_sport resource:England . ?t 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 ?t WHERE { ?t property:P1532 resource:Q21 . ?t 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 ?t WHERE { ?t property:country_for_sport resource:England . ?t rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22669100
P1344
Q476300
USER
What did that person participate in ?
(Q22669100,P1344,c(Q476300))
action filter_type
action find
entity Q22669100
relation P1344
type Q476300
['Q22669100', 'P1344', {'concept': 'Q476300'}]
SELECT DISTINCT ?n WHERE { resource:Q22669100 property:P1344 ?n . ?n rdf:type ontology:Q476300 }
Yvonne Saunders
action filter_type
action find
entity Yvonne Saunders
relation participant of
type competition
['Yvonne Saunders', 'participant of', {'concept': 'competition'}]
SELECT DISTINCT ?n WHERE { resource:Yvonne_Saunders property:participant_of ?n . ?n rdf:type ontology:competition }
[]
competition
Clarification for simple ques.
Q234576
SYSTEM
Did you mean Teddy Sheringham ?
Q234576 Q190782 Q22669100
(Q234576,P1344,c(Q476300)) (Q190782,P1344,c(Q476300)) (Q22669100,P1344,c(Q476300))
[ANSWER]
['Q234576', 'P1344', {'concept': 'Q476300'}] ['Q190782', 'P1344', {'concept': 'Q476300'}] ['Q22669100', 'P1344', {'concept': 'Q476300'}]
SELECT DISTINCT ?n WHERE { resource:Q22669100 property:P1344 ?n . ?n rdf:type ontology:Q476300 }
Teddy Sheringham Ronnie O'Sullivan Yvonne Saunders
Did you mean Teddy Sheringham ?
Teddy Sheringham
['Teddy Sheringham', 'participant of', {'concept': 'competition'}] ["Ronnie O'Sullivan", 'participant of', {'concept': 'competition'}] ['Yvonne Saunders', 'participant of', {'concept': 'competition'}]
SELECT DISTINCT ?n WHERE { resource:Yvonne_Saunders property:participant_of ?n . ?n rdf:type ontology:competition }
[]
Simple Question (Coreferenced)
USER
No, I meant Yvonne Saunders. Could you tell me the answer for that?
(Q22669100,P1344,c(Q476300))
Q22669100
['Q22669100', 'P1344', {'concept': 'Q476300'}]
['Yvonne Saunders', 'participant of', {'concept': 'competition'}]
[]
Q3908712
SYSTEM
Liberty Bell Classic
Q3908712
(Q22669100,P1344,c(Q476300))
action filter_type
action find
entity Q22669100
relation P1344
type Q476300
That person participated in [ANSWER]
['Q22669100', 'P1344', {'concept': 'Q476300'}]
SELECT DISTINCT ?n WHERE { resource:Q22669100 property:P1344 ?n . ?n rdf:type ontology:Q476300 }
Liberty Bell Classic
That person participated in Liberty Bell Classic
Liberty Bell Classic
action filter_type
action find
entity Yvonne Saunders
relation participant of
type competition
['Yvonne Saunders', 'participant of', {'concept': 'competition'}]
SELECT DISTINCT ?n WHERE { resource:Yvonne_Saunders property:participant_of ?n . ?n rdf:type ontology:competition }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3908712 Q30
P17
Q15617994
USER
Is that competition a part of United States of America ?
(Q3908712,P17,Q30)
action is_in
entity Q30
action find
entity Q3908712
relation P17
['Q3908712', 'P17', 'Q30']
ASK WHERE { resource:Q3908712 property:P17 resource:Q30 }
Liberty Bell Classic United States of America
action is_in
entity United States of America
action find
entity Liberty Bell Classic
relation country
['Liberty Bell Classic', 'country', 'United States of America']
ASK WHERE { resource:Liberty_Bell_Classic property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3908712,P17,Q30)
action is_in
entity Q30
action find
entity Q3908712
relation P17
[ANSWER]
['Q3908712', 'P17', 'Q30']
ASK WHERE { resource:Q3908712 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Liberty Bell Classic
relation country
['Liberty Bell Classic', 'country', 'United States of America']
ASK WHERE { resource:Liberty_Bell_Classic property:country resource:United_States_of_America }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q886
P725
Q502895 Q15961987
USER
How many television genres did greater number of people do the dubbing for than The Simpsons ?
(c(Q15961987),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q886
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?t ) WHERE { ?z rdf:type ontology:Q15961987 . ?u rdf:type ontology:Q502895 . ?z property:P725 ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q886 property:P725 ?f . ?f rdf:type ontology:Q15961987 } } . FILTER ( ?t > ?w ) }
The Simpsons
action count
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Simpsons
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?t ) WHERE { ?z rdf:type ontology:television_genre . ?u rdf:type ontology:common_name . ?z property:voice_actor ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:The_Simpsons property:voice_actor ?f . ?f rdf:type ontology:television_genre } } . FILTER ( ?t > ?w ) }
[]
common name television genre
SYSTEM
5
Q7615342 Q22773153 Q18790 Q53093 Q5415
(c(Q15961987),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q886
relation P725
type Q15961987
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?t ) WHERE { ?z rdf:type ontology:Q15961987 . ?u rdf:type ontology:Q502895 . ?z property:P725 ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q886 property:P725 ?f . ?f rdf:type ontology:Q15961987 } } . FILTER ( ?t > ?w ) }
Steven Universe Milo Murphy's Law The Legend of Korra Adventure Time My Little Pony: Friendship Is Magic
5
action count
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Simpsons
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?t ) WHERE { ?z rdf:type ontology:television_genre . ?u rdf:type ontology:common_name . ?z property:voice_actor ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:The_Simpsons property:voice_actor ?f . ?f rdf:type ontology:television_genre } } . FILTER ( ?t > ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q11572
P725
Q502895 Q15961987
USER
And what about Avatar: The Last Airbender?
(c(Q15961987),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q11572
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?v ) WHERE { ?x property:P725 ?f . ?f rdf:type ontology:Q502895 . ?x rdf:type ontology:Q15961987 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Q11572 property:P725 ?z . ?z rdf:type ontology:Q15961987 } } . FILTER ( ?v > ?c ) }
Avatar: The Last Airbender
action count
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Avatar: The Last Airbender
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?v ) WHERE { ?x property:voice_actor ?f . ?f rdf:type ontology:common_name . ?x rdf:type ontology:television_genre } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Avatar:_The_Last_Airbender property:voice_actor ?z . ?z rdf:type ontology:television_genre } } . FILTER ( ?v > ?c ) }
[]
common name television genre
SYSTEM
12
Q24034511 Q11296848 Q7615342 Q3235151 Q576501 Q22773153 Q18790 Q53093 Q753848 Q5415 Q886 Q2750339
(c(Q15961987),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q11572
relation P725
type Q15961987
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?v ) WHERE { ?x property:P725 ?f . ?f rdf:type ontology:Q502895 . ?x rdf:type ontology:Q15961987 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Q11572 property:P725 ?z . ?z rdf:type ontology:Q15961987 } } . FILTER ( ?v > ?c ) }
Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe VeggieTales Garfield and Friends Milo Murphy's Law The Legend of Korra Adventure Time TaleSpin My Little Pony: Friendship Is Magic The Simpsons Hellsing Ultimate
12
action count
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Avatar: The Last Airbender
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?v ) WHERE { ?x property:voice_actor ?f . ?f rdf:type ontology:common_name . ?x rdf:type ontology:television_genre } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Avatar:_The_Last_Airbender property:voice_actor ?z . ?z rdf:type ontology:television_genre } } . FILTER ( ?v > ?c ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q722569 Q234576
P54
Q1194951
USER
What are the team that Teddy Sheringham or Aleksandar Trišović are a member of ?
OR((Q234576,P54,c(Q1194951)), (Q722569,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q234576
relation P54
action find
entity Q722569
relation P54
type Q1194951
{'OR': [['Q234576', 'P54', {'concept': 'Q1194951'}], ['Q722569', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?h ) { ( resource:Q234576 ) ( resource:Q722569 ) } . ?h property:P54 ?v } . ?v rdf:type ontology:Q1194951 }
Aleksandar Trišović Teddy Sheringham
action filter_type
action union
action find
entity Teddy Sheringham
relation member of sports team
action find
entity Aleksandar Trišović
relation member of sports team
type national sports team
{'OR': [['Teddy Sheringham', 'member of sports team', {'concept': 'national sports team'}], ['Aleksandar Trišović', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?h ) { ( resource:Teddy_Sheringham ) ( resource:Aleksandar_Trišović ) } . ?h property:member_of_sports_team ?v } . ?v rdf:type ontology:national_sports_team }
[]
national sports team
Q47762 Q182740
SYSTEM
England national football team, Serbia national football team
Q47762 Q182740
OR((Q234576,P54,c(Q1194951)), (Q722569,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q234576
relation P54
action find
entity Q722569
relation P54
type Q1194951
The team that Teddy Sheringham or Aleksandar Trišović are a member of are the [ANSWERS]
{'OR': [['Q234576', 'P54', {'concept': 'Q1194951'}], ['Q722569', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?h ) { ( resource:Q234576 ) ( resource:Q722569 ) } . ?h property:P54 ?v } . ?v rdf:type ontology:Q1194951 }
England national football team Serbia national football team
The team that Teddy Sheringham or Aleksandar Trišović are a member of are the England national football team and Serbia national football team
England national football team Serbia national football team
action filter_type
action union
action find
entity Teddy Sheringham
relation member of sports team
action find
entity Aleksandar Trišović
relation member of sports team
type national sports team
{'OR': [['Teddy Sheringham', 'member of sports team', {'concept': 'national sports team'}], ['Aleksandar Trišović', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?h ) { ( resource:Teddy_Sheringham ) ( resource:Aleksandar_Trišović ) } . ?h property:member_of_sports_team ?v } . ?v rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P355
Q874405 Q1269299 Q43229
USER
How many social groups are approximately 1 business organizations and organizations the parent company of ?
(c(Q1269299)|c(Q43229),P355,c(Q874405))
action count
action approx
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q1269299
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
value 1
[[{'concept': 'Q1269299'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?l WHERE { { ?j property:P355 ?l . ?l rdf:type ontology:Q874405 . ?j rdf:type ontology:Q1269299 } UNION { ?l rdf:type ontology:Q874405 . ?j rdf:type ontology:Q43229 . ?j property:P355 ?l } } GROUP BY ?l } . FILTER ( ?r = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type type of business entity
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
value 1
[[{'concept': 'type of business entity'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?l WHERE { { ?j property:subsidiary ?l . ?l rdf:type ontology:social_group . ?j rdf:type ontology:type_of_business_entity } UNION { ?l rdf:type ontology:social_group . ?j rdf:type ontology:organization . ?j property:subsidiary ?l } } GROUP BY ?l } . FILTER ( ?r = 1 ) }
[]
social group type of business entity organization
SYSTEM
24
Q751152 Q1114200 Q11788418 Q4929965 Q82610 Q13431465 Q2860866 Q4698479 Q3519460 Q14623752 Q2044206 Q1203555 Q2543504 Q3913196 Q3435621 Q5892736 Q4698480 Q1377855 Q477386 Q408396 Q11722823 Q14334150 Q1411739 Q10955989
(c(Q1269299)|c(Q43229),P355,c(Q874405))
action count
action approx
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q1269299
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
value 1
[ANSWER]
[[{'concept': 'Q1269299'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?l WHERE { { ?j property:P355 ?l . ?l rdf:type ontology:Q874405 . ?j rdf:type ontology:Q1269299 } UNION { ?l rdf:type ontology:Q874405 . ?j rdf:type ontology:Q43229 . ?j property:P355 ?l } } GROUP BY ?l } . FILTER ( ?r = 1 ) }
Astrium Services Picnik NWR Karbonia Blue Triangle Newport News Shipbuilding Thales Air Defence Areva TA Airbus ProSky Thales Underwater Systems Pink BH PIK Vrbovec Deutsche Messe AG Saturn Thales Nederland Elektrárna Dětmarovice Honda Taiwan Airbus Operations S.A.S. Google.org EADS Astrium Space Transportation Airbus Transport International Centrum Holdings MediaCorp Raintree Pictures Time Inc. Media Asia Film Distribution Company
24
action count
action approx
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type type of business entity
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
value 1
[[{'concept': 'type of business entity'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) ?l WHERE { { ?j property:subsidiary ?l . ?l rdf:type ontology:social_group . ?j rdf:type ontology:type_of_business_entity } UNION { ?l rdf:type ontology:social_group . ?j rdf:type ontology:organization . ?j property:subsidiary ?l } } GROUP BY ?l } . FILTER ( ?r = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47762
P1346
Q15275719
USER
Where was England national football team decalred as a victor ?
(c(Q15275719),P1346,Q47762)
action filter_type
action find_reverse
entity Q47762
relation P1346
type Q15275719
[{'concept': 'Q15275719'}, 'P1346', 'Q47762']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15275719 . ?u property:P1346 resource:Q47762 }
England national football team
action filter_type
action find_reverse
entity England national football team
relation winner
type recurring event
[{'concept': 'recurring event'}, 'winner', 'England national football team']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:recurring_event . ?u property:winner resource:England_national_football_team }
[]
recurring event
Q134202
SYSTEM
1966 FIFA World Cup
Q134202
(c(Q15275719),P1346,Q47762)
action filter_type
action find_reverse
entity Q47762
relation P1346
type Q15275719
England national football team was decalred in [ANSWER] as a victor
[{'concept': 'Q15275719'}, 'P1346', 'Q47762']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15275719 . ?u property:P1346 resource:Q47762 }
1966 FIFA World Cup
England national football team was decalred in 1966 FIFA World Cup as a victor
1966 FIFA World Cup
action filter_type
action find_reverse
entity England national football team
relation winner
type recurring event
[{'concept': 'recurring event'}, 'winner', 'England national football team']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:recurring_event . ?u property:winner resource:England_national_football_team }
[]