Simple Question (Direct)
Simple Question
Q516058
P19
Q515
USER
Which city is the place of birth of Patricio Borghetti ?
(Q516058,P19,c(Q515))
action filter_type
action find
entity Q516058
relation P19
type Q515
['Q516058', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q516058 property:P19 ?o . ?o rdf:type ontology:Q515 }
Patricio Borghetti
action filter_type
action find
entity Patricio Borghetti
relation place of birth
type city
['Patricio Borghetti', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:Patricio_Borghetti property:place_of_birth ?o . ?o rdf:type ontology:city }
[]
city
Q1486
SYSTEM
Buenos Aires
Q1486
(Q516058,P19,c(Q515))
action filter_type
action find
entity Q516058
relation P19
type Q515
[ANSWER] is the place of birth of Patricio Borghetti
['Q516058', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q516058 property:P19 ?o . ?o rdf:type ontology:Q515 }
Buenos Aires
Buenos Aires is the place of birth of Patricio Borghetti
Buenos Aires
action filter_type
action find
entity Patricio Borghetti
relation place of birth
type city
['Patricio Borghetti', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:Patricio_Borghetti property:place_of_birth ?o . ?o rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1486
P915
Q838948
USER
Which works of art had that city as their location of filming ?
(c(Q838948),P915,Q1486)
action filter_type
action find_reverse
entity Q1486
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q1486']
SELECT DISTINCT ?k WHERE { ?k property:P915 resource:Q1486 . ?k rdf:type ontology:Q838948 }
Buenos Aires
action filter_type
action find_reverse
entity Buenos Aires
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Buenos Aires']
SELECT DISTINCT ?k WHERE { ?k property:filming_location resource:Buenos_Aires . ?k rdf:type ontology:work_of_art }
[]
work of art
Q309246 Q1219153 Q221090
SYSTEM
The Motorcycle Diaries, The Official Story, Children of Men
Q658012 Q579261 Q7749968 Q4457179 Q1219153 Q1404323 Q2338802 Q5350916 Q2389686 Q1634612 Q59543 Q3488730 Q5401825 Q7180923 Q501749 Q511840 Q3013895 Q7801019 Q2593159 Q1346495 Q5195528 Q7046348 Q16596682 Q610191 Q6172439 Q1537032 Q2010539 Q547120 Q1935237 Q3014230 Q309246 Q302842 Q5421229 Q3415869 Q531043 Q2633310 Q15548282 Q4985478 Q7960605 Q6461506 Q1073800 Q113549 Q5098638 Q2309964 Q3425555 Q5595457 Q5434167 Q4812235 Q514313 Q245271 Q2418707 Q1410993 Q4804211 Q748851 Q4985548 Q7718650 Q2891067 Q771408 Q221090 Q1204213
(c(Q838948),P915,Q1486)
action filter_type
action find_reverse
entity Q1486
relation P915
type Q838948
[ANSWERS] had that city as their location of filming
[{'concept': 'Q838948'}, 'P915', 'Q1486']
SELECT DISTINCT ?k WHERE { ?k property:P915 resource:Q1486 . ?k rdf:type ontology:Q838948 }
Carancho Crane World The Man Who Owed a Death Tesis sobre un homicidio The Official Story Nine Queens A Year Without Love El Cantor de Buenos Aires El Aura The Truce Son of the Bride Tango Feroz Estrellas de Buenos Aires Phase 7 Paco Mi Buenos Aires querido Everybody Has a Plan On Probation The Informers SuperClásico Widows Noches de Buenos Aires Made in Argentina Imagining Argentina ¿Quién mató a Mariano Ferreyra? Moebius Música en espera The Fall U2 3D White Elephant The Motorcycle Diaries From Beginning to End Expertos en Pinchazos Same Love, Same Rain There Be Dragons Olympic Garage Focus Buenas noches, Buenos Aires Waiting for the Messiah La Canción de Buenos Aires Chinese Take-Away Nuovomondo Chile 672 Tetro The Plague Grandma Fantasmas en Buenos Aires Así es Buenos Aires Waiting for the Hearse Evita Plata Quemada Il Gaucho Asesinato en el Senado de la Nación The Secret in Their Eyes Buenos Aires Vice Versa The Blonde from Buenos Aires La suerte en tus manos Highlander II: The Quickening Children of Men Happy Together
The Motorcycle Diaries, The Official Story and Children of Men had that city as their location of filming
The Motorcycle Diaries The Official Story Children of Men
action filter_type
action find_reverse
entity Buenos Aires
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Buenos Aires']
SELECT DISTINCT ?k WHERE { ?k property:filming_location resource:Buenos_Aires . ?k rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q221090
P840
Q56061
USER
Where is that work of art set in ?
(Q221090,P840,c(Q56061))
action filter_type
action find
entity Q221090
relation P840
type Q56061
['Q221090', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q221090 property:P840 ?a . ?a rdf:type ontology:Q56061 }
Children of Men
action filter_type
action find
entity Children of Men
relation narrative location
type administrative territorial entity
['Children of Men', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Children_of_Men property:narrative_location ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q221090
SYSTEM
Did you mean Children of Men ?
Q309246 Q1219153 Q221090
(Q309246,P840,c(Q56061)) (Q1219153,P840,c(Q56061)) (Q221090,P840,c(Q56061))
[ANSWER]
['Q309246', 'P840', {'concept': 'Q56061'}] ['Q1219153', 'P840', {'concept': 'Q56061'}] ['Q221090', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q221090 property:P840 ?a . ?a rdf:type ontology:Q56061 }
The Motorcycle Diaries The Official Story Children of Men
Did you mean Children of Men ?
Children of Men
['The Motorcycle Diaries', 'narrative location', {'concept': 'administrative territorial entity'}] ['The Official Story', 'narrative location', {'concept': 'administrative territorial entity'}] ['Children of Men', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Children_of_Men property:narrative_location ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q221090,P840,c(Q56061))
['Q221090', 'P840', {'concept': 'Q56061'}]
['Children of Men', 'narrative location', {'concept': 'administrative territorial entity'}]
[]
Q84
SYSTEM
London
Q84
(Q221090,P840,c(Q56061))
action filter_type
action find
entity Q221090
relation P840
type Q56061
That work of art is set in the [ANSWER]
['Q221090', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q221090 property:P840 ?a . ?a rdf:type ontology:Q56061 }
London
That work of art is set in the London
London
action filter_type
action find
entity Children of Men
relation narrative location
type administrative territorial entity
['Children of Men', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Children_of_Men property:narrative_location ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q72679 Q309246
P840 P190
Q15617994
USER
Which administrative territories are The Motorcycle Diaries set in or are twin cities of Striano ?
OR((Q309246,P840,c(Q15617994)), (Q72679,P190,c(Q15617994)))
action filter_type
action union
action find
entity Q309246
relation P840
action find
entity Q72679
relation P190
type Q15617994
{'OR': [['Q309246', 'P840', {'concept': 'Q15617994'}], ['Q72679', 'P190', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q72679 property:P190 ?m } UNION { resource:Q309246 property:P840 ?m } } . ?m rdf:type ontology:Q15617994 }
Striano The Motorcycle Diaries
action filter_type
action union
action find
entity The Motorcycle Diaries
relation narrative location
action find
entity Striano
relation sister city
type designation for an administrative territorial entity
{'OR': [['The Motorcycle Diaries', 'narrative location', {'concept': 'designation for an administrative territorial entity'}], ['Striano', 'sister city', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Striano property:sister_city ?m } UNION { resource:The_Motorcycle_Diaries property:narrative_location ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55960 Q717 Q221377 Q72118 Q419 Q298 Q414 Q19275
SYSTEM
San Lorenzello, Venezuela, Viareggio, Frattamaggiore, Peru, Chile, Argentina, San Severo
Q55960 Q717 Q221377 Q72118 Q419 Q298 Q414 Q19275
OR((Q309246,P840,c(Q15617994)), (Q72679,P190,c(Q15617994)))
action filter_type
action union
action find
entity Q309246
relation P840
action find
entity Q72679
relation P190
type Q15617994
Or are twin cities of Striano [ANSWERS] The Motorcycle Diaries are set in
{'OR': [['Q309246', 'P840', {'concept': 'Q15617994'}], ['Q72679', 'P190', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q72679 property:P190 ?m } UNION { resource:Q309246 property:P840 ?m } } . ?m rdf:type ontology:Q15617994 }
San Lorenzello Venezuela Viareggio Frattamaggiore Peru Chile Argentina San Severo
Or are twin cities of Striano San Lorenzello, Venezuela, Viareggio, Frattamaggiore, Peru, Chile, Argentina and San Severo The Motorcycle Diaries are set in
San Lorenzello Venezuela Viareggio Frattamaggiore Peru Chile Argentina San Severo
action filter_type
action union
action find
entity The Motorcycle Diaries
relation narrative location
action find
entity Striano
relation sister city
type designation for an administrative territorial entity
{'OR': [['The Motorcycle Diaries', 'narrative location', {'concept': 'designation for an administrative territorial entity'}], ['Striano', 'sister city', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Striano property:sister_city ?m } UNION { resource:The_Motorcycle_Diaries property:narrative_location ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1578664 Q419
P530 P27
Q1048835
USER
Which political territories holds diplomatic relationship with Peru and are the countries of citizenship of Hans Bernhard Kief ?
AND((Q419,P530,c(Q1048835)), (Q1578664,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q419
relation P530
action find
entity Q1578664
relation P27
type Q1048835
{'AND': [['Q419', 'P530', {'concept': 'Q1048835'}], ['Q1578664', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { resource:Q419 property:P530 ?p . resource:Q1578664 property:P27 ?p . ?p rdf:type ontology:Q1048835 }
Hans Bernhard Kief Peru
action filter_type
action intersection
action find
entity Peru
relation diplomatic relation
action find
entity Hans Bernhard Kief
relation country of citizenship
type political territorial entity
{'AND': [['Peru', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Hans Bernhard Kief', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Peru property:diplomatic_relation ?p . resource:Hans_Bernhard_Kief property:country_of_citizenship ?p . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q419,P530,c(Q1048835)), (Q1578664,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q419
relation P530
action find
entity Q1578664
relation P27
type Q1048835
[ANSWER] holds diplomatic relationship with Peru and are the countries of citizenship of Hans Bernhard Kief
{'AND': [['Q419', 'P530', {'concept': 'Q1048835'}], ['Q1578664', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { resource:Q419 property:P530 ?p . resource:Q1578664 property:P27 ?p . ?p rdf:type ontology:Q1048835 }
Germany
Germany holds diplomatic relationship with Peru and are the countries of citizenship of Hans Bernhard Kief
Germany
action filter_type
action intersection
action find
entity Peru
relation diplomatic relation
action find
entity Hans Bernhard Kief
relation country of citizenship
type political territorial entity
{'AND': [['Peru', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Hans Bernhard Kief', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Peru property:diplomatic_relation ?p . resource:Hans_Bernhard_Kief property:country_of_citizenship ?p . ?p rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q183 Q39
P47
Q15617994
USER
Does Switzerland have a shared border with Germany ?
(Q183,P47,Q39)
action is_in
entity Q39
action find
entity Q183
relation P47
['Q183', 'P47', 'Q39']
ASK WHERE { resource:Q183 property:P47 resource:Q39 }
Germany Switzerland
action is_in
entity Switzerland
action find
entity Germany
relation shares border with
['Germany', 'shares border with', 'Switzerland']
ASK WHERE { resource:Germany property:shares_border_with resource:Switzerland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q183,P47,Q39)
action is_in
entity Q39
action find
entity Q183
relation P47
[ANSWER]
['Q183', 'P47', 'Q39']
ASK WHERE { resource:Q183 property:P47 resource:Q39 }
Yes
action is_in
entity Switzerland
action find
entity Germany
relation shares border with
['Germany', 'shares border with', 'Switzerland']
ASK WHERE { resource:Germany property:shares_border_with resource:Switzerland }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q35
P530
Q1048835 Q1048835
USER
Which political territories have diplomatic relations with approximately the same number of political territories as Denmark ?
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?e ) WHERE { ?a property:P530 ?u . ?u rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q1048835 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q35 property:P530 ?n . ?n rdf:type ontology:Q1048835 } } . FILTER ( ?e = ?j ) }
Denmark
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?e ) WHERE { ?a property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Denmark property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity } } . FILTER ( ?e = ?j ) }
[]
political territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with approximately the same number of political territories as Denmark
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?e ) WHERE { ?a property:P530 ?u . ?u rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q1048835 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q35 property:P530 ?n . ?n rdf:type ontology:Q1048835 } } . FILTER ( ?e = ?j ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relations with approximately the same number of political territories as Denmark
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?e ) WHERE { ?a property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Denmark property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity } } . FILTER ( ?e = ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19159336 Q221090
P344
Q502895
USER
Which people are the cinematographers of Children of Men or Egy gazdag hölgy szeszélye ?
OR((Q221090,P344,c(Q502895)), (Q19159336,P344,c(Q502895)))
action filter_type
action union
action find
entity Q221090
relation P344
action find
entity Q19159336
relation P344
type Q502895
{'OR': [['Q221090', 'P344', {'concept': 'Q502895'}], ['Q19159336', 'P344', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?r WHERE { { ?a property:P344 ?r . VALUES ( ?a ) { ( resource:Q19159336 ) ( resource:Q221090 ) } } . ?r rdf:type ontology:Q502895 }
Egy gazdag hölgy szeszélye Children of Men
action filter_type
action union
action find
entity Children of Men
relation director of photography
action find
entity Egy gazdag hölgy szeszélye
relation director of photography
type common name
{'OR': [['Children of Men', 'director of photography', {'concept': 'common name'}], ['Egy gazdag hölgy szeszélye', 'director of photography', {'concept': 'common name'}]]}
SELECT DISTINCT ?r WHERE { { ?a property:director_of_photography ?r . VALUES ( ?a ) { ( resource:Egy_gazdag_hölgy_szeszélye ) ( resource:Children_of_Men ) } } . ?r rdf:type ontology:common_name }
[]
common name
Q899843 Q704378
SYSTEM
György Czabarka, Emmanuel Lubezki
Q899843 Q704378
OR((Q221090,P344,c(Q502895)), (Q19159336,P344,c(Q502895)))
action filter_type
action union
action find
entity Q221090
relation P344
action find
entity Q19159336
relation P344
type Q502895
[ANSWERS] are the cinematographers of Children of Men or Egy gazdag hölgy szeszélye
{'OR': [['Q221090', 'P344', {'concept': 'Q502895'}], ['Q19159336', 'P344', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?r WHERE { { ?a property:P344 ?r . VALUES ( ?a ) { ( resource:Q19159336 ) ( resource:Q221090 ) } } . ?r rdf:type ontology:Q502895 }
György Czabarka Emmanuel Lubezki
György Czabarka and Emmanuel Lubezki are the cinematographers of Children of Men or Egy gazdag hölgy szeszélye
György Czabarka Emmanuel Lubezki
action filter_type
action union
action find
entity Children of Men
relation director of photography
action find
entity Egy gazdag hölgy szeszélye
relation director of photography
type common name
{'OR': [['Children of Men', 'director of photography', {'concept': 'common name'}], ['Egy gazdag hölgy szeszélye', 'director of photography', {'concept': 'common name'}]]}
SELECT DISTINCT ?r WHERE { { ?a property:director_of_photography ?r . VALUES ( ?a ) { ( resource:Egy_gazdag_hölgy_szeszélye ) ( resource:Children_of_Men ) } } . ?r 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 approximately 171 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 171
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { FILTER ( ?v = 171 ) . { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?w } }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 171
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { FILTER ( ?v = 171 ) . { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?w } }
[]
musical instrument common name
SYSTEM
61
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 count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 171
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { FILTER ( ?v = 171 ) . { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?w } }
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
61
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 171
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { FILTER ( ?v = 171 ) . { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?w } }
[]