Simple Question (Direct)
Simple Question
Q16707867
P463
Q48204
USER
Which voluntary association was David McDowall Hannay a member of ?
(Q16707867,P463,c(Q48204))
action filter_type
action find
entity Q16707867
relation P463
type Q48204
['Q16707867', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?e WHERE { resource:Q16707867 property:P463 ?e . ?e rdf:type ontology:Q48204 }
David McDowall Hannay
action filter_type
action find
entity David McDowall Hannay
relation member of
type voluntary association
['David McDowall Hannay', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?e WHERE { resource:David_McDowall_Hannay property:member_of ?e . ?e rdf:type ontology:voluntary_association }
[]
voluntary association
Q6982680
SYSTEM
Navy Records Society
Q6982680
(Q16707867,P463,c(Q48204))
action filter_type
action find
entity Q16707867
relation P463
type Q48204
The [ANSWER] was David McDowall Hannay a member of
['Q16707867', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?e WHERE { resource:Q16707867 property:P463 ?e . ?e rdf:type ontology:Q48204 }
Navy Records Society
The Navy Records Society was David McDowall Hannay a member of
Navy Records Society
action filter_type
action find
entity David McDowall Hannay
relation member of
type voluntary association
['David McDowall Hannay', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?e WHERE { resource:David_McDowall_Hannay property:member_of ?e . ?e rdf:type ontology:voluntary_association }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16707867
P119
Q43229
USER
Which organization is the place of burial of that person ?
(Q6982680,P119,c(Q43229))
action filter_type
action find
entity Q16707867
relation P119
type Q43229
['Q6982680', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q43229 . resource:Q16707867 property:P119 ?g }
David McDowall Hannay
action filter_type
action find
entity David McDowall Hannay
relation place of burial
type organization
['Navy Records Society', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:organization . resource:David_McDowall_Hannay property:place_of_burial ?g }
[]
organization
Q1574424
SYSTEM
Kensal Green Cemetery
Q1574424
(Q6982680,P119,c(Q43229))
action filter_type
action find
entity Q16707867
relation P119
type Q43229
Cemetery [ANSWER] is the place of burial of that person
['Q6982680', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q43229 . resource:Q16707867 property:P119 ?g }
Kensal Green Cemetery
Cemetery Kensal Green Cemetery is the place of burial of that person
Kensal Green Cemetery
action filter_type
action find
entity David McDowall Hannay
relation place of burial
type organization
['Navy Records Society', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:organization . resource:David_McDowall_Hannay property:place_of_burial ?g }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1574424 Q145
P17
Q15617994
USER
Is that organization located in United Kingdom ?
(Q1574424,P17,Q145)
action is_in
entity Q145
action find
entity Q1574424
relation P17
['Q1574424', 'P17', 'Q145']
ASK WHERE { resource:Q1574424 property:P17 resource:Q145 }
Kensal Green Cemetery United Kingdom
action is_in
entity United Kingdom
action find
entity Kensal Green Cemetery
relation country
['Kensal Green Cemetery', 'country', 'United Kingdom']
ASK WHERE { resource:Kensal_Green_Cemetery property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1574424,P17,Q145)
action is_in
entity Q145
action find
entity Q1574424
relation P17
[ANSWER]
['Q1574424', 'P17', 'Q145']
ASK WHERE { resource:Q1574424 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Kensal Green Cemetery
relation country
['Kensal Green Cemetery', 'country', 'United Kingdom']
ASK WHERE { resource:Kensal_Green_Cemetery property:country resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q16707867 Q145
P27
Q15617994
USER
Is United Kingdom the native country of that person ?
(Q16707867,P27,Q145)
action is_in
entity Q145
action find
entity Q16707867
relation P27
['Q16707867', 'P27', 'Q145']
ASK WHERE { resource:Q16707867 property:P27 resource:Q145 }
David McDowall Hannay United Kingdom
action is_in
entity United Kingdom
action find
entity David McDowall Hannay
relation country of citizenship
['David McDowall Hannay', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:David_McDowall_Hannay property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16707867,P27,Q145)
action is_in
entity Q145
action find
entity Q16707867
relation P27
[ANSWER]
['Q16707867', 'P27', 'Q145']
ASK WHERE { resource:Q16707867 property:P27 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity David McDowall Hannay
relation country of citizenship
['David McDowall Hannay', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:David_McDowall_Hannay property:country_of_citizenship resource:United_Kingdom }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16707867
P1412
Q34770
USER
Which language does that person speak in ?
action filter_type
action find
entity Q16707867
relation P1412
type Q34770
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q34770 . resource:Q16707867 property:P1412 ?x }
David McDowall Hannay
action filter_type
action find
entity David McDowall Hannay
relation languages spoken, written or signed
type language
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:language . resource:David_McDowall_Hannay property:languages_spoken,_written_or_signed ?x }
[]
language
Q1860
SYSTEM
English
Q1860
action filter_type
action find
entity Q16707867
relation P1412
type Q34770
That person speaks the [ANSWER]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q34770 . resource:Q16707867 property:P1412 ?x }
English
That person speaks the English
English
action filter_type
action find
entity David McDowall Hannay
relation languages spoken, written or signed
type language
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:language . resource:David_McDowall_Hannay property:languages_spoken,_written_or_signed ?x }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1030
P37
Q34770 Q15617994
USER
How many administrative territories have their official language as less number of languages than Namibia ?
(c(Q15617994),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q1030
relation P37
type Q34770
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?a ) WHERE { ?g property:P37 ?z . ?z rdf:type ontology:Q34770 . ?g rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?a < ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Q1030 property:P37 ?j . ?j rdf:type ontology:Q34770 } } }
Namibia
action count
action less
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Namibia
relation official language
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?a ) WHERE { ?g property:official_language ?z . ?z rdf:type ontology:language . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?a < ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Namibia property:official_language ?j . ?j rdf:type ontology:language } } }
[]
language designation for an administrative territorial entity
SYSTEM
132
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q34 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q20 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q1030
relation P37
type Q34770
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?a ) WHERE { ?g property:P37 ?z . ?z rdf:type ontology:Q34770 . ?g rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?a < ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Q1030 property:P37 ?j . ?j rdf:type ontology:Q34770 } } }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Sweden Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Norway Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
132
action count
action less
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Namibia
relation official language
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?a ) WHERE { ?g property:official_language ?z . ?z rdf:type ontology:language . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?a < ?r ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Namibia property:official_language ?j . ?j rdf:type ontology:language } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q238
P37
Q34770 Q15617994
USER
And what about San Marino?
(c(Q15617994),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q238
relation P37
type Q34770
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?c ) WHERE { ?j property:P37 ?v . ?j rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q34770 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { resource:Q238 property:P37 ?o . ?o rdf:type ontology:Q34770 } } . FILTER ( ?c < ?k ) }
San Marino
action count
action less
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity San Marino
relation official language
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?c ) WHERE { ?j property:official_language ?v . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:language } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { resource:San_Marino property:official_language ?o . ?o rdf:type ontology:language } } . FILTER ( ?c < ?k ) }
[]
language designation for an administrative territorial entity
SYSTEM
132
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q34 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q20 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q238
relation P37
type Q34770
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?c ) WHERE { ?j property:P37 ?v . ?j rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q34770 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { resource:Q238 property:P37 ?o . ?o rdf:type ontology:Q34770 } } . FILTER ( ?c < ?k ) }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Sweden Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Norway Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
132
action count
action less
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity San Marino
relation official language
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?c ) WHERE { ?j property:official_language ?v . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:language } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { resource:San_Marino property:official_language ?o . ?o rdf:type ontology:language } } . FILTER ( ?c < ?k ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q986353 Q145
P47
Q1048835
USER
Which political territories share border with United Kingdom or Vega de San Mateo, Las Palmas ?
OR((Q145,P47,c(Q1048835)), (Q986353,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q145
relation P47
action find
entity Q986353
relation P47
type Q1048835
{'OR': [['Q145', 'P47', {'concept': 'Q1048835'}], ['Q986353', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q145 property:P47 ?t } UNION { resource:Q986353 property:P47 ?t } } . ?t rdf:type ontology:Q1048835 }
Vega de San Mateo, Las Palmas United Kingdom
action filter_type
action union
action find
entity United Kingdom
relation shares border with
action find
entity Vega de San Mateo, Las Palmas
relation shares border with
type political territorial entity
{'OR': [['United Kingdom', 'shares border with', {'concept': 'political territorial entity'}], ['Vega de San Mateo, Las Palmas', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:United_Kingdom property:shares_border_with ?t } UNION { resource:Vega_de_San_Mateo,_Las_Palmas property:shares_border_with ?t } } . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q984488 Q430147 Q986357 Q914195 Q35 Q986361 Q693258
SYSTEM
Santa Brígida, Las Palmas, Teror, Valleseco, Las Palmas, Valsequillo de Gran Canaria, Denmark, Tejeda, San Bartolomé de Tirajana
Q984488 Q430147 Q986357 Q914195 Q35 Q986361 Q693258
OR((Q145,P47,c(Q1048835)), (Q986353,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q145
relation P47
action find
entity Q986353
relation P47
type Q1048835
[ANSWERS] share border with United Kingdom or Vega de San Mateo, Las Palmas
{'OR': [['Q145', 'P47', {'concept': 'Q1048835'}], ['Q986353', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q145 property:P47 ?t } UNION { resource:Q986353 property:P47 ?t } } . ?t rdf:type ontology:Q1048835 }
Santa Brígida, Las Palmas Teror Valleseco, Las Palmas Valsequillo de Gran Canaria Denmark Tejeda San Bartolomé de Tirajana
Santa Brígida, Las Palmas, Teror, Valleseco, Las Palmas, Valsequillo de Gran Canaria, Denmark, Tejeda and San Bartolomé de Tirajana share border with United Kingdom or Vega de San Mateo, Las Palmas
Santa Brígida, Las Palmas Teror Valleseco, Las Palmas Valsequillo de Gran Canaria Denmark Tejeda San Bartolomé de Tirajana
action filter_type
action union
action find
entity United Kingdom
relation shares border with
action find
entity Vega de San Mateo, Las Palmas
relation shares border with
type political territorial entity
{'OR': [['United Kingdom', 'shares border with', {'concept': 'political territorial entity'}], ['Vega de San Mateo, Las Palmas', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:United_Kingdom property:shares_border_with ?t } UNION { resource:Vega_de_San_Mateo,_Las_Palmas property:shares_border_with ?t } } . ?t rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q784 Q145
P463
Q484652
USER
Which international organizations had United Kingdom or Dominica as their member ?
OR((Q145,P463,c(Q484652)), (Q784,P463,c(Q484652)))
action filter_type
action union
action find
entity Q145
relation P463
action find
entity Q784
relation P463
type Q484652
{'OR': [['Q145', 'P463', {'concept': 'Q484652'}], ['Q784', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?a WHERE { { ?p property:P463 ?a . VALUES ( ?p ) { ( resource:Q784 ) ( resource:Q145 ) } } . ?a rdf:type ontology:Q484652 }
Dominica United Kingdom
action filter_type
action union
action find
entity United Kingdom
relation member of
action find
entity Dominica
relation member of
type international organization
{'OR': [['United Kingdom', 'member of', {'concept': 'international organization'}], ['Dominica', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?a WHERE { { ?p property:member_of ?a . VALUES ( ?p ) { ( resource:Dominica ) ( resource:United_Kingdom ) } } . ?a rdf:type ontology:international_organization }
[]
international organization
Q1065 Q205995 Q7785 Q1043527 Q496967 Q7184 Q294278 Q19771 Q42262 Q188822
SYSTEM
Some of them are United Nations, Caribbean Community, Commonwealth of Nations, Multilateral Investment Guarantee Agency, Alliance of Small Island States, North Atlantic Treaty Organisation, African, Caribbean and Pacific Group of States, G20, European Space Agency, Asian Development Bank
Q496967 Q81299 Q1065 Q7785 Q19771 Q188822 Q37143 Q294278 Q205995 Q7184 Q42262 Q1043527
OR((Q145,P463,c(Q484652)), (Q784,P463,c(Q484652)))
action filter_type
action union
action find
entity Q145
relation P463
action find
entity Q784
relation P463
type Q484652
[ANSWERS] had United Kingdom or Dominica as their member
{'OR': [['Q145', 'P463', {'concept': 'Q484652'}], ['Q784', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?a WHERE { { ?p property:P463 ?a . VALUES ( ?p ) { ( resource:Q784 ) ( resource:Q145 ) } } . ?a rdf:type ontology:Q484652 }
Alliance of Small Island States Organization for Security and Co-operation in Europe United Nations Commonwealth of Nations G20 Asian Development Bank G8 African, Caribbean and Pacific Group of States Caribbean Community North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
United Nations, Caribbean Community, Commonwealth of Nations, Multilateral Investment Guarantee Agency, Alliance of Small Island States, North Atlantic Treaty Organisation, African, Caribbean and Pacific Group of States, G20, European Space Agency and Asian Development Bank had United Kingdom or Dominica as their member
United Nations Caribbean Community Commonwealth of Nations Multilateral Investment Guarantee Agency Alliance of Small Island States North Atlantic Treaty Organisation African, Caribbean and Pacific Group of States G20 European Space Agency Asian Development Bank
action filter_type
action union
action find
entity United Kingdom
relation member of
action find
entity Dominica
relation member of
type international organization
{'OR': [['United Kingdom', 'member of', {'concept': 'international organization'}], ['Dominica', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?a WHERE { { ?p property:member_of ?a . VALUES ( ?p ) { ( resource:Dominica ) ( resource:United_Kingdom ) } } . ?a rdf:type ontology:international_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42262
P112
Q15617994
USER
What are the names of the founders of that international organization ?
(Q42262,P112,c(Q15617994))
action filter_type
action find
entity Q42262
relation P112
type Q15617994
['Q42262', 'P112', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q42262 property:P112 ?m . ?m rdf:type ontology:Q15617994 }
European Space Agency
action filter_type
action find
entity European Space Agency
relation founder
type designation for an administrative territorial entity
['European Space Agency', 'founder', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:European_Space_Agency property:founder ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1065
SYSTEM
Did you mean United Nations ?
Q1065 Q205995 Q7785 Q1043527 Q496967 Q7184 Q294278 Q19771 Q42262 Q188822
(Q1065,P112,c(Q15617994)) (Q205995,P112,c(Q15617994)) (Q7785,P112,c(Q15617994)) (Q1043527,P112,c(Q15617994)) (Q496967,P112,c(Q15617994)) (Q7184,P112,c(Q15617994)) (Q294278,P112,c(Q15617994)) (Q19771,P112,c(Q15617994)) (Q42262,P112,c(Q15617994)) (Q188822,P112,c(Q15617994))
[ANSWER]
['Q1065', 'P112', {'concept': 'Q15617994'}] ['Q205995', 'P112', {'concept': 'Q15617994'}] ['Q7785', 'P112', {'concept': 'Q15617994'}] ['Q1043527', 'P112', {'concept': 'Q15617994'}] ['Q496967', 'P112', {'concept': 'Q15617994'}] ['Q7184', 'P112', {'concept': 'Q15617994'}] ['Q294278', 'P112', {'concept': 'Q15617994'}] ['Q19771', 'P112', {'concept': 'Q15617994'}] ['Q42262', 'P112', {'concept': 'Q15617994'}] ['Q188822', 'P112', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q42262 property:P112 ?m . ?m rdf:type ontology:Q15617994 }
United Nations Caribbean Community Commonwealth of Nations Multilateral Investment Guarantee Agency Alliance of Small Island States North Atlantic Treaty Organisation African, Caribbean and Pacific Group of States G20 European Space Agency Asian Development Bank
Did you mean United Nations ?
United Nations
['United Nations', 'founder', {'concept': 'designation for an administrative territorial entity'}] ['Caribbean Community', 'founder', {'concept': 'designation for an administrative territorial entity'}] ['Commonwealth of Nations', 'founder', {'concept': 'designation for an administrative territorial entity'}] ['Multilateral Investment Guarantee Agency', 'founder', {'concept': 'designation for an administrative territorial entity'}] ['Alliance of Small Island States', 'founder', {'concept': 'designation for an administrative territorial entity'}] ['North Atlantic Treaty Organisation', 'founder', {'concept': 'designation for an administrative territorial entity'}] ['African, Caribbean and Pacific Group of States', 'founder', {'concept': 'designation for an administrative territorial entity'}] ['G20', 'founder', {'concept': 'designation for an administrative territorial entity'}] ['European Space Agency', 'founder', {'concept': 'designation for an administrative territorial entity'}] ['Asian Development Bank', 'founder', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:European_Space_Agency property:founder ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant European Space Agency. Could you tell me the answer for that?
(Q42262,P112,c(Q15617994))
Q42262
['Q42262', 'P112', {'concept': 'Q15617994'}]
['European Space Agency', 'founder', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142 Q38 Q55
SYSTEM
France, Italy, Netherlands
Q142 Q55 Q145 Q31 Q34 Q29 Q39 Q38
(Q42262,P112,c(Q15617994))
action filter_type
action find
entity Q42262
relation P112
type Q15617994
The names of the founders of that international organization are [ANSWERS]
['Q42262', 'P112', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q42262 property:P112 ?m . ?m rdf:type ontology:Q15617994 }
France Netherlands United Kingdom Belgium Sweden Spain Switzerland Italy
The names of the founders of that international organization are France, Italy and Netherlands
France Italy Netherlands
action filter_type
action find
entity European Space Agency
relation founder
type designation for an administrative territorial entity
['European Space Agency', 'founder', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:European_Space_Agency property:founder ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P530
Q1048835 Q15617994
USER
How many political territories or administrative territories have diplomatic relations with that administrative territory ?
(Q55,P530,c(Q1048835)) (Q55,P530,c(Q15617994)) (Q142,P530,c(Q1048835)) (Q142,P530,c(Q15617994)) (Q38,P530,c(Q1048835)) (Q38,P530,c(Q15617994)) (Q55,P530,c(Q1048835)) (Q55,P530,c(Q15617994))
['Q55', 'P530', {'concept': 'Q1048835'}] ['Q55', 'P530', {'concept': 'Q15617994'}] ['Q142', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q15617994'}] ['Q38', 'P530', {'concept': 'Q1048835'}] ['Q38', 'P530', {'concept': 'Q15617994'}] ['Q55', 'P530', {'concept': 'Q1048835'}] ['Q55', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q22442862 property:P530 ?z } UNION { resource:Q22442862 property:P530 ?y } UNION { resource:Q16275867 property:P530 ?z } UNION { resource:Q16275867 property:P530 ?y } UNION { resource:Q977238 property:P530 ?z } UNION { resource:Q977238 property:P530 ?y } UNION { resource:Q22442862 property:P530 ?z } UNION { resource:Q22442862 property:P530 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
['Netherlands', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Netherlands', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Netherlands', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Netherlands', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Netherlands property:diplomatic_relation ?z } UNION { resource:Netherlands property:diplomatic_relation ?y } UNION { resource:France property:diplomatic_relation ?z } UNION { resource:France property:diplomatic_relation ?y } UNION { resource:Italy property:diplomatic_relation ?z } UNION { resource:Italy property:diplomatic_relation ?y } UNION { resource:Netherlands property:diplomatic_relation ?z } UNION { resource:Netherlands property:diplomatic_relation ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
political territorial entity designation for an administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q142
SYSTEM
Did you mean France ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q22442862 property:P530 ?z } UNION { resource:Q22442862 property:P530 ?y } UNION { resource:Q16275867 property:P530 ?z } UNION { resource:Q16275867 property:P530 ?y } UNION { resource:Q977238 property:P530 ?z } UNION { resource:Q977238 property:P530 ?y } UNION { resource:Q22442862 property:P530 ?z } UNION { resource:Q22442862 property:P530 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
Did you mean France ?
France
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Netherlands property:diplomatic_relation ?z } UNION { resource:Netherlands property:diplomatic_relation ?y } UNION { resource:France property:diplomatic_relation ?z } UNION { resource:France property:diplomatic_relation ?y } UNION { resource:Italy property:diplomatic_relation ?z } UNION { resource:Italy property:diplomatic_relation ?y } UNION { resource:Netherlands property:diplomatic_relation ?z } UNION { resource:Netherlands property:diplomatic_relation ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Netherlands. Could you tell me the answer for that?
(Q55,P530,c(Q1048835)) (Q55,P530,c(Q15617994)) (Q142,P530,c(Q1048835)) (Q142,P530,c(Q15617994)) (Q38,P530,c(Q1048835)) (Q38,P530,c(Q15617994)) (Q55,P530,c(Q1048835)) (Q55,P530,c(Q15617994))
Q55
['Q55', 'P530', {'concept': 'Q1048835'}] ['Q55', 'P530', {'concept': 'Q15617994'}] ['Q142', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q15617994'}] ['Q38', 'P530', {'concept': 'Q1048835'}] ['Q38', 'P530', {'concept': 'Q15617994'}] ['Q55', 'P530', {'concept': 'Q1048835'}] ['Q55', 'P530', {'concept': 'Q15617994'}]
['Netherlands', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Netherlands', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Netherlands', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Netherlands', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
3
Q408 Q38 Q183
(Q55,P530,c(Q1048835)) (Q55,P530,c(Q15617994)) (Q142,P530,c(Q1048835)) (Q142,P530,c(Q15617994)) (Q38,P530,c(Q1048835)) (Q38,P530,c(Q15617994)) (Q55,P530,c(Q1048835)) (Q55,P530,c(Q15617994))
[ANSWER]
['Q55', 'P530', {'concept': 'Q1048835'}] ['Q55', 'P530', {'concept': 'Q15617994'}] ['Q142', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q15617994'}] ['Q38', 'P530', {'concept': 'Q1048835'}] ['Q38', 'P530', {'concept': 'Q15617994'}] ['Q55', 'P530', {'concept': 'Q1048835'}] ['Q55', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q22442862 property:P530 ?z } UNION { resource:Q22442862 property:P530 ?y } UNION { resource:Q16275867 property:P530 ?z } UNION { resource:Q16275867 property:P530 ?y } UNION { resource:Q977238 property:P530 ?z } UNION { resource:Q977238 property:P530 ?y } UNION { resource:Q22442862 property:P530 ?z } UNION { resource:Q22442862 property:P530 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
Australia Italy Germany
3
['Netherlands', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Netherlands', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Netherlands', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Netherlands', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Netherlands property:diplomatic_relation ?z } UNION { resource:Netherlands property:diplomatic_relation ?y } UNION { resource:France property:diplomatic_relation ?z } UNION { resource:France property:diplomatic_relation ?y } UNION { resource:Italy property:diplomatic_relation ?z } UNION { resource:Italy property:diplomatic_relation ?y } UNION { resource:Netherlands property:diplomatic_relation ?z } UNION { resource:Netherlands property:diplomatic_relation ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]