Simple Question (Direct)
Simple Question
Q2631267
P166
Q476300
USER
Which competition was Monica Spear awarded with ?
(Q2631267,P166,c(Q476300))
action filter_type
action find
entity Q2631267
relation P166
type Q476300
['Q2631267', 'P166', {'concept': 'Q476300'}]
SELECT DISTINCT ?b WHERE { resource:Q2631267 property:P166 ?b . ?b rdf:type ontology:Q476300 }
Monica Spear
action filter_type
action find
entity Monica Spear
relation award received
type competition
['Monica Spear', 'award received', {'concept': 'competition'}]
SELECT DISTINCT ?b WHERE { resource:Monica_Spear property:award_received ?b . ?b rdf:type ontology:competition }
[]
competition
Q253755
SYSTEM
Miss Venezuela
Q253755
(Q2631267,P166,c(Q476300))
action filter_type
action find
entity Q2631267
relation P166
type Q476300
Monica Spear was awarded as [ANSWER]
['Q2631267', 'P166', {'concept': 'Q476300'}]
SELECT DISTINCT ?b WHERE { resource:Q2631267 property:P166 ?b . ?b rdf:type ontology:Q476300 }
Miss Venezuela
Monica Spear was awarded as Miss Venezuela
Miss Venezuela
action filter_type
action find
entity Monica Spear
relation award received
type competition
['Monica Spear', 'award received', {'concept': 'competition'}]
SELECT DISTINCT ?b WHERE { resource:Monica_Spear property:award_received ?b . ?b rdf:type ontology:competition }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2631267
P26
Q502895
USER
Which person is the spouse of that one ?
(Q253755,P26,c(Q502895))
action filter_type
action find
entity Q2631267
relation P26
type Q502895
['Q253755', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q2631267 property:P26 ?h . ?h rdf:type ontology:Q502895 }
Monica Spear
action filter_type
action find
entity Monica Spear
relation spouse
type common name
['Miss Venezuela', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Monica_Spear property:spouse ?h . ?h rdf:type ontology:common_name }
[]
common name
Q22662730
SYSTEM
Thomas Henry Berry
Q22662730
(Q253755,P26,c(Q502895))
action filter_type
action find
entity Q2631267
relation P26
type Q502895
[ANSWER] is the spouse of that one
['Q253755', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q2631267 property:P26 ?h . ?h rdf:type ontology:Q502895 }
Thomas Henry Berry
Thomas Henry Berry is the spouse of that one
Thomas Henry Berry
action filter_type
action find
entity Monica Spear
relation spouse
type common name
['Miss Venezuela', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Monica_Spear property:spouse ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2631267
P1346
Q2658935
USER
Where was Monica Spear decalred as a champion ?
(c(Q2658935),P1346,Q2631267)
action filter_type
action find_reverse
entity Q2631267
relation P1346
type Q2658935
[{'concept': 'Q2658935'}, 'P1346', 'Q2631267']
SELECT DISTINCT ?z WHERE { ?z property:P1346 resource:Q2631267 . ?z rdf:type ontology:Q2658935 }
Monica Spear
action filter_type
action find_reverse
entity Monica Spear
relation winner
type beauty contest
[{'concept': 'beauty contest'}, 'winner', 'Monica Spear']
SELECT DISTINCT ?z WHERE { ?z property:winner resource:Monica_Spear . ?z rdf:type ontology:beauty_contest }
[]
beauty contest
Q6877980
SYSTEM
Miss Venezuela 2004
Q6877980
(c(Q2658935),P1346,Q2631267)
action filter_type
action find_reverse
entity Q2631267
relation P1346
type Q2658935
Monica Spear was decalred as [ANSWER] as a champion
[{'concept': 'Q2658935'}, 'P1346', 'Q2631267']
SELECT DISTINCT ?z WHERE { ?z property:P1346 resource:Q2631267 . ?z rdf:type ontology:Q2658935 }
Miss Venezuela 2004
Monica Spear was decalred as Miss Venezuela 2004 as a champion
Miss Venezuela 2004
action filter_type
action find_reverse
entity Monica Spear
relation winner
type beauty contest
[{'concept': 'beauty contest'}, 'winner', 'Monica Spear']
SELECT DISTINCT ?z WHERE { ?z property:winner resource:Monica_Spear . ?z rdf:type ontology:beauty_contest }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2631267
P40
Q502895
USER
Who is an offspring of Monica Spear ?
(Q2631267,P40,c(Q502895))
action filter_type
action find
entity Q2631267
relation P40
type Q502895
['Q2631267', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q2631267 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Monica Spear
action filter_type
action find
entity Monica Spear
relation child
type common name
['Monica Spear', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Monica_Spear property:child ?p . ?p rdf:type ontology:common_name }
[]
common name
Q22662732
SYSTEM
Maya Berry Spear
Q22662732
(Q2631267,P40,c(Q502895))
action filter_type
action find
entity Q2631267
relation P40
type Q502895
An offspring of Monica Spear is the [ANSWER]
['Q2631267', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q2631267 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Maya Berry Spear
An offspring of Monica Spear is the Maya Berry Spear
Maya Berry Spear
action filter_type
action find
entity Monica Spear
relation child
type common name
['Monica Spear', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Monica_Spear property:child ?p . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can min number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?m ) { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?l ) WHERE { ?h property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?p } } . FILTER ( ?a = ?m ) . { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?t } }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?m ) { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?l ) WHERE { ?h property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?p } } . FILTER ( ?a = ?m ) . { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?t } }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Min number of people can perform the [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?m ) { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?l ) WHERE { ?h property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?p } } . FILTER ( ?a = ?m ) . { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?t } }
spoon cajón wind instrument
Min number of people can perform the spoon, cajón and wind instrument
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?m ) { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?l ) WHERE { ?h property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?p } } . FILTER ( ?a = ?m ) . { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?t } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5974124 Q22662732
P25
Q502895
USER
Which people were the mother of Maya Berry Spear or Jonas Malmsjö ?
OR((Q22662732,P25,c(Q502895)), (Q5974124,P25,c(Q502895)))
action filter_type
action union
action find
entity Q22662732
relation P25
action find
entity Q5974124
relation P25
type Q502895
{'OR': [['Q22662732', 'P25', {'concept': 'Q502895'}], ['Q5974124', 'P25', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . { { resource:Q22662732 property:P25 ?w } UNION { resource:Q5974124 property:P25 ?w } } }
Jonas Malmsjö Maya Berry Spear
action filter_type
action union
action find
entity Maya Berry Spear
relation mother
action find
entity Jonas Malmsjö
relation mother
type common name
{'OR': [['Maya Berry Spear', 'mother', {'concept': 'common name'}], ['Jonas Malmsjö', 'mother', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . { { resource:Maya_Berry_Spear property:mother ?w } UNION { resource:Jonas_Malmsjö property:mother ?w } } }
[]
common name
Q275358 Q2631267
SYSTEM
Marie Göranzon, Monica Spear
Q275358 Q2631267
OR((Q22662732,P25,c(Q502895)), (Q5974124,P25,c(Q502895)))
action filter_type
action union
action find
entity Q22662732
relation P25
action find
entity Q5974124
relation P25
type Q502895
[ANSWERS] were the mother of Maya Berry Spear or Jonas Malmsjö
{'OR': [['Q22662732', 'P25', {'concept': 'Q502895'}], ['Q5974124', 'P25', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . { { resource:Q22662732 property:P25 ?w } UNION { resource:Q5974124 property:P25 ?w } } }
Marie Göranzon Monica Spear
Marie Göranzon and Monica Spear were the mother of Maya Berry Spear or Jonas Malmsjö
Marie Göranzon Monica Spear
action filter_type
action union
action find
entity Maya Berry Spear
relation mother
action find
entity Jonas Malmsjö
relation mother
type common name
{'OR': [['Maya Berry Spear', 'mother', {'concept': 'common name'}], ['Jonas Malmsjö', 'mother', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . { { resource:Maya_Berry_Spear property:mother ?w } UNION { resource:Jonas_Malmsjö property:mother ?w } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q838948
USER
How many works of art stars that person as actor ?
(c(Q838948),P161,Q275358)
[{'concept': 'Q838948'}, 'P161', 'Q275358']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q275358 . ?z rdf:type ontology:Q838948 }
[{'concept': 'work of art'}, 'cast member', 'Marie Göranzon']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Marie_Göranzon . ?z rdf:type ontology:work_of_art }
[]
work of art
Quantitative|Count|Single entity type|Clarification
Q275358
SYSTEM
Did you mean Marie Göranzon ?
(c(Q838948),P161,Q275358) (c(Q838948),P161,Q2631267)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q275358'] [{'concept': 'Q838948'}, 'P161', 'Q2631267']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q275358 . ?z rdf:type ontology:Q838948 }
Did you mean Marie Göranzon ?
Marie Göranzon
[{'concept': 'work of art'}, 'cast member', 'Marie Göranzon'] [{'concept': 'work of art'}, 'cast member', 'Monica Spear']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Marie_Göranzon . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q838948),P161,Q275358)
[{'concept': 'Q838948'}, 'P161', 'Q275358']
[{'concept': 'work of art'}, 'cast member', 'Marie Göranzon']
[]
SYSTEM
25
Q10493843 Q15144562 Q1763184 Q5111806 Q1762000 Q10684386 Q4297424 Q1762902 Q4878628 Q4878629 Q3495032 Q4878633 Q4878631 Q4878635 Q10512738 Q2054210 Q1762876 Q1761939 Q1761957 Q4878625 Q4878626 Q615860 Q1761649 Q6772071 Q1764387
(c(Q838948),P161,Q275358)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q275358']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q275358 . ?z rdf:type ontology:Q838948 }
False as Water Stall-Erik och snapphanarna Beck – Flickan i jordkällaren Christopher's House Beck – Den svaga länken Svart Lucia Mouth to Mouth Beck – Advokaten Beck – Hämndens pris Beck – Kartellen Everybody Loves Alice Beck – Okänd avsändare Beck – Mannen utan ansikte Beck – Pojken i glaskulan Göta kanal eller Vem drog ur proppen? I Am Curious (Yellow) Beck – Den japanska shungamålningen Beck – Gamen Beck – I Guds namn Beck – Annonsmannen Beck – Enslingen Beck – Skarpt läge Beck – Det tysta skriket Marmalade Revolution Beck – Sista vittnet
25
[{'concept': 'work of art'}, 'cast member', 'Marie Göranzon']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Marie_Göranzon . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q34379 Q3305213 Q838948
USER
Which musical instruments are demonstrated in min number of paintings or works of art ?
(c(Q3305213)|c(Q838948),P180,c(Q34379))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q34379
type Q838948
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?a WHERE { { ?i property:P180 ?a . ?a rdf:type ontology:Q34379 . ?i rdf:type ontology:Q3305213 } UNION { ?i property:P180 ?a . ?a rdf:type ontology:Q34379 . ?i rdf:type ontology:Q838948 } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?u WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } GROUP BY ?u } . FILTER ( ?y = ?n ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type painting
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work of art
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?a WHERE { { ?i property:depicts ?a . ?a rdf:type ontology:musical_instrument . ?i rdf:type ontology:painting } UNION { ?i property:depicts ?a . ?a rdf:type ontology:musical_instrument . ?i rdf:type ontology:work_of_art } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?u WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:painting ) } } GROUP BY ?u } . FILTER ( ?y = ?n ) }
[]
musical instrument painting work of art
Q81982 Q218547 Q8371
SYSTEM
harpsichord, Sigismund Bell, cello
Q8371 Q3382191 Q7933058 Q81982 Q218547 Q8338 Q173453 Q1141589 Q426948 Q871633 Q3500690 Q80019 Q1798603
(c(Q3305213)|c(Q838948),P180,c(Q34379))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q34379
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q34379
type Q838948
[ANSWERS] are demonstrated in min number of paintings or works of art
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?a WHERE { { ?i property:P180 ?a . ?a rdf:type ontology:Q34379 . ?i rdf:type ontology:Q3305213 } UNION { ?i property:P180 ?a . ?a rdf:type ontology:Q34379 . ?i rdf:type ontology:Q838948 } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?u WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } GROUP BY ?u } . FILTER ( ?y = ?n ) }
cello upright piano Viola caipira harpsichord Sigismund Bell trumpet wind instrument Crotales sistrum Handbell Church bell double bass string instrument
Harpsichord, Sigismund Bell and cello are demonstrated in min number of paintings or works of art
harpsichord Sigismund Bell cello
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type musical instrument
type painting
action find_reverse_tuple_counts
relation depicts
type musical instrument
type work of art
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?a WHERE { { ?i property:depicts ?a . ?a rdf:type ontology:musical_instrument . ?i rdf:type ontology:painting } UNION { ?i property:depicts ?a . ?a rdf:type ontology:musical_instrument . ?i rdf:type ontology:work_of_art } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?u WHERE { ?j rdf:type ?p . VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:painting ) } } GROUP BY ?u } . FILTER ( ?y = ?n ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P870
Q34379 Q9748
USER
How many musical instruments are the instrumentations used in around the same number of concertoes as that musical instrument ?
(c(Q9748),P870,c(Q34379))
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
musical instrument concerto
Comparative|Count over More/Less|Single entity type|Clarification
Q8371
SYSTEM
Did you mean cello ?
(c(Q9748),P870,c(Q34379))
[ANSWER]
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
Did you mean cello ?
cello
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant harpsichord. Could you tell me the answer for that?
(c(Q9748),P870,c(Q34379))
Q81982
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
[]
SYSTEM
17
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q1444 Q39777 Q11404 Q206987 Q81982
(c(Q9748),P870,c(Q34379))
[ANSWER]
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta organ maraca drum vibraphone harpsichord
17
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do around 3815 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3815
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?p = 3815 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3815
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?p = 3815 ) }
[]
musical instrument common name
SYSTEM
2
Q8355 Q1444
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3815
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?p = 3815 ) }
violin organ
2
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3815
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?p = 3815 ) }
[]