Simple Question (Direct)
Simple Question
Q7599056
P641
Q349
USER
Which sport was Stanislav Stoyanov a part of ?
(Q7599056,P641,c(Q349))
action filter_type
action find
entity Q7599056
relation P641
type Q349
['Q7599056', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q7599056 property:P641 ?p . ?p rdf:type ontology:Q349 }
Stanislav Stoyanov
action filter_type
action find
entity Stanislav Stoyanov
relation sport
type sport
['Stanislav Stoyanov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Stanislav_Stoyanov property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7599056,P641,c(Q349))
action filter_type
action find
entity Q7599056
relation P641
type Q349
The [ANSWER] was Stanislav Stoyanov a part of
['Q7599056', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q7599056 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
The association football was Stanislav Stoyanov a part of
association football
action filter_type
action find
entity Stanislav Stoyanov
relation sport
type sport
['Stanislav Stoyanov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Stanislav_Stoyanov property:sport ?p . ?p rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Where did that sport originate ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?k }
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 ?k WHERE { ?k rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?k }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
That sport originated in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?k }
England
That sport originated 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 ?k WHERE { ?k rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q21
P36
Q56061
USER
How many administrative territories are known as the capital of England ?
(Q21,P36,c(Q56061))
action count
action filter_type
action find
entity Q21
relation P36
type Q56061
['Q21', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:Q21 property:P36 ?x . ?x rdf:type ontology:Q56061 }
England
action count
action filter_type
action find
entity England
relation capital
type administrative territorial entity
['England', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:England property:capital ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q84
(Q21,P36,c(Q56061))
action count
action filter_type
action find
entity Q21
relation P36
type Q56061
[ANSWER]
['Q21', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:Q21 property:P36 ?x . ?x rdf:type ontology:Q56061 }
London
1
action count
action filter_type
action find
entity England
relation capital
type administrative territorial entity
['England', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:England property:capital ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q780838
P36
Q56061
USER
And what about Cacheu Region?
(Q780838,P36,c(Q56061))
action count
action filter_type
action find
entity Q780838
relation P36
type Q56061
['Q780838', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Q780838 property:P36 ?a . ?a rdf:type ontology:Q56061 }
Cacheu Region
action count
action filter_type
action find
entity Cacheu Region
relation capital
type administrative territorial entity
['Cacheu Region', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Cacheu_Region property:capital ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1002807
(Q780838,P36,c(Q56061))
action count
action filter_type
action find
entity Q780838
relation P36
type Q56061
[ANSWER]
['Q780838', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Q780838 property:P36 ?a . ?a rdf:type ontology:Q56061 }
Cacheu
1
action count
action filter_type
action find
entity Cacheu Region
relation capital
type administrative territorial entity
['Cacheu Region', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Cacheu_Region property:capital ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3825373
Q56061
USER
And what about Concepción District, Vilcas Huamán?
(Q3825373,P36,c(Q56061))
action count
action filter_type
action find
entity Q3825373
relation P36
type Q56061
['Q3825373', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { resource:Q3825373 property:P36 ?x . ?x rdf:type ontology:Q56061 }
Concepción District, Vilcas Huamán
action count
action filter_type
action find
entity Concepción District, Vilcas Huamán
relation capital
type administrative territorial entity
['Concepción District, Vilcas Huamán', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { resource:Concepción_District,_Vilcas_Huamán property:capital ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q3825373,P36,c(Q56061))
action count
action filter_type
action find
entity Q3825373
relation P36
type Q56061
[ANSWER]
['Q3825373', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { resource:Q3825373 property:P36 ?x . ?x rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Concepción District, Vilcas Huamán
relation capital
type administrative territorial entity
['Concepción District, Vilcas Huamán', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { resource:Concepción_District,_Vilcas_Huamán property:capital ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q537750
P1303
Q34379 Q502895
USER
How many musical instruments can more number of people perform with than Djembe ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q537750
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q537750 property:P1303 ?b . ?b rdf:type ontology:Q34379 } } . FILTER ( ?i > ?f ) }
Djembe
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Djembe
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Djembe property:instrument ?b . ?b rdf:type ontology:musical_instrument } } . FILTER ( ?i > ?f ) }
[]
musical instrument common name
SYSTEM
22
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q626035 Q742180 Q1444 Q220971 Q128309 Q726306 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q537750
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q537750 property:P1303 ?b . ?b rdf:type ontology:Q34379 } } . FILTER ( ?i > ?f ) }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla glockenspiel viola d'amore organ marimba drum kit erhu electronic keyboard drum
22
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Djembe
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Djembe property:instrument ?b . ?b rdf:type ontology:musical_instrument } } . FILTER ( ?i > ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1879664
P1303
Q34379 Q502895
USER
And what about spoon?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1879664
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?l ) WHERE { ?s rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 . ?a property:P1303 ?s } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q1879664 property:P1303 ?c . ?c rdf:type ontology:Q34379 } } . FILTER ( ?l > ?j ) }
spoon
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity spoon
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?l ) WHERE { ?s rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name . ?a property:instrument ?s } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:spoon property:instrument ?c . ?c rdf:type ontology:musical_instrument } } . FILTER ( ?l > ?j ) }
[]
musical instrument common name
SYSTEM
63
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q5994 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1879664
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?l ) WHERE { ?s rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 . ?a property:P1303 ?s } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q1879664 property:P1303 ?c . ?c rdf:type ontology:Q34379 } } . FILTER ( ?l > ?j ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki piano maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
63
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity spoon
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?l ) WHERE { ?s rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name . ?a property:instrument ?s } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:spoon property:instrument ?c . ?c rdf:type ontology:musical_instrument } } . FILTER ( ?l > ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q39777
P1303
Q34379 Q502895
USER
Which musical instruments can lesser number of people perform with than maraca ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q39777
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:P1303 resource:Q39777 . ?f rdf:type ontology:Q502895 } } . FILTER ( ?v < ?l ) }
maraca
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity maraca
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:instrument resource:maraca . ?f rdf:type ontology:common_name } } . FILTER ( ?v < ?l ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q39777
relation P1303
type Q502895
[ANSWERS] can lesser number of people perform with than maraca
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:P1303 resource:Q39777 . ?f rdf:type ontology:Q502895 } } . FILTER ( ?v < ?l ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument can lesser number of people perform with than maraca
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity maraca
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:instrument resource:maraca . ?f rdf:type ontology:common_name } } . FILTER ( ?v < ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q8338
P1303
Q34379 Q502895
USER
And also tell me about trumpet?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q8338
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ontology:Q502895 . ?k property:P1303 resource:Q8338 } } . FILTER ( ?o < ?a ) }
trumpet
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity trumpet
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ontology:common_name . ?k property:instrument resource:trumpet } } . FILTER ( ?o < ?a ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 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 less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q8338
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ontology:Q502895 . ?k property:P1303 resource:Q8338 } } . FILTER ( ?o < ?a ) }
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 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
davul harpsichord Wurlitzer electric piano
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity trumpet
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ontology:common_name . ?k property:instrument resource:trumpet } } . FILTER ( ?o < ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P870
Q34379 Q862597 Q207628
USER
How many musical instruments are used in approximately 22 musical forms and musical compositions ?
(c(Q862597)|c(Q207628),P870,c(Q34379))
action count
action approx
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
action find_reverse_tuple_counts
relation P870
type Q34379
type Q207628
value 22
[[{'concept': 'Q862597'}, {'concept': 'Q207628'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { FILTER ( ?q = 22 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?p WHERE { { ?n property:P870 ?p . ?p rdf:type ontology:Q34379 . ?n rdf:type ontology:Q862597 } UNION { ?n property:P870 ?p . ?n rdf:type ontology:Q207628 . ?p rdf:type ontology:Q34379 } } GROUP BY ?p } }
action count
action approx
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical composition
value 22
[[{'concept': 'musical form'}, {'concept': 'musical composition'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { FILTER ( ?q = 22 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?p WHERE { { ?n property:instrumentation ?p . ?p rdf:type ontology:musical_instrument . ?n rdf:type ontology:musical_form } UNION { ?n property:instrumentation ?p . ?n rdf:type ontology:musical_composition . ?p rdf:type ontology:musical_instrument } } GROUP BY ?p } }
[]
musical instrument musical form musical composition
SYSTEM
18
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q1444 Q39777 Q8355 Q11404 Q206987 Q81982
(c(Q862597)|c(Q207628),P870,c(Q34379))
action count
action approx
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
action find_reverse_tuple_counts
relation P870
type Q34379
type Q207628
value 22
[ANSWER]
[[{'concept': 'Q862597'}, {'concept': 'Q207628'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { FILTER ( ?q = 22 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?p WHERE { { ?n property:P870 ?p . ?p rdf:type ontology:Q34379 . ?n rdf:type ontology:Q862597 } UNION { ?n property:P870 ?p . ?n rdf:type ontology:Q207628 . ?p rdf:type ontology:Q34379 } } GROUP BY ?p } }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta organ maraca violin drum vibraphone harpsichord
18
action count
action approx
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical composition
value 22
[[{'concept': 'musical form'}, {'concept': 'musical composition'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { FILTER ( ?q = 22 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?p WHERE { { ?n property:instrumentation ?p . ?p rdf:type ontology:musical_instrument . ?n rdf:type ontology:musical_form } UNION { ?n property:instrumentation ?p . ?n rdf:type ontology:musical_composition . ?p rdf:type ontology:musical_instrument } } GROUP BY ?p } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q483994
P1303
Q34379 Q502895
USER
How many musical instruments are played by greater number of people than Kazoo ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q483994
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { resource:Q483994 property:P1303 ?h . ?h rdf:type ontology:Q34379 } } . FILTER ( ?f > ?v ) . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?f ) WHERE { ?u property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?q } }
Kazoo
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kazoo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { resource:Kazoo property:instrument ?h . ?h rdf:type ontology:musical_instrument } } . FILTER ( ?f > ?v ) . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?f ) WHERE { ?u property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?q } }
[]
musical instrument common name
SYSTEM
22
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q626035 Q742180 Q1444 Q220971 Q128309 Q726306 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q483994
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { resource:Q483994 property:P1303 ?h . ?h rdf:type ontology:Q34379 } } . FILTER ( ?f > ?v ) . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?f ) WHERE { ?u property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?q } }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla glockenspiel viola d'amore organ marimba drum kit erhu electronic keyboard drum
22
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kazoo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { resource:Kazoo property:instrument ?h . ?h rdf:type ontology:musical_instrument } } . FILTER ( ?f > ?v ) . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?f ) WHERE { ?u property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?q } }
[]