Simple Question (Direct)
Simple Question
Q6074346
P27
Q15617994
USER
Which administrative territory is Cem Koşanoğlu an inhabitant of ?
(Q6074346,P27,c(Q15617994))
action filter_type
action find
entity Q6074346
relation P27
type Q15617994
['Q6074346', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q6074346 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Cem Koşanoğlu
action filter_type
action find
entity Cem Koşanoğlu
relation country of citizenship
type designation for an administrative territorial entity
['Cem Koşanoğlu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Cem_Koşanoğlu property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43
SYSTEM
Turkey
Q43
(Q6074346,P27,c(Q15617994))
action filter_type
action find
entity Q6074346
relation P27
type Q15617994
[ANSWER] is Cem Koşanoğlu an inhabitant of
['Q6074346', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q6074346 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Turkey
Turkey is Cem Koşanoğlu an inhabitant of
Turkey
action filter_type
action find
entity Cem Koşanoğlu
relation country of citizenship
type designation for an administrative territorial entity
['Cem Koşanoğlu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Cem_Koşanoğlu property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43
P36
Q56061
USER
Which administrative territory is associated to that administrative territory as the capital ?
(Q43,P36,c(Q56061))
action filter_type
action find
entity Q43
relation P36
type Q56061
['Q43', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q43 property:P36 ?i }
Turkey
action filter_type
action find
entity Turkey
relation capital
type administrative territorial entity
['Turkey', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Turkey property:capital ?i }
[]
administrative territorial entity
Q3640
SYSTEM
Ankara
Q3640
(Q43,P36,c(Q56061))
action filter_type
action find
entity Q43
relation P36
type Q56061
[ANSWER] is associated to that administrative territory as the capital
['Q43', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q43 property:P36 ?i }
Ankara
Ankara is associated to that administrative territory as the capital
Ankara
action filter_type
action find
entity Turkey
relation capital
type administrative territorial entity
['Turkey', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Turkey property:capital ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3640
P190
Q56061
USER
Which administrative territories are the sister cities of that one ?
(Q3640,P190,c(Q56061))
action filter_type
action find
entity Q3640
relation P190
type Q56061
['Q3640', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q3640 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Ankara
action filter_type
action find
entity Ankara
relation sister city
type administrative territorial entity
['Ankara', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Ankara property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649 Q2280 Q956
SYSTEM
Moscow, Minsk, Beijing
Q2471 Q994 Q3882 Q35178 Q3766 Q649 Q1861 Q2762100 Q1963 Q25270 Q3856 Q9361 Q1520 Q3739 Q2449 Q911 Q9365 Q21197 Q472 Q486282 Q956 Q2280 Q3805 Q61
(Q3640,P190,c(Q56061))
action filter_type
action find
entity Q3640
relation P190
type Q56061
[ANSWERS] are the sister cities of that one
['Q3640', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q3640 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Sana‘a Tbilisi Manama Kuwait City Damascus Moscow Bangkok North Nicosia Khartoum Prishtina Nicosia Bishkek Astana Bissau Mogadishu Ufa Dushanbe Chișinău Sofia Pavlodar Beijing Minsk Amman Washington, D.C.
Moscow, Minsk and Beijing are the sister cities of that one
Moscow Minsk Beijing
action filter_type
action find
entity Ankara
relation sister city
type administrative territorial entity
['Ankara', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Ankara property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q649
P915
Q15416 Q838948
USER
How many television programs or works of art were filmed at Moscow ?
(c(Q15416),P915,Q649) (c(Q838948),P915,Q649)
action count
action union
action filter_type
action find_reverse
entity Q649
relation P915
type Q15416
action filter_type
action find_reverse
entity Q649
relation P915
type Q838948
[{'concept': 'Q15416'}, 'P915', 'Q649'] [{'concept': 'Q838948'}, 'P915', 'Q649']
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q property:P915 resource:Q649 . ?q rdf:type ontology:Q15416 } UNION { ?q property:P915 resource:Q649 . ?q rdf:type ontology:Q838948 } }
Moscow
action count
action union
action filter_type
action find_reverse
entity Moscow
relation filming location
type television program
action filter_type
action find_reverse
entity Moscow
relation filming location
type work of art
[{'concept': 'television program'}, 'filming location', 'Moscow'] [{'concept': 'work of art'}, 'filming location', 'Moscow']
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q property:filming_location resource:Moscow . ?q rdf:type ontology:television_program } UNION { ?q property:filming_location resource:Moscow . ?q rdf:type ontology:work_of_art } }
[]
television program work of art
SYSTEM
50
Q1212068 Q17363277 Q175014 Q911775 Q407184 Q1035180 Q3522114 Q3221540 Q2732154 Q628154 Q1169399 Q213411 Q2529604 Q1048846 Q8911249 Q4159341 Q594307 Q924756 Q902672 Q185229 Q3429263 Q529053 Q964657 Q1653341 Q156608 Q1753817 Q1582584 Q83542 Q930936 Q4211474 Q3032583 Q125772 Q2493669 Q14948560 Q4096230 Q22953531 Q2528155 Q17019453 Q1045388 Q167437 Q662342 Q691916 Q570652 Q1144962 Q32235 Q514293 Q18218448 Q503046 Q535081 Q369094
(c(Q15416),P915,Q649) (c(Q838948),P915,Q649)
action count
action union
action filter_type
action find_reverse
entity Q649
relation P915
type Q15416
action filter_type
action find_reverse
entity Q649
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q15416'}, 'P915', 'Q649'] [{'concept': 'Q838948'}, 'P915', 'Q649']
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q property:P915 resource:Q649 . ?q rdf:type ontology:Q15416 } UNION { ?q property:P915 resource:Q649 . ?q rdf:type ontology:Q838948 } }
Echelon Conspiracy Kvadrat 12 Prêt-à-Porter Air Force One Captivity Dhaam Dhoom The Apocalypse Code The Inner Circle Mission: Impossible – Ghost Protocol Le Concert Cast Away You and I The Sum of All Fears Crime and Punishment The Children of Leningradsky Gorky Park Police Academy: Mission to Moscow Jack Ryan: Shadow Recruit Black Lightning Blade Day Watch The Darkest Hour Un plan parfait The Bourne Supremacy The Saint Normandie - Niémen Resident Evil: Retribution Command Performance Stone Dieci inverni Solaris The Star Break Loose Brezhnev Mafia: The Game of Survival Office Romance Our Kind of Traitor Night Watch The Jackal K-19: The Widowmaker Hitman Get Smart Police Story 4: First Strike Stalin Red Heat Citizenfour Andrei Rublev The Last Station Botched
50
action count
action union
action filter_type
action find_reverse
entity Moscow
relation filming location
type television program
action filter_type
action find_reverse
entity Moscow
relation filming location
type work of art
[{'concept': 'television program'}, 'filming location', 'Moscow'] [{'concept': 'work of art'}, 'filming location', 'Moscow']
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q property:filming_location resource:Moscow . ?q rdf:type ontology:television_program } UNION { ?q property:filming_location resource:Moscow . ?q rdf:type ontology:work_of_art } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21967473 Q43
P530 P17
Q1048835
USER
Which political territories have diplomatic relationships with Turkey or do Archers Sugarloaf belong to ?
OR((Q43,P530,c(Q1048835)), (Q21967473,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q43
relation P530
action find
entity Q21967473
relation P17
type Q1048835
{'OR': [['Q43', 'P530', {'concept': 'Q1048835'}], ['Q21967473', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q43 property:P530 ?d } UNION { resource:Q21967473 property:P17 ?d } } . ?d rdf:type ontology:Q1048835 }
Archers Sugarloaf Turkey
action filter_type
action union
action find
entity Turkey
relation diplomatic relation
action find
entity Archers Sugarloaf
relation country
type political territorial entity
{'OR': [['Turkey', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Archers Sugarloaf', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Turkey property:diplomatic_relation ?d } UNION { resource:Archers_Sugarloaf property:country ?d } } . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q16 Q183
SYSTEM
Australia, Canada, Germany
Q408 Q16 Q183
OR((Q43,P530,c(Q1048835)), (Q21967473,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q43
relation P530
action find
entity Q21967473
relation P17
type Q1048835
[ANSWERS] have diplomatic relationships with Turkey or do Archers Sugarloaf belong to
{'OR': [['Q43', 'P530', {'concept': 'Q1048835'}], ['Q21967473', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q43 property:P530 ?d } UNION { resource:Q21967473 property:P17 ?d } } . ?d rdf:type ontology:Q1048835 }
Australia Canada Germany
Australia, Canada and Germany have diplomatic relationships with Turkey or do Archers Sugarloaf belong to
Australia Canada Germany
action filter_type
action union
action find
entity Turkey
relation diplomatic relation
action find
entity Archers Sugarloaf
relation country
type political territorial entity
{'OR': [['Turkey', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Archers Sugarloaf', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Turkey property:diplomatic_relation ?d } UNION { resource:Archers_Sugarloaf property:country ?d } } . ?d rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q96
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relations with around the same number of political territories as Mexico ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q96
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?g ) WHERE { ?o property:P530 ?s . ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Q96 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?g = ?a ) }
Mexico
action approx
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 Mexico
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?g ) WHERE { ?o property:diplomatic_relation ?s . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Mexico property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g = ?a ) }
[]
designation for an administrative territorial entity political territorial entity
Q55 Q148 Q17
SYSTEM
Netherlands, People's Republic of China, Japan
Q804 Q800 Q419 Q668 Q414 Q55 Q148 Q783 Q45 Q41 Q796 Q794 Q954 Q889 Q881 Q811 Q31 Q924 Q928 Q733 Q734 Q233 Q1041 Q27 Q1028 Q736 Q786 Q225 Q224 Q96 Q347 Q17 Q902 Q1036 Q1033 Q963 Q298 Q117 Q750 Q213 Q215 Q219 Q916 Q1009 Q774 Q810 Q29 Q869
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q96
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with around the same number of political territories as Mexico
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?g ) WHERE { ?o property:P530 ?s . ?o rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Q96 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?g = ?a ) }
Panama Costa Rica Peru India Argentina Netherlands People's Republic of China Honduras Portugal Greece Iraq Iran Zimbabwe Afghanistan Vietnam Nicaragua Belgium Tanzania Philippines Paraguay Guyana Malta Senegal Ireland Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Liechtenstein Japan Bangladesh Uganda Nigeria Botswana Chile Ghana Bolivia Czech Republic Slovenia Bulgaria Angola Cameroon Guatemala Jordan Spain Thailand
Netherlands, People's Republic of China and Japan have diplomatic relations with around the same number of political territories as Mexico
Netherlands People's Republic of China Japan
action approx
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 Mexico
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?g ) WHERE { ?o property:diplomatic_relation ?s . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Mexico property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g = ?a ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4440209
P530
Q1048835
USER
Are Starodobrovilske known to have diplomatic connections with those administrative territories ?
(Q4440209,P530,Q55) (Q4440209,P530,Q148) (Q4440209,P530,Q17)
action is_in
entity prev_answer
action find
entity Q4440209
relation P530
['Q4440209', 'P530', 'Q55'] ['Q4440209', 'P530', 'Q148'] ['Q4440209', 'P530', 'Q17']
ASK WHERE { VALUES ( ?f ) { ( resource:Q804 ) ( resource:Q800 ) ( resource:Q419 ) } . resource:Q4440209 property:P530 ?f }
Starodobrovilske
action is_in
entity prev_answer
action find
entity Starodobrovilske
relation diplomatic relation
['Starodobrovilske', 'diplomatic relation', 'Netherlands'] ['Starodobrovilske', 'diplomatic relation', "People's Republic of China"] ['Starodobrovilske', 'diplomatic relation', 'Japan']
ASK WHERE { VALUES ( ?f ) { ( resource:Panama ) ( resource:Costa_Rica ) ( resource:Peru ) } . resource:Starodobrovilske property:diplomatic_relation ?f }
[]
political territorial entity
SYSTEM
NO
(Q4440209,P530,Q55) (Q4440209,P530,Q148) (Q4440209,P530,Q17)
action is_in
entity prev_answer
action find
entity Q4440209
relation P530
[ANSWER]
['Q4440209', 'P530', 'Q55'] ['Q4440209', 'P530', 'Q148'] ['Q4440209', 'P530', 'Q17']
ASK WHERE { VALUES ( ?f ) { ( resource:Q804 ) ( resource:Q800 ) ( resource:Q419 ) } . resource:Q4440209 property:P530 ?f }
No
action is_in
entity prev_answer
action find
entity Starodobrovilske
relation diplomatic relation
['Starodobrovilske', 'diplomatic relation', 'Netherlands'] ['Starodobrovilske', 'diplomatic relation', "People's Republic of China"] ['Starodobrovilske', 'diplomatic relation', 'Japan']
ASK WHERE { VALUES ( ?f ) { ( resource:Panama ) ( resource:Costa_Rica ) ( resource:Peru ) } . resource:Starodobrovilske property:diplomatic_relation ?f }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q408 Q39
P530
Q15617994
USER
Does Switzerland have diplomatic relations with Australia ?
(Q408,P530,Q39)
action is_in
entity Q39
action find
entity Q408
relation P530
['Q408', 'P530', 'Q39']
ASK WHERE { resource:Q408 property:P530 resource:Q39 }
Australia Switzerland
action is_in
entity Switzerland
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Switzerland']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Switzerland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q408,P530,Q39)
action is_in
entity Q39
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q39']
ASK WHERE { resource:Q408 property:P530 resource:Q39 }
Yes
action is_in
entity Switzerland
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Switzerland']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Switzerland }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q55 Q31
P47
Q15617994
USER
Does Belgium share border with Netherlands ?
(Q55,P47,Q31)
action is_in
entity Q31
action find
entity Q55
relation P47
['Q55', 'P47', 'Q31']
ASK WHERE { resource:Q55 property:P47 resource:Q31 }
Netherlands Belgium
action is_in
entity Belgium
action find
entity Netherlands
relation shares border with
['Netherlands', 'shares border with', 'Belgium']
ASK WHERE { resource:Netherlands property:shares_border_with resource:Belgium }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q55,P47,Q31)
action is_in
entity Q31
action find
entity Q55
relation P47
[ANSWER]
['Q55', 'P47', 'Q31']
ASK WHERE { resource:Q55 property:P47 resource:Q31 }
Yes
action is_in
entity Belgium
action find
entity Netherlands
relation shares border with
['Netherlands', 'shares border with', 'Belgium']
ASK WHERE { resource:Netherlands property:shares_border_with resource:Belgium }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P463
Q484652
USER
What international organizations had Netherlands as their member ?
action filter_type
action find
entity Q55
relation P463
type Q484652
SELECT DISTINCT ?h WHERE { resource:Q55 property:P463 ?h . ?h rdf:type ontology:Q484652 }
Netherlands
action filter_type
action find
entity Netherlands
relation member of
type international organization
SELECT DISTINCT ?h WHERE { resource:Netherlands property:member_of ?h . ?h rdf:type ontology:international_organization }
[]
international organization
Q81299 Q42262 Q7184
SYSTEM
Organization for Security and Co-operation in Europe, European Space Agency, North Atlantic Treaty Organisation
Q81299 Q472311 Q1411881 Q8475 Q1480793 Q826700 Q54129 Q188822 Q233611 Q47488 Q7804 Q842490 Q1045198 Q201054 Q182000 Q7184 Q42262 Q152299 Q1043527
action filter_type
action find
entity Q55
relation P463
type Q484652
[ANSWERS] had Netherlands as their member
SELECT DISTINCT ?h WHERE { resource:Q55 property:P463 ?h . ?h rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe International Organization for Migration Group of Ten Interpol Nuclear Suppliers Group International Energy Agency International Labour Organization Asian Development Bank International Hydrographic Organization International Criminal Court International Monetary Fund Organisation for the Prohibition of Chemical Weapons Permanent Court of Arbitration International Maritime Organization United Nations Conference on Trade and Development North Atlantic Treaty Organisation European Space Agency Dutch Language Union Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, European Space Agency and North Atlantic Treaty Organisation had Netherlands as their member
Organization for Security and Co-operation in Europe European Space Agency North Atlantic Treaty Organisation
action filter_type
action find
entity Netherlands
relation member of
type international organization
SELECT DISTINCT ?h WHERE { resource:Netherlands property:member_of ?h . ?h rdf:type ontology:international_organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4731699
P463
Q15617994
USER
Do Allen Independent School District have a membership of those international organizations ?
(Q4731699,P463,Q81299) (Q4731699,P463,Q42262) (Q4731699,P463,Q7184)
action is_in
entity prev_answer
action find
entity Q4731699
relation P463
['Q4731699', 'P463', 'Q81299'] ['Q4731699', 'P463', 'Q42262'] ['Q4731699', 'P463', 'Q7184']
ASK WHERE { VALUES ( ?g ) { ( resource:Q81299 ) ( resource:Q472311 ) ( resource:Q1411881 ) } . resource:Q4731699 property:P463 ?g }
Allen Independent School District
action is_in
entity prev_answer
action find
entity Allen Independent School District
relation member of
['Allen Independent School District', 'member of', 'Organization for Security and Co-operation in Europe'] ['Allen Independent School District', 'member of', 'European Space Agency'] ['Allen Independent School District', 'member of', 'North Atlantic Treaty Organisation']
ASK WHERE { VALUES ( ?g ) { ( resource:Organization_for_Security_and_Co-operation_in_Europe ) ( resource:International_Organization_for_Migration ) ( resource:Group_of_Ten ) } . resource:Allen_Independent_School_District property:member_of ?g }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4731699,P463,Q81299) (Q4731699,P463,Q42262) (Q4731699,P463,Q7184)
action is_in
entity prev_answer
action find
entity Q4731699
relation P463
[ANSWER]
['Q4731699', 'P463', 'Q81299'] ['Q4731699', 'P463', 'Q42262'] ['Q4731699', 'P463', 'Q7184']
ASK WHERE { VALUES ( ?g ) { ( resource:Q81299 ) ( resource:Q472311 ) ( resource:Q1411881 ) } . resource:Q4731699 property:P463 ?g }
No
action is_in
entity prev_answer
action find
entity Allen Independent School District
relation member of
['Allen Independent School District', 'member of', 'Organization for Security and Co-operation in Europe'] ['Allen Independent School District', 'member of', 'European Space Agency'] ['Allen Independent School District', 'member of', 'North Atlantic Treaty Organisation']
ASK WHERE { VALUES ( ?g ) { ( resource:Organization_for_Security_and_Co-operation_in_Europe ) ( resource:International_Organization_for_Migration ) ( resource:Group_of_Ten ) } . resource:Allen_Independent_School_District property:member_of ?g }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11796407 Q6074346
P19
Q56061
USER
Which administrative territories are the birthplace of Cem Koşanoğlu or Paul Waymond Caine ?
OR((Q6074346,P19,c(Q56061)), (Q11796407,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6074346
relation P19
action find
entity Q11796407
relation P19
type Q56061
{'OR': [['Q6074346', 'P19', {'concept': 'Q56061'}], ['Q11796407', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . { { resource:Q6074346 property:P19 ?b } UNION { resource:Q11796407 property:P19 ?b } } }
Paul Waymond Caine Cem Koşanoğlu
action filter_type
action union
action find
entity Cem Koşanoğlu
relation place of birth
action find
entity Paul Waymond Caine
relation place of birth
type administrative territorial entity
{'OR': [['Cem Koşanoğlu', 'place of birth', {'concept': 'administrative territorial entity'}], ['Paul Waymond Caine', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . { { resource:Cem_Koşanoğlu property:place_of_birth ?b } UNION { resource:Paul_Waymond_Caine property:place_of_birth ?b } } }
[]
administrative territorial entity
Q406 Q2470373
SYSTEM
Istanbul, Charlestown
Q406 Q2470373
OR((Q6074346,P19,c(Q56061)), (Q11796407,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6074346
relation P19
action find
entity Q11796407
relation P19
type Q56061
[ANSWERS] are the birthplace of Cem Koşanoğlu or Paul Waymond Caine
{'OR': [['Q6074346', 'P19', {'concept': 'Q56061'}], ['Q11796407', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . { { resource:Q6074346 property:P19 ?b } UNION { resource:Q11796407 property:P19 ?b } } }
Istanbul Charlestown
Istanbul and Charlestown are the birthplace of Cem Koşanoğlu or Paul Waymond Caine
Istanbul Charlestown
action filter_type
action union
action find
entity Cem Koşanoğlu
relation place of birth
action find
entity Paul Waymond Caine
relation place of birth
type administrative territorial entity
{'OR': [['Cem Koşanoğlu', 'place of birth', {'concept': 'administrative territorial entity'}], ['Paul Waymond Caine', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . { { resource:Cem_Koşanoğlu property:place_of_birth ?b } UNION { resource:Paul_Waymond_Caine property:place_of_birth ?b } } }
[]