Simple Question (Direct)
Simple Question
Q716000
P106
Q12737077
USER
Which occupations have Norman Pritchard as his/her 's career ?
(Q716000,P106,c(Q12737077))
action filter_type
action find
entity Q716000
relation P106
type Q12737077
['Q716000', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q716000 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Norman Pritchard
action filter_type
action find
entity Norman Pritchard
relation occupation
type occupation
['Norman Pritchard', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Norman_Pritchard property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q33999 Q4009406
SYSTEM
actor, sprinter
Q33999 Q4009406
(Q716000,P106,c(Q12737077))
action filter_type
action find
entity Q716000
relation P106
type Q12737077
The [ANSWERS] have Norman Pritchard as his/her 's career
['Q716000', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q716000 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
actor sprinter
The actor and sprinter have Norman Pritchard as his/her 's career
actor sprinter
action filter_type
action find
entity Norman Pritchard
relation occupation
type occupation
['Norman Pritchard', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Norman_Pritchard property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33999
P425
Q1914636
USER
Which activity has actor as the associated field of occupation ?
(Q33999,P425,c(Q1914636))
action filter_type
action find
entity Q33999
relation P425
type Q1914636
['Q33999', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1914636 . resource:Q33999 property:P425 ?h }
actor
action filter_type
action find
entity actor
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:activity . resource:actor property:field_of_this_occupation ?h }
[]
activity
Q222749
SYSTEM
acting
Q222749
(Q33999,P425,c(Q1914636))
action filter_type
action find
entity Q33999
relation P425
type Q1914636
The [ANSWER] has actor as the associated field of occupation
['Q33999', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1914636 . resource:Q33999 property:P425 ?h }
acting
The acting has actor as the associated field of occupation
acting
action filter_type
action find
entity actor
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:activity . resource:actor property:field_of_this_occupation ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6625963
P170
Q1792379
USER
Which art genre was created by novelist ?
(c(Q1792379),P170,Q6625963)
action filter_type
action find_reverse
entity Q6625963
relation P170
type Q1792379
[{'concept': 'Q1792379'}, 'P170', 'Q6625963']
SELECT DISTINCT ?b WHERE { ?b property:P170 resource:Q6625963 . ?b rdf:type ontology:Q1792379 }
novelist
action filter_type
action find_reverse
entity novelist
relation creator
type art genre
[{'concept': 'art genre'}, 'creator', 'novelist']
SELECT DISTINCT ?b WHERE { ?b property:creator resource:novelist . ?b rdf:type ontology:art_genre }
[]
art genre
Q8261
SYSTEM
novel
Q8261
(c(Q1792379),P170,Q6625963)
action filter_type
action find_reverse
entity Q6625963
relation P170
type Q1792379
The [ANSWER] was created by [ANSWER]ist
[{'concept': 'Q1792379'}, 'P170', 'Q6625963']
SELECT DISTINCT ?b WHERE { ?b property:P170 resource:Q6625963 . ?b rdf:type ontology:Q1792379 }
novel
The novel was created by novelist
novel
action filter_type
action find_reverse
entity novelist
relation creator
type art genre
[{'concept': 'art genre'}, 'creator', 'novelist']
SELECT DISTINCT ?b WHERE { ?b property:creator resource:novelist . ?b rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8261
P135
Q502895
USER
Which person is associated with that art genre ?
(c(Q502895),P135,Q8261)
action filter_type
action find_reverse
entity Q8261
relation P135
type Q502895
[{'concept': 'Q502895'}, 'P135', 'Q8261']
SELECT DISTINCT ?i WHERE { ?i property:P135 resource:Q8261 . ?i rdf:type ontology:Q502895 }
novel
action filter_type
action find_reverse
entity novel
relation movement
type common name
[{'concept': 'common name'}, 'movement', 'novel']
SELECT DISTINCT ?i WHERE { ?i property:movement resource:novel . ?i rdf:type ontology:common_name }
[]
common name
Q22750
SYSTEM
Maurice Genevoix
Q22750
(c(Q502895),P135,Q8261)
action filter_type
action find_reverse
entity Q8261
relation P135
type Q502895
[ANSWER] is associated with that art genre
[{'concept': 'Q502895'}, 'P135', 'Q8261']
SELECT DISTINCT ?i WHERE { ?i property:P135 resource:Q8261 . ?i rdf:type ontology:Q502895 }
Maurice Genevoix
Maurice Genevoix is associated with that art genre
Maurice Genevoix
action filter_type
action find_reverse
entity novel
relation movement
type common name
[{'concept': 'common name'}, 'movement', 'novel']
SELECT DISTINCT ?i WHERE { ?i property:movement resource:novel . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by exactly 1 person ?
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?i ) WHERE { ?s property:P1303 ?b . ?s rdf:type ontology:Q502895 . ?b rdf:type ontology:Q34379 } GROUP BY ?b } . FILTER ( ?i = 1 ) }
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?i ) WHERE { ?s property:instrument ?b . ?s rdf:type ontology:common_name . ?b rdf:type ontology:musical_instrument } GROUP BY ?b } . FILTER ( ?i = 1 ) }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q890073 Q1178361 Q604538 Q2660670 Q39777 Q678090 Q490054 Q873588 Q593995 Q1327500 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q244976 Q1179017 Q320341 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1
[ANSWERS] are played by exactly 1 person
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?i ) WHERE { ?s property:P1303 ?b . ?s rdf:type ontology:Q502895 . ?b rdf:type ontology:Q34379 } GROUP BY ?b } . FILTER ( ?i = 1 ) }
Body percussion davul Temple block Irish bouzouki maraca Twelve-string guitar Ondioline Jinghu player piano electronic musical instrument Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir bodhrán Daxophone celesta gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
Davul, Wurlitzer electric piano and Bendir are played by exactly 1 person
davul Wurlitzer electric piano Bendir
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?i ) WHERE { ?s property:instrument ?b . ?s rdf:type ontology:common_name . ?b rdf:type ontology:musical_instrument } GROUP BY ?b } . FILTER ( ?i = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q816793
P495
Q15617994
USER
How many administrative territories are the origins of Bendir ?
(Q816793,P495,c(Q15617994))
action count
action filter_type
action find
entity Q816793
relation P495
type Q15617994
['Q816793', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:Q816793 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
Bendir
action count
action filter_type
action find
entity Bendir
relation country of origin
type designation for an administrative territorial entity
['Bendir', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:Bendir property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q43
(Q816793,P495,c(Q15617994))
action count
action filter_type
action find
entity Q816793
relation P495
type Q15617994
[ANSWER]
['Q816793', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:Q816793 property:P495 ?z . ?z rdf:type ontology:Q15617994 }
Turkey
1
action count
action filter_type
action find
entity Bendir
relation country of origin
type designation for an administrative territorial entity
['Bendir', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:Bendir property:country_of_origin ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q24807278
P495
Q15617994
USER
And how about Imagine You and Me?
(Q24807278,P495,c(Q15617994))
action count
action filter_type
action find
entity Q24807278
relation P495
type Q15617994
['Q24807278', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q24807278 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
Imagine You and Me
action count
action filter_type
action find
entity Imagine You and Me
relation country of origin
type designation for an administrative territorial entity
['Imagine You and Me', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Imagine_You_and_Me property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q928
(Q24807278,P495,c(Q15617994))
action count
action filter_type
action find
entity Q24807278
relation P495
type Q15617994
[ANSWER]
['Q24807278', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q24807278 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
Philippines
1
action count
action filter_type
action find
entity Imagine You and Me
relation country of origin
type designation for an administrative territorial entity
['Imagine You and Me', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Imagine_You_and_Me property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6057970
Q15617994
USER
And what about Into the Darkness?
(Q6057970,P495,c(Q15617994))
action count
action filter_type
action find
entity Q6057970
relation P495
type Q15617994
['Q6057970', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q6057970 property:P495 ?c }
Into the Darkness
action count
action filter_type
action find
entity Into the Darkness
relation country of origin
type designation for an administrative territorial entity
['Into the Darkness', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Into_the_Darkness property:country_of_origin ?c }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q6057970,P495,c(Q15617994))
action count
action filter_type
action find
entity Q6057970
relation P495
type Q15617994
[ANSWER]
['Q6057970', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q6057970 property:P495 ?c }
1
action count
action filter_type
action find
entity Into the Darkness
relation country of origin
type designation for an administrative territorial entity
['Into the Darkness', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Into_the_Darkness property:country_of_origin ?c }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1879664
P1303
Q34379 Q502895
USER
Which musical instruments can approximately the same number of people perform with as spoon ?
(c(Q502895),P1303,c(Q34379))
action approx
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 ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ontology:Q502895 . ?w rdf:type ontology:Q34379 . ?y property:P1303 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q rdf:type ontology:Q34379 . resource:Q1879664 property:P1303 ?q } } . FILTER ( ?a = ?k ) }
spoon
action approx
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 ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ontology:common_name . ?w rdf:type ontology:musical_instrument . ?y property:instrument ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q rdf:type ontology:musical_instrument . resource:spoon property:instrument ?q } } . FILTER ( ?a = ?k ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1879664
relation P1303
type Q34379
[ANSWERS] can approximately the same number of people perform with as spoon
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ontology:Q502895 . ?w rdf:type ontology:Q34379 . ?y property:P1303 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q rdf:type ontology:Q34379 . resource:Q1879664 property:P1303 ?q } } . FILTER ( ?a = ?k ) }
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
Davul, harpsichord and Wurlitzer electric piano can approximately the same number of people perform with as spoon
davul harpsichord Wurlitzer electric piano
action approx
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 ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ontology:common_name . ?w rdf:type ontology:musical_instrument . ?y property:instrument ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { ?q rdf:type ontology:musical_instrument . resource:spoon property:instrument ?q } } . FILTER ( ?a = ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q483994
P1303
Q34379 Q502895
USER
And how about Kazoo?
(c(Q502895),P1303,c(Q34379))
action approx
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 ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?r ) WHERE { ?n rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 . ?n property:P1303 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q483994 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } . FILTER ( ?r = ?b ) }
Kazoo
action approx
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 ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?r ) WHERE { ?n rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument . ?n property:instrument ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Kazoo property:instrument ?w . ?w rdf:type ontology:musical_instrument } } . FILTER ( ?r = ?b ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q483994
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?r ) WHERE { ?n rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 . ?n property:P1303 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q483994 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } . FILTER ( ?r = ?b ) }
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
davul harpsichord Wurlitzer electric piano
action approx
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 ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?r ) WHERE { ?n rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument . ?n property:instrument ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Kazoo property:instrument ?w . ?w rdf:type ontology:musical_instrument } } . FILTER ( ?r = ?b ) }
[]