Simple Question (Direct)
Simple Question
Q21121016
P703
Q16521
USER
Which taxon is Olfactory receptor 52E4 found in ?
(Q21121016,P703,c(Q16521))
action filter_type
action find
entity Q21121016
relation P703
type Q16521
['Q21121016', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?f WHERE { resource:Q21121016 property:P703 ?f . ?f rdf:type ontology:Q16521 }
Olfactory receptor 52E4
action filter_type
action find
entity Olfactory receptor 52E4
relation found in taxon
type taxon
['Olfactory receptor 52E4', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?f WHERE { resource:Olfactory_receptor_52E4 property:found_in_taxon ?f . ?f rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q21121016,P703,c(Q16521))
action filter_type
action find
entity Q21121016
relation P703
type Q16521
Olfactory receptor 52 E4 is found in [ANSWER]
['Q21121016', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?f WHERE { resource:Q21121016 property:P703 ?f . ?f rdf:type ontology:Q16521 }
Homo sapiens
Olfactory receptor 52 E4 is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity Olfactory receptor 52E4
relation found in taxon
type taxon
['Olfactory receptor 52E4', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?f WHERE { resource:Olfactory_receptor_52E4 property:found_in_taxon ?f . ?f rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15978631
P427
Q3343211
USER
What is the taxonomic type of that taxon ?
(Q15978631,P427,c(Q3343211))
action filter_type
action find
entity Q15978631
relation P427
type Q3343211
['Q15978631', 'P427', {'concept': 'Q3343211'}]
SELECT DISTINCT ?a WHERE { resource:Q15978631 property:P427 ?a . ?a rdf:type ontology:Q3343211 }
Homo sapiens
action filter_type
action find
entity Homo sapiens
relation taxonomic type
type zoological nomenclature
['Homo sapiens', 'taxonomic type', {'concept': 'zoological nomenclature'}]
SELECT DISTINCT ?a WHERE { resource:Homo_sapiens property:taxonomic_type ?a . ?a rdf:type ontology:zoological_nomenclature }
[]
zoological nomenclature
Q1043
SYSTEM
Carl Linnaeus
Q1043
(Q15978631,P427,c(Q3343211))
action filter_type
action find
entity Q15978631
relation P427
type Q3343211
The taxonomic type of that taxon is by [ANSWER]
['Q15978631', 'P427', {'concept': 'Q3343211'}]
SELECT DISTINCT ?a WHERE { resource:Q15978631 property:P427 ?a . ?a rdf:type ontology:Q3343211 }
Carl Linnaeus
The taxonomic type of that taxon is by Carl Linnaeus
Carl Linnaeus
action filter_type
action find
entity Homo sapiens
relation taxonomic type
type zoological nomenclature
['Homo sapiens', 'taxonomic type', {'concept': 'zoological nomenclature'}]
SELECT DISTINCT ?a WHERE { resource:Homo_sapiens property:taxonomic_type ?a . ?a rdf:type ontology:zoological_nomenclature }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1043 Q7758548
P50
Q2342494
USER
Was The Promise of Eden written by that zoological nomenclature ?
(Q7758548,P50,Q1043)
action is_in
entity Q7758548
action find
entity Q1043
relation P50
['Q7758548', 'P50', 'Q1043']
ASK WHERE { resource:Q1043 property:P50 resource:Q7758548 }
Carl Linnaeus The Promise of Eden
action is_in
entity The Promise of Eden
action find
entity Carl Linnaeus
relation author
['The Promise of Eden', 'author', 'Carl Linnaeus']
ASK WHERE { resource:Carl_Linnaeus property:author resource:The_Promise_of_Eden }
[]
collectable
SYSTEM
NO
(Q7758548,P50,Q1043)
action is_in
entity Q7758548
action find
entity Q1043
relation P50
[ANSWER]
['Q7758548', 'P50', 'Q1043']
ASK WHERE { resource:Q1043 property:P50 resource:Q7758548 }
No
action is_in
entity The Promise of Eden
action find
entity Carl Linnaeus
relation author
['The Promise of Eden', 'author', 'Carl Linnaeus']
ASK WHERE { resource:Carl_Linnaeus property:author resource:The_Promise_of_Eden }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q21121016 Q18056782
P702
Q863908
USER
Does OR52E4 encode Olfactory receptor 52E4 ?
(Q21121016,P702,Q18056782)
action is_in
entity Q18056782
action find
entity Q21121016
relation P702
['Q21121016', 'P702', 'Q18056782']
ASK WHERE { resource:Q21121016 property:P702 resource:Q18056782 }
Olfactory receptor 52E4 OR52E4
action is_in
entity OR52E4
action find
entity Olfactory receptor 52E4
relation encoded by
['Olfactory receptor 52E4', 'encoded by', 'OR52E4']
ASK WHERE { resource:Olfactory_receptor_52E4 property:encoded_by resource:OR52E4 }
[]
nucleic acid sequence
SYSTEM
YES
(Q21121016,P702,Q18056782)
action is_in
entity Q18056782
action find
entity Q21121016
relation P702
[ANSWER]
['Q21121016', 'P702', 'Q18056782']
ASK WHERE { resource:Q21121016 property:P702 resource:Q18056782 }
Yes
action is_in
entity OR52E4
action find
entity Olfactory receptor 52E4
relation encoded by
['Olfactory receptor 52E4', 'encoded by', 'OR52E4']
ASK WHERE { resource:Olfactory_receptor_52E4 property:encoded_by resource:OR52E4 }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q16521 Q3305213
USER
How many paintings demonstrate around 2 taxons ?
(c(Q3305213),P180,c(Q16521))
action count
action approx
action find_tuple_counts
relation P180
type Q3305213
type Q16521
value 2
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?a ) WHERE { ?w property:P180 ?t . ?t rdf:type ontology:Q16521 . ?w rdf:type ontology:Q3305213 } GROUP BY ?w } . FILTER ( ?a = 2 ) }
action count
action approx
action find_tuple_counts
relation depicts
type painting
type taxon
value 2
[{'concept': 'painting'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?a ) WHERE { ?w property:depicts ?t . ?t rdf:type ontology:taxon . ?w rdf:type ontology:painting } GROUP BY ?w } . FILTER ( ?a = 2 ) }
[]
taxon painting
SYSTEM
4
Q20022416 Q25541602 Q5856992 Q18591537
(c(Q3305213),P180,c(Q16521))
action count
action approx
action find_tuple_counts
relation P180
type Q3305213
type Q16521
value 2
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?a ) WHERE { ?w property:P180 ?t . ?t rdf:type ontology:Q16521 . ?w rdf:type ontology:Q3305213 } GROUP BY ?w } . FILTER ( ?a = 2 ) }
View of a Roman house Le Toucher February View of Catanzaro (from “Voyage Pittoresque, ou Description des royaumes de Naples et de Sicile” by Jean-Claude Richard Abbé de Saint Non)
4
action count
action approx
action find_tuple_counts
relation depicts
type painting
type taxon
value 2
[{'concept': 'painting'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?a ) WHERE { ?w property:depicts ?t . ?t rdf:type ontology:taxon . ?w rdf:type ontology:painting } GROUP BY ?w } . FILTER ( ?a = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1043 Q1337389
P22
Q502895
USER
How many people are the offspring of Carl Linnaeus or Menachem Mendel Schneersohn ?
(c(Q502895),P22,Q1043) (c(Q502895),P22,Q1337389)
action count
action union
action filter_type
action find_reverse
entity Q1043
relation P22
type Q502895
action filter_type
action find_reverse
entity Q1337389
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1043'] [{'concept': 'Q502895'}, 'P22', 'Q1337389']
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:P22 ?z . VALUES ( ?z ) { ( resource:Q1043 ) ( resource:Q1337389 ) } }
Carl Linnaeus Menachem Mendel Schneersohn
action count
action union
action filter_type
action find_reverse
entity Carl Linnaeus
relation father
type common name
action filter_type
action find_reverse
entity Menachem Mendel Schneersohn
relation father
type common name
[{'concept': 'common name'}, 'father', 'Carl Linnaeus'] [{'concept': 'common name'}, 'father', 'Menachem Mendel Schneersohn']
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:father ?z . VALUES ( ?z ) { ( resource:Carl_Linnaeus ) ( resource:Menachem_Mendel_Schneersohn ) } }
[]
common name
SYSTEM
6
Q5371060 Q4465355 Q13360126 Q5371030 Q937451 Q178823
(c(Q502895),P22,Q1043) (c(Q502895),P22,Q1337389)
action count
action union
action filter_type
action find_reverse
entity Q1043
relation P22
type Q502895
action filter_type
action find_reverse
entity Q1337389
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q1043'] [{'concept': 'Q502895'}, 'P22', 'Q1337389']
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:P22 ?z . VALUES ( ?z ) { ( resource:Q1043 ) ( resource:Q1337389 ) } }
Chaim Shneur Zalman Schneersohn Yehuda Leib Schneersohn Elisabeth Christina von Linné Yosef Yitzchak Schneersohn from Ovruch Shmuel Schneersohn Carl Linnaeus the Younger
6
action count
action union
action filter_type
action find_reverse
entity Carl Linnaeus
relation father
type common name
action filter_type
action find_reverse
entity Menachem Mendel Schneersohn
relation father
type common name
[{'concept': 'common name'}, 'father', 'Carl Linnaeus'] [{'concept': 'common name'}, 'father', 'Menachem Mendel Schneersohn']
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { ?e property:father ?z . VALUES ( ?z ) { ( resource:Carl_Linnaeus ) ( resource:Menachem_Mendel_Schneersohn ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P566
Q82799 Q16521
USER
Which names are a basionyms of max number of taxons ?
(c(Q16521),P566,Q24006173)
action argmax
action find_reverse_tuple_counts
relation P566
type Q82799
type Q16521
[{'concept': 'Q16521'}, 'P566', 'Q24006173']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P566 ?x . ?b rdf:type ontology:Q16521 . ?x rdf:type ontology:Q82799 } GROUP BY ?x } } . { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:P566 ?v . ?o rdf:type ontology:Q16521 . ?v rdf:type ontology:Q82799 } GROUP BY ?v } . FILTER ( ?j = ?m ) }
action argmax
action find_reverse_tuple_counts
relation basionym
type name
type taxon
[{'concept': 'taxon'}, 'basionym', 'Convolvulus corymbosus']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:basionym ?x . ?b rdf:type ontology:taxon . ?x rdf:type ontology:name } GROUP BY ?x } } . { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:basionym ?v . ?o rdf:type ontology:taxon . ?v rdf:type ontology:name } GROUP BY ?v } . FILTER ( ?j = ?m ) }
[]
name taxon
Q11079289 Q17244388
SYSTEM
Salsola brachiata, Atriplex portulacoides
Q11079289 Q17244388
(c(Q16521),P566,Q24006173)
action argmax
action find_reverse_tuple_counts
relation P566
type Q82799
type Q16521
[ANSWERS] are a basionyms of max number of taxons
[{'concept': 'Q16521'}, 'P566', 'Q24006173']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P566 ?x . ?b rdf:type ontology:Q16521 . ?x rdf:type ontology:Q82799 } GROUP BY ?x } } . { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:P566 ?v . ?o rdf:type ontology:Q16521 . ?v rdf:type ontology:Q82799 } GROUP BY ?v } . FILTER ( ?j = ?m ) }
Salsola brachiata Atriplex portulacoides
Salsola brachiata and Atriplex portulacoides are a basionyms of max number of taxons
Salsola brachiata Atriplex portulacoides
action argmax
action find_reverse_tuple_counts
relation basionym
type name
type taxon
[{'concept': 'taxon'}, 'basionym', 'Convolvulus corymbosus']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:basionym ?x . ?b rdf:type ontology:taxon . ?x rdf:type ontology:name } GROUP BY ?x } } . { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:basionym ?v . ?o rdf:type ontology:taxon . ?v rdf:type ontology:name } GROUP BY ?v } . FILTER ( ?j = ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15978631
P689
Q2057971
USER
What can afflict Homo sapiens ?
(c(Q2057971),P689,Q15978631)
action filter_type
action find_reverse
entity Q15978631
relation P689
type Q2057971
[{'concept': 'Q2057971'}, 'P689', 'Q15978631']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q2057971 . ?f property:P689 resource:Q15978631 }
Homo sapiens
action filter_type
action find_reverse
entity Homo sapiens
relation afflicts
type health problem
[{'concept': 'health problem'}, 'afflicts', 'Homo sapiens']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:health_problem . ?f property:afflicts resource:Homo_sapiens }
[]
health problem
Q403463
SYSTEM
Aicardi syndrome
Q403463
(c(Q2057971),P689,Q15978631)
action filter_type
action find_reverse
entity Q15978631
relation P689
type Q2057971
[ANSWER] can afflict Homo sapiens
[{'concept': 'Q2057971'}, 'P689', 'Q15978631']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q2057971 . ?f property:P689 resource:Q15978631 }
Aicardi syndrome
Aicardi syndrome can afflict Homo sapiens
Aicardi syndrome
action filter_type
action find_reverse
entity Homo sapiens
relation afflicts
type health problem
[{'concept': 'health problem'}, 'afflicts', 'Homo sapiens']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:health_problem . ?f property:afflicts resource:Homo_sapiens }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1043
P40
Q502895
USER
Who are the children of Carl Linnaeus ?
(Q1043,P40,c(Q502895))
action filter_type
action find
entity Q1043
relation P40
type Q502895
['Q1043', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1043 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Carl Linnaeus
action filter_type
action find
entity Carl Linnaeus
relation child
type common name
['Carl Linnaeus', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Carl_Linnaeus property:child ?w . ?w rdf:type ontology:common_name }
[]
common name
Q13360126 Q178823
SYSTEM
Elisabeth Christina von Linné, Carl Linnaeus the Younger
Q13360126 Q178823
(Q1043,P40,c(Q502895))
action filter_type
action find
entity Q1043
relation P40
type Q502895
The children of Carl Linnaeus are Princess [ANSWERS]
['Q1043', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1043 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Elisabeth Christina von Linné Carl Linnaeus the Younger
The children of Carl Linnaeus are Princess Elisabeth Christina von Linné and Carl Linnaeus the Younger
Elisabeth Christina von Linné Carl Linnaeus the Younger
action filter_type
action find
entity Carl Linnaeus
relation child
type common name
['Carl Linnaeus', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Carl_Linnaeus property:child ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q178823
P25
Q502895
USER
Which person was the mother of Carl Linnaeus the Younger ?
(Q178823,P25,c(Q502895))
action filter_type
action find
entity Q178823
relation P25
type Q502895
['Q178823', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q178823 property:P25 ?j . ?j rdf:type ontology:Q502895 }
Carl Linnaeus the Younger
action filter_type
action find
entity Carl Linnaeus the Younger
relation mother
type common name
['Carl Linnaeus the Younger', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Carl_Linnaeus_the_Younger property:mother ?j . ?j rdf:type ontology:common_name }
[]
common name
Q3473264
SYSTEM
Sara Elisabeth Moraea
Q3473264
(Q178823,P25,c(Q502895))
action filter_type
action find
entity Q178823
relation P25
type Q502895
[ANSWER] was the mother of Carl Linnaeus the Younger
['Q178823', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q178823 property:P25 ?j . ?j rdf:type ontology:Q502895 }
Sara Elisabeth Moraea
Sara Elisabeth Moraea was the mother of Carl Linnaeus the Younger
Sara Elisabeth Moraea
action filter_type
action find
entity Carl Linnaeus the Younger
relation mother
type common name
['Carl Linnaeus the Younger', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Carl_Linnaeus_the_Younger property:mother ?j . ?j rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1798603
P1303
Q34379 Q502895
USER
How many musical instruments are played by more number of people than string instrument ?
(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 Q1798603
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q1798603 property:P1303 ?u . ?u rdf:type ontology:Q34379 } } . FILTER ( ?e > ?f ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?e ) WHERE { ?a rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 . ?n property:P1303 ?a } GROUP BY ?a } }
string instrument
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 string instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:string_instrument property:instrument ?u . ?u rdf:type ontology:musical_instrument } } . FILTER ( ?e > ?f ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?e ) WHERE { ?a rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name . ?n property:instrument ?a } GROUP BY ?a } }
[]
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 Q1798603
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q1798603 property:P1303 ?u . ?u rdf:type ontology:Q34379 } } . FILTER ( ?e > ?f ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?e ) WHERE { ?a rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 . ?n property:P1303 ?a } GROUP BY ?a } }
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 string instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:string_instrument property:instrument ?u . ?u rdf:type ontology:musical_instrument } } . FILTER ( ?e > ?f ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?e ) WHERE { ?a rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name . ?n property:instrument ?a } GROUP BY ?a } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q16875637
P1303
Q34379 Q502895
USER
And what about transverse flute?
(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 Q16875637
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:Q16875637 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } . FILTER ( ?q > ?r ) . { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?t } }
transverse flute
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 transverse flute
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:transverse_flute property:instrument ?v . ?v rdf:type ontology:musical_instrument } } . FILTER ( ?q > ?r ) . { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?t } }
[]
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 Q16875637
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:Q16875637 property:P1303 ?v . ?v rdf:type ontology:Q34379 } } . FILTER ( ?q > ?r ) . { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?t } }
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 transverse flute
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:transverse_flute property:instrument ?v . ?v rdf:type ontology:musical_instrument } } . FILTER ( ?q > ?r ) . { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?t } }
[]