Simple Question (Direct)
Simple Question
Q4346188
P26
Q502895
USER
Who is married to Dan Broström ?
(Q4346188,P26,c(Q502895))
action filter_type
action find
entity Q4346188
relation P26
type Q502895
['Q4346188', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q4346188 property:P26 ?a }
Dan Broström
action filter_type
action find
entity Dan Broström
relation spouse
type common name
['Dan Broström', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Dan_Broström property:spouse ?a }
[]
common name
Q4940836
SYSTEM
Anna Ida Broström
Q4940836
(Q4346188,P26,c(Q502895))
action filter_type
action find
entity Q4346188
relation P26
type Q502895
Son [ANSWER] is married to Dan Broström
['Q4346188', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q4346188 property:P26 ?a }
Anna Ida Broström
Son Anna Ida Broström is married to Dan Broström
Anna Ida Broström
action filter_type
action find
entity Dan Broström
relation spouse
type common name
['Dan Broström', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Dan_Broström property:spouse ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4346188
P119
Q43229
USER
Where was Dan Broström buried ?
(Q4346188,P119,c(Q43229))
action filter_type
action find
entity Q4346188
relation P119
type Q43229
['Q4346188', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { resource:Q4346188 property:P119 ?r . ?r rdf:type ontology:Q43229 }
Dan Broström
action filter_type
action find
entity Dan Broström
relation place of burial
type organization
['Dan Broström', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { resource:Dan_Broström property:place_of_burial ?r . ?r rdf:type ontology:organization }
[]
organization
Q4354314
SYSTEM
Östra kyrkogården
Q4354314
(Q4346188,P119,c(Q43229))
action filter_type
action find
entity Q4346188
relation P119
type Q43229
Dan Broström was buried in [ANSWER]
['Q4346188', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { resource:Q4346188 property:P119 ?r . ?r rdf:type ontology:Q43229 }
Östra kyrkogården
Dan Broström was buried in Östra kyrkogården
Östra kyrkogården
action filter_type
action find
entity Dan Broström
relation place of burial
type organization
['Dan Broström', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { resource:Dan_Broström property:place_of_burial ?r . ?r rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4346188
P22
Q502895
USER
Which person was the father of that one ?
(Q4354314,P22,c(Q502895))
action filter_type
action find
entity Q4346188
relation P22
type Q502895
['Q4354314', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q4346188 property:P22 ?k . ?k rdf:type ontology:Q502895 }
Dan Broström
action filter_type
action find
entity Dan Broström
relation father
type common name
['Östra kyrkogården', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Dan_Broström property:father ?k . ?k rdf:type ontology:common_name }
[]
common name
Q4830321
SYSTEM
Axel Ludvig Broström
Q4830321
(Q4354314,P22,c(Q502895))
action filter_type
action find
entity Q4346188
relation P22
type Q502895
[ANSWER] was the father of that one
['Q4354314', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q4346188 property:P22 ?k . ?k rdf:type ontology:Q502895 }
Axel Ludvig Broström
Axel Ludvig Broström was the father of that one
Axel Ludvig Broström
action filter_type
action find
entity Dan Broström
relation father
type common name
['Östra kyrkogården', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Dan_Broström property:father ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4830321 Q54779 Q535646
P27
Q15617994
USER
Is Axel Ludvig Broström a native of Tarasino and Blaustein ?
(Q4830321,P27,Q54779) (Q4830321,P27,Q535646)
action is_in
entity Q4830321
action intersection
action find_reverse
entity Q54779
relation P27
action find_reverse
entity Q535646
relation P27
['Q4830321', 'P27', 'Q54779'] ['Q4830321', 'P27', 'Q535646']
ASK WHERE { resource:Q4830321 property:P27 resource:Q54779 . resource:Q4830321 property:P27 resource:Q535646 }
Axel Ludvig Broström Tarasino Blaustein
action is_in
entity Axel Ludvig Broström
action intersection
action find_reverse
entity Tarasino
relation country of citizenship
action find_reverse
entity Blaustein
relation country of citizenship
['Axel Ludvig Broström', 'country of citizenship', 'Tarasino'] ['Axel Ludvig Broström', 'country of citizenship', 'Blaustein']
ASK WHERE { resource:Axel_Ludvig_Broström property:country_of_citizenship resource:Tarasino . resource:Axel_Ludvig_Broström property:country_of_citizenship resource:Blaustein }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4830321,P27,Q54779) (Q4830321,P27,Q535646)
action is_in
entity Q4830321
action intersection
action find_reverse
entity Q54779
relation P27
action find_reverse
entity Q535646
relation P27
[ANSWER]
['Q4830321', 'P27', 'Q54779'] ['Q4830321', 'P27', 'Q535646']
ASK WHERE { resource:Q4830321 property:P27 resource:Q54779 . resource:Q4830321 property:P27 resource:Q535646 }
No
action is_in
entity Axel Ludvig Broström
action intersection
action find_reverse
entity Tarasino
relation country of citizenship
action find_reverse
entity Blaustein
relation country of citizenship
['Axel Ludvig Broström', 'country of citizenship', 'Tarasino'] ['Axel Ludvig Broström', 'country of citizenship', 'Blaustein']
ASK WHERE { resource:Axel_Ludvig_Broström property:country_of_citizenship resource:Tarasino . resource:Axel_Ludvig_Broström property:country_of_citizenship resource:Blaustein }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4940836 Q4743415 Q4354314
P119
Q43229
USER
Does Anna Ida Broström have American Classic Voyages and Östra kyrkogården as his/her tomb ?
(Q4940836,P119,Q4743415) (Q4940836,P119,Q4354314)
action is_in
entity Q4940836
action intersection
action find_reverse
entity Q4743415
relation P119
action find_reverse
entity Q4354314
relation P119
['Q4940836', 'P119', 'Q4743415'] ['Q4940836', 'P119', 'Q4354314']
ASK WHERE { resource:Q4940836 property:P119 resource:Q4743415 . resource:Q4940836 property:P119 resource:Q4354314 }
Anna Ida Broström American Classic Voyages Östra kyrkogården
action is_in
entity Anna Ida Broström
action intersection
action find_reverse
entity American Classic Voyages
relation place of burial
action find_reverse
entity Östra kyrkogården
relation place of burial
['Anna Ida Broström', 'place of burial', 'American Classic Voyages'] ['Anna Ida Broström', 'place of burial', 'Östra kyrkogården']
ASK WHERE { resource:Anna_Ida_Broström property:place_of_burial resource:American_Classic_Voyages . resource:Anna_Ida_Broström property:place_of_burial resource:Östra_kyrkogården }
[]
organization
SYSTEM
NO and YES respectively
(Q4940836,P119,Q4743415) (Q4940836,P119,Q4354314)
action is_in
entity Q4940836
action intersection
action find_reverse
entity Q4743415
relation P119
action find_reverse
entity Q4354314
relation P119
[ANSWER]
['Q4940836', 'P119', 'Q4743415'] ['Q4940836', 'P119', 'Q4354314']
ASK WHERE { resource:Q4940836 property:P119 resource:Q4743415 . resource:Q4940836 property:P119 resource:Q4354314 }
NO and YES respectively
action is_in
entity Anna Ida Broström
action intersection
action find_reverse
entity American Classic Voyages
relation place of burial
action find_reverse
entity Östra kyrkogården
relation place of burial
['Anna Ida Broström', 'place of burial', 'American Classic Voyages'] ['Anna Ida Broström', 'place of burial', 'Östra kyrkogården']
ASK WHERE { resource:Anna_Ida_Broström property:place_of_burial resource:American_Classic_Voyages . resource:Anna_Ida_Broström property:place_of_burial resource:Östra_kyrkogården }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4940836
P40
Q502895
USER
Which person is a successor of that one ?
action filter_type
action find
entity Q4940836
relation P40
type Q502895
SELECT DISTINCT ?r WHERE { resource:Q4940836 property:P40 ?r . ?r rdf:type ontology:Q502895 }
Anna Ida Broström
action filter_type
action find
entity Anna Ida Broström
relation child
type common name
SELECT DISTINCT ?r WHERE { resource:Anna_Ida_Broström property:child ?r . ?r rdf:type ontology:common_name }
[]
common name
Q5599361
SYSTEM
Dan-Axel Broström
Q5599361
action filter_type
action find
entity Q4940836
relation P40
type Q502895
[ANSWER] is a successor of that one
SELECT DISTINCT ?r WHERE { resource:Q4940836 property:P40 ?r . ?r rdf:type ontology:Q502895 }
Dan-Axel Broström
Dan-Axel Broström is a successor of that one
Dan-Axel Broström
action filter_type
action find
entity Anna Ida Broström
relation child
type common name
SELECT DISTINCT ?r WHERE { resource:Anna_Ida_Broström property:child ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5599361
P25
Q502895
USER
Who was the mom of that one ?
(Q5599361,P25,c(Q502895))
action filter_type
action find
entity Q5599361
relation P25
type Q502895
['Q5599361', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q5599361 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Dan-Axel Broström
action filter_type
action find
entity Dan-Axel Broström
relation mother
type common name
['Dan-Axel Broström', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Dan-Axel_Broström property:mother ?c . ?c rdf:type ontology:common_name }
[]
common name
Q4940836
SYSTEM
Anna Ida Broström
Q4940836
(Q5599361,P25,c(Q502895))
action filter_type
action find
entity Q5599361
relation P25
type Q502895
The mom of that one was Princess [ANSWER]
['Q5599361', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q5599361 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Anna Ida Broström
The mom of that one was Princess Anna Ida Broström
Anna Ida Broström
action filter_type
action find
entity Dan-Axel Broström
relation mother
type common name
['Dan-Axel Broström', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Dan-Axel_Broström property:mother ?c . ?c rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q4940836 Q21289677
P26
Q502895
USER
Is Pierre Havret the spouse of that one ?
(Q4940836,P26,Q21289677)
action is_in
entity Q21289677
action find
entity Q4940836
relation P26
['Q4940836', 'P26', 'Q21289677']
ASK WHERE { resource:Q4940836 property:P26 resource:Q21289677 }
Anna Ida Broström Pierre Havret
action is_in
entity Pierre Havret
action find
entity Anna Ida Broström
relation spouse
['Anna Ida Broström', 'spouse', 'Pierre Havret']
ASK WHERE { resource:Anna_Ida_Broström property:spouse resource:Pierre_Havret }
[]
common name
SYSTEM
NO
(Q4940836,P26,Q21289677)
action is_in
entity Q21289677
action find
entity Q4940836
relation P26
[ANSWER]
['Q4940836', 'P26', 'Q21289677']
ASK WHERE { resource:Q4940836 property:P26 resource:Q21289677 }
No
action is_in
entity Pierre Havret
action find
entity Anna Ida Broström
relation spouse
['Anna Ida Broström', 'spouse', 'Pierre Havret']
ASK WHERE { resource:Anna_Ida_Broström property:spouse resource:Pierre_Havret }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4830321 Q34
P27
Q15617994
USER
Is Axel Ludvig Broström an inhabitant of Sweden ?
(Q4830321,P27,Q34)
action is_in
entity Q34
action find
entity Q4830321
relation P27
['Q4830321', 'P27', 'Q34']
ASK WHERE { resource:Q4830321 property:P27 resource:Q34 }
Axel Ludvig Broström Sweden
action is_in
entity Sweden
action find
entity Axel Ludvig Broström
relation country of citizenship
['Axel Ludvig Broström', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Axel_Ludvig_Broström property:country_of_citizenship resource:Sweden }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q4830321,P27,Q34)
action is_in
entity Q34
action find
entity Q4830321
relation P27
[ANSWER]
['Q4830321', 'P27', 'Q34']
ASK WHERE { resource:Q4830321 property:P27 resource:Q34 }
Yes
action is_in
entity Sweden
action find
entity Axel Ludvig Broström
relation country of citizenship
['Axel Ludvig Broström', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Axel_Ludvig_Broström property:country_of_citizenship resource:Sweden }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atleast 3660 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3660
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?u >= 3660 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3660
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?u >= 3660 ) }
[]
musical instrument common name
SYSTEM
2
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3660
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?u >= 3660 ) }
piano violin
2
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3660
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?u >= 3660 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q80284
P1303
Q34379 Q502895
USER
How many musical instruments are played by lesser number of people than viola ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q80284
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?u < ?k ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:P1303 resource:Q80284 . ?b rdf:type ontology:Q502895 } } }
viola
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity viola
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?u < ?k ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:instrument resource:viola . ?b rdf:type ontology:common_name } } }
[]
musical instrument common name
SYSTEM
57
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 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 less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q80284
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?u < ?k ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:P1303 resource:Q80284 . ?b rdf:type ontology:Q502895 } } }
lyre acoustic bass guitar Body percussion 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 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
57
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity viola
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?u < ?k ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:instrument resource:viola . ?b rdf:type ontology:common_name } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q713298
P1303
Q34379 Q502895
USER
And also tell me about geomungo?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q713298
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:P1303 resource:Q713298 . ?r rdf:type ontology:Q502895 } } . FILTER ( ?y < ?b ) }
geomungo
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity geomungo
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:instrument resource:geomungo . ?r rdf:type ontology:common_name } } . FILTER ( ?y < ?b ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q713298
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:P1303 resource:Q713298 . ?r rdf:type ontology:Q502895 } } . FILTER ( ?y < ?b ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity geomungo
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:instrument resource:geomungo . ?r rdf:type ontology:common_name } } . FILTER ( ?y < ?b ) }
[]