Simple Question (Direct)
Simple Question
Q77164
P106
Q12737077
USER
What does Matthias Bachinger do for a living ?
(Q77164,P106,c(Q12737077))
action filter_type
action find
entity Q77164
relation P106
type Q12737077
['Q77164', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q77164 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Matthias Bachinger
action filter_type
action find
entity Matthias Bachinger
relation occupation
type occupation
['Matthias Bachinger', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Matthias_Bachinger property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q10833314
SYSTEM
tennis player
Q10833314
(Q77164,P106,c(Q12737077))
action filter_type
action find
entity Q77164
relation P106
type Q12737077
Matthias Bachinger does for a living a [ANSWER]
['Q77164', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q77164 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
tennis player
Matthias Bachinger does for a living a tennis player
tennis player
action filter_type
action find
entity Matthias Bachinger
relation occupation
type occupation
['Matthias Bachinger', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Matthias_Bachinger property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q77164
P27
Q1048835
USER
Which political territory is that person an inhabitant of ?
(Q10833314,P27,c(Q1048835))
action filter_type
action find
entity Q77164
relation P27
type Q1048835
['Q10833314', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q77164 property:P27 ?t . ?t rdf:type ontology:Q1048835 }
Matthias Bachinger
action filter_type
action find
entity Matthias Bachinger
relation country of citizenship
type political territorial entity
['tennis player', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Matthias_Bachinger property:country_of_citizenship ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q10833314,P27,c(Q1048835))
action filter_type
action find
entity Q77164
relation P27
type Q1048835
[ANSWER] is that person an inhabitant of
['Q10833314', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q77164 property:P27 ?t . ?t rdf:type ontology:Q1048835 }
Germany
Germany is that person an inhabitant of
Germany
action filter_type
action find
entity Matthias Bachinger
relation country of citizenship
type political territorial entity
['tennis player', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Matthias_Bachinger property:country_of_citizenship ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P1427
Q1048835 Q22348500 Q31629
USER
Which political territories are the starting points of more number of cycling race classes and types of sport than that political territory ?
(c(Q22348500)|c(Q31629),P1427,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P1427
type Q1048835
type Q22348500
action find_reverse_tuple_counts
relation P1427
type Q1048835
type Q31629
action count
action filter_multi_types
action find_reverse
entity Q183
relation P1427
type Q22348500
type Q31629
[[{'concept': 'Q22348500'}, {'concept': 'Q31629'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:P1427 ?u . ?a rdf:type ontology:Q22348500 . ?u rdf:type ontology:Q1048835 } UNION { ?a property:P1427 ?u . ?a rdf:type ontology:Q31629 . ?u rdf:type ontology:Q1048835 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:P1427 resource:Q183 . { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:Q22348500 ) ( ontology:Q31629 ) } } } } . FILTER ( ?w > ?k ) }
action greater
action union
action find_reverse_tuple_counts
relation start point
type political territorial entity
type cycling race class defined by the International Cycling Union
action find_reverse_tuple_counts
relation start point
type political territorial entity
type type of sport
action count
action filter_multi_types
action find_reverse
entity Germany
relation start point
type cycling race class defined by the International Cycling Union
type type of sport
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'type of sport'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:start_point ?u . ?a rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?u rdf:type ontology:political_territorial_entity } UNION { ?a property:start_point ?u . ?a rdf:type ontology:type_of_sport . ?u rdf:type ontology:political_territorial_entity } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:start_point resource:Germany . { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:cycling_race_class_defined_by_the_International_Cycling_Union ) ( ontology:type_of_sport ) } } } } . FILTER ( ?w > ?k ) }
[]
political territorial entity cycling race class defined by the International Cycling Union type of sport
Q12647 Q1552975 Q15486
SYSTEM
Vielha e Mijaran, Sabiñánigo, Bagà
Q572800 Q15907 Q1443867 Q1556707 Q593620 Q615841 Q1552975 Q496424 Q1628353 Q1607762 Q641221 Q1647365 Q671341 Q848172 Q847329 Q1766072 Q1605692 Q11492 Q1625868 Q430454 Q1646362 Q1641632 Q371748 Q832991 Q1649616 Q474080 Q634078 Q1186888 Q15486 Q499184 Q851020 Q846153 Q668016 Q12540 Q15640 Q492748 Q601112 Q1617896 Q12686 Q533277 Q743741 Q636467 Q648921 Q818341 Q221749 Q13614 Q12647 Q976528 Q987453 Q693913 Q1605993 Q604810 Q592747
(c(Q22348500)|c(Q31629),P1427,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P1427
type Q1048835
type Q22348500
action find_reverse_tuple_counts
relation P1427
type Q1048835
type Q31629
action count
action filter_multi_types
action find_reverse
entity Q183
relation P1427
type Q22348500
type Q31629
[ANSWERS] are the starting points of more number of cycling race classes and types of sport than that political territory
[[{'concept': 'Q22348500'}, {'concept': 'Q31629'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:P1427 ?u . ?a rdf:type ontology:Q22348500 . ?u rdf:type ontology:Q1048835 } UNION { ?a property:P1427 ?u . ?a rdf:type ontology:Q31629 . ?u rdf:type ontology:Q1048835 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:P1427 resource:Q183 . { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:Q22348500 ) ( ontology:Q31629 ) } } } } . FILTER ( ?w > ?k ) }
Alcañiz Rota Los Corrales de Buelna Vila Nova de Cacela Monachil Puebla de Don Fadrique Sabiñánigo Calatayud Sasamón Cenlle Viveiro Urdazubi/Urdax Betanzos Caleruega Comillas Santo Domingo de Silos Palomares del Río Mataró Alcañices Roa, Burgos Villalpando Jódar San Lorenzo de El Escorial Sóller Orio Amorebieta-Etxano Marín, Pontevedra Denbigh Bagà Roquetas de Mar Xàbia San Roque Iurreta Calella Sant Joan Despí Estepona Pollença Maceda Rialp Almonaster la Real Felanitx Benicàssim Etxebarria Monforte de Lemos Torrevieja Banyoles Vielha e Mijaran Alhaurín de la Torre San Javier Medina del Campo Cistierna Markina-Xemein Las Rozas de Madrid
Vielha e Mijaran, Sabiñánigo and Bagà are the starting points of more number of cycling race classes and types of sport than that political territory
Vielha e Mijaran Sabiñánigo Bagà
action greater
action union
action find_reverse_tuple_counts
relation start point
type political territorial entity
type cycling race class defined by the International Cycling Union
action find_reverse_tuple_counts
relation start point
type political territorial entity
type type of sport
action count
action filter_multi_types
action find_reverse
entity Germany
relation start point
type cycling race class defined by the International Cycling Union
type type of sport
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'type of sport'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?w ) WHERE { { ?a property:start_point ?u . ?a rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?u rdf:type ontology:political_territorial_entity } UNION { ?a property:start_point ?u . ?a rdf:type ontology:type_of_sport . ?u rdf:type ontology:political_territorial_entity } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { ?f property:start_point resource:Germany . { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:cycling_race_class_defined_by_the_International_Cycling_Union ) ( ontology:type_of_sport ) } } } } . FILTER ( ?w > ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q963
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relations with greater number of political territories than Botswana ?
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q963
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?g ) WHERE { ?y property:P530 ?b . ?y rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?y } . FILTER ( ?g > ?p ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Q963 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } }
Botswana
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Botswana
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?g ) WHERE { ?y property:diplomatic_relation ?b . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?y } . FILTER ( ?g > ?p ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Botswana property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q155 Q884 Q33 Q30 Q36 Q34 Q39 Q38 Q739 Q423 Q851 Q20 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878 Q953
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q963
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with greater number of political territories than Botswana
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?g ) WHERE { ?y property:P530 ?b . ?y rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?y } . FILTER ( ?g > ?p ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Q963 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey Brazil South Korea Finland United States of America Poland Sweden Switzerland Italy Colombia North Korea Saudi Arabia Norway Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates Zambia
Italy, Brazil and United States of America have diplomatic relations with greater number of political territories than Botswana
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Botswana
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?g ) WHERE { ?y property:diplomatic_relation ?b . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?y } . FILTER ( ?g > ?p ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { resource:Botswana property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q733
P530
Q15617994 Q1048835
USER
And what about Paraguay?
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q733
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?e ) WHERE { ?d property:P530 ?p . ?d rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Q733 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?l ) }
Paraguay
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Paraguay
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?e ) WHERE { ?d property:diplomatic_relation ?p . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Paraguay property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?l ) }
[]
designation for an administrative territorial entity political territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q155 Q884 Q33 Q30 Q36 Q34 Q39 Q38 Q739 Q423 Q851 Q20 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878 Q953
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q733
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?e ) WHERE { ?d property:P530 ?p . ?d rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Q733 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?l ) }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey Brazil South Korea Finland United States of America Poland Sweden Switzerland Italy Colombia North Korea Saudi Arabia Norway Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates Zambia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Paraguay
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?e ) WHERE { ?d property:diplomatic_relation ?p . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { resource:Paraguay property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?l ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q2031291
USER
How many administrative territories are the countries of origin of approximately the same number of works of art and releases as that administrative territory ?
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?e property:P495 ?y . VALUES ( ?e ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?e property:country_of_origin ?y . VALUES ( ?e ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
designation for an administrative territorial entity work of art release
Comparative|Count over More/Less|Mult. entity type|Clarification
Q38
SYSTEM
Did you mean Italy ?
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?e property:P495 ?y . VALUES ( ?e ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
Did you mean Italy ?
Italy
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?e property:country_of_origin ?y . VALUES ( ?e ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Brazil. Could you tell me the answer for that?
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
Q155
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
164
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q55 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 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(Q838948)|c(Q2031291),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2031291 }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Netherlands 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 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
164
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:release }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q20
P463
Q484652
USER
How many international organizations were United States of America and Norway a member of ?
(Q30,P463,c(Q484652)) (Q20,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q30
relation P463
type Q484652
action filter_type
action find
entity Q20
relation P463
type Q484652
['Q30', 'P463', {'concept': 'Q484652'}] ['Q20', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q30 property:P463 ?g . ?g rdf:type ontology:Q484652 . resource:Q20 property:P463 ?g . ?g rdf:type ontology:Q484652 }
United States of America Norway
action count
action intersection
action filter_type
action find
entity United States of America
relation member of
type international organization
action filter_type
action find
entity Norway
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}] ['Norway', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:United_States_of_America property:member_of ?g . ?g rdf:type ontology:international_organization . resource:Norway property:member_of ?g . ?g rdf:type ontology:international_organization }
[]
international organization
SYSTEM
6
Q81299 Q1065 Q188822 Q674182 Q7184 Q1043527
(Q30,P463,c(Q484652)) (Q20,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q30
relation P463
type Q484652
action filter_type
action find
entity Q20
relation P463
type Q484652
[ANSWER]
['Q30', 'P463', {'concept': 'Q484652'}] ['Q20', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q30 property:P463 ?g . ?g rdf:type ontology:Q484652 . resource:Q20 property:P463 ?g . ?g rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations Asian Development Bank Arctic Council North Atlantic Treaty Organisation Multilateral Investment Guarantee Agency
6
action count
action intersection
action filter_type
action find
entity United States of America
relation member of
type international organization
action filter_type
action find
entity Norway
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}] ['Norway', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:United_States_of_America property:member_of ?g . ?g rdf:type ontology:international_organization . resource:Norway property:member_of ?g . ?g rdf:type ontology:international_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13871 Q1552975
P19
Q502895
USER
Which people have place of birth as Sabiñánigo or Pangasinan ?
OR((c(Q502895),P19,Q1552975), (c(Q502895),P19,Q13871))
action filter_type
action union
action find_reverse
entity Q1552975
relation P19
action find_reverse
entity Q13871
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q1552975'], [{'concept': 'Q502895'}, 'P19', 'Q13871']]}
SELECT DISTINCT ?b WHERE { { { ?b property:P19 resource:Q1552975 } UNION { ?b property:P19 resource:Q13871 } } . ?b rdf:type ontology:Q502895 }
Pangasinan Sabiñánigo
action filter_type
action union
action find_reverse
entity Sabiñánigo
relation place of birth
action find_reverse
entity Pangasinan
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Sabiñánigo'], [{'concept': 'common name'}, 'place of birth', 'Pangasinan']]}
SELECT DISTINCT ?b WHERE { { { ?b property:place_of_birth resource:Sabiñánigo } UNION { ?b property:place_of_birth resource:Pangasinan } } . ?b rdf:type ontology:common_name }
[]
common name
Q3572776 Q2145607 Q5043570 Q5041871 Q6019937 Q20744644 Q2919877 Q3720363 Q15102929 Q4960617
SYSTEM
Some of them are Óscar Latas Alegre, Victorio C. Edades, Carmen Rosales, Carlos Bulosan, Mocha Uson, Harlene Raguin, Carlos López Otín, Rene Cayetano, Mitoy Yonting, Brenan Espartinez
Q15102929 Q9057359 Q4960617 Q5041871 Q20977883 Q3720363 Q2145607 Q3898720 Q5043570 Q6019937 Q3572776 Q20744644 Q2919877
OR((c(Q502895),P19,Q1552975), (c(Q502895),P19,Q13871))
action filter_type
action union
action find_reverse
entity Q1552975
relation P19
action find_reverse
entity Q13871
relation P19
type Q502895
[ANSWERS] have place of birth as Sabiñánigo or Pangasinan
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q1552975'], [{'concept': 'Q502895'}, 'P19', 'Q13871']]}
SELECT DISTINCT ?b WHERE { { { ?b property:P19 resource:Q1552975 } UNION { ?b property:P19 resource:Q13871 } } . ?b rdf:type ontology:Q502895 }
Mitoy Yonting Pedro Benavente Jareño Brenan Espartinez Carlos Bulosan Jorge Arcas Rene Cayetano Victorio C. Edades Pedro Villacampa y Periel Carmen Rosales Mocha Uson Óscar Latas Alegre Harlene Raguin Carlos López Otín
Óscar Latas Alegre, Victorio C. Edades, Carmen Rosales, Carlos Bulosan, Mocha Uson, Harlene Raguin, Carlos López Otín, Rene Cayetano, Mitoy Yonting and Brenan Espartinez have place of birth as Sabiñánigo or Pangasinan
Óscar Latas Alegre Victorio C. Edades Carmen Rosales Carlos Bulosan Mocha Uson Harlene Raguin Carlos López Otín Rene Cayetano Mitoy Yonting Brenan Espartinez
action filter_type
action union
action find_reverse
entity Sabiñánigo
relation place of birth
action find_reverse
entity Pangasinan
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Sabiñánigo'], [{'concept': 'common name'}, 'place of birth', 'Pangasinan']]}
SELECT DISTINCT ?b WHERE { { { ?b property:place_of_birth resource:Sabiñánigo } UNION { ?b property:place_of_birth resource:Pangasinan } } . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3572776 Q2145607 Q5043570 Q5041871 Q6019937 Q20744644 Q2919877 Q3720363 Q15102929 Q4960617
P27
Q15617994
USER
Which administrative territories do those people belong to ?
(Q3572776,P27,c(Q15617994)) (Q2145607,P27,c(Q15617994)) (Q5043570,P27,c(Q15617994)) (Q5041871,P27,c(Q15617994)) (Q6019937,P27,c(Q15617994)) (Q20744644,P27,c(Q15617994)) (Q2919877,P27,c(Q15617994)) (Q3720363,P27,c(Q15617994)) (Q15102929,P27,c(Q15617994)) (Q4960617,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q3572776', 'P27', {'concept': 'Q15617994'}] ['Q2145607', 'P27', {'concept': 'Q15617994'}] ['Q5043570', 'P27', {'concept': 'Q15617994'}] ['Q5041871', 'P27', {'concept': 'Q15617994'}] ['Q6019937', 'P27', {'concept': 'Q15617994'}] ['Q20744644', 'P27', {'concept': 'Q15617994'}] ['Q2919877', 'P27', {'concept': 'Q15617994'}] ['Q3720363', 'P27', {'concept': 'Q15617994'}] ['Q15102929', 'P27', {'concept': 'Q15617994'}] ['Q4960617', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?d property:P27 ?m . ?m rdf:type ontology:Q15617994 . VALUES ( ?d ) { ( resource:Q15102929 ) ( resource:Q9057359 ) ( resource:Q4960617 ) } }
Óscar Latas Alegre Victorio C. Edades Carmen Rosales Carlos Bulosan Mocha Uson Harlene Raguin Carlos López Otín Rene Cayetano Mitoy Yonting Brenan Espartinez
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Óscar Latas Alegre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Victorio C. Edades', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Carmen Rosales', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Carlos Bulosan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Mocha Uson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Harlene Raguin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Carlos López Otín', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Rene Cayetano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Mitoy Yonting', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Brenan Espartinez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?d property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?d ) { ( resource:Mitoy_Yonting ) ( resource:Pedro_Benavente_Jareño ) ( resource:Brenan_Espartinez ) } }
[]
designation for an administrative territorial entity
Q30 Q29 Q29
SYSTEM
Spain for 2nd, 3rd, United States of America for 1st
Q29 Q928 Q928 Q30 Q928 Q928 Q29 Q928 Q928 Q928
(Q3572776,P27,c(Q15617994)) (Q2145607,P27,c(Q15617994)) (Q5043570,P27,c(Q15617994)) (Q5041871,P27,c(Q15617994)) (Q6019937,P27,c(Q15617994)) (Q20744644,P27,c(Q15617994)) (Q2919877,P27,c(Q15617994)) (Q3720363,P27,c(Q15617994)) (Q15102929,P27,c(Q15617994)) (Q4960617,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
[ANSWERS]
['Q3572776', 'P27', {'concept': 'Q15617994'}] ['Q2145607', 'P27', {'concept': 'Q15617994'}] ['Q5043570', 'P27', {'concept': 'Q15617994'}] ['Q5041871', 'P27', {'concept': 'Q15617994'}] ['Q6019937', 'P27', {'concept': 'Q15617994'}] ['Q20744644', 'P27', {'concept': 'Q15617994'}] ['Q2919877', 'P27', {'concept': 'Q15617994'}] ['Q3720363', 'P27', {'concept': 'Q15617994'}] ['Q15102929', 'P27', {'concept': 'Q15617994'}] ['Q4960617', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?d property:P27 ?m . ?m rdf:type ontology:Q15617994 . VALUES ( ?d ) { ( resource:Q15102929 ) ( resource:Q9057359 ) ( resource:Q4960617 ) } }
Spain Philippines Philippines United States of America Philippines Philippines Spain Philippines Philippines Philippines
Those people belong to United States of America, Spain and Spain
United States of America Spain Spain
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Óscar Latas Alegre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Victorio C. Edades', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Carmen Rosales', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Carlos Bulosan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Mocha Uson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Harlene Raguin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Carlos López Otín', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Rene Cayetano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Mitoy Yonting', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Brenan Espartinez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?d property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?d ) { ( resource:Mitoy_Yonting ) ( resource:Pedro_Benavente_Jareño ) ( resource:Brenan_Espartinez ) } }
[]