Simple Question (Direct)
Simple Question
Q2299040
P921
Q151885
USER
What was The Stendhal Syndrome mainly about ?
(Q2299040,P921,c(Q151885))
action filter_type
action find
entity Q2299040
relation P921
type Q151885
['Q2299040', 'P921', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q151885 . resource:Q2299040 property:P921 ?a }
The Stendhal Syndrome
action filter_type
action find
entity The Stendhal Syndrome
relation main subject
type concept
['The Stendhal Syndrome', 'main subject', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:concept . resource:The_Stendhal_Syndrome property:main_subject ?a }
[]
concept
Q484188
SYSTEM
serial killer
Q484188
(Q2299040,P921,c(Q151885))
action filter_type
action find
entity Q2299040
relation P921
type Q151885
Mainly about The Stendhal Syndrome was the [ANSWER]
['Q2299040', 'P921', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q151885 . resource:Q2299040 property:P921 ?a }
serial killer
Mainly about The Stendhal Syndrome was the serial killer
serial killer
action filter_type
action find
entity The Stendhal Syndrome
relation main subject
type concept
['The Stendhal Syndrome', 'main subject', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:concept . resource:The_Stendhal_Syndrome property:main_subject ?a }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2640569
P706
Q271669 Q82794 Q151885
USER
Which concepts are located in greater number of landforms and geographic regions than Aldy-Bel culture ?
(c(Q151885),P706,c(Q271669)|c(Q82794))
action greater
action union
action find_tuple_counts
relation P706
type Q151885
type Q271669
action find_tuple_counts
relation P706
type Q151885
type Q82794
action count
action filter_multi_types
action find
entity Q2640569
relation P706
type Q271669
type Q82794
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?h WHERE { FILTER ( ?i > ?r ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { VALUES ( ?c ) { ( ontology:Q271669 ) ( ontology:Q82794 ) } . ?x rdf:type ?c } . resource:Q2640569 property:P706 ?x } } . { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?p ) { ( ontology:Q271669 ) ( ontology:Q82794 ) } . ?k rdf:type ?p } GROUP BY ?h } }
Aldy-Bel culture
action greater
action union
action find_tuple_counts
relation located on terrain feature
type concept
type landform
action find_tuple_counts
relation located on terrain feature
type concept
type geographic region
action count
action filter_multi_types
action find
entity Aldy-Bel culture
relation located on terrain feature
type landform
type geographic region
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?h WHERE { FILTER ( ?i > ?r ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { VALUES ( ?c ) { ( ontology:landform ) ( ontology:geographic_region ) } . ?x rdf:type ?c } . resource:Aldy-Bel_culture property:located_on_terrain_feature ?x } } . { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?p ) { ( ontology:landform ) ( ontology:geographic_region ) } . ?k rdf:type ?p } GROUP BY ?h } }
[]
landform geographic region concept
Q1807594 Q1090851 Q1241067
SYSTEM
Luco-Meluno culture, Châtelperronian, Old Europe
Q13409799 Q1049966 Q1807594 Q2619651 Q2624476 Q1090851 Q134178 Q2666408 Q1241067 Q2556093
(c(Q151885),P706,c(Q271669)|c(Q82794))
action greater
action union
action find_tuple_counts
relation P706
type Q151885
type Q271669
action find_tuple_counts
relation P706
type Q151885
type Q82794
action count
action filter_multi_types
action find
entity Q2640569
relation P706
type Q271669
type Q82794
[ANSWERS] are located in greater number of landforms and geographic regions than Aldy-Bel culture
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?h WHERE { FILTER ( ?i > ?r ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { VALUES ( ?c ) { ( ontology:Q271669 ) ( ontology:Q82794 ) } . ?x rdf:type ?c } . resource:Q2640569 property:P706 ?x } } . { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?p ) { ( ontology:Q271669 ) ( ontology:Q82794 ) } . ?k rdf:type ?p } GROUP BY ?h } }
Argaric culture Castro culture Luco-Meluno culture Asbestos-ceramic Marajoara culture Châtelperronian Minoan civilization Asturian culture Old Europe Gumelniţa–Karanovo culture
Luco-Meluno culture, Châtelperronian and Old Europe are located in greater number of landforms and geographic regions than Aldy-Bel culture
Luco-Meluno culture Châtelperronian Old Europe
action greater
action union
action find_tuple_counts
relation located on terrain feature
type concept
type landform
action find_tuple_counts
relation located on terrain feature
type concept
type geographic region
action count
action filter_multi_types
action find
entity Aldy-Bel culture
relation located on terrain feature
type landform
type geographic region
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?h WHERE { FILTER ( ?i > ?r ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { VALUES ( ?c ) { ( ontology:landform ) ( ontology:geographic_region ) } . ?x rdf:type ?c } . resource:Aldy-Bel_culture property:located_on_terrain_feature ?x } } . { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?p ) { ( ontology:landform ) ( ontology:geographic_region ) } . ?k rdf:type ?p } GROUP BY ?h } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q271669 Q151885
USER
Which landforms are approximately 1 concept located on ?
(c(Q151885),P706,c(Q271669))
action approx
action find_reverse_tuple_counts
relation P706
type Q271669
type Q151885
value 1
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:P706 ?w . ?f rdf:type ontology:Q151885 . ?w rdf:type ontology:Q271669 } GROUP BY ?w } }
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landform
type concept
value 1
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:located_on_terrain_feature ?w . ?f rdf:type ontology:concept . ?w rdf:type ontology:landform } GROUP BY ?w } }
[]
landform concept
Q193264 Q23522 Q34374
SYSTEM
Marajó, Balkans, Crete
Q193264 Q23522 Q34374
(c(Q151885),P706,c(Q271669))
action approx
action find_reverse_tuple_counts
relation P706
type Q271669
type Q151885
value 1
[ANSWERS]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:P706 ?w . ?f rdf:type ontology:Q151885 . ?w rdf:type ontology:Q271669 } GROUP BY ?w } }
Marajó Balkans Crete
Which landforms are approximately 1 concept located on
Marajó Balkans Crete
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landform
type concept
value 1
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:located_on_terrain_feature ?w . ?f rdf:type ontology:concept . ?w rdf:type ontology:landform } GROUP BY ?w } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q193264 Q23522 Q34374
P706
Q151885
USER
Which concepts are located in those landforms ?
(c(Q151885),P706,Q193264) (c(Q151885),P706,Q23522) (c(Q151885),P706,Q34374)
action filter_type
action find_reverse
entity prev_answer
relation P706
type Q151885
[{'concept': 'Q151885'}, 'P706', 'Q193264'] [{'concept': 'Q151885'}, 'P706', 'Q23522'] [{'concept': 'Q151885'}, 'P706', 'Q34374']
SELECT DISTINCT ?t WHERE { VALUES ( ?e ) { ( resource:Q193264 ) ( resource:Q23522 ) ( resource:Q34374 ) } . ?t rdf:type ontology:Q151885 . ?t property:P706 ?e }
Marajó Balkans Crete
action filter_type
action find_reverse
entity prev_answer
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Marajó'] [{'concept': 'concept'}, 'located on terrain feature', 'Balkans'] [{'concept': 'concept'}, 'located on terrain feature', 'Crete']
SELECT DISTINCT ?t WHERE { VALUES ( ?e ) { ( resource:Marajó ) ( resource:Balkans ) ( resource:Crete ) } . ?t rdf:type ontology:concept . ?t property:located_on_terrain_feature ?e }
[]
concept
Q2624476 Q1241067 Q134178
SYSTEM
Marajoara culture, Old Europe, Minoan civilization
Q2624476 Q1241067 Q134178
(c(Q151885),P706,Q193264) (c(Q151885),P706,Q23522) (c(Q151885),P706,Q34374)
action filter_type
action find_reverse
entity prev_answer
relation P706
type Q151885
[ANSWERS] are located in those landforms
[{'concept': 'Q151885'}, 'P706', 'Q193264'] [{'concept': 'Q151885'}, 'P706', 'Q23522'] [{'concept': 'Q151885'}, 'P706', 'Q34374']
SELECT DISTINCT ?t WHERE { VALUES ( ?e ) { ( resource:Q193264 ) ( resource:Q23522 ) ( resource:Q34374 ) } . ?t rdf:type ontology:Q151885 . ?t property:P706 ?e }
Marajoara culture Old Europe Minoan civilization
Marajoara culture, Old Europe and Minoan civilization are located in those landforms
Marajoara culture Old Europe Minoan civilization
action filter_type
action find_reverse
entity prev_answer
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Marajó'] [{'concept': 'concept'}, 'located on terrain feature', 'Balkans'] [{'concept': 'concept'}, 'located on terrain feature', 'Crete']
SELECT DISTINCT ?t WHERE { VALUES ( ?e ) { ( resource:Marajó ) ( resource:Balkans ) ( resource:Crete ) } . ?t rdf:type ontology:concept . ?t property:located_on_terrain_feature ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1241067
P61
Q502895
USER
Which person discovered or invented that concept ?
(Q2624476,P61,c(Q502895)) (Q1241067,P61,c(Q502895)) (Q134178,P61,c(Q502895))
action filter_type
action find
entity Q1241067
relation P61
type Q502895
['Q2624476', 'P61', {'concept': 'Q502895'}] ['Q1241067', 'P61', {'concept': 'Q502895'}] ['Q134178', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1241067 property:P61 ?w . ?w rdf:type ontology:Q502895 }
Old Europe
action filter_type
action find
entity Old Europe
relation discoverer or inventor
type common name
['Marajoara culture', 'discoverer or inventor', {'concept': 'common name'}] ['Old Europe', 'discoverer or inventor', {'concept': 'common name'}] ['Minoan civilization', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Old_Europe property:discoverer_or_inventor ?w . ?w rdf:type ontology:common_name }
[]
common name
Q96276
SYSTEM
Harald Haarmann
Q96276
(Q2624476,P61,c(Q502895)) (Q1241067,P61,c(Q502895)) (Q134178,P61,c(Q502895))
action filter_type
action find
entity Q1241067
relation P61
type Q502895
[ANSWER] discovered or invented that concept
['Q2624476', 'P61', {'concept': 'Q502895'}] ['Q1241067', 'P61', {'concept': 'Q502895'}] ['Q134178', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1241067 property:P61 ?w . ?w rdf:type ontology:Q502895 }
Harald Haarmann
Harald Haarmann discovered or invented that concept
Harald Haarmann
action filter_type
action find
entity Old Europe
relation discoverer or inventor
type common name
['Marajoara culture', 'discoverer or inventor', {'concept': 'common name'}] ['Old Europe', 'discoverer or inventor', {'concept': 'common name'}] ['Minoan civilization', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Old_Europe property:discoverer_or_inventor ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1241067
P361
Q1790144
USER
Which unit of time is Old Europe a component of ?
(Q1241067,P361,c(Q1790144))
action filter_type
action find
entity Q1241067
relation P361
type Q1790144
['Q1241067', 'P361', {'concept': 'Q1790144'}]
SELECT DISTINCT ?m WHERE { resource:Q1241067 property:P361 ?m . ?m rdf:type ontology:Q1790144 }
Old Europe
action filter_type
action find
entity Old Europe
relation part of
type unit of time
['Old Europe', 'part of', {'concept': 'unit of time'}]
SELECT DISTINCT ?m WHERE { resource:Old_Europe property:part_of ?m . ?m rdf:type ontology:unit_of_time }
[]
unit of time
Q130253
SYSTEM
Chalcolithic
Q130253
(Q1241067,P361,c(Q1790144))
action filter_type
action find
entity Q1241067
relation P361
type Q1790144
[ANSWER] is Old Europe a component of
['Q1241067', 'P361', {'concept': 'Q1790144'}]
SELECT DISTINCT ?m WHERE { resource:Q1241067 property:P361 ?m . ?m rdf:type ontology:Q1790144 }
Chalcolithic
Chalcolithic is Old Europe a component of
Chalcolithic
action filter_type
action find
entity Old Europe
relation part of
type unit of time
['Old Europe', 'part of', {'concept': 'unit of time'}]
SELECT DISTINCT ?m WHERE { resource:Old_Europe property:part_of ?m . ?m rdf:type ontology:unit_of_time }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2299040
P57
Q502895
USER
Who directed The Stendhal Syndrome ?
(Q2299040,P57,c(Q502895))
action filter_type
action find
entity Q2299040
relation P57
type Q502895
['Q2299040', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q2299040 property:P57 ?e . ?e rdf:type ontology:Q502895 }
The Stendhal Syndrome
action filter_type
action find
entity The Stendhal Syndrome
relation director
type common name
['The Stendhal Syndrome', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:The_Stendhal_Syndrome property:director ?e . ?e rdf:type ontology:common_name }
[]
common name
Q1150524 Q53011
SYSTEM
Luigi Cozzi, Dario Argento
Q1150524 Q53011
(Q2299040,P57,c(Q502895))
action filter_type
action find
entity Q2299040
relation P57
type Q502895
[ANSWERS] directed The Stendhal Syndrome
['Q2299040', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q2299040 property:P57 ?e . ?e rdf:type ontology:Q502895 }
Luigi Cozzi Dario Argento
Luigi Cozzi and Dario Argento directed The Stendhal Syndrome
Luigi Cozzi Dario Argento
action filter_type
action find
entity The Stendhal Syndrome
relation director
type common name
['The Stendhal Syndrome', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:The_Stendhal_Syndrome property:director ?e . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q22252016
P58
Q838948
USER
Did those people do the screenwriting for The Perfect Match ?
(Q22252016,P58,Q1150524) (Q22252016,P58,Q53011)
action is_in
entity prev_answer
action find
entity Q22252016
relation P58
['Q22252016', 'P58', 'Q1150524'] ['Q22252016', 'P58', 'Q53011']
ASK WHERE { VALUES ( ?n ) { ( resource:Q1150524 ) ( resource:Q53011 ) } . resource:Q22252016 property:P58 ?n }
The Perfect Match
action is_in
entity prev_answer
action find
entity The Perfect Match
relation screenwriter
['The Perfect Match', 'screenwriter', 'Luigi Cozzi'] ['The Perfect Match', 'screenwriter', 'Dario Argento']
ASK WHERE { VALUES ( ?n ) { ( resource:Luigi_Cozzi ) ( resource:Dario_Argento ) } . resource:The_Perfect_Match property:screenwriter ?n }
[]
work of art
SYSTEM
NO
(Q22252016,P58,Q1150524) (Q22252016,P58,Q53011)
action is_in
entity prev_answer
action find
entity Q22252016
relation P58
[ANSWER]
['Q22252016', 'P58', 'Q1150524'] ['Q22252016', 'P58', 'Q53011']
ASK WHERE { VALUES ( ?n ) { ( resource:Q1150524 ) ( resource:Q53011 ) } . resource:Q22252016 property:P58 ?n }
No
action is_in
entity prev_answer
action find
entity The Perfect Match
relation screenwriter
['The Perfect Match', 'screenwriter', 'Luigi Cozzi'] ['The Perfect Match', 'screenwriter', 'Dario Argento']
ASK WHERE { VALUES ( ?n ) { ( resource:Luigi_Cozzi ) ( resource:Dario_Argento ) } . resource:The_Perfect_Match property:screenwriter ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15961987
USER
How many television genres had atleast 6 people as the dubbing artist ?
(c(Q15961987),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 6
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?t ) WHERE { ?d property:P725 ?r . ?d rdf:type ontology:Q15961987 . ?r rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?t >= 6 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type television genre
type common name
value 6
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?t ) WHERE { ?d property:voice_actor ?r . ?d rdf:type ontology:television_genre . ?r rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?t >= 6 ) }
[]
common name television genre
SYSTEM
7
Q24034511 Q7615342 Q22773153 Q18790 Q53093 Q5415 Q886
(c(Q15961987),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 6
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?t ) WHERE { ?d property:P725 ?r . ?d rdf:type ontology:Q15961987 . ?r rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?t >= 6 ) }
Voltron: Legendary Defender Steven Universe Milo Murphy's Law The Legend of Korra Adventure Time My Little Pony: Friendship Is Magic The Simpsons
7
action count
action atleast
action find_tuple_counts
relation voice actor
type television genre
type common name
value 6
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?t ) WHERE { ?d property:voice_actor ?r . ?d rdf:type ontology:television_genre . ?r rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?t >= 6 ) }
[]
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 exactly 5 people ?
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?f = 5 ) }
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?f = 5 ) }
[]
musical instrument common name
SYSTEM
2
Q213461 Q213100
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?f = 5 ) }
harmonium tabla
2
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?f = 5 ) }
[]