Simple Question (Direct)
Simple Question
Q69748
P166
Q193622
USER
Which order was Leonhard Graf von Blumenthal awarded with ?
(Q69748,P166,c(Q193622))
action filter_type
action find
entity Q69748
relation P166
type Q193622
['Q69748', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?t WHERE { resource:Q69748 property:P166 ?t . ?t rdf:type ontology:Q193622 }
Leonhard Graf von Blumenthal
action filter_type
action find
entity Leonhard Graf von Blumenthal
relation award received
type order
['Leonhard Graf von Blumenthal', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?t WHERE { resource:Leonhard_Graf_von_Blumenthal property:award_received ?t . ?t rdf:type ontology:order }
[]
order
Q15831432
SYSTEM
Knight of the Order of St. Alexander Nevsky
Q15831432
(Q69748,P166,c(Q193622))
action filter_type
action find
entity Q69748
relation P166
type Q193622
Leonhard Graf von Blumenthal was awarded the [ANSWER]
['Q69748', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?t WHERE { resource:Q69748 property:P166 ?t . ?t rdf:type ontology:Q193622 }
Knight of the Order of St. Alexander Nevsky
Leonhard Graf von Blumenthal was awarded the Knight of the Order of St. Alexander Nevsky
Knight of the Order of St. Alexander Nevsky
action filter_type
action find
entity Leonhard Graf von Blumenthal
relation award received
type order
['Leonhard Graf von Blumenthal', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?t WHERE { resource:Leonhard_Graf_von_Blumenthal property:award_received ?t . ?t rdf:type ontology:order }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15831432
P138
Q502895
USER
Which person is that order named after ?
(Q15831432,P138,c(Q502895))
action filter_type
action find
entity Q15831432
relation P138
type Q502895
['Q15831432', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q15831432 property:P138 ?f }
Knight of the Order of St. Alexander Nevsky
action filter_type
action find
entity Knight of the Order of St. Alexander Nevsky
relation named after
type common name
['Knight of the Order of St. Alexander Nevsky', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Knight_of_the_Order_of_St._Alexander_Nevsky property:named_after ?f }
[]
common name
Q174044
SYSTEM
Alexander Nevsky
Q174044
(Q15831432,P138,c(Q502895))
action filter_type
action find
entity Q15831432
relation P138
type Q502895
That order is named after [ANSWER]
['Q15831432', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q15831432 property:P138 ?f }
Alexander Nevsky
That order is named after Alexander Nevsky
Alexander Nevsky
action filter_type
action find
entity Knight of the Order of St. Alexander Nevsky
relation named after
type common name
['Knight of the Order of St. Alexander Nevsky', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Knight_of_the_Order_of_St._Alexander_Nevsky property:named_after ?f }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P138
Q44539 Q2235308
USER
How many temples and ship types have that person as their namesake ?
(c(Q44539),P138,Q174044) (c(Q2235308),P138,Q174044) (c(Q44539),P138,Q174044) (c(Q2235308),P138,Q174044)
action count
action union
action filter_type
action find_reverse
entity Q174044
relation P138
type Q44539
action filter_type
action find_reverse
entity Q174044
relation P138
type Q2235308
[{'concept': 'Q44539'}, 'P138', 'Q174044'] [{'concept': 'Q2235308'}, 'P138', 'Q174044'] [{'concept': 'Q44539'}, 'P138', 'Q174044'] [{'concept': 'Q2235308'}, 'P138', 'Q174044']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { ?e property:P138 resource:Q174044 . ?e rdf:type ontology:Q44539 } UNION { ?e property:P138 resource:Q174044 . ?e rdf:type ontology:Q2235308 } }
action count
action union
action filter_type
action find_reverse
entity Alexander Nevsky
relation named after
type temple
action filter_type
action find_reverse
entity Alexander Nevsky
relation named after
type ship type
[{'concept': 'temple'}, 'named after', 'Alexander Nevsky'] [{'concept': 'ship type'}, 'named after', 'Alexander Nevsky'] [{'concept': 'temple'}, 'named after', 'Alexander Nevsky'] [{'concept': 'ship type'}, 'named after', 'Alexander Nevsky']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { ?e property:named_after resource:Alexander_Nevsky . ?e rdf:type ontology:temple } UNION { ?e property:named_after resource:Alexander_Nevsky . ?e rdf:type ontology:ship_type } }
[]
temple ship type
SYSTEM
1 temples and 4 ship types
Q3830179 Q476765 Q2661965 Q1953934 Q2041926
(c(Q44539),P138,Q174044) (c(Q2235308),P138,Q174044) (c(Q44539),P138,Q174044) (c(Q2235308),P138,Q174044)
action count
action union
action filter_type
action find_reverse
entity Q174044
relation P138
type Q44539
action filter_type
action find_reverse
entity Q174044
relation P138
type Q2235308
[ANSWER]
[{'concept': 'Q44539'}, 'P138', 'Q174044'] [{'concept': 'Q2235308'}, 'P138', 'Q174044'] [{'concept': 'Q44539'}, 'P138', 'Q174044'] [{'concept': 'Q2235308'}, 'P138', 'Q174044']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { ?e property:P138 resource:Q174044 . ?e rdf:type ontology:Q44539 } UNION { ?e property:P138 resource:Q174044 . ?e rdf:type ontology:Q2235308 } }
Lenin Aleksandr Nevskiy Alexander Nevsky Church Russian submarine Alexander Nevsky Russian frigate Alexander Nevsky
1 temples and 4 ship types
action count
action union
action filter_type
action find_reverse
entity Alexander Nevsky
relation named after
type temple
action filter_type
action find_reverse
entity Alexander Nevsky
relation named after
type ship type
[{'concept': 'temple'}, 'named after', 'Alexander Nevsky'] [{'concept': 'ship type'}, 'named after', 'Alexander Nevsky'] [{'concept': 'temple'}, 'named after', 'Alexander Nevsky'] [{'concept': 'ship type'}, 'named after', 'Alexander Nevsky']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { ?e property:named_after resource:Alexander_Nevsky . ?e rdf:type ontology:temple } UNION { ?e property:named_after resource:Alexander_Nevsky . ?e rdf:type ontology:ship_type } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174044
P411
Q82799
USER
Which name is held by Alexander Nevsky ?
(Q174044,P411,c(Q82799))
action filter_type
action find
entity Q174044
relation P411
type Q82799
['Q174044', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q174044 property:P411 ?l }
Alexander Nevsky
action filter_type
action find
entity Alexander Nevsky
relation canonization status
type name
['Alexander Nevsky', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Alexander_Nevsky property:canonization_status ?l }
[]
name
Q43115
SYSTEM
saint
Q43115
(Q174044,P411,c(Q82799))
action filter_type
action find
entity Q174044
relation P411
type Q82799
On [ANSWER] is held by Alexander Nevsky
['Q174044', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q174044 property:P411 ?l }
saint
On saint is held by Alexander Nevsky
saint
action filter_type
action find
entity Alexander Nevsky
relation canonization status
type name
['Alexander Nevsky', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Alexander_Nevsky property:canonization_status ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174044
P7
Q502895
USER
Who are Alexander Nevsky a sibling of ?
(Q174044,P7,c(Q502895))
action filter_type
action find
entity Q174044
relation P7
type Q502895
['Q174044', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q174044 property:P7 ?e . ?e rdf:type ontology:Q502895 }
Alexander Nevsky
action filter_type
action find
entity Alexander Nevsky
relation brother
type common name
['Alexander Nevsky', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Alexander_Nevsky property:brother ?e . ?e rdf:type ontology:common_name }
[]
common name
Q472739 Q547839 Q548014
SYSTEM
Andrey II of Vladimir, Yaroslav of Tver, Vasily of Kostroma
Q472739 Q547839 Q548014 Q686705
(Q174044,P7,c(Q502895))
action filter_type
action find
entity Q174044
relation P7
type Q502895
Alexander Nevsky a sibling of are kings [ANSWERS]
['Q174044', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q174044 property:P7 ?e . ?e rdf:type ontology:Q502895 }
Andrey II of Vladimir Yaroslav of Tver Vasily of Kostroma Mikhail Khorobrit
Alexander Nevsky a sibling of are kings Andrey II of Vladimir, Yaroslav of Tver and Vasily of Kostroma
Andrey II of Vladimir Yaroslav of Tver Vasily of Kostroma
action filter_type
action find
entity Alexander Nevsky
relation brother
type common name
['Alexander Nevsky', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Alexander_Nevsky property:brother ?e . ?e rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q472739
P40
Q502895
USER
Who has that one as an offspring ?
(c(Q502895),P40,Q472739)
action filter_type
action find_reverse
entity Q472739
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q472739']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P40 resource:Q472739 }
Andrey II of Vladimir
action filter_type
action find_reverse
entity Andrey II of Vladimir
relation child
type common name
[{'concept': 'common name'}, 'child', 'Andrey II of Vladimir']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:child resource:Andrey_II_of_Vladimir }
[]
common name
Clarification for simple ques.
Q548014
SYSTEM
Did you mean Vasily of Kostroma ?
Q472739 Q547839 Q548014
(c(Q502895),P40,Q472739) (c(Q502895),P40,Q547839) (c(Q502895),P40,Q548014)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q472739'] [{'concept': 'Q502895'}, 'P40', 'Q547839'] [{'concept': 'Q502895'}, 'P40', 'Q548014']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P40 resource:Q472739 }
Andrey II of Vladimir Yaroslav of Tver Vasily of Kostroma
Did you mean Vasily of Kostroma ?
Vasily of Kostroma
[{'concept': 'common name'}, 'child', 'Andrey II of Vladimir'] [{'concept': 'common name'}, 'child', 'Yaroslav of Tver'] [{'concept': 'common name'}, 'child', 'Vasily of Kostroma']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:child resource:Andrey_II_of_Vladimir }
[]
Simple Question (Coreferenced)
USER
No, I meant Andrey II of Vladimir. Could you tell me the answer for that?
(c(Q502895),P40,Q472739)
Q472739
[{'concept': 'Q502895'}, 'P40', 'Q472739']
[{'concept': 'common name'}, 'child', 'Andrey II of Vladimir']
[]
Q359396
SYSTEM
Yaroslav II of Vladimir
Q359396
(c(Q502895),P40,Q472739)
action filter_type
action find_reverse
entity Q472739
relation P40
type Q502895
[ANSWER] has that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q472739']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P40 resource:Q472739 }
Yaroslav II of Vladimir
Yaroslav II of Vladimir has that one as an offspring
Yaroslav II of Vladimir
action filter_type
action find_reverse
entity Andrey II of Vladimir
relation child
type common name
[{'concept': 'common name'}, 'child', 'Andrey II of Vladimir']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:child resource:Andrey_II_of_Vladimir }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q359396 Q348689 Q11583616
P22
Q502895
USER
Is that person the offspring of Vsevolod the Big Nest and Seiji Manabe ?
(Q359396,P22,Q348689) (Q359396,P22,Q11583616)
action is_in
entity Q359396
action intersection
action find_reverse
entity Q348689
relation P22
action find_reverse
entity Q11583616
relation P22
['Q359396', 'P22', 'Q348689'] ['Q359396', 'P22', 'Q11583616']
ASK WHERE { resource:Q359396 property:P22 resource:Q348689 . resource:Q359396 property:P22 resource:Q11583616 }
Yaroslav II of Vladimir Vsevolod the Big Nest Seiji Manabe
action is_in
entity Yaroslav II of Vladimir
action intersection
action find_reverse
entity Vsevolod the Big Nest
relation father
action find_reverse
entity Seiji Manabe
relation father
['Yaroslav II of Vladimir', 'father', 'Vsevolod the Big Nest'] ['Yaroslav II of Vladimir', 'father', 'Seiji Manabe']
ASK WHERE { resource:Yaroslav_II_of_Vladimir property:father resource:Vsevolod_the_Big_Nest . resource:Yaroslav_II_of_Vladimir property:father resource:Seiji_Manabe }
[]
common name
SYSTEM
YES and NO respectively
(Q359396,P22,Q348689) (Q359396,P22,Q11583616)
action is_in
entity Q359396
action intersection
action find_reverse
entity Q348689
relation P22
action find_reverse
entity Q11583616
relation P22
[ANSWER]
['Q359396', 'P22', 'Q348689'] ['Q359396', 'P22', 'Q11583616']
ASK WHERE { resource:Q359396 property:P22 resource:Q348689 . resource:Q359396 property:P22 resource:Q11583616 }
YES and NO respectively
action is_in
entity Yaroslav II of Vladimir
action intersection
action find_reverse
entity Vsevolod the Big Nest
relation father
action find_reverse
entity Seiji Manabe
relation father
['Yaroslav II of Vladimir', 'father', 'Vsevolod the Big Nest'] ['Yaroslav II of Vladimir', 'father', 'Seiji Manabe']
ASK WHERE { resource:Yaroslav_II_of_Vladimir property:father resource:Vsevolod_the_Big_Nest . resource:Yaroslav_II_of_Vladimir property:father resource:Seiji_Manabe }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q69748 Q156478
P166
Q618779
USER
Was Pour le Mérite awarded to Leonhard Graf von Blumenthal ?
(Q69748,P166,Q156478)
action is_in
entity Q156478
action find
entity Q69748
relation P166
['Q69748', 'P166', 'Q156478']
ASK WHERE { resource:Q69748 property:P166 resource:Q156478 }
Leonhard Graf von Blumenthal Pour le Mérite
action is_in
entity Pour le Mérite
action find
entity Leonhard Graf von Blumenthal
relation award received
['Leonhard Graf von Blumenthal', 'award received', 'Pour le Mérite']
ASK WHERE { resource:Leonhard_Graf_von_Blumenthal property:award_received resource:Pour_le_Mérite }
[]
award
SYSTEM
YES
(Q69748,P166,Q156478)
action is_in
entity Q156478
action find
entity Q69748
relation P166
[ANSWER]
['Q69748', 'P166', 'Q156478']
ASK WHERE { resource:Q69748 property:P166 resource:Q156478 }
Yes
action is_in
entity Pour le Mérite
action find
entity Leonhard Graf von Blumenthal
relation award received
['Leonhard Graf von Blumenthal', 'award received', 'Pour le Mérite']
ASK WHERE { resource:Leonhard_Graf_von_Blumenthal property:award_received resource:Pour_le_Mérite }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by max number of people ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?y ) { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?l ) WHERE { ?t rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 . ?v property:P1303 ?t } GROUP BY ?t } } . { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?o ) WHERE { ?q rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 . ?i property:P1303 ?q } GROUP BY ?q } . FILTER ( ?o = ?y ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?y ) { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?l ) WHERE { ?t rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name . ?v property:instrument ?t } GROUP BY ?t } } . { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?o ) WHERE { ?q rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name . ?i property:instrument ?q } GROUP BY ?q } . FILTER ( ?o = ?y ) }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWER] is played by max number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?y ) { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?l ) WHERE { ?t rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 . ?v property:P1303 ?t } GROUP BY ?t } } . { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?o ) WHERE { ?q rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 . ?i property:P1303 ?q } GROUP BY ?q } . FILTER ( ?o = ?y ) }
piano
Piano is played by max number of people
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?y ) { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?l ) WHERE { ?t rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name . ?v property:instrument ?t } GROUP BY ?t } } . { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?o ) WHERE { ?q rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name . ?i property:instrument ?q } GROUP BY ?q } . FILTER ( ?o = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q8371
P1303
Q34379 Q502895
USER
How many musical instruments can more number of people perform with than cello ?
(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 Q8371
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q8371 property:P1303 ?l . ?l rdf:type ontology:Q34379 } } . FILTER ( ?t > ?p ) }
cello
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 cello
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:cello property:instrument ?l . ?l rdf:type ontology:musical_instrument } } . FILTER ( ?t > ?p ) }
[]
musical instrument common name
SYSTEM
6
Q46185 Q5994 Q8338 Q8355 Q1444 Q128309
(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 Q8371
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:Q8371 property:P1303 ?l . ?l rdf:type ontology:Q34379 } } . FILTER ( ?t > ?p ) }
bass guitar piano trumpet violin organ drum kit
6
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 cello
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { resource:cello property:instrument ?l . ?l rdf:type ontology:musical_instrument } } . FILTER ( ?t > ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q379248
P1303
Q34379 Q502895
USER
And how about Timbales?
(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 Q379248
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:P1303 ?p . ?n rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Q379248 property:P1303 ?q . ?q rdf:type ontology:Q34379 } } . FILTER ( ?b > ?d ) }
Timbales
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 Timbales
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:instrument ?p . ?n rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Timbales property:instrument ?q . ?q rdf:type ontology:musical_instrument } } . FILTER ( ?b > ?d ) }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 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 Q379248
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:P1303 ?p . ?n rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Q379248 property:P1303 ?q . ?q rdf:type ontology:Q34379 } } . FILTER ( ?b > ?d ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
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 Timbales
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:instrument ?p . ?n rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Timbales property:instrument ?q . ?q rdf:type ontology:musical_instrument } } . FILTER ( ?b > ?d ) }
[]