Simple Question (Direct)
Simple Question
Q5517766
P161
Q502895
USER
Which people are in Galaate ?
(Q5517766,P161,c(Q502895))
action filter_type
action find
entity Q5517766
relation P161
type Q502895
['Q5517766', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q5517766 property:P161 ?x . ?x rdf:type ontology:Q502895 }
Galaate
action filter_type
action find
entity Galaate
relation cast member
type common name
['Galaate', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Galaate property:cast_member ?x . ?x rdf:type ontology:common_name }
[]
common name
Q10998459 Q7490571 Q6438563
SYSTEM
Tara, Shashikumar, Kriti Kharbanda
Q7490571 Q6438563 Q7238147 Q10998459
(Q5517766,P161,c(Q502895))
action filter_type
action find
entity Q5517766
relation P161
type Q502895
[ANSWERS] are in Galaate
['Q5517766', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q5517766 property:P161 ?x . ?x rdf:type ontology:Q502895 }
Shashikumar Kriti Kharbanda Prajwal Devaraj Tara
Tara, Shashikumar and Kriti Kharbanda are in Galaate
Tara Shashikumar Kriti Kharbanda
action filter_type
action find
entity Galaate
relation cast member
type common name
['Galaate', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Galaate property:cast_member ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q10998459 Q7490571 Q6438563
P106
Q12737077
USER
What are the professions of those people ?
(Q10998459,P106,c(Q12737077)) (Q7490571,P106,c(Q12737077)) (Q6438563,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q10998459', 'P106', {'concept': 'Q12737077'}] ['Q7490571', 'P106', {'concept': 'Q12737077'}] ['Q6438563', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?q ) { ( resource:Q7490571 ) ( resource:Q6438563 ) ( resource:Q7238147 ) } . ?k rdf:type ontology:Q12737077 . ?q property:P106 ?k }
Tara Shashikumar Kriti Kharbanda
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Tara', 'occupation', {'concept': 'occupation'}] ['Shashikumar', 'occupation', {'concept': 'occupation'}] ['Kriti Kharbanda', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?q ) { ( resource:Shashikumar ) ( resource:Kriti_Kharbanda ) ( resource:Prajwal_Devaraj ) } . ?k rdf:type ontology:occupation . ?q property:occupation ?k }
[]
occupation
Q33999 Q82955 Q7019111
SYSTEM
actor, politician, social worker
Q33999 Q82955 Q7019111 Q33999 Q82955 Q33999
(Q10998459,P106,c(Q12737077)) (Q7490571,P106,c(Q12737077)) (Q6438563,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
The professions of those people are [ANSWERS]
['Q10998459', 'P106', {'concept': 'Q12737077'}] ['Q7490571', 'P106', {'concept': 'Q12737077'}] ['Q6438563', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?q ) { ( resource:Q7490571 ) ( resource:Q6438563 ) ( resource:Q7238147 ) } . ?k rdf:type ontology:Q12737077 . ?q property:P106 ?k }
actor politician social worker actor politician actor
The professions of those people are actor, politician and social worker
actor politician social worker
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Tara', 'occupation', {'concept': 'occupation'}] ['Shashikumar', 'occupation', {'concept': 'occupation'}] ['Kriti Kharbanda', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?q ) { ( resource:Shashikumar ) ( resource:Kriti_Kharbanda ) ( resource:Prajwal_Devaraj ) } . ?k rdf:type ontology:occupation . ?q property:occupation ?k }
[]
Clarification
Simple Question|Single Entity|Indirect
Q82955
P425
Q3769299
USER
Who has that one as the associated field of occupation ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?p WHERE { resource:Q82955 property:P425 ?p . ?p rdf:type ontology:Q3769299 }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?p WHERE { resource:politician property:field_of_this_occupation ?p . ?p rdf:type ontology:human_behaviour }
[]
human behaviour
Clarification for simple ques.
Q82955
SYSTEM
Did you mean politician ?
Q33999 Q82955 Q7019111
(Q33999,P425,c(Q3769299)) (Q82955,P425,c(Q3769299)) (Q7019111,P425,c(Q3769299))
[ANSWER]
['Q33999', 'P425', {'concept': 'Q3769299'}] ['Q82955', 'P425', {'concept': 'Q3769299'}] ['Q7019111', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?p WHERE { resource:Q82955 property:P425 ?p . ?p rdf:type ontology:Q3769299 }
actor politician social worker
Did you mean politician ?
politician
['actor', 'field of this occupation', {'concept': 'human behaviour'}] ['politician', 'field of this occupation', {'concept': 'human behaviour'}] ['social worker', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?p WHERE { resource:politician property:field_of_this_occupation ?p . ?p rdf:type ontology:human_behaviour }
[]
Simple Question (Coreferenced)
USER
Yes
(Q82955,P425,c(Q3769299))
['Q82955', 'P425', {'concept': 'Q3769299'}]
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
[]
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
[ANSWER] has that one as the associated field of occupation
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?p WHERE { resource:Q82955 property:P425 ?p . ?p rdf:type ontology:Q3769299 }
politics
Politics has that one as the associated field of occupation
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?p WHERE { resource:politician property:field_of_this_occupation ?p . ?p rdf:type ontology:human_behaviour }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q82955 Q2429253
P710
Q180684
USER
How many conflicts did politician or Islamic State of Iraq and the Levant participate in ?
(c(Q180684),P710,Q82955) (c(Q180684),P710,Q2429253)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P710
type Q180684
action filter_type
action find_reverse
entity Q2429253
relation P710
type Q180684
[{'concept': 'Q180684'}, 'P710', 'Q82955'] [{'concept': 'Q180684'}, 'P710', 'Q2429253']
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:P710 resource:Q82955 . ?a rdf:type ontology:Q180684 } UNION { ?a property:P710 resource:Q2429253 . ?a rdf:type ontology:Q180684 } }
politician Islamic State of Iraq and the Levant
action count
action union
action filter_type
action find_reverse
entity politician
relation participant
type conflict
action filter_type
action find_reverse
entity Islamic State of Iraq and the Levant
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'politician'] [{'concept': 'conflict'}, 'participant', 'Islamic State of Iraq and the Levant']
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:participant resource:politician . ?a rdf:type ontology:conflict } UNION { ?a property:participant resource:Islamic_State_of_Iraq_and_the_Levant . ?a rdf:type ontology:conflict } }
[]
conflict
SYSTEM
3
Q18121535 Q18357664 Q18701760
(c(Q180684),P710,Q82955) (c(Q180684),P710,Q2429253)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P710
type Q180684
action filter_type
action find_reverse
entity Q2429253
relation P710
type Q180684
[ANSWER]
[{'concept': 'Q180684'}, 'P710', 'Q82955'] [{'concept': 'Q180684'}, 'P710', 'Q2429253']
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:P710 resource:Q82955 . ?a rdf:type ontology:Q180684 } UNION { ?a property:P710 resource:Q2429253 . ?a rdf:type ontology:Q180684 } }
Opération Chammal Operation Inherent Resolve 2014 Fall of Mosul
3
action count
action union
action filter_type
action find_reverse
entity politician
relation participant
type conflict
action filter_type
action find_reverse
entity Islamic State of Iraq and the Levant
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'politician'] [{'concept': 'conflict'}, 'participant', 'Islamic State of Iraq and the Levant']
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:participant resource:politician . ?a rdf:type ontology:conflict } UNION { ?a property:participant resource:Islamic_State_of_Iraq_and_the_Levant . ?a rdf:type ontology:conflict } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of around 3 occupations ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:P417 ?v . ?v rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 } GROUP BY ?v } . FILTER ( ?y = 3 ) }
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:patron_saint ?v . ?v rdf:type ontology:common_name . ?k rdf:type ontology:occupation } GROUP BY ?v } . FILTER ( ?y = 3 ) }
[]
common name occupation
Q128538 Q192816 Q200895
SYSTEM
Luke the Evangelist, Saint Barbara, Agatha of Sicily
Q128538 Q192816 Q200895
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[ANSWERS] are the names of person who are the patron saints of around 3 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:P417 ?v . ?v rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 } GROUP BY ?v } . FILTER ( ?y = 3 ) }
Luke the Evangelist Saint Barbara Agatha of Sicily
Luke the Evangelist, Saint Barbara and Agatha of Sicily are the names of person who are the patron saints of around 3 occupations
Luke the Evangelist Saint Barbara Agatha of Sicily
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?y ) WHERE { ?k property:patron_saint ?v . ?v rdf:type ontology:common_name . ?k rdf:type ontology:occupation } GROUP BY ?v } . FILTER ( ?y = 3 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q128538
P50
Q179461
USER
Which religious text was written by that person ?
(c(Q179461),P50,Q128538)
action filter_type
action find_reverse
entity Q128538
relation P50
type Q179461
[{'concept': 'Q179461'}, 'P50', 'Q128538']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q128538 . ?n rdf:type ontology:Q179461 }
Luke the Evangelist
action filter_type
action find_reverse
entity Luke the Evangelist
relation author
type religious text
[{'concept': 'religious text'}, 'author', 'Luke the Evangelist']
SELECT DISTINCT ?n WHERE { ?n property:author resource:Luke_the_Evangelist . ?n rdf:type ontology:religious_text }
[]
religious text
Clarification for simple ques.
Q128538
SYSTEM
Did you mean Luke the Evangelist ?
Q128538 Q192816 Q200895
(c(Q179461),P50,Q128538) (c(Q179461),P50,Q192816) (c(Q179461),P50,Q200895)
[ANSWER]
[{'concept': 'Q179461'}, 'P50', 'Q128538'] [{'concept': 'Q179461'}, 'P50', 'Q192816'] [{'concept': 'Q179461'}, 'P50', 'Q200895']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q128538 . ?n rdf:type ontology:Q179461 }
Luke the Evangelist Saint Barbara Agatha of Sicily
Did you mean Luke the Evangelist ?
Luke the Evangelist
[{'concept': 'religious text'}, 'author', 'Luke the Evangelist'] [{'concept': 'religious text'}, 'author', 'Saint Barbara'] [{'concept': 'religious text'}, 'author', 'Agatha of Sicily']
SELECT DISTINCT ?n WHERE { ?n property:author resource:Luke_the_Evangelist . ?n rdf:type ontology:religious_text }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q179461),P50,Q128538)
[{'concept': 'Q179461'}, 'P50', 'Q128538']
[{'concept': 'religious text'}, 'author', 'Luke the Evangelist']
[]
Q39939
SYSTEM
Gospel of Luke
Q39939
(c(Q179461),P50,Q128538)
action filter_type
action find_reverse
entity Q128538
relation P50
type Q179461
[ANSWER] was written by that person
[{'concept': 'Q179461'}, 'P50', 'Q128538']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q128538 . ?n rdf:type ontology:Q179461 }
Gospel of Luke
Gospel of Luke was written by that person
Gospel of Luke
action filter_type
action find_reverse
entity Luke the Evangelist
relation author
type religious text
[{'concept': 'religious text'}, 'author', 'Luke the Evangelist']
SELECT DISTINCT ?n WHERE { ?n property:author resource:Luke_the_Evangelist . ?n rdf:type ontology:religious_text }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q39939 Q41370
P1441
Q502895
USER
Is David featured in that religious text ?
(Q41370,P1441,Q39939)
action is_in
entity Q39939
action find
entity Q41370
relation P1441
['Q41370', 'P1441', 'Q39939']
ASK WHERE { resource:Q41370 property:P1441 resource:Q39939 }
Gospel of Luke David
action is_in
entity Gospel of Luke
action find
entity David
relation present in work
['David', 'present in work', 'Gospel of Luke']
ASK WHERE { resource:David property:present_in_work resource:Gospel_of_Luke }
[]
common name
SYSTEM
YES
(Q41370,P1441,Q39939)
action is_in
entity Q39939
action find
entity Q41370
relation P1441
[ANSWER]
['Q41370', 'P1441', 'Q39939']
ASK WHERE { resource:Q41370 property:P1441 resource:Q39939 }
Yes
action is_in
entity Gospel of Luke
action find
entity David
relation present in work
['David', 'present in work', 'Gospel of Luke']
ASK WHERE { resource:David property:present_in_work resource:Gospel_of_Luke }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q206987
P1303
Q34379 Q502895
USER
How many musical instruments are played by more number of people than vibraphone ?
(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 Q206987
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Q206987 property:P1303 ?h . ?h rdf:type ontology:Q34379 } } . FILTER ( ?i > ?f ) . { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?w } }
vibraphone
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 vibraphone
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:vibraphone property:instrument ?h . ?h rdf:type ontology:musical_instrument } } . FILTER ( ?i > ?f ) . { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?w } }
[]
musical instrument common name
SYSTEM
11
Q80284 Q46185 Q80019 Q5994 Q81982 Q8338 Q8371 Q8355 Q1444 Q128309 Q1343007
(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 Q206987
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:Q206987 property:P1303 ?h . ?h rdf:type ontology:Q34379 } } . FILTER ( ?i > ?f ) . { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?w } }
viola bass guitar double bass piano harpsichord trumpet cello violin organ drum kit electronic keyboard
11
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 vibraphone
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { resource:vibraphone property:instrument ?h . ?h rdf:type ontology:musical_instrument } } . FILTER ( ?i > ?f ) . { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?i ) WHERE { ?q property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?w } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q483994
P1303
Q34379 Q502895
USER
And how about 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 ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:P1303 ?p . ?v rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Q483994 property:P1303 ?a . ?a rdf:type ontology:Q34379 } } . FILTER ( ?j > ?h ) }
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 ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:instrument ?p . ?v rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Kazoo property:instrument ?a . ?a rdf:type ontology:musical_instrument } } . FILTER ( ?j > ?h ) }
[]
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 ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:P1303 ?p . ?v rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Q483994 property:P1303 ?a . ?a rdf:type ontology:Q34379 } } . FILTER ( ?j > ?h ) }
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 ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:instrument ?p . ?v rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Kazoo property:instrument ?a . ?a rdf:type ontology:musical_instrument } } . FILTER ( ?j > ?h ) }
[]