Simple Question (Direct)
Simple Question
Q1335608
P364
Q34770
USER
Which language was used originally for the creation of Jammin' the Blues ?
(Q1335608,P364,c(Q34770))
action filter_type
action find
entity Q1335608
relation P364
type Q34770
['Q1335608', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q1335608 property:P364 ?m . ?m rdf:type ontology:Q34770 }
Jammin' the Blues
action filter_type
action find
entity Jammin' the Blues
relation original language of work
type language
["Jammin' the Blues", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Jammin'_the_Blues property:original_language_of_work ?m . ?m rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1335608,P364,c(Q34770))
action filter_type
action find
entity Q1335608
relation P364
type Q34770
[ANSWER] was used originally for the creation of Jammin' the Blues
['Q1335608', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q1335608 property:P364 ?m . ?m rdf:type ontology:Q34770 }
English
English was used originally for the creation of Jammin' the Blues
English
action filter_type
action find
entity Jammin' the Blues
relation original language of work
type language
["Jammin' the Blues", 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Jammin'_the_Blues property:original_language_of_work ?m . ?m rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1335608
P161
Q502895
USER
Which people were casted in Jammin' the Blues ?
(Q1335608,P161,c(Q502895))
action filter_type
action find
entity Q1335608
relation P161
type Q502895
['Q1335608', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1335608 property:P161 ?l . ?l rdf:type ontology:Q502895 }
Jammin' the Blues
action filter_type
action find
entity Jammin' the Blues
relation cast member
type common name
["Jammin' the Blues", 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Jammin'_the_Blues property:cast_member ?l . ?l rdf:type ontology:common_name }
[]
common name
Q1658835 Q498745 Q110714
SYSTEM
Illinois Jacquet, Barney Kessel, Lester Young
Q289821 Q498745 Q110714 Q125686 Q1658835 Q720654 Q1369875
(Q1335608,P161,c(Q502895))
action filter_type
action find
entity Q1335608
relation P161
type Q502895
[ANSWERS] were casted in Jammin' the Blues
['Q1335608', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1335608 property:P161 ?l . ?l rdf:type ontology:Q502895 }
Harry Edison Barney Kessel Lester Young Jo Jones Illinois Jacquet Sid Catlett Red Callender
Illinois Jacquet, Barney Kessel and Lester Young were casted in Jammin' the Blues
Illinois Jacquet Barney Kessel Lester Young
action filter_type
action find
entity Jammin' the Blues
relation cast member
type common name
["Jammin' the Blues", 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Jammin'_the_Blues property:cast_member ?l . ?l 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 are played by atmost 2321 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2321
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?w <= 2321 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2321
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?w <= 2321 ) }
[]
musical instrument common name
SYSTEM
63
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 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 2321
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?w <= 2321 ) }
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 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
63
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2321
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?w <= 2321 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can exactly 3 people perform with ?
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?c ) WHERE { ?q rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 . ?m property:P1303 ?q } GROUP BY ?q } . FILTER ( ?c = 3 ) }
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?c ) WHERE { ?q rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name . ?m property:instrument ?q } GROUP BY ?q } . FILTER ( ?c = 3 ) }
[]
musical instrument common name
Q626035 Q726306
SYSTEM
glockenspiel, erhu
Q626035 Q726306
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?c ) WHERE { ?q rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 . ?m property:P1303 ?q } GROUP BY ?q } . FILTER ( ?c = 3 ) }
glockenspiel erhu
Which musical instruments can exactly 3 people perform with
glockenspiel erhu
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?c ) WHERE { ?q rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name . ?m property:instrument ?q } GROUP BY ?q } . FILTER ( ?c = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q110714
P172
Q2472587
USER
Which people does Lester Young have as his/her race ?
(Q110714,P172,c(Q2472587))
action filter_type
action find
entity Q110714
relation P172
type Q2472587
['Q110714', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?r WHERE { resource:Q110714 property:P172 ?r . ?r rdf:type ontology:Q2472587 }
Lester Young
action filter_type
action find
entity Lester Young
relation ethnic group
type people
['Lester Young', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?r WHERE { resource:Lester_Young property:ethnic_group ?r . ?r rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q110714,P172,c(Q2472587))
action filter_type
action find
entity Q110714
relation P172
type Q2472587
Lester Young has seen [ANSWER] as his / her race
['Q110714', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?r WHERE { resource:Q110714 property:P172 ?r . ?r rdf:type ontology:Q2472587 }
African Americans
Lester Young has seen African Americans as his / her race
African Americans
action filter_type
action find
entity Lester Young
relation ethnic group
type people
['Lester Young', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?r WHERE { resource:Lester_Young property:ethnic_group ?r . ?r rdf:type ontology:people }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3558582
Q2472587
USER
And also tell me about Antagoras of Rhodes?
(Q3558582,P172,c(Q2472587))
action filter_type
action find
entity Q3558582
relation P172
type Q2472587
['Q3558582', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2472587 . resource:Q3558582 property:P172 ?l }
Antagoras of Rhodes
action filter_type
action find
entity Antagoras of Rhodes
relation ethnic group
type people
['Antagoras of Rhodes', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:people . resource:Antagoras_of_Rhodes property:ethnic_group ?l }
[]
people
Q539051
SYSTEM
Greeks
Q539051
(Q3558582,P172,c(Q2472587))
action filter_type
action find
entity Q3558582
relation P172
type Q2472587
[ANSWER]
['Q3558582', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2472587 . resource:Q3558582 property:P172 ?l }
Greeks
Greeks
action filter_type
action find
entity Antagoras of Rhodes
relation ethnic group
type people
['Antagoras of Rhodes', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:people . resource:Antagoras_of_Rhodes property:ethnic_group ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q110714 Q186385
P175
Q2031291
USER
How many releases delivered the performance of Lester Young or caviar ?
(c(Q2031291),P175,Q110714) (c(Q2031291),P175,Q186385)
action count
action union
action filter_type
action find_reverse
entity Q110714
relation P175
type Q2031291
action filter_type
action find_reverse
entity Q186385
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q110714'] [{'concept': 'Q2031291'}, 'P175', 'Q186385']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { ?u property:P175 resource:Q110714 . ?u rdf:type ontology:Q2031291 } UNION { ?u property:P175 resource:Q186385 . ?u rdf:type ontology:Q2031291 } }
Lester Young caviar
action count
action union
action filter_type
action find_reverse
entity Lester Young
relation performer
type release
action filter_type
action find_reverse
entity caviar
relation performer
type release
[{'concept': 'release'}, 'performer', 'Lester Young'] [{'concept': 'release'}, 'performer', 'caviar']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { ?u property:performer resource:Lester_Young . ?u rdf:type ontology:release } UNION { ?u property:performer resource:caviar . ?u rdf:type ontology:release } }
[]
release
SYSTEM
9
Q7240699 Q7750573 Q6655961 Q7743037 Q24077883 Q7746982 Q6531986 Q7768705 Q1820976
(c(Q2031291),P175,Q110714) (c(Q2031291),P175,Q186385)
action count
action union
action filter_type
action find_reverse
entity Q110714
relation P175
type Q2031291
action filter_type
action find_reverse
entity Q186385
relation P175
type Q2031291
[ANSWER]
[{'concept': 'Q2031291'}, 'P175', 'Q110714'] [{'concept': 'Q2031291'}, 'P175', 'Q186385']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { ?u property:P175 resource:Q110714 . ?u rdf:type ontology:Q2031291 } UNION { ?u property:P175 resource:Q186385 . ?u rdf:type ontology:Q2031291 } }
Pres and Teddy The Master's Touch Live at Birdland The Jazz Giants '56 Pres and Sweets The Lester Young Buddy Rich Trio Lester Young Trio The Thin Mercury Sound Lester Young with the Oscar Peterson Trio
9
action count
action union
action filter_type
action find_reverse
entity Lester Young
relation performer
type release
action filter_type
action find_reverse
entity caviar
relation performer
type release
[{'concept': 'release'}, 'performer', 'Lester Young'] [{'concept': 'release'}, 'performer', 'caviar']
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { ?u property:performer resource:Lester_Young . ?u rdf:type ontology:release } UNION { ?u property:performer resource:caviar . ?u rdf:type ontology:release } }
[]