Simple Question (Direct)
Simple Question
Q4710877
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Albert Mundy ?
(Q4710877,P27,c(Q15617994))
action filter_type
action find
entity Q4710877
relation P27
type Q15617994
['Q4710877', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q4710877 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Albert Mundy
action filter_type
action find
entity Albert Mundy
relation country of citizenship
type designation for an administrative territorial entity
['Albert Mundy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Albert_Mundy property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4710877,P27,c(Q15617994))
action filter_type
action find
entity Q4710877
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Albert Mundy
['Q4710877', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q4710877 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of Albert Mundy
United Kingdom
action filter_type
action find
entity Albert Mundy
relation country of citizenship
type designation for an administrative territorial entity
['Albert Mundy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Albert_Mundy property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4710877
P641
Q349
USER
Which sport was that person a part of ?
(Q145,P641,c(Q349))
action filter_type
action find
entity Q4710877
relation P641
type Q349
['Q145', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q4710877 property:P641 ?x . ?x rdf:type ontology:Q349 }
Albert Mundy
action filter_type
action find
entity Albert Mundy
relation sport
type sport
['United Kingdom', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Albert_Mundy property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q145,P641,c(Q349))
action filter_type
action find
entity Q4710877
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q145', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q4710877 property:P641 ?x . ?x rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Albert Mundy
relation sport
type sport
['United Kingdom', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Albert_Mundy property:sport ?x . ?x rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q954
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with lesser number of administrative territories than Zimbabwe ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q954
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:P530 resource:Q954 . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?r ) }
Zimbabwe
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Zimbabwe
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:diplomatic_relation resource:Zimbabwe . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?r ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q184
SYSTEM
Georgia, Netherlands, Belarus
Q702 Q804 Q800 Q419 Q55 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q792 Q790 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1027 Q1020 Q189 Q842 Q184 Q1029 Q1028 Q736 Q786 Q225 Q221 Q96 Q229 Q902 Q1036 Q1037 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q117 Q754 Q750 Q217 Q214 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q954
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with lesser number of administrative territories than Zimbabwe
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:P530 resource:Q954 . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?r ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad El Salvador Haiti South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Mauritius Malawi Iceland Oman Belarus Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ghana Trinidad and Tobago Bolivia Republic of Moldova Slovakia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia Thailand
Georgia, Netherlands and Belarus have diplomatic relationships with lesser number of administrative territories than Zimbabwe
Georgia Netherlands Belarus
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Zimbabwe
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:diplomatic_relation resource:Zimbabwe . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?r ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q315772
P530
Q1048835
USER
Do Elsterland have ambassadorial relations with those administrative territories ?
(Q315772,P530,Q230) (Q315772,P530,Q55) (Q315772,P530,Q184)
action is_in
entity prev_answer
action find
entity Q315772
relation P530
['Q315772', 'P530', 'Q230'] ['Q315772', 'P530', 'Q55'] ['Q315772', 'P530', 'Q184']
ASK WHERE { VALUES ( ?b ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } . resource:Q315772 property:P530 ?b }
Elsterland
action is_in
entity prev_answer
action find
entity Elsterland
relation diplomatic relation
['Elsterland', 'diplomatic relation', 'Georgia'] ['Elsterland', 'diplomatic relation', 'Netherlands'] ['Elsterland', 'diplomatic relation', 'Belarus']
ASK WHERE { VALUES ( ?b ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } . resource:Elsterland property:diplomatic_relation ?b }
[]
political territorial entity
SYSTEM
NO
(Q315772,P530,Q230) (Q315772,P530,Q55) (Q315772,P530,Q184)
action is_in
entity prev_answer
action find
entity Q315772
relation P530
[ANSWER]
['Q315772', 'P530', 'Q230'] ['Q315772', 'P530', 'Q55'] ['Q315772', 'P530', 'Q184']
ASK WHERE { VALUES ( ?b ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } . resource:Q315772 property:P530 ?b }
No
action is_in
entity prev_answer
action find
entity Elsterland
relation diplomatic relation
['Elsterland', 'diplomatic relation', 'Georgia'] ['Elsterland', 'diplomatic relation', 'Netherlands'] ['Elsterland', 'diplomatic relation', 'Belarus']
ASK WHERE { VALUES ( ?b ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } . resource:Elsterland property:diplomatic_relation ?b }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1027
P495
Q15617994 Q838948 Q2031291
USER
Which administrative territories did lesser number of works of art or releases originate than Mauritius ?
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q1027
relation P495
type Q838948
type Q2031291
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?a WHERE { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q2031291 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:P495 resource:Q1027 . { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } } } } . FILTER ( ?i < ?g ) }
Mauritius
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Mauritius
relation country of origin
type work of art
type release
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?a WHERE { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:release ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:country_of_origin resource:Mauritius . { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:release ) ( ontology:work_of_art ) } } } } . FILTER ( ?i < ?g ) }
[]
designation for an administrative territorial entity work of art release
Q953 Q347 Q1011
SYSTEM
Zambia, Liechtenstein, Cape Verde
Q805 Q1462 Q12536 Q783 Q265 Q36678 Q712 Q1460 Q398 Q657 Q792 Q4628 Q958 Q986 Q242 Q244 Q811 Q153136 Q924 Q983 Q29999 Q819 Q730 Q1013 Q159626 Q236 Q233 Q238 Q1045 Q1044 Q921 Q1049 Q1025 Q1020 Q223 Q347 Q1030 Q967 Q962 Q963 Q916 Q1007 Q1006 Q1005 Q971 Q970 Q239502 Q686 Q574 Q874 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q953
(c(Q838948)|c(Q2031291),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q1027
relation P495
type Q838948
type Q2031291
[ANSWERS] lesser number of works of art or releases originated than Mauritius
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?a WHERE { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q2031291 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:P495 resource:Q1027 . { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } } } } . FILTER ( ?i < ?g ) }
Yemen Sardinia Abbasid caliphate Honduras Uzbekistan West Bank Fiji Sicily Bahrain Chad El Salvador Faroe Islands South Sudan Eritrea Belize Barbados Nicaragua Habsburg Empire Tanzania Equatorial Guinea Kingdom of the Netherlands Laos Suriname Lesotho Württemberg Montenegro Malta San Marino Somalia Sierra Leone Brunei Sudan Mauritania Malawi Greenland Liechtenstein Namibia Burundi Benin Botswana Angola Guinea-Bissau Guinea Gambia Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu East Timor Turkmenistan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Zambia
Zambia, Liechtenstein and Cape Verde lesser number of works of art or releases originated than Mauritius
Zambia Liechtenstein Cape Verde
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Mauritius
relation country of origin
type work of art
type release
[[{'concept': 'work of art'}, {'concept': 'release'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?a WHERE { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:release ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:country_of_origin resource:Mauritius . { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:release ) ( ontology:work_of_art ) } } } } . FILTER ( ?i < ?g ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q7969918 Q1027
P530 P17
Q1048835
USER
Which political territories have diplomatic relationships with Mauritius and are Warragamba located in ?
AND((Q1027,P530,c(Q1048835)), (Q7969918,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1027
relation P530
action find
entity Q7969918
relation P17
type Q1048835
{'AND': [['Q1027', 'P530', {'concept': 'Q1048835'}], ['Q7969918', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { resource:Q1027 property:P530 ?h . resource:Q7969918 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Warragamba Mauritius
action filter_type
action intersection
action find
entity Mauritius
relation diplomatic relation
action find
entity Warragamba
relation country
type political territorial entity
{'AND': [['Mauritius', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Warragamba', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { resource:Mauritius property:diplomatic_relation ?h . resource:Warragamba property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
AND((Q1027,P530,c(Q1048835)), (Q7969918,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1027
relation P530
action find
entity Q7969918
relation P17
type Q1048835
[ANSWER] have diplomatic relationships with Mauritius and are Warragamba located in
{'AND': [['Q1027', 'P530', {'concept': 'Q1048835'}], ['Q7969918', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { resource:Q1027 property:P530 ?h . resource:Q7969918 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Australia
Australia have diplomatic relationships with Mauritius and are Warragamba located in
Australia
action filter_type
action intersection
action find
entity Mauritius
relation diplomatic relation
action find
entity Warragamba
relation country
type political territorial entity
{'AND': [['Mauritius', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Warragamba', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { resource:Mauritius property:diplomatic_relation ?h . resource:Warragamba property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q408 Q5486445
P27
Q502895
USER
Is Frank Egan a citizen of that political territory ?
(Q5486445,P27,Q408)
action is_in
entity Q408
action find
entity Q5486445
relation P27
['Q5486445', 'P27', 'Q408']
ASK WHERE { resource:Q5486445 property:P27 resource:Q408 }
Australia Frank Egan
action is_in
entity Australia
action find
entity Frank Egan
relation country of citizenship
['Frank Egan', 'country of citizenship', 'Australia']
ASK WHERE { resource:Frank_Egan property:country_of_citizenship resource:Australia }
[]
common name
SYSTEM
YES
(Q5486445,P27,Q408)
action is_in
entity Q408
action find
entity Q5486445
relation P27
[ANSWER]
['Q5486445', 'P27', 'Q408']
ASK WHERE { resource:Q5486445 property:P27 resource:Q408 }
Yes
action is_in
entity Australia
action find
entity Frank Egan
relation country of citizenship
['Frank Egan', 'country of citizenship', 'Australia']
ASK WHERE { resource:Frank_Egan property:country_of_citizenship resource:Australia }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1011
P27 P21
Q502895
USER
Which people are a citizen of Cape Verde and are a male ?
AND((c(Q502895),P27,Q1011), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1011
relation P27
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q1011'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P21 resource:Q6581097 . ?p property:P27 resource:Q1011 }
male Cape Verde
action filter_type
action intersection
action find_reverse
entity Cape Verde
relation country of citizenship
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Cape Verde'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:gender resource:male . ?p property:country_of_citizenship resource:Cape_Verde }
[]
common name
Q16233817 Q3186396 Q2006892 Q4776356 Q3019134 Q3810574 Q15179479 Q610645 Q10371573 Q486879
SYSTEM
Some of them are Ricardo Jorge Pires Gomes, José Luís de Jesus, Fábio Emanuel Moreira Silva, Antoninho Travadinha, Bijou, José Rui, Hernani Almeida, António Aurélio Gonçalves, Silvino Lopes Évora, Ildo Lobo
Q4776861 Q2753734 Q21642426 Q349126 Q57517 Q12857170 Q3939893 Q16728820 Q610645 Q3531484 Q10555185 Q486879 Q4008355 Q10433749 Q3441821 Q6786670 Q19365008 Q2180988 Q1025702 Q3564444 Q16164967 Q2636281 Q3015796 Q18011163 Q23899522 Q3105937 Q2604164 Q17466350 Q3926123 Q298609 Q2510644 Q1709761 Q2702284 Q3186585 Q5340302 Q10371573 Q2611473 Q15517968 Q5336650 Q3177450 Q2679968 Q1858323 Q4776356 Q16234962 Q72802 Q707926 Q7690647 Q706594 Q1388327 Q3019134 Q3810704 Q3027579 Q3743498 Q18713196 Q2654702 Q3268211 Q327180 Q2699502 Q554836 Q2347323 Q5042482 Q17489564 Q3186396 Q3618344 Q1984801 Q7629950 Q4979425 Q2998046 Q2466155 Q3960166 Q16234775 Q4853750 Q10515955 Q3702720 Q3018091 Q3187331 Q17708723 Q6764618 Q107431 Q3087242 Q20065314 Q349513 Q74604 Q3810574 Q336265 Q16622999 Q918049 Q2067333 Q16235304 Q2822163 Q3993005 Q3357521 Q13581391 Q1763902 Q2391518 Q1258044 Q12155704 Q4792768 Q2908904 Q3286832 Q57649 Q357286 Q18637916 Q18814713 Q16233817 Q16231672 Q2071467 Q772779 Q3078307 Q3557131 Q7378692 Q1633751 Q17544304 Q2885546 Q2939374 Q2068357 Q3104364 Q500378 Q11957344 Q2887747 Q2742945 Q17285552 Q3564478 Q15987794 Q3337965 Q23007684 Q7666085 Q21932030 Q2513023 Q2861382 Q2006892 Q17579869 Q10395861 Q2857768 Q4661421 Q3078790 Q5219498 Q1085129 Q17098221 Q3553168 Q7932545 Q7155204 Q500385 Q327163 Q2908923 Q7159546 Q3810055 Q15179479 Q8076032 Q4733821 Q2843337 Q548846 Q5515740 Q16738976 Q726765 Q3369909 Q580332 Q10289653 Q387722 Q431170 Q3438255 Q387172 Q17859786 Q5320102 Q5591501 Q950564
AND((c(Q502895),P27,Q1011), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1011
relation P27
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are a citizen of Cape Verde and are a male
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q1011'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P21 resource:Q6581097 . ?p property:P27 resource:Q1011 }
Antonio Pedro Monteiro Lima Djaniny Djô Lerin Duarte Jorge Carlos Fonseca Carlos Moreira Rodirlei José Ascensão Duarte Ely Fernandes António Aurélio Gonçalves Tomé Varela da Silva Carlos Silveira da Graça Ildo Lobo Valter Borges Hugo Évora Ronny Souto Mateus Lopes Ailton César Duarte Silva David Nascimento Cafú Víctor Borges Ivan Almeida Manuel Lopes Dany Mendes Ribeiro Christopher Martins Pereira Ulisses Correia e Silva Gilberto Reis Arménio Vieira Kuca Miranda Péricles Pereira Aristides Pereira Vargas Fernandes Jotamont Lito José Veiga Edson Cruz Silvino Lopes Évora Manuel de Novas Steevan dos Santos Eddy Fort Moda Grog Jerry Adriano Gégé Odaïr Fortes Antoninho Travadinha Nuno Miguel Monteiro Rocha Eliseu Fernando Quejas Tcheka Luís Romano de Madeira Melo Pelé Bijou João Baptista Robalo João Cleófas Martins Manuel Inocêncio Sousa Kevin Sousa Arlindo Gomes Furtado Luís de Matos Monteiro da Fonseca Ovídio Martins Fernando Varela Teófilo Chantre Silvino Gomes Soares Carlos Pedro Silva Morais Adilson Vaz José Luís de Jesus Anselmo Ribeiro Aguinaldo Fonseca Sténio Bruno Varela Corsino Fortes Vasco Martins Sidnei Mailó Bana Nilson Antonio Nivaldo Alves Freitas Santos Vozinha João Vário Kisley Mario Correia Pedro Pires Fredson Rodrigues Patrick Andrade Emerson da Luz Julio Tavares José Rui António Mascarenhas Monteiro Walter Tavares Stopira Héldon Ramos Erson Stiven Dias Costa Abílio Duarte Tom Tavares Oswaldo Osório Armando Zeferino Soares Jeff Xavier Silvino Manuel da Luz Tito Paris Alison Brito Armando Freitas Fredson Tavares Gilson Manuel Silva Alves José Maria Neves Adilson Tavares Varela Carlos dos Santos Rodrigues Carlos Lima Ricardo Jorge Pires Gomes Armindo Rodrigues Mendes Furtado Helton Dos Reis Boy Gé Mendes Lúcio Antunes Rambé Rui Alberto de Figueiredo Soares Freddy dos Santos António Zeferino Manuel Veiga Piguita Babanco Gerson Duarte de Sousa Lobo Carlos Veiga Nelson Cruz Basílio Mosso Ramos Janício Martins Aires Marques Toy Flavio Furtado Nelson Nunes Lobo Nuno da Costa Sérgio Manuel Monteiro Semedo António Duarte David Silva Aristides Raimundo Lima Fábio Emanuel Moreira Silva Ballack Álvaro Semedo Vaz António do Espírito Santo Fonseca Aalviar Lima Carlos Emanuel Soares Tavares Danielson Gomes Monteiro Ricardo Jorge Ferreira Pinto da Silva Jorge Kadú Vadú Vinha Paulo Dos Santos Gualberto do Rosário Gil Semedo Luís Carlos Almada Soares Pedro DeBrito Jorge Canifa Alves Hernani Almeida Zé Piguita Almir Barbosa Amilcar Spencer Lopes Baltasar Lopes da Silva Gabriel Mariano Jimmy Ines Nando Maria Neves Ruben Sança Germano Almeida Gilyto Josimar Lima Hernâni Borges Rodolfo Lima Zé Luís Thierry Graça Dário Furtado Graciano Brito José Filipe Correia Semedo
Ricardo Jorge Pires Gomes, José Luís de Jesus, Fábio Emanuel Moreira Silva, Antoninho Travadinha, Bijou, José Rui, Hernani Almeida, António Aurélio Gonçalves, Silvino Lopes Évora and Ildo Lobo are a citizen of Cape Verde and are a male
Ricardo Jorge Pires Gomes José Luís de Jesus Fábio Emanuel Moreira Silva Antoninho Travadinha Bijou José Rui Hernani Almeida António Aurélio Gonçalves Silvino Lopes Évora Ildo Lobo
action filter_type
action intersection
action find_reverse
entity Cape Verde
relation country of citizenship
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Cape Verde'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:gender resource:male . ?p property:country_of_citizenship resource:Cape_Verde }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P85
Q7725634 Q484692 Q15617994
USER
How many administrative territories have exactly 1 literary works and hymns as their national anthem ?
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action equal
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
value 1
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) ?o WHERE { { ?o property:P85 ?h . ?o rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q7725634 } UNION { ?o property:P85 ?h . ?h rdf:type ontology:Q484692 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?o } . FILTER ( ?m = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) ?o WHERE { { ?o property:anthem ?h . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:literary_work } UNION { ?o property:anthem ?h . ?h rdf:type ontology:hymn . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } . FILTER ( ?m = 1 ) }
[]
literary work hymn designation for an administrative territorial entity
SYSTEM
181
Q702 Q804 Q801 Q707 Q709 Q811 Q805 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q800 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q813 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q155 Q792 Q790 Q4628 Q779011 Q794 Q954 Q889 Q884 Q881 Q739 Q826 Q796 Q241 Q244 Q1019 Q153136 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1044 Q1042 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q783 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q1050 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q760 Q574 Q874 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q817 Q810 Q770 Q1014 Q1016 Q1011 Q945 Q678 Q29 Q1039 Q672 Q822 Q298 Q863 Q869 Q953
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action equal
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) ?o WHERE { { ?o property:P85 ?h . ?o rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q7725634 } UNION { ?o property:P85 ?h . ?h rdf:type ontology:Q484692 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?o } . FILTER ( ?m = 1 ) }
Federated States of Micronesia Panama Israel Flevoland Marshall Islands Nicaragua Yemen Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Costa Rica Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Kyrgyzstan Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece Brazil El Salvador Haiti Faroe Islands Principality of Montenegro Iran Zimbabwe Afghanistan South Korea Vietnam Colombia Maldives Iraq Cuba Barbados Madagascar Habsburg Empire Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Sierra Leone Seychelles Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Honduras Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Swaziland Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar Saint Lucia East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Kuwait Jordan Friesland Liberia Libya Cape Verde Togo Tonga Spain Sao Tomé and Príncipe Tuvalu Lebanon Chile Tajikistan Thailand Zambia
181
action count
action equal
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) ?o WHERE { { ?o property:anthem ?h . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:literary_work } UNION { ?o property:anthem ?h . ?h rdf:type ontology:hymn . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } . FILTER ( ?m = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184
P1532
Q502895
USER
Who represent Belarus ?
(c(Q502895),P1532,Q184)
action filter_type
action find_reverse
entity Q184
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q184']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P1532 resource:Q184 }
Belarus
action filter_type
action find_reverse
entity Belarus
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Belarus']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:country_for_sport resource:Belarus }
[]
common name
Q22083771 Q23012839 Q24034036
SYSTEM
Sergey Usov, Lidiya Yurkova, Volha Mazuronak
Q22246918 Q24034036 Q23825718 Q20893816 Q22083771 Q26404954 Q26014339 Q23012839 Q23043630
(c(Q502895),P1532,Q184)
action filter_type
action find_reverse
entity Q184
relation P1532
type Q502895
[ANSWERS] represent Belarus
[{'concept': 'Q502895'}, 'P1532', 'Q184']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P1532 resource:Q184 }
Ivan Komar Volha Mazuronak Stanislav Vezhel Asadulla Lachinov Sergey Usov Hanna Malyshik Elvira Herman Lidiya Yurkova Andrey Sudnik
Sergey Usov, Lidiya Yurkova and Volha Mazuronak represent Belarus
Sergey Usov Lidiya Yurkova Volha Mazuronak
action filter_type
action find_reverse
entity Belarus
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Belarus']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:country_for_sport resource:Belarus }
[]
Clarification
Simple Question|Single Entity|Indirect
Q24034036
P1344
Q18608583
USER
Which recurring sporting event did that person take part in ?
(Q24034036,P1344,c(Q18608583))
action filter_type
action find
entity Q24034036
relation P1344
type Q18608583
['Q24034036', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?a WHERE { resource:Q24034036 property:P1344 ?a . ?a rdf:type ontology:Q18608583 }
Volha Mazuronak
action filter_type
action find
entity Volha Mazuronak
relation participant of
type recurring sporting event
['Volha Mazuronak', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?a WHERE { resource:Volha_Mazuronak property:participant_of ?a . ?a rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Clarification for simple ques.
Q24034036
SYSTEM
Did you mean Volha Mazuronak ?
Q22083771 Q23012839 Q24034036
(Q22083771,P1344,c(Q18608583)) (Q23012839,P1344,c(Q18608583)) (Q24034036,P1344,c(Q18608583))
[ANSWER]
['Q22083771', 'P1344', {'concept': 'Q18608583'}] ['Q23012839', 'P1344', {'concept': 'Q18608583'}] ['Q24034036', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?a WHERE { resource:Q24034036 property:P1344 ?a . ?a rdf:type ontology:Q18608583 }
Sergey Usov Lidiya Yurkova Volha Mazuronak
Did you mean Volha Mazuronak ?
Volha Mazuronak
['Sergey Usov', 'participant of', {'concept': 'recurring sporting event'}] ['Lidiya Yurkova', 'participant of', {'concept': 'recurring sporting event'}] ['Volha Mazuronak', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?a WHERE { resource:Volha_Mazuronak property:participant_of ?a . ?a rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Coreferenced)
USER
Yes
(Q24034036,P1344,c(Q18608583))
['Q24034036', 'P1344', {'concept': 'Q18608583'}]
['Volha Mazuronak', 'participant of', {'concept': 'recurring sporting event'}]
[]
Q688179
SYSTEM
2014 European Athletics Championships
Q688179
(Q24034036,P1344,c(Q18608583))
action filter_type
action find
entity Q24034036
relation P1344
type Q18608583
Part that person took in the [ANSWER]
['Q24034036', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?a WHERE { resource:Q24034036 property:P1344 ?a . ?a rdf:type ontology:Q18608583 }
2014 European Athletics Championships
Part that person took in the 2014 European Athletics Championships
2014 European Athletics Championships
action filter_type
action find
entity Volha Mazuronak
relation participant of
type recurring sporting event
['Volha Mazuronak', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?a WHERE { resource:Volha_Mazuronak property:participant_of ?a . ?a rdf:type ontology:recurring_sporting_event }
[]