Simple Question (Direct)
Simple Question
Q3740432
P119
Q43229
USER
Where is the place of burial for Alexander Shakhovskoy located ?
(Q3740432,P119,c(Q43229))
action filter_type
action find
entity Q3740432
relation P119
type Q43229
['Q3740432', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { resource:Q3740432 property:P119 ?g . ?g rdf:type ontology:Q43229 }
Alexander Shakhovskoy
action filter_type
action find
entity Alexander Shakhovskoy
relation place of burial
type organization
['Alexander Shakhovskoy', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { resource:Alexander_Shakhovskoy property:place_of_burial ?g . ?g rdf:type ontology:organization }
[]
organization
Q208175
SYSTEM
Novodevichy Cemetery
Q208175
(Q3740432,P119,c(Q43229))
action filter_type
action find
entity Q3740432
relation P119
type Q43229
The place of burial for Alexander Shakhovskoy is located in [ANSWER]
['Q3740432', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { resource:Q3740432 property:P119 ?g . ?g rdf:type ontology:Q43229 }
Novodevichy Cemetery
The place of burial for Alexander Shakhovskoy is located in Novodevichy Cemetery
Novodevichy Cemetery
action filter_type
action find
entity Alexander Shakhovskoy
relation place of burial
type organization
['Alexander Shakhovskoy', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { resource:Alexander_Shakhovskoy property:place_of_burial ?g . ?g rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q208175
P17
Q15617994
USER
Which administrative territory is that organization situated in ?
(Q208175,P17,c(Q15617994))
action filter_type
action find
entity Q208175
relation P17
type Q15617994
['Q208175', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q208175 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Novodevichy Cemetery
action filter_type
action find
entity Novodevichy Cemetery
relation country
type designation for an administrative territorial entity
['Novodevichy Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Novodevichy_Cemetery property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q208175,P17,c(Q15617994))
action filter_type
action find
entity Q208175
relation P17
type Q15617994
That organization is situated in [ANSWER]
['Q208175', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q208175 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Russia
That organization is situated in Russia
Russia
action filter_type
action find
entity Novodevichy Cemetery
relation country
type designation for an administrative territorial entity
['Novodevichy Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Novodevichy_Cemetery property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q2088357
USER
How many administrative territories did around the same number of film genres and musical ensembles originate as that administrative territory ?
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q159
relation P495
type Q201658
type Q2088357
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?v WHERE { { ?q property:P495 ?v . ?q rdf:type ontology:Q201658 . ?v rdf:type ontology:Q15617994 } UNION { ?q property:P495 ?v . ?q rdf:type ontology:Q2088357 . ?v rdf:type ontology:Q15617994 } } GROUP BY ?v } . FILTER ( ?o = ?z ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { ?b property:P495 resource:Q159 . { { ?b rdf:type ontology:Q2088357 } UNION { ?b rdf:type ontology:Q201658 } } } } }
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Russia
relation country of origin
type film genre
type musical ensemble
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?v WHERE { { ?q property:country_of_origin ?v . ?q rdf:type ontology:film_genre . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q property:country_of_origin ?v . ?q rdf:type ontology:musical_ensemble . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?v } . FILTER ( ?o = ?z ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { ?b property:country_of_origin resource:Russia . { { ?b rdf:type ontology:musical_ensemble } UNION { ?b rdf:type ontology:film_genre } } } } }
[]
designation for an administrative territorial entity film genre musical ensemble
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q159
relation P495
type Q201658
type Q2088357
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?v WHERE { { ?q property:P495 ?v . ?q rdf:type ontology:Q201658 . ?v rdf:type ontology:Q15617994 } UNION { ?q property:P495 ?v . ?q rdf:type ontology:Q2088357 . ?v rdf:type ontology:Q15617994 } } GROUP BY ?v } . FILTER ( ?o = ?z ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { ?b property:P495 resource:Q159 . { { ?b rdf:type ontology:Q2088357 } UNION { ?b rdf:type ontology:Q201658 } } } } }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Russia
relation country of origin
type film genre
type musical ensemble
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?v WHERE { { ?q property:country_of_origin ?v . ?q rdf:type ontology:film_genre . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q property:country_of_origin ?v . ?q rdf:type ontology:musical_ensemble . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?v } . FILTER ( ?o = ?z ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { ?b property:country_of_origin resource:Russia . { { ?b rdf:type ontology:musical_ensemble } UNION { ?b rdf:type ontology:film_genre } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q159
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Russia ?
(Q159,P530,c(Q15617994))
action count
action filter_type
action find
entity Q159
relation P530
type Q15617994
['Q159', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Q159 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Russia
action count
action filter_type
action find
entity Russia
relation diplomatic relation
type designation for an administrative territorial entity
['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Russia property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
19
Q805 Q801 Q241 Q668 Q414 Q142 Q148 Q17 Q30 Q79 Q38 Q711 Q717 Q1011 Q403 Q43 Q155 Q953 Q881
(Q159,P530,c(Q15617994))
action count
action filter_type
action find
entity Q159
relation P530
type Q15617994
[ANSWER]
['Q159', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Q159 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Yemen Israel Cuba India Argentina France People's Republic of China Japan United States of America Egypt Italy Mongolia Venezuela Cape Verde Serbia Turkey Brazil Zambia Vietnam
19
action count
action filter_type
action find
entity Russia
relation diplomatic relation
type designation for an administrative territorial entity
['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Russia property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q711
Q15617994
USER
And how about Mongolia?
(Q711,P530,c(Q15617994))
action count
action filter_type
action find
entity Q711
relation P530
type Q15617994
['Q711', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q711 property:P530 ?k . ?k rdf:type ontology:Q15617994 }
Mongolia
action count
action filter_type
action find
entity Mongolia
relation diplomatic relation
type designation for an administrative territorial entity
['Mongolia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Mongolia property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
5
(Q711,P530,c(Q15617994))
action count
action filter_type
action find
entity Q711
relation P530
type Q15617994
[ANSWER]
['Q711', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q711 property:P530 ?k . ?k rdf:type ontology:Q15617994 }
5
action count
action filter_type
action find
entity Mongolia
relation diplomatic relation
type designation for an administrative territorial entity
['Mongolia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Mongolia property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4285558 Q3740432
P19 P20
Q56061
USER
Which administrative territories did the demise of Alexander Shakhovskoy occur or are the places of birth of George Mountain ?
OR((Q3740432,P20,c(Q56061)), (Q4285558,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3740432
relation P20
action find
entity Q4285558
relation P19
type Q56061
{'OR': [['Q3740432', 'P20', {'concept': 'Q56061'}], ['Q4285558', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q3740432 property:P20 ?q } UNION { resource:Q4285558 property:P19 ?q } } . ?q rdf:type ontology:Q56061 }
George Mountain Alexander Shakhovskoy
action filter_type
action union
action find
entity Alexander Shakhovskoy
relation place of death
action find
entity George Mountain
relation place of birth
type administrative territorial entity
{'OR': [['Alexander Shakhovskoy', 'place of death', {'concept': 'administrative territorial entity'}], ['George Mountain', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Alexander_Shakhovskoy property:place_of_death ?q } UNION { resource:George_Mountain property:place_of_birth ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q130191 Q649
SYSTEM
Norwich, Moscow
Q130191 Q649
OR((Q3740432,P20,c(Q56061)), (Q4285558,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3740432
relation P20
action find
entity Q4285558
relation P19
type Q56061
In [ANSWERS] the demise of Alexander Shakhovskoy occurred or are the places of birth of George Mountain
{'OR': [['Q3740432', 'P20', {'concept': 'Q56061'}], ['Q4285558', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q3740432 property:P20 ?q } UNION { resource:Q4285558 property:P19 ?q } } . ?q rdf:type ontology:Q56061 }
Norwich Moscow
In Norwich and Moscow the demise of Alexander Shakhovskoy occurred or are the places of birth of George Mountain
Norwich Moscow
action filter_type
action union
action find
entity Alexander Shakhovskoy
relation place of death
action find
entity George Mountain
relation place of birth
type administrative territorial entity
{'OR': [['Alexander Shakhovskoy', 'place of death', {'concept': 'administrative territorial entity'}], ['George Mountain', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Alexander_Shakhovskoy property:place_of_death ?q } UNION { resource:George_Mountain property:place_of_birth ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q130191 Q649
P159
Q334453
USER
Which divisions have their HQ location at Norwich and Moscow ?
(c(Q334453),P159,Q130191) (c(Q334453),P159,Q649)
action union
action filter_type
action find_reverse
entity Q130191
relation P159
type Q334453
action filter_type
action find_reverse
entity Q649
relation P159
type Q334453
[{'concept': 'Q334453'}, 'P159', 'Q130191'] [{'concept': 'Q334453'}, 'P159', 'Q649']
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:Q334453 . ?t property:P159 resource:Q130191 } UNION { ?t rdf:type ontology:Q334453 . ?t property:P159 resource:Q649 } }
Norwich Moscow
action union
action filter_type
action find_reverse
entity Norwich
relation headquarters location
type division
action filter_type
action find_reverse
entity Moscow
relation headquarters location
type division
[{'concept': 'division'}, 'headquarters location', 'Norwich'] [{'concept': 'division'}, 'headquarters location', 'Moscow']
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:division . ?t property:headquarters_location resource:Norwich } UNION { ?t rdf:type ontology:division . ?t property:headquarters_location resource:Moscow } }
[]
division
Q1636655 Q3647393 Q7678080
SYSTEM
Melodiya, Burning Shed, Takeover Roc Nation
Q3647393 Q7678080 Q4430445 Q4038466 Q1636655
(c(Q334453),P159,Q130191) (c(Q334453),P159,Q649)
action union
action filter_type
action find_reverse
entity Q130191
relation P159
type Q334453
action filter_type
action find_reverse
entity Q649
relation P159
type Q334453
[ANSWERS] have their HQ location at Norwich and Moscow
[{'concept': 'Q334453'}, 'P159', 'Q130191'] [{'concept': 'Q334453'}, 'P159', 'Q649']
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:Q334453 . ?t property:P159 resource:Q130191 } UNION { ?t rdf:type ontology:Q334453 . ?t property:P159 resource:Q649 } }
Burning Shed Takeover Roc Nation Soyuz (company) Extraphone Melodiya
Melodiya, Burning Shed and Takeover Roc Nation have their HQ location at Norwich and Moscow
Melodiya Burning Shed Takeover Roc Nation
action union
action filter_type
action find_reverse
entity Norwich
relation headquarters location
type division
action filter_type
action find_reverse
entity Moscow
relation headquarters location
type division
[{'concept': 'division'}, 'headquarters location', 'Norwich'] [{'concept': 'division'}, 'headquarters location', 'Moscow']
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:division . ?t property:headquarters_location resource:Norwich } UNION { ?t rdf:type ontology:division . ?t property:headquarters_location resource:Moscow } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P463
Q484652
USER
What international organizations were Russia a member of ?
(Q159,P463,c(Q484652))
action filter_type
action find
entity Q159
relation P463
type Q484652
['Q159', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?v WHERE { resource:Q159 property:P463 ?v . ?v rdf:type ontology:Q484652 }
Russia
action filter_type
action find
entity Russia
relation member of
type international organization
['Russia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?v WHERE { resource:Russia property:member_of ?v . ?v rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q1065
SYSTEM
Organization for Security and Co-operation in Europe, G20, United Nations
Q81299 Q789769 Q8475 Q1065 Q19771 Q37143 Q674182 Q166110 Q1043527
(Q159,P463,c(Q484652))
action filter_type
action find
entity Q159
relation P463
type Q484652
Russia were the [ANSWERS]
['Q159', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?v WHERE { resource:Q159 property:P463 ?v . ?v rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe Council of the Baltic Sea States Interpol United Nations G20 G8 Arctic Council Union State Multilateral Investment Guarantee Agency
Russia were the Organization for Security and Co-operation in Europe, G20 and United Nations
Organization for Security and Co-operation in Europe G20 United Nations
action filter_type
action find
entity Russia
relation member of
type international organization
['Russia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?v WHERE { resource:Russia property:member_of ?v . ?v rdf:type ontology:international_organization }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q159
Q35749
USER
And which parliament?
(Q159,P463,c(Q35749))
action filter_type
action find
entity Q159
relation P463
type Q35749
['Q159', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ?r WHERE { resource:Q159 property:P463 ?r . ?r rdf:type ontology:Q35749 }
Russia
action filter_type
action find
entity Russia
relation member of
type parliament
['Russia', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ?r WHERE { resource:Russia property:member_of ?r . ?r rdf:type ontology:parliament }
[]
parliament
Q37470
SYSTEM
United Nations Security Council
Q37470
(Q159,P463,c(Q35749))
action filter_type
action find
entity Q159
relation P463
type Q35749
[ANSWER]
['Q159', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ?r WHERE { resource:Q159 property:P463 ?r . ?r rdf:type ontology:Q35749 }
United Nations Security Council
United Nations Security Council
action filter_type
action find
entity Russia
relation member of
type parliament
['Russia', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ?r WHERE { resource:Russia property:member_of ?r . ?r rdf:type ontology:parliament }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4696570 Q81299
P108
Q502895
USER
Which people are working for Organization for Security and Co-operation in Europe or Aichi Gakuin University ?
OR((c(Q502895),P108,Q81299), (c(Q502895),P108,Q4696570))
action filter_type
action union
action find_reverse
entity Q81299
relation P108
action find_reverse
entity Q4696570
relation P108
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P108', 'Q81299'], [{'concept': 'Q502895'}, 'P108', 'Q4696570']]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?e ) { ( resource:Q81299 ) ( resource:Q4696570 ) } . ?r property:P108 ?e } . ?r rdf:type ontology:Q502895 }
Aichi Gakuin University Organization for Security and Co-operation in Europe
action filter_type
action union
action find_reverse
entity Organization for Security and Co-operation in Europe
relation employer
action find_reverse
entity Aichi Gakuin University
relation employer
type common name
{'OR': [[{'concept': 'common name'}, 'employer', 'Organization for Security and Co-operation in Europe'], [{'concept': 'common name'}, 'employer', 'Aichi Gakuin University']]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?e ) { ( resource:Organization_for_Security_and_Co-operation_in_Europe ) ( resource:Aichi_Gakuin_University ) } . ?r property:employer ?e } . ?r rdf:type ontology:common_name }
[]
common name
Q11669992 Q11657918 Q11665442 Q11584756 Q11478082 Q11364778 Q16263798 Q16336004 Q11575521 Q15405983
SYSTEM
Some of them are Tadashi Takagi, Yoshiya Abe, Taketoshi Furomoto, Tomohiko Ishigami, Kōfū Kawaguchi, Jūrō Nakagawa, Ikuo Arai, Shigeo Minowa, Hiroshi Tanaka, Kazuhiro Koyasu
Q11460431 Q11651090 Q11577189 Q11461771 Q17160880 Q16264859 Q11478082 Q15405981 Q11561125 Q15405983 Q11488551 Q11405719 Q11669992 Q11621591 Q18545875 Q11576563 Q17211033 Q11657918 Q11511301 Q11530287 Q11576339 Q11470423 Q11523089 Q11597926 Q11397561 Q11364778 Q15529276 Q15406002 Q11584756 Q11429061 Q15405970 Q11366714 Q11370869 Q11575127 Q11549763 Q11368906 Q11540608 Q11380270 Q11665442 Q11625596 Q11459294 Q11549215 Q11468089 Q11385535 Q11603998 Q11562705 Q11462392 Q11648926 Q11427727 Q17160342 Q11519803 Q11551460 Q11464158 Q11580936 Q11539313 Q11399200 Q11412877 Q16263798 Q11575521 Q15406076 Q11413818 Q11516334 Q16336004
OR((c(Q502895),P108,Q81299), (c(Q502895),P108,Q4696570))
action filter_type
action union
action find_reverse
entity Q81299
relation P108
action find_reverse
entity Q4696570
relation P108
type Q502895
[ANSWERS] are working for Organization for Security and Co-operation in Europe or Aichi Gakuin University
{'OR': [[{'concept': 'Q502895'}, 'P108', 'Q81299'], [{'concept': 'Q502895'}, 'P108', 'Q4696570']]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?e ) { ( resource:Q81299 ) ( resource:Q4696570 ) } . ?r property:P108 ?e } . ?r rdf:type ontology:Q502895 }
Tomiyuki Ogawa Shigeo Kamata Osamu Tabata Hidekazu Kobayashi Hiroyoshi Tanaka Akira Ōmori Kōfū Kawaguchi Takurō Sakai Yoshikazu Shimizu Kazuhiro Koyasu Shigemi Gotō Akira Senda Tadashi Takagi Kenryō Minowa Sugane Nakagawa Masao Tao Keiichi Kitazumi Yoshiya Abe Tarō Hayakawa Tadaki Matsukawa Morikazu Taguchi Akira Yamada Shūichi Murayama Musashi Tachikawa Egaku Maeda Jūrō Nakagawa Alexis Chahtahtinsky Hajime Hanamura Tomohiko Ishigami Masaaki Sakaida Yayoi Ikeda Sakae Nakata Yōichirō Kameyama Tominobu Tanoue Ken'ichi Nagai Toshio Kuze Masahiko Uemura Kiyonaga Itō Taketoshi Furomoto Yukishige Hirukawa Iichi Oguchi Norio Mizutani Tokihiko Yamasaki Arata Yoda Akira Yonekura Fumimaro Watanabe Masao Ozawa Tomoo Suzuki Makoto Hori Kentarō Serita Makoto Suetaka Akira Ikegami Seiichirō Ono Kan'ichi Minagawa Katsumi Mori Nobuo Katō Ikuo Yoshioka Ikuo Arai Hiroshi Tanaka Takeo Miyao Kenji Yoshida Eiichirō Ariji Shigeo Minowa
Tadashi Takagi, Yoshiya Abe, Taketoshi Furomoto, Tomohiko Ishigami, Kōfū Kawaguchi, Jūrō Nakagawa, Ikuo Arai, Shigeo Minowa, Hiroshi Tanaka and Kazuhiro Koyasu are working for Organization for Security and Co-operation in Europe or Aichi Gakuin University
Tadashi Takagi Yoshiya Abe Taketoshi Furomoto Tomohiko Ishigami Kōfū Kawaguchi Jūrō Nakagawa Ikuo Arai Shigeo Minowa Hiroshi Tanaka Kazuhiro Koyasu
action filter_type
action union
action find_reverse
entity Organization for Security and Co-operation in Europe
relation employer
action find_reverse
entity Aichi Gakuin University
relation employer
type common name
{'OR': [[{'concept': 'common name'}, 'employer', 'Organization for Security and Co-operation in Europe'], [{'concept': 'common name'}, 'employer', 'Aichi Gakuin University']]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?e ) { ( resource:Organization_for_Security_and_Co-operation_in_Europe ) ( resource:Aichi_Gakuin_University ) } . ?r property:employer ?e } . ?r rdf:type ontology:common_name }
[]
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 atmost 3655 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3655
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?o <= 3655 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3655
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?o <= 3655 ) }
[]
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 atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3655
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?o <= 3655 ) }
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 atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3655
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?o <= 3655 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can max number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?h ) { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?b } } . { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?r = ?h ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?h ) { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?b } } . { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?r = ?h ) }
[]
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
Max number of people can perform on [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?h ) { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?b } } . { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?r = ?h ) }
piano
Max number of people can perform on piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?h ) { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?b } } . { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?r ) WHERE { ?c property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?r = ?h ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5994
P180
Q838948
USER
Which work of art expresses that musical instrument ?
(c(Q838948),P180,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q5994']
SELECT DISTINCT ?e WHERE { ?e property:P180 resource:Q5994 . ?e rdf:type ontology:Q838948 }
piano
action filter_type
action find_reverse
entity piano
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'piano']
SELECT DISTINCT ?e WHERE { ?e property:depicts resource:piano . ?e rdf:type ontology:work_of_art }
[]
work of art
Q23641920
SYSTEM
Monument to Frédéric Chopin
Q23641920
(c(Q838948),P180,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P180
type Q838948
The [ANSWER] expresses that musical instrument
[{'concept': 'Q838948'}, 'P180', 'Q5994']
SELECT DISTINCT ?e WHERE { ?e property:P180 resource:Q5994 . ?e rdf:type ontology:Q838948 }
Monument to Frédéric Chopin
The Monument to Frédéric Chopin expresses that musical instrument
Monument to Frédéric Chopin
action filter_type
action find_reverse
entity piano
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'piano']
SELECT DISTINCT ?e WHERE { ?e property:depicts resource:piano . ?e rdf:type ontology:work_of_art }
[]