Simple Question (Direct)
Simple Question
Q3080004
P54
Q12973014
USER
Which sports teams are Percy LeSueur a member of ?
(Q3080004,P54,c(Q12973014))
action filter_type
action find
entity Q3080004
relation P54
type Q12973014
['Q3080004', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?a WHERE { resource:Q3080004 property:P54 ?a . ?a rdf:type ontology:Q12973014 }
Percy LeSueur
action filter_type
action find
entity Percy LeSueur
relation member of sports team
type sports team
['Percy LeSueur', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?a WHERE { resource:Percy_LeSueur property:member_of_sports_team ?a . ?a rdf:type ontology:sports_team }
[]
sports team
Q1753100 Q7826459 Q1271186
SYSTEM
Ottawa Senators (1883-1954), Toronto Ontarios, Toronto Blueshirts
Q1753100 Q7826459 Q1271186
(Q3080004,P54,c(Q12973014))
action filter_type
action find
entity Q3080004
relation P54
type Q12973014
The [ANSWERS] are Percy LeSueur a member of
['Q3080004', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?a WHERE { resource:Q3080004 property:P54 ?a . ?a rdf:type ontology:Q12973014 }
Ottawa Senators (1883-1954) Toronto Ontarios Toronto Blueshirts
The Ottawa Senators (1883-1954), Toronto Ontarios and Toronto Blueshirts are Percy LeSueur a member of
Ottawa Senators (1883-1954) Toronto Ontarios Toronto Blueshirts
action filter_type
action find
entity Percy LeSueur
relation member of sports team
type sports team
['Percy LeSueur', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?a WHERE { resource:Percy_LeSueur property:member_of_sports_team ?a . ?a rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1753100
P641
Q349
USER
Which sport did Ottawa Senators (1883-1954) participate in ?
(Q1753100,P641,c(Q349))
action filter_type
action find
entity Q1753100
relation P641
type Q349
['Q1753100', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q1753100 property:P641 ?l }
Ottawa Senators (1883-1954)
action filter_type
action find
entity Ottawa Senators (1883-1954)
relation sport
type sport
['Ottawa Senators (1883-1954)', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:Ottawa_Senators_(1883-1954) property:sport ?l }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q1753100,P641,c(Q349))
action filter_type
action find
entity Q1753100
relation P641
type Q349
Ottawa Senators ( 1883-1954 ) participated in National [ANSWER]
['Q1753100', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q1753100 property:P641 ?l }
ice hockey
Ottawa Senators ( 1883-1954 ) participated in National ice hockey
ice hockey
action filter_type
action find
entity Ottawa Senators (1883-1954)
relation sport
type sport
['Ottawa Senators (1883-1954)', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:Ottawa_Senators_(1883-1954) property:sport ?l }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17859775
Q349
USER
And what about Will Felder?
(Q17859775,P641,c(Q349))
action filter_type
action find
entity Q17859775
relation P641
type Q349
['Q17859775', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q17859775 property:P641 ?o . ?o rdf:type ontology:Q349 }
Will Felder
action filter_type
action find
entity Will Felder
relation sport
type sport
['Will Felder', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Will_Felder property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q17859775,P641,c(Q349))
action filter_type
action find
entity Q17859775
relation P641
type Q349
[ANSWER]
['Q17859775', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q17859775 property:P641 ?o . ?o rdf:type ontology:Q349 }
basketball
basketball
action filter_type
action find
entity Will Felder
relation sport
type sport
['Will Felder', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Will_Felder property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5372
P921
Q15416
USER
Which television programs were mainly based on that sport ?
(c(Q15416),P921,Q5372)
action filter_type
action find_reverse
entity Q5372
relation P921
type Q15416
[{'concept': 'Q15416'}, 'P921', 'Q5372']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q5372 . ?x rdf:type ontology:Q15416 }
basketball
action filter_type
action find_reverse
entity basketball
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'basketball']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:basketball . ?x rdf:type ontology:television_program }
[]
television program
Q3816051 Q2245919 Q7732973
SYSTEM
Kobe Doin' Work, Dash Kappei, The Fab Five
Q7198477 Q7732973 Q3816051 Q16249938 Q6730553 Q2245919
(c(Q15416),P921,Q5372)
action filter_type
action find_reverse
entity Q5372
relation P921
type Q15416
[ANSWERS] were mainly based on that sport
[{'concept': 'Q15416'}, 'P921', 'Q5372']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q5372 . ?x rdf:type ontology:Q15416 }
Pistol Pete: The Life and Times of Pete Maravich The Fab Five Kobe Doin' Work The Doctor Magic & Bird: A Courtship of Rivals Dash Kappei
Kobe Doin' Work, Dash Kappei and The Fab Five were mainly based on that sport
Kobe Doin' Work Dash Kappei The Fab Five
action filter_type
action find_reverse
entity basketball
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'basketball']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:basketball . ?x rdf:type ontology:television_program }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P50
Q502895
USER
How many people authored that television program ?
(Q2245919,P50,c(Q502895))
['Q2245919', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2245919 property:Q482980 ?z . ?z rdf:type ontology:Q502895 }
['Dash Kappei', 'author', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Dash_Kappei property:author ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q3816051
SYSTEM
Did you mean Kobe Doin' Work ?
(Q3816051,P50,c(Q502895)) (Q2245919,P50,c(Q502895)) (Q7732973,P50,c(Q502895))
[ANSWER]
['Q3816051', 'P50', {'concept': 'Q502895'}] ['Q2245919', 'P50', {'concept': 'Q502895'}] ['Q7732973', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2245919 property:Q482980 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Kobe Doin' Work ?
Kobe Doin' Work
["Kobe Doin' Work", 'author', {'concept': 'common name'}] ['Dash Kappei', 'author', {'concept': 'common name'}] ['The Fab Five', 'author', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Dash_Kappei property:author ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Dash Kappei. Could you tell me the answer for that?
(Q2245919,P50,c(Q502895))
Q2245919
['Q2245919', 'P50', {'concept': 'Q502895'}]
['Dash Kappei', 'author', {'concept': 'common name'}]
[]
SYSTEM
1
Q7046075
(Q2245919,P50,c(Q502895))
[ANSWER]
['Q2245919', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2245919 property:Q482980 ?z . ?z rdf:type ontology:Q502895 }
Noboru Rokuda
1
['Dash Kappei', 'author', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Dash_Kappei property:author ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2245919
P50
Q502895
USER
Which person authored Dash Kappei ?
(Q2245919,P50,c(Q502895))
action filter_type
action find
entity Q2245919
relation P50
type Q502895
['Q2245919', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2245919 property:P50 ?s . ?s rdf:type ontology:Q502895 }
Dash Kappei
action filter_type
action find
entity Dash Kappei
relation author
type common name
['Dash Kappei', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Dash_Kappei property:author ?s . ?s rdf:type ontology:common_name }
[]
common name
Q7046075
SYSTEM
Noboru Rokuda
Q7046075
(Q2245919,P50,c(Q502895))
action filter_type
action find
entity Q2245919
relation P50
type Q502895
To [ANSWER] authored Dash Kappei
['Q2245919', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2245919 property:P50 ?s . ?s rdf:type ontology:Q502895 }
Noboru Rokuda
To Noboru Rokuda authored Dash Kappei
Noboru Rokuda
action filter_type
action find
entity Dash Kappei
relation author
type common name
['Dash Kappei', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Dash_Kappei property:author ?s . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q838948
USER
How many works of art had their voice dubbing done by around 10 people ?
(c(Q838948),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 10
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?d ) WHERE { ?n property:P725 ?a . ?n rdf:type ontology:Q838948 . ?a rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?d = 10 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
value 10
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?d ) WHERE { ?n property:voice_actor ?a . ?n rdf:type ontology:work_of_art . ?a rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?d = 10 ) }
[]
common name work of art
SYSTEM
16
Q13393950 Q16207076 Q23838455 Q568928 Q17485699 Q477965 Q5640689 Q16782 Q622742 Q204416 Q2165639 Q1201022 Q387674 Q1193324 Q246418 Q16248866
(c(Q838948),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 10
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?d ) WHERE { ?n property:P725 ?a . ?n rdf:type ontology:Q838948 . ?a rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?d = 10 ) }
My Little Pony: Equestria Girls Battle Beyond the Sun Planetarian: Hoshi no Hito Garfield: The Movie Alice Through the Looking Glass Persepolis Hal Buried Where the Wild Things Are Felidae Watership Down Tiger & Bunny Final Fantasy VII: Advent Children The Disappearance of Haruhi Suzumiya Gulliver's Travels The Book of Life
16
action count
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
value 10
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?d ) WHERE { ?n property:voice_actor ?a . ?n rdf:type ontology:work_of_art . ?a rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?d = 10 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7046075
P21
Q290
USER
Which sex does Noboru Rokuda belong to ?
(Q7046075,P21,c(Q290))
action filter_type
action find
entity Q7046075
relation P21
type Q290
['Q7046075', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q7046075 property:P21 ?m . ?m rdf:type ontology:Q290 }
Noboru Rokuda
action filter_type
action find
entity Noboru Rokuda
relation gender
type sex
['Noboru Rokuda', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Noboru_Rokuda property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7046075,P21,c(Q290))
action filter_type
action find
entity Q7046075
relation P21
type Q290
Noboru Rokuda belongs to [ANSWER]
['Q7046075', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q7046075 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
Noboru Rokuda belongs to male
male
action filter_type
action find
entity Noboru Rokuda
relation gender
type sex
['Noboru Rokuda', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Noboru_Rokuda property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7046075
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q7046075
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q7046075 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Noboru Rokuda
action filter_type
action find
entity Noboru Rokuda
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Noboru_Rokuda property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q7046075
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q7046075 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Japan
The Japan is that person a civilian of
Japan
action filter_type
action find
entity Noboru Rokuda
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Noboru_Rokuda property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3816051 Q855988
P495
Q1048835
USER
How many political territories are the origin of Kobe Doin' Work or Super Rugby ?
(Q3816051,P495,c(Q1048835)) (Q855988,P495,c(Q1048835))
action count
action union
action filter_type
action find
entity Q3816051
relation P495
type Q1048835
action filter_type
action find
entity Q855988
relation P495
type Q1048835
['Q3816051', 'P495', {'concept': 'Q1048835'}] ['Q855988', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { resource:Q3816051 property:P495 ?c . ?c rdf:type ontology:Q1048835 } UNION { ?c rdf:type ontology:Q1048835 . resource:Q855988 property:P495 ?c } }
Kobe Doin' Work Super Rugby
action count
action union
action filter_type
action find
entity Kobe Doin' Work
relation country of origin
type political territorial entity
action filter_type
action find
entity Super Rugby
relation country of origin
type political territorial entity
["Kobe Doin' Work", 'country of origin', {'concept': 'political territorial entity'}] ['Super Rugby', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { resource:Kobe_Doin'_Work property:country_of_origin ?c . ?c rdf:type ontology:political_territorial_entity } UNION { ?c rdf:type ontology:political_territorial_entity . resource:Super_Rugby property:country_of_origin ?c } }
[]
political territorial entity
SYSTEM
2
Q408 Q664
(Q3816051,P495,c(Q1048835)) (Q855988,P495,c(Q1048835))
action count
action union
action filter_type
action find
entity Q3816051
relation P495
type Q1048835
action filter_type
action find
entity Q855988
relation P495
type Q1048835
[ANSWER]
['Q3816051', 'P495', {'concept': 'Q1048835'}] ['Q855988', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { resource:Q3816051 property:P495 ?c . ?c rdf:type ontology:Q1048835 } UNION { ?c rdf:type ontology:Q1048835 . resource:Q855988 property:P495 ?c } }
Australia New Zealand
2
action count
action union
action filter_type
action find
entity Kobe Doin' Work
relation country of origin
type political territorial entity
action filter_type
action find
entity Super Rugby
relation country of origin
type political territorial entity
["Kobe Doin' Work", 'country of origin', {'concept': 'political territorial entity'}] ['Super Rugby', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { resource:Kobe_Doin'_Work property:country_of_origin ?c . ?c rdf:type ontology:political_territorial_entity } UNION { ?c rdf:type ontology:political_territorial_entity . resource:Super_Rugby property:country_of_origin ?c } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1753100
P54 P21
Q502895
USER
Which people play for the team named Ottawa Senators (1883-1954) and are a male ?
AND((c(Q502895),P54,Q1753100), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1753100
relation P54
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q1753100'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i property:P54 resource:Q1753100 . ?i property:P21 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
male Ottawa Senators (1883-1954)
action filter_type
action intersection
action find_reverse
entity Ottawa Senators (1883-1954)
relation member of sports team
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'Ottawa Senators (1883-1954)'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i property:member_of_sports_team resource:Ottawa_Senators_(1883-1954) . ?i property:gender resource:male . ?i rdf:type ontology:common_name }
[]
common name
Q513671 Q344636 Q3324166 Q3080004 Q324625 Q2747010 Q4978205 Q5495722 Q8836735 Q4894991
SYSTEM
Some of them are Gus Forslund, Frank Finnigan, Morley Bruce, Percy LeSueur, King Clancy, Marty Walsh, Bruce Ridpath, Fred Lake, Herbert Russell, Bert Burry
Q7694089 Q5495722 Q3126369 Q2747010 Q1379470 Q5641260 Q4950375 Q933808 Q3028377 Q5088239 Q16029972 Q6113818 Q16067703 Q3080004 Q5669617 Q2580983 Q466275 Q4721761 Q1270647 Q4978205 Q4710864 Q5325777 Q1101573 Q2837778 Q3324166 Q6112205 Q7273499 Q2926485 Q5585745 Q8836303 Q1354316 Q1231607 Q7295408 Q8836735 Q167880 Q513671 Q3486232 Q15999106 Q324625 Q1147132 Q3128045 Q4894991 Q344636 Q984269 Q984282
AND((c(Q502895),P54,Q1753100), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1753100
relation P54
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] play for the team named Ottawa Senators (1883-1954) and are a male
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q1753100'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i property:P54 resource:Q1753100 . ?i property:P21 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
Teddy Saunders Fred Lake Hamby Shore Marty Walsh Hooley Smith Halder Kirby Bouse Hutton Syd Howe Frank McGee Chauncey Kirby Charles Spittal Jack Mackell Angus Duford Percy LeSueur Harry Helman Billy Gilmour Alec Connell Alf Smith Rusty Crawford Bruce Ridpath Albert Morel Earl Campbell Clint Benedict Allan Shields Morley Bruce Jack Duggan R. Bradley Bruce Stuart Gordon Roberts Horace Gaul Frank Boucher Frank Nighbor Rat Westwick Herbert Russell Hod Stuart Gus Forslund Skene Ronan Joe Dennison King Clancy Punch Broadbent Harvey Pulford Bert Burry Frank Finnigan Jack Darragh Eddie Gerard
Gus Forslund, Frank Finnigan, Morley Bruce, Percy LeSueur, King Clancy, Marty Walsh, Bruce Ridpath, Fred Lake, Herbert Russell and Bert Burry play for the team named Ottawa Senators (1883-1954) and are a male
Gus Forslund Frank Finnigan Morley Bruce Percy LeSueur King Clancy Marty Walsh Bruce Ridpath Fred Lake Herbert Russell Bert Burry
action filter_type
action intersection
action find_reverse
entity Ottawa Senators (1883-1954)
relation member of sports team
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'Ottawa Senators (1883-1954)'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i property:member_of_sports_team resource:Ottawa_Senators_(1883-1954) . ?i property:gender resource:male . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atmost 4116 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 4116
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?t ) WHERE { ?h rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 . ?d property:P1303 ?h } GROUP BY ?h } . FILTER ( ?t <= 4116 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4116
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?t ) WHERE { ?h rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name . ?d property:instrument ?h } GROUP BY ?h } . FILTER ( ?t <= 4116 ) }
[]
musical instrument common name
SYSTEM
64
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 4116
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?t ) WHERE { ?h rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 . ?d property:P1303 ?h } GROUP BY ?h } . FILTER ( ?t <= 4116 ) }
viola bass guitar 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 trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
64
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4116
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?t ) WHERE { ?h rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name . ?d property:instrument ?h } GROUP BY ?h } . FILTER ( ?t <= 4116 ) }
[]