Simple Question (Direct)
Simple Question
Q7599095
P641
Q349
USER
Which sport was Stanislovas Vitkovskis a part of ?
(Q7599095,P641,c(Q349))
action filter_type
action find
entity Q7599095
relation P641
type Q349
['Q7599095', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q7599095 property:P641 ?w . ?w rdf:type ontology:Q349 }
Stanislovas Vitkovskis
action filter_type
action find
entity Stanislovas Vitkovskis
relation sport
type sport
['Stanislovas Vitkovskis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Stanislovas_Vitkovskis property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7599095,P641,c(Q349))
action filter_type
action find
entity Q7599095
relation P641
type Q349
Which sport was Stanislovas Vitkovskis a part of
['Q7599095', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q7599095 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
Which sport was Stanislovas Vitkovskis a part of
association football
action filter_type
action find
entity Stanislovas Vitkovskis
relation sport
type sport
['Stanislovas Vitkovskis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Stanislovas_Vitkovskis property:sport ?w . ?w 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 ?d WHERE { ?d rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?d }
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 ?d WHERE { ?d rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?d }
[]
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 ?d WHERE { ?d rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?d }
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 ?d WHERE { ?d rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P38
Q8142
USER
What is used as the currency of that territory ?
(Q21,P38,c(Q8142))
action filter_type
action find
entity Q21
relation P38
type Q8142
['Q21', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q8142 . resource:Q21 property:P38 ?r }
England
action filter_type
action find
entity England
relation currency
type currency
['England', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:currency . resource:England property:currency ?r }
[]
currency
Q25224
SYSTEM
pound sterling
Q25224
(Q21,P38,c(Q8142))
action filter_type
action find
entity Q21
relation P38
type Q8142
[ANSWER] is used as the currency of that territory
['Q21', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q8142 . resource:Q21 property:P38 ?r }
pound sterling
Pound sterling is used as the currency of that territory
pound sterling
action filter_type
action find
entity England
relation currency
type currency
['England', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:currency . resource:England property:currency ?r }
[]
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 rdf:type ontology:Q502895 . ?t 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 ?t WHERE { ?t rdf:type ontology:common_name . ?t 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] are England
[{'concept': 'Q502895'}, 'P1532', 'Q21']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t 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 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 rdf:type ontology:common_name . ?t property:country_for_sport resource:England }
[]
Clarification
Simple Question|Single Entity|Indirect
Q234576
P54
Q1194951
USER
What is that person a member of ?
(Q234576,P54,c(Q1194951))
action filter_type
action find
entity Q234576
relation P54
type Q1194951
['Q234576', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { resource:Q234576 property:P54 ?y . ?y rdf:type ontology:Q1194951 }
Teddy Sheringham
action filter_type
action find
entity Teddy Sheringham
relation member of sports team
type national sports team
['Teddy Sheringham', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { resource:Teddy_Sheringham property:member_of_sports_team ?y . ?y rdf:type ontology:national_sports_team }
[]
national sports team
Clarification for simple ques.
Q190782
SYSTEM
Did you mean Ronnie O'Sullivan ?
Q234576 Q190782 Q22669100
(Q234576,P54,c(Q1194951)) (Q190782,P54,c(Q1194951)) (Q22669100,P54,c(Q1194951))
[ANSWER]
['Q234576', 'P54', {'concept': 'Q1194951'}] ['Q190782', 'P54', {'concept': 'Q1194951'}] ['Q22669100', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { resource:Q234576 property:P54 ?y . ?y rdf:type ontology:Q1194951 }
Teddy Sheringham Ronnie O'Sullivan Yvonne Saunders
Did you mean Ronnie O'Sullivan ?
Ronnie O'Sullivan
['Teddy Sheringham', 'member of sports team', {'concept': 'national sports team'}] ["Ronnie O'Sullivan", 'member of sports team', {'concept': 'national sports team'}] ['Yvonne Saunders', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { resource:Teddy_Sheringham property:member_of_sports_team ?y . ?y rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
USER
No, I meant Teddy Sheringham. Could you tell me the answer for that?
(Q234576,P54,c(Q1194951))
Q234576
['Q234576', 'P54', {'concept': 'Q1194951'}]
['Teddy Sheringham', 'member of sports team', {'concept': 'national sports team'}]
[]
Q47762
SYSTEM
England national football team
Q47762
(Q234576,P54,c(Q1194951))
action filter_type
action find
entity Q234576
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q234576', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { resource:Q234576 property:P54 ?y . ?y rdf:type ontology:Q1194951 }
England national football team
That person a member of is the England national football team
England national football team
action filter_type
action find
entity Teddy Sheringham
relation member of sports team
type national sports team
['Teddy Sheringham', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { resource:Teddy_Sheringham property:member_of_sports_team ?y . ?y rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1923
Q1194951 Q13406554
USER
How many sport competitions did exactly 2 national sports teams participate in ?
(c(Q13406554),P1923,c(Q1194951))
action count
action equal
action find_tuple_counts
relation P1923
type Q13406554
type Q1194951
value 2
[{'concept': 'Q13406554'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { FILTER ( ?i = 2 ) . { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?i ) WHERE { ?n property:P1923 ?f . ?n rdf:type ontology:Q13406554 . ?f rdf:type ontology:Q1194951 } GROUP BY ?n } }
action count
action equal
action find_tuple_counts
relation participating teams
type sport competition
type national sports team
value 2
[{'concept': 'sport competition'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { FILTER ( ?i = 2 ) . { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?i ) WHERE { ?n property:participating_teams ?f . ?n rdf:type ontology:sport_competition . ?f rdf:type ontology:national_sports_team } GROUP BY ?n } }
[]
national sports team sport competition
SYSTEM
53
Q24202143 Q24202147 Q24202144 Q24201910 Q24201915 Q24201967 Q24201962 Q24201987 Q24201791 Q21715205 Q24201894 Q24201897 Q24201958 Q24201771 Q24201953 Q24202015 Q24202018 Q24202121 Q24202123 Q24202126 Q24202157 Q24202150 Q24201766 Q24201900 Q24202001 Q24202165 Q24202160 Q24201786 Q268567 Q17329128 Q24201948 Q24201944 Q24201761 Q24202007 Q24202003 Q24202138 Q24202131 Q24202134 Q24202135 Q24201905 Q24201886 Q24201934 Q24201939 Q24201656 Q24201879 Q24201980 Q24201972 Q24201975 Q24201992 Q24201997 Q24201929 Q24201888 Q24201925
(c(Q13406554),P1923,c(Q1194951))
action count
action equal
action find_tuple_counts
relation P1923
type Q13406554
type Q1194951
value 2
[ANSWER]
[{'concept': 'Q13406554'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { FILTER ( ?i = 2 ) . { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?i ) WHERE { ?n property:P1923 ?f . ?n rdf:type ontology:Q13406554 . ?f rdf:type ontology:Q1194951 } GROUP BY ?n } }
England v Iceland Wales vs. Belgium Poland vs. Portugal Germany v Ukraine Ukraine v Northern Ireland Republic of Ireland v Sweden Czech Republic v Turkey Sweden v Belgium Romania v Albania UEFA Euro 2016 Final: Portugal v France England v Wales Slovakia v England Croatia v Spain France v Albania Spain v Turkey Iceland v Austria Hungary v Portugal Switzerland v Poland Wales v Northern Ireland Croatia v Portugal France vs. Iceland Germany vs. Italy Romania v Switzerland Russia v Wales Portugal v Iceland Germany v France Portugal v Wales Switzerland v France 2006 FIFA World Cup Final Brazil v Germany Czech Republic v Croatia Spain v Czech Republic Albania v Switzerland Portugal v Austria Iceland v Hungary Italy v Spain France v Ireland Germany v Slovakia Hungary v Belgium Poland v Northern Ireland England v Russia Ukraine v Poland Turkey v Croatia France v Romania Wales v Slovakia Belgium v Republic of Ireland Belgium v Italy Italy v Sweden Italy v Republic of Ireland Austria v Hungary Northern Ireland v Germany Russia v Slovakia Germany v Poland
53
action count
action equal
action find_tuple_counts
relation participating teams
type sport competition
type national sports team
value 2
[{'concept': 'sport competition'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { FILTER ( ?i = 2 ) . { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?i ) WHERE { ?n property:participating_teams ?f . ?n rdf:type ontology:sport_competition . ?f rdf:type ontology:national_sports_team } GROUP BY ?n } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1024685
P1303
Q34379 Q502895
USER
How many musical instruments are played by around the same number of people as cabasa ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1024685
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Q1024685 property:P1303 ?q . ?q rdf:type ontology:Q34379 } } . FILTER ( ?b = ?e ) . { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P1303 ?w . ?a rdf:type ontology:Q502895 . ?w rdf:type ontology:Q34379 } GROUP BY ?w } }
cabasa
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity cabasa
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:cabasa property:instrument ?q . ?q rdf:type ontology:musical_instrument } } . FILTER ( ?b = ?e ) . { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:instrument ?w . ?a rdf:type ontology:common_name . ?w rdf:type ontology:musical_instrument } GROUP BY ?w } }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1024685
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Q1024685 property:P1303 ?q . ?q rdf:type ontology:Q34379 } } . FILTER ( ?b = ?e ) . { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P1303 ?w . ?a rdf:type ontology:Q502895 . ?w rdf:type ontology:Q34379 } GROUP BY ?w } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity cabasa
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:cabasa property:instrument ?q . ?q rdf:type ontology:musical_instrument } } . FILTER ( ?b = ?e ) . { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:instrument ?w . ?a rdf:type ontology:common_name . ?w rdf:type ontology:musical_instrument } GROUP BY ?w } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 2703 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2703
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?o = 2703 ) . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?v } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2703
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?o = 2703 ) . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?v } }
[]
musical instrument common name
Q46185 Q8338 Q1444
SYSTEM
bass guitar, trumpet, organ
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2703
[ANSWERS] are played by around 2703 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?o = 2703 ) . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?v } }
bass guitar trumpet organ drum kit
Bass guitar, trumpet and organ are played by around 2703 people
bass guitar trumpet organ
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2703
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?o = 2703 ) . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?v } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q34379 Q1792379
USER
How many art genres depict exactly 1 musical instrument ?
(c(Q1792379),P180,c(Q34379))
action count
action equal
action find_tuple_counts
relation P180
type Q1792379
type Q34379
value 1
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?l ) WHERE { ?w property:P180 ?z . ?w rdf:type ontology:Q1792379 . ?z rdf:type ontology:Q34379 } GROUP BY ?w } . FILTER ( ?l = 1 ) }
action count
action equal
action find_tuple_counts
relation depicts
type art genre
type musical instrument
value 1
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?l ) WHERE { ?w property:depicts ?z . ?w rdf:type ontology:art_genre . ?z rdf:type ontology:musical_instrument } GROUP BY ?w } . FILTER ( ?l = 1 ) }
[]
musical instrument art genre
SYSTEM
1
Q18661427
(c(Q1792379),P180,c(Q34379))
action count
action equal
action find_tuple_counts
relation P180
type Q1792379
type Q34379
value 1
[ANSWER]
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?l ) WHERE { ?w property:P180 ?z . ?w rdf:type ontology:Q1792379 . ?z rdf:type ontology:Q34379 } GROUP BY ?w } . FILTER ( ?l = 1 ) }
Memorial of the people of Pori
1
action count
action equal
action find_tuple_counts
relation depicts
type art genre
type musical instrument
value 1
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?l ) WHERE { ?w property:depicts ?z . ?w rdf:type ontology:art_genre . ?z rdf:type ontology:musical_instrument } GROUP BY ?w } . FILTER ( ?l = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q527378 Q190782
P1344
Q500834
USER
Which tournaments did Ronnie O'Sullivan and Jamie Cope compete in ?
AND((Q190782,P1344,c(Q500834)), (Q527378,P1344,c(Q500834)))
action filter_type
action intersection
action find
entity Q190782
relation P1344
action find
entity Q527378
relation P1344
type Q500834
{'AND': [['Q190782', 'P1344', {'concept': 'Q500834'}], ['Q527378', 'P1344', {'concept': 'Q500834'}]]}
SELECT DISTINCT ?b WHERE { resource:Q190782 property:P1344 ?b . resource:Q527378 property:P1344 ?b . ?b rdf:type ontology:Q500834 }
Jamie Cope Ronnie O'Sullivan
action filter_type
action intersection
action find
entity Ronnie O'Sullivan
relation participant of
action find
entity Jamie Cope
relation participant of
type tournament
{'AND': [["Ronnie O'Sullivan", 'participant of', {'concept': 'tournament'}], ['Jamie Cope', 'participant of', {'concept': 'tournament'}]]}
SELECT DISTINCT ?b WHERE { resource:Ronnie_O'Sullivan property:participant_of ?b . resource:Jamie_Cope property:participant_of ?b . ?b rdf:type ontology:tournament }
[]
tournament
Q1154992
SYSTEM
2011 Masters
Q1154992
AND((Q190782,P1344,c(Q500834)), (Q527378,P1344,c(Q500834)))
action filter_type
action intersection
action find
entity Q190782
relation P1344
action find
entity Q527378
relation P1344
type Q500834
Ronnie O'Sullivan and Jamie Cope competed in [ANSWER]
{'AND': [['Q190782', 'P1344', {'concept': 'Q500834'}], ['Q527378', 'P1344', {'concept': 'Q500834'}]]}
SELECT DISTINCT ?b WHERE { resource:Q190782 property:P1344 ?b . resource:Q527378 property:P1344 ?b . ?b rdf:type ontology:Q500834 }
2011 Masters
Ronnie O'Sullivan and Jamie Cope competed in 2011 Masters
2011 Masters
action filter_type
action intersection
action find
entity Ronnie O'Sullivan
relation participant of
action find
entity Jamie Cope
relation participant of
type tournament
{'AND': [["Ronnie O'Sullivan", 'participant of', {'concept': 'tournament'}], ['Jamie Cope', 'participant of', {'concept': 'tournament'}]]}
SELECT DISTINCT ?b WHERE { resource:Ronnie_O'Sullivan property:participant_of ?b . resource:Jamie_Cope property:participant_of ?b . ?b rdf:type ontology:tournament }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q500834 Q476300
USER
How many competitions are parts of approximately 1 tournament ?
(c(Q476300),P361,c(Q500834))
action count
action approx
action find_tuple_counts
relation P361
type Q476300
type Q500834
value 1
[{'concept': 'Q476300'}, 'P361', {'concept': 'Q500834'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?n ) WHERE { ?w property:P361 ?j . ?j rdf:type ontology:Q500834 . ?w rdf:type ontology:Q476300 } GROUP BY ?w } . FILTER ( ?n = 1 ) }
action count
action approx
action find_tuple_counts
relation part of
type competition
type tournament
value 1
[{'concept': 'competition'}, 'part of', {'concept': 'tournament'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?n ) WHERE { ?w property:part_of ?j . ?j rdf:type ontology:tournament . ?w rdf:type ontology:competition } GROUP BY ?w } . FILTER ( ?n = 1 ) }
[]
tournament competition
SYSTEM
4
Q5491892 Q20310794 Q15970330 Q4563374
(c(Q476300),P361,c(Q500834))
action count
action approx
action find_tuple_counts
relation P361
type Q476300
type Q500834
value 1
[ANSWER]
[{'concept': 'Q476300'}, 'P361', {'concept': 'Q500834'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?n ) WHERE { ?w property:P361 ?j . ?j rdf:type ontology:Q500834 . ?w rdf:type ontology:Q476300 } GROUP BY ?w } . FILTER ( ?n = 1 ) }
Franklin Templeton Shootout Diving at the 2015 European Games – Men's 1 metre springboard 2014 Abu Dhabi Grand Prix 1934 All-Ireland Senior Hurling Championship Final
4
action count
action approx
action find_tuple_counts
relation part of
type competition
type tournament
value 1
[{'concept': 'competition'}, 'part of', {'concept': 'tournament'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?n ) WHERE { ?w property:part_of ?j . ?j rdf:type ontology:tournament . ?w rdf:type ontology:competition } GROUP BY ?w } . FILTER ( ?n = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3609
P641
Q31629 Q500834
USER
Which types of sport did lesser number of tournaments participate in than road bicycle racing ?
(c(Q500834),P641,c(Q31629))
action less
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
action count
action filter_type
action find_reverse
entity Q3609
relation P641
type Q31629
[{'concept': 'Q500834'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P641 ?z . ?z rdf:type ontology:Q31629 . ?a rdf:type ontology:Q500834 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P641 resource:Q3609 . ?y rdf:type ontology:Q31629 } } . FILTER ( ?b < ?o ) }
road bicycle racing
action less
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
action count
action filter_type
action find_reverse
entity road bicycle racing
relation sport
type type of sport
[{'concept': 'tournament'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:sport ?z . ?z rdf:type ontology:type_of_sport . ?a rdf:type ontology:tournament } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:sport resource:road_bicycle_racing . ?y rdf:type ontology:type_of_sport } } . FILTER ( ?b < ?o ) }
[]
type of sport tournament
Q216613 Q165704 Q40244
SYSTEM
Nordic skiing, high jump, marathon
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q10980 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q29358 Q211155 Q191691 Q3817372 Q166788 Q326827 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q216613 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q542 Q1798044 Q1209037 Q179687 Q1707432 Q352749 Q272460 Q1075998 Q1141850 Q774176 Q159354 Q1629556 Q40244 Q14554839 Q172809 Q16629853 Q520611 Q335638 Q1423069 Q465014 Q186222 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q1128216 Q7735 Q428242 Q48890 Q162883 Q5300110
(c(Q500834),P641,c(Q31629))
action less
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
action count
action filter_type
action find_reverse
entity Q3609
relation P641
type Q31629
[ANSWERS] lesser number of tournaments participated in than road bicycle racing
[{'concept': 'Q500834'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P641 ?z . ?z rdf:type ontology:Q31629 . ?a rdf:type ontology:Q500834 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P641 resource:Q3609 . ?y rdf:type ontology:Q31629 } } . FILTER ( ?b < ?o ) }
800 metres grass skiing 110 metres hurdles International rules football rock climbing heptathlon waterskiing triathlon airsoft 100 metres hurdles sprinting sailing open water swimming downhill mountain biking draughts orienteering 200 metres 1500 metres beach run biathlon artistic gymnastics snowboarding horse racing Ice yachting bicycle motocross cross-country cycling kite surfing modern pentathlon nine-pin bowling sporting clays Nordic skiing rafting kayaking stadion Flag football freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting roller sport carom billiards 100 metres athletics Olympic skeet Modern competitive archery cross-country skiing roller skating sprint Pilates ski mountaineering canoe racing Keirin rowing 1000 metres marathon competitive fencing ten-pin bowling Mixed Doubles mountain biking cyclo-cross canoe camping trampolining alpine skiing para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism wheelchair basketball diving ski-orienteering college basketball free climbing double trap
Nordic skiing, high jump and marathon lesser number of tournaments participated in than road bicycle racing
Nordic skiing high jump marathon
action less
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
action count
action filter_type
action find_reverse
entity road bicycle racing
relation sport
type type of sport
[{'concept': 'tournament'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:sport ?z . ?z rdf:type ontology:type_of_sport . ?a rdf:type ontology:tournament } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:sport resource:road_bicycle_racing . ?y rdf:type ontology:type_of_sport } } . FILTER ( ?b < ?o ) }
[]