Simple Question (Direct)
Simple Question
Q4949860
P735
Q82799
USER
What is forename of Viviann Gerdin ?
(Q4949860,P735,c(Q82799))
action filter_type
action find
entity Q4949860
relation P735
type Q82799
['Q4949860', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q4949860 property:P735 ?l }
Viviann Gerdin
action filter_type
action find
entity Viviann Gerdin
relation given name
type name
['Viviann Gerdin', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Viviann_Gerdin property:given_name ?l }
[]
name
Q22294053
SYSTEM
Viviann
Q22294053
(Q4949860,P735,c(Q82799))
action filter_type
action find
entity Q4949860
relation P735
type Q82799
Forename of [ANSWER] Gerdin is of [ANSWER]
['Q4949860', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q4949860 property:P735 ?l }
Viviann
Forename of Viviann Gerdin is of Viviann
Viviann
action filter_type
action find
entity Viviann Gerdin
relation given name
type name
['Viviann Gerdin', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Viviann_Gerdin property:given_name ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4949860
P102
Q7210356
USER
Which party does that person belong to ?
(Q22294053,P102,c(Q7210356))
action filter_type
action find
entity Q4949860
relation P102
type Q7210356
['Q22294053', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q4949860 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Viviann Gerdin
action filter_type
action find
entity Viviann Gerdin
relation member of political party
type political organization
['Viviann', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Viviann_Gerdin property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
political organization
Q110832
SYSTEM
Centre Party
Q110832
(Q22294053,P102,c(Q7210356))
action filter_type
action find
entity Q4949860
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q22294053', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q4949860 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Centre Party
That person belongs to Centre Party
Centre Party
action filter_type
action find
entity Viviann Gerdin
relation member of political party
type political organization
['Viviann', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Viviann_Gerdin property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4949860
P39
Q12737077
USER
What was the position for which Viviann Gerdin was appointed ?
(Q4949860,P39,c(Q12737077))
action filter_type
action find
entity Q4949860
relation P39
type Q12737077
['Q4949860', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q4949860 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Viviann Gerdin
action filter_type
action find
entity Viviann Gerdin
relation position held
type occupation
['Viviann Gerdin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Viviann_Gerdin property:position_held ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q10655178
SYSTEM
Member of the Riksdag
Q10655178
(Q4949860,P39,c(Q12737077))
action filter_type
action find
entity Q4949860
relation P39
type Q12737077
[ANSWER]
['Q4949860', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q4949860 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Member of the Riksdag
Member of the Riksdag
Member of the Riksdag
action filter_type
action find
entity Viviann Gerdin
relation position held
type occupation
['Viviann Gerdin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Viviann_Gerdin property:position_held ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23414896
Q12737077
USER
And how about Dr. M. Nuruzzaman?
(Q23414896,P39,c(Q12737077))
action filter_type
action find
entity Q23414896
relation P39
type Q12737077
['Q23414896', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q23414896 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Dr. M. Nuruzzaman
action filter_type
action find
entity Dr. M. Nuruzzaman
relation position held
type occupation
['Dr. M. Nuruzzaman', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Dr._M._Nuruzzaman property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q19007052
SYSTEM
Member of the West Bengal Legislative Assembly
Q19007052
(Q23414896,P39,c(Q12737077))
action filter_type
action find
entity Q23414896
relation P39
type Q12737077
[ANSWER]
['Q23414896', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q23414896 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Member of the West Bengal Legislative Assembly
Member of the West Bengal Legislative Assembly
action filter_type
action find
entity Dr. M. Nuruzzaman
relation position held
type occupation
['Dr. M. Nuruzzaman', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Dr._M._Nuruzzaman property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q19007052 Q668
P17
Q15617994
USER
Is Member of the West Bengal Legislative Assembly present in India ?
(Q19007052,P17,Q668)
action is_in
entity Q668
action find
entity Q19007052
relation P17
['Q19007052', 'P17', 'Q668']
ASK WHERE { resource:Q19007052 property:P17 resource:Q668 }
Member of the West Bengal Legislative Assembly India
action is_in
entity India
action find
entity Member of the West Bengal Legislative Assembly
relation country
['Member of the West Bengal Legislative Assembly', 'country', 'India']
ASK WHERE { resource:Member_of_the_West_Bengal_Legislative_Assembly property:country resource:India }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q19007052,P17,Q668)
action is_in
entity Q668
action find
entity Q19007052
relation P17
[ANSWER]
['Q19007052', 'P17', 'Q668']
ASK WHERE { resource:Q19007052 property:P17 resource:Q668 }
Yes
action is_in
entity India
action find
entity Member of the West Bengal Legislative Assembly
relation country
['Member of the West Bengal Legislative Assembly', 'country', 'India']
ASK WHERE { resource:Member_of_the_West_Bengal_Legislative_Assembly property:country resource:India }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q4949860 Q34
P27
Q15617994
USER
Is Sweden the country of citizenship of that person ?
(Q4949860,P27,Q34)
action is_in
entity Q34
action find
entity Q4949860
relation P27
['Q4949860', 'P27', 'Q34']
ASK WHERE { resource:Q4949860 property:P27 resource:Q34 }
Viviann Gerdin Sweden
action is_in
entity Sweden
action find
entity Viviann Gerdin
relation country of citizenship
['Viviann Gerdin', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Viviann_Gerdin property:country_of_citizenship resource:Sweden }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q4949860,P27,Q34)
action is_in
entity Q34
action find
entity Q4949860
relation P27
[ANSWER]
['Q4949860', 'P27', 'Q34']
ASK WHERE { resource:Q4949860 property:P27 resource:Q34 }
Yes
action is_in
entity Sweden
action find
entity Viviann Gerdin
relation country of citizenship
['Viviann Gerdin', 'country of citizenship', 'Sweden']
ASK WHERE { resource:Viviann_Gerdin property:country_of_citizenship resource:Sweden }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q22294053 Q7820080
P735
Q502895
USER
How many people have Viviann or Tomoaki as forename ?
(c(Q502895),P735,Q22294053) (c(Q502895),P735,Q7820080)
action count
action union
action filter_type
action find_reverse
entity Q22294053
relation P735
type Q502895
action filter_type
action find_reverse
entity Q7820080
relation P735
type Q502895
[{'concept': 'Q502895'}, 'P735', 'Q22294053'] [{'concept': 'Q502895'}, 'P735', 'Q7820080']
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { ?t rdf:type ontology:Q502895 . ?t property:P735 resource:Q22294053 } UNION { ?t rdf:type ontology:Q502895 . ?t property:P735 resource:Q7820080 } }
Viviann Tomoaki
action count
action union
action filter_type
action find_reverse
entity Viviann
relation given name
type common name
action filter_type
action find_reverse
entity Tomoaki
relation given name
type common name
[{'concept': 'common name'}, 'given name', 'Viviann'] [{'concept': 'common name'}, 'given name', 'Tomoaki']
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { ?t rdf:type ontology:common_name . ?t property:given_name resource:Viviann } UNION { ?t rdf:type ontology:common_name . ?t property:given_name resource:Tomoaki } }
[]
common name
SYSTEM
46
Q10383045 Q11550148 Q11373050 Q11556716 Q7820086 Q11570570 Q11367058 Q2093096 Q11458969 Q7820084 Q7820085 Q7820082 Q7820081 Q11666411 Q11622847 Q6637983 Q11552073 Q11478943 Q11594423 Q6538413 Q11363933 Q11558696 Q2092986 Q11637871 Q6636768 Q4949860 Q2441140 Q11474043 Q6526535 Q1254908 Q3080815 Q11587983 Q11620755 Q3363388 Q704487 Q11557995 Q11483640 Q11549439 Q11358881 Q2093603 Q11413650 Q1206674 Q558869 Q11551627 Q870512 Q1391205
(c(Q502895),P735,Q22294053) (c(Q502895),P735,Q7820080)
action count
action union
action filter_type
action find_reverse
entity Q22294053
relation P735
type Q502895
action filter_type
action find_reverse
entity Q7820080
relation P735
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P735', 'Q22294053'] [{'concept': 'Q502895'}, 'P735', 'Q7820080']
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { ?t rdf:type ontology:Q502895 . ?t property:P735 resource:Q22294053 } UNION { ?t rdf:type ontology:Q502895 . ?t property:P735 resource:Q7820080 } }
Shōchi Tanabe Tomoaki Nagae Tomoaki Inoue Tomoaki Nagare Tomoaki Taniguchi Tomoaki Makino Tomoaki Nakanishi Tomoaki Seino Tomoaki Ogura Tomoaki Kato Tomoaki Koyama Tomoaki Honma Tomoaki Egawa Tomoaki Iishiba Tomoaki Fujii Tōyama Tomoaki Tomoaki Ikeda Tomoaki Kawasumi Tomoaki Fukura Imamura Tomoaki Tomoaki Nakao Tomoaki Unagami Tomoaki Matsukawa Tomoaki Tatsumi Matsudaira Tomoaki Viviann Gerdin Tomoaki Kunichika Tomoaki Iwai Takigawa Tomoaki Tomoaki Ogami Tomoaki Komorida Tomoaki Iso Tomoaki Hayama Tomoaki Sato Tomoaki Kanemoto Tomoaki Hamada Tomoaki Hirano Tomoaki Mizuno Tomoaki Ueyama Tomoaki Sano Tomoaki Yoshida Tomoaki Maeno Tomoaki Makino Tomoaki Ikenaga Tomoaki Satoh Tomoaki Kuno
46
action count
action union
action filter_type
action find_reverse
entity Viviann
relation given name
type common name
action filter_type
action find_reverse
entity Tomoaki
relation given name
type common name
[{'concept': 'common name'}, 'given name', 'Viviann'] [{'concept': 'common name'}, 'given name', 'Tomoaki']
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { ?t rdf:type ontology:common_name . ?t property:given_name resource:Viviann } UNION { ?t rdf:type ontology:common_name . ?t property:given_name resource:Tomoaki } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q9438
P417
Q502895 Q12737077
USER
Which people are the patron saint of greater number of occupations than Thomas Aquinas ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q9438
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P417 ?q . ?q rdf:type ontology:Q502895 . ?s rdf:type ontology:Q12737077 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Q9438 property:P417 ?g . ?g rdf:type ontology:Q502895 } } . FILTER ( ?r > ?m ) }
Thomas Aquinas
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Thomas Aquinas
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:patron_saint ?q . ?q rdf:type ontology:common_name . ?s rdf:type ontology:occupation } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Thomas_Aquinas property:patron_saint ?g . ?g rdf:type ontology:common_name } } . FILTER ( ?r > ?m ) }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q128538 Q183240 Q196653 Q44265 Q192816 Q43982 Q179718 Q43600 Q744884 Q151967 Q200895 Q44248
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q9438
relation P417
type Q502895
[ANSWERS] are the patron saint of greater number of occupations than Thomas Aquinas
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P417 ?q . ?q rdf:type ontology:Q502895 . ?s rdf:type ontology:Q12737077 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Q9438 property:P417 ?g . ?g rdf:type ontology:Q502895 } } . FILTER ( ?r > ?m ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Luke the Evangelist Saint Lucy Saint Veronica Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Zita Saint Blaise Agatha of Sicily Jerome
Isidore of Seville, Catherine of Siena and Jerome are the patron saint of greater number of occupations than Thomas Aquinas
Isidore of Seville Catherine of Siena Jerome
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Thomas Aquinas
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:patron_saint ?q . ?q rdf:type ontology:common_name . ?s rdf:type ontology:occupation } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { resource:Thomas_Aquinas property:patron_saint ?g . ?g rdf:type ontology:common_name } } . FILTER ( ?r > ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q231256
P417
Q502895 Q12737077
USER
And also tell me about Francis de Sales?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q231256
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:P417 ?b . ?b rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g rdf:type ontology:Q502895 . resource:Q231256 property:P417 ?g } } . FILTER ( ?t > ?l ) }
Francis de Sales
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Francis de Sales
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:patron_saint ?b . ?b rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g rdf:type ontology:common_name . resource:Francis_de_Sales property:patron_saint ?g } } . FILTER ( ?t > ?l ) }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q231256
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:P417 ?b . ?b rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g rdf:type ontology:Q502895 . resource:Q231256 property:P417 ?g } } . FILTER ( ?t > ?l ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Francis de Sales
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:patron_saint ?b . ?b rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g rdf:type ontology:common_name . resource:Francis_de_Sales property:patron_saint ?g } } . FILTER ( ?t > ?l ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q261225
P674
Q223393
USER
Are those people a character of Memory ?
(Q261225,P674,Q9438) (Q261225,P674,Q60059) (Q261225,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q261225
relation P674
['Q261225', 'P674', 'Q9438'] ['Q261225', 'P674', 'Q60059'] ['Q261225', 'P674', 'Q166876']
ASK WHERE { VALUES ( ?g ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } . resource:Q261225 property:P674 ?g }
Memory
action is_in
entity prev_answer
action find
entity Memory
relation characters
['Memory', 'characters', 'Thomas Aquinas'] ['Memory', 'characters', 'Albertus Magnus'] ['Memory', 'characters', 'Isidore of Seville']
ASK WHERE { VALUES ( ?g ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } . resource:Memory property:characters ?g }
[]
literary genre
SYSTEM
NO
(Q261225,P674,Q9438) (Q261225,P674,Q60059) (Q261225,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q261225
relation P674
[ANSWER]
['Q261225', 'P674', 'Q9438'] ['Q261225', 'P674', 'Q60059'] ['Q261225', 'P674', 'Q166876']
ASK WHERE { VALUES ( ?g ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } . resource:Q261225 property:P674 ?g }
No
action is_in
entity prev_answer
action find
entity Memory
relation characters
['Memory', 'characters', 'Thomas Aquinas'] ['Memory', 'characters', 'Albertus Magnus'] ['Memory', 'characters', 'Isidore of Seville']
ASK WHERE { VALUES ( ?g ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } . resource:Memory property:characters ?g }
[]
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 around 1256 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1256
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?b = 1256 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1256
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?b = 1256 ) }
[]
musical instrument common name
SYSTEM
64
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 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 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 1256
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?b = 1256 ) }
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 trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
64
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1256
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?b = 1256 ) }
[]