Simple Question (Direct)
Simple Question
Q18636742
P344
Q502895
USER
Which person is the cinematographer of The Light Between Oceans ?
(Q18636742,P344,c(Q502895))
action filter_type
action find
entity Q18636742
relation P344
type Q502895
['Q18636742', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q18636742 property:P344 ?f . ?f rdf:type ontology:Q502895 }
The Light Between Oceans
action filter_type
action find
entity The Light Between Oceans
relation director of photography
type common name
['The Light Between Oceans', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:The_Light_Between_Oceans property:director_of_photography ?f . ?f rdf:type ontology:common_name }
[]
common name
Q16039199
SYSTEM
Adam Arkapaw
Q16039199
(Q18636742,P344,c(Q502895))
action filter_type
action find
entity Q18636742
relation P344
type Q502895
[ANSWER] is the cinematographer of The Light Between Oceans
['Q18636742', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q18636742 property:P344 ?f . ?f rdf:type ontology:Q502895 }
Adam Arkapaw
Adam Arkapaw is the cinematographer of The Light Between Oceans
Adam Arkapaw
action filter_type
action find
entity The Light Between Oceans
relation director of photography
type common name
['The Light Between Oceans', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:The_Light_Between_Oceans property:director_of_photography ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16039199
P1412
Q34770
USER
Which language can that person read ?
(Q16039199,P1412,c(Q34770))
action filter_type
action find
entity Q16039199
relation P1412
type Q34770
['Q16039199', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q16039199 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Adam Arkapaw
action filter_type
action find
entity Adam Arkapaw
relation languages spoken, written or signed
type language
['Adam Arkapaw', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Adam_Arkapaw property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q16039199,P1412,c(Q34770))
action filter_type
action find
entity Q16039199
relation P1412
type Q34770
That person can read the [ANSWER]
['Q16039199', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q16039199 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
English
That person can read the English
English
action filter_type
action find
entity Adam Arkapaw
relation languages spoken, written or signed
type language
['Adam Arkapaw', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Adam_Arkapaw property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P37
Q34770 Q15617994
USER
How many administrative territories are exactly 1 language the official language of ?
(c(Q15617994),P37,c(Q34770))
action count
action equal
action find_tuple_counts
relation P37
type Q15617994
type Q34770
value 1
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?a ) WHERE { ?w rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q34770 . ?w property:P37 ?c } GROUP BY ?w } . FILTER ( ?a = 1 ) }
action count
action equal
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?a ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:language . ?w property:official_language ?c } GROUP BY ?w } . FILTER ( ?a = 1 ) }
[]
language designation for an administrative territorial entity
SYSTEM
83
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q1044 Q1042 Q27 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q750 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q34770))
action count
action equal
action find_tuple_counts
relation P37
type Q15617994
type Q34770
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?a ) WHERE { ?w rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q34770 . ?w property:P37 ?c } GROUP BY ?w } . FILTER ( ?a = 1 ) }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Sierra Leone Seychelles Ireland Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Bolivia Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
83
action count
action equal
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?a ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:language . ?w property:official_language ?c } GROUP BY ?w } . FILTER ( ?a = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q518140 Q16039199
P344
Q838948
USER
Which works of art have Adam Arkapaw or Desmond Dickinson as cinematographer ?
OR((c(Q838948),P344,Q16039199), (c(Q838948),P344,Q518140))
action filter_type
action union
action find_reverse
entity Q16039199
relation P344
action find_reverse
entity Q518140
relation P344
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P344', 'Q16039199'], [{'concept': 'Q838948'}, 'P344', 'Q518140']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P344 resource:Q518140 } UNION { ?u property:P344 resource:Q16039199 } } . ?u rdf:type ontology:Q838948 }
Desmond Dickinson Adam Arkapaw
action filter_type
action union
action find_reverse
entity Adam Arkapaw
relation director of photography
action find_reverse
entity Desmond Dickinson
relation director of photography
type work of art
{'OR': [[{'concept': 'work of art'}, 'director of photography', 'Adam Arkapaw'], [{'concept': 'work of art'}, 'director of photography', 'Desmond Dickinson']]}
SELECT DISTINCT ?u WHERE { { { ?u property:director_of_photography resource:Desmond_Dickinson } UNION { ?u property:director_of_photography resource:Adam_Arkapaw } } . ?u rdf:type ontology:work_of_art }
[]
work of art
Q6412244 Q18636742 Q385464 Q1144983 Q5477180 Q18816889 Q7733739 Q19818434 Q2039391 Q16253025
SYSTEM
Some of them are King of Hearts, The Light Between Oceans, Horrors of the Black Museum, Animal Kingdom, Foxhole in Cairo, Assassin's Creed, The Fiend, Other People's Sins, The Frightened City, McFarland, USA
Q18816889 Q7561161 Q5046448 Q13479422 Q21527897 Q3092 Q4101604 Q6912807 Q7733739 Q7744457 Q19818434 Q16253025 Q27178 Q2039391 Q3545636 Q4352302 Q1502271 Q6491056 Q144414 Q1774771 Q1333588 Q7775538 Q6014242 Q23755592 Q7989798 Q6412244 Q15934383 Q3198649 Q385464 Q18636742 Q1197652 Q3225286 Q6816297 Q847656 Q421583 Q1144983 Q492124 Q7915873 Q5375525 Q4838360 Q194106 Q1628022 Q601772 Q6807787 Q5477180 Q7758143 Q7738531 Q492108 Q1170622 Q3426437 Q2133240 Q7799394 Q1360769 Q640067 Q7602382 Q5123583 Q6044419 Q5187909 Q7632782
OR((c(Q838948),P344,Q16039199), (c(Q838948),P344,Q518140))
action filter_type
action union
action find_reverse
entity Q16039199
relation P344
action find_reverse
entity Q518140
relation P344
type Q838948
[ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P344', 'Q16039199'], [{'concept': 'Q838948'}, 'P344', 'Q518140']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P344 resource:Q518140 } UNION { ?u property:P344 resource:Q16039199 } } . ?u rdf:type ontology:Q838948 }
Assassin's Creed Song of the Forge Carrington V.C. The History of Mr. Polly The New Hotel The Man Between Burke & Hare Morning Departure The Fiend The King's Highway Other People's Sins McFarland, USA Hamlet The Frightened City Hungry Hill Action of the Tiger The Arsenal Stadium Mystery The Net Berserk! Whoever Slew Auntie Roo? A Study in Terror The Woman in Question Incense for the Damned The Small Man Westward Ho! King of Hearts Macbeth Konga Horrors of the Black Museum The Light Between Oceans Tower of Evil The Stowaway Men of Two Worlds Fire Down Below Lore Animal Kingdom Murder Most Foul Variety Encore Baby Love The City of the Dead The Browning Version The Devil's Daffodil Meet Mr. Lucifer Foxhole in Cairo The Price of Divorce The Guns of Loos Murder Ahoy! Trog The Black Tent Snowtown Thursday's Child The Importance of Being Earnest The Hands of Orlac Stars on Parade City of Beautiful Nonsense Intent to Kill Crooks and Coronets Such Is the Law
King of Hearts, The Light Between Oceans, Horrors of the Black Museum, Animal Kingdom, Foxhole in Cairo, Assassin's Creed, The Fiend, Other People's Sins, The Frightened City and McFarland, USA have Adam Arkapaw or Desmond Dickinson as cinematographer
King of Hearts The Light Between Oceans Horrors of the Black Museum Animal Kingdom Foxhole in Cairo Assassin's Creed The Fiend Other People's Sins The Frightened City McFarland, USA
action filter_type
action union
action find_reverse
entity Adam Arkapaw
relation director of photography
action find_reverse
entity Desmond Dickinson
relation director of photography
type work of art
{'OR': [[{'concept': 'work of art'}, 'director of photography', 'Adam Arkapaw'], [{'concept': 'work of art'}, 'director of photography', 'Desmond Dickinson']]}
SELECT DISTINCT ?u WHERE { { { ?u property:director_of_photography resource:Desmond_Dickinson } UNION { ?u property:director_of_photography resource:Adam_Arkapaw } } . ?u rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q16039199
P495 P344
Q838948
USER
Which works of art are Adam Arkapaw the cinematographer of and have United States of America as their place of origin ?
AND((c(Q838948),P344,Q16039199), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q16039199
relation P344
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P344', 'Q16039199'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?r WHERE { ?r property:P344 resource:Q16039199 . ?r property:P495 resource:Q30 . ?r rdf:type ontology:Q838948 }
United States of America Adam Arkapaw
action filter_type
action intersection
action find_reverse
entity Adam Arkapaw
relation director of photography
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'director of photography', 'Adam Arkapaw'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?r WHERE { ?r property:director_of_photography resource:Adam_Arkapaw . ?r property:country_of_origin resource:United_States_of_America . ?r rdf:type ontology:work_of_art }
[]
work of art
Q18816889 Q16253025 Q18636742
SYSTEM
Assassin's Creed, McFarland, USA, The Light Between Oceans
Q18816889 Q16253025 Q18636742
AND((c(Q838948),P344,Q16039199), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q16039199
relation P344
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWERS] are Adam Arkapaw the cinematographer of and have United States of America as their place of origin
{'AND': [[{'concept': 'Q838948'}, 'P344', 'Q16039199'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?r WHERE { ?r property:P344 resource:Q16039199 . ?r property:P495 resource:Q30 . ?r rdf:type ontology:Q838948 }
Assassin's Creed McFarland, USA The Light Between Oceans
Assassin's Creed, McFarland, USA and The Light Between Oceans are Adam Arkapaw the cinematographer of and have United States of America as their place of origin
Assassin's Creed McFarland, USA The Light Between Oceans
action filter_type
action intersection
action find_reverse
entity Adam Arkapaw
relation director of photography
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'director of photography', 'Adam Arkapaw'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?r WHERE { ?r property:director_of_photography resource:Adam_Arkapaw . ?r property:country_of_origin resource:United_States_of_America . ?r rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q16039199
P364 P344
Q838948
USER
Which works of art are Adam Arkapaw assigned to as the cinematographer and are known to be originally created in English language ?
AND((c(Q838948),P344,Q16039199), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q16039199
relation P344
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P344', 'Q16039199'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?z WHERE { ?z property:P344 resource:Q16039199 . ?z property:P364 resource:Q1860 . ?z rdf:type ontology:Q838948 }
English Adam Arkapaw
action filter_type
action intersection
action find_reverse
entity Adam Arkapaw
relation director of photography
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'director of photography', 'Adam Arkapaw'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?z WHERE { ?z property:director_of_photography resource:Adam_Arkapaw . ?z property:original_language_of_work resource:English . ?z rdf:type ontology:work_of_art }
[]
work of art
Q18816889 Q18636742 Q2133240 Q421583 Q1144983 Q16253025 Q15934383
SYSTEM
Assassin's Creed, The Light Between Oceans, Snowtown, Lore, Animal Kingdom, McFarland, USA, Macbeth
Q18816889 Q18636742 Q2133240 Q421583 Q1144983 Q16253025 Q15934383
AND((c(Q838948),P344,Q16039199), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q16039199
relation P344
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWERS] are Adam Arkapaw assigned to as the cinematographer and are known to be originally created in English language
{'AND': [[{'concept': 'Q838948'}, 'P344', 'Q16039199'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?z WHERE { ?z property:P344 resource:Q16039199 . ?z property:P364 resource:Q1860 . ?z rdf:type ontology:Q838948 }
Assassin's Creed The Light Between Oceans Snowtown Lore Animal Kingdom McFarland, USA Macbeth
Assassin's Creed, The Light Between Oceans, Snowtown, Lore, Animal Kingdom, McFarland, USA and Macbeth are Adam Arkapaw assigned to as the cinematographer and are known to be originally created in English language
Assassin's Creed The Light Between Oceans Snowtown Lore Animal Kingdom McFarland, USA Macbeth
action filter_type
action intersection
action find_reverse
entity Adam Arkapaw
relation director of photography
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'director of photography', 'Adam Arkapaw'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?z WHERE { ?z property:director_of_photography resource:Adam_Arkapaw . ?z property:original_language_of_work resource:English . ?z rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16750580 Q18636742
P27 P495
Q15617994
USER
Which administrative territories are the countries of origin of The Light Between Oceans or are the native countriesof Robert S. Bainbridge ?
OR((Q18636742,P495,c(Q15617994)), (Q16750580,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18636742
relation P495
action find
entity Q16750580
relation P27
type Q15617994
{'OR': [['Q18636742', 'P495', {'concept': 'Q15617994'}], ['Q16750580', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q18636742 property:P495 ?e } UNION { resource:Q16750580 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
Robert S. Bainbridge The Light Between Oceans
action filter_type
action union
action find
entity The Light Between Oceans
relation country of origin
action find
entity Robert S. Bainbridge
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['The Light Between Oceans', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Robert S. Bainbridge', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:The_Light_Between_Oceans property:country_of_origin ?e } UNION { resource:Robert_S._Bainbridge property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
OR((Q18636742,P495,c(Q15617994)), (Q16750580,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18636742
relation P495
action find
entity Q16750580
relation P27
type Q15617994
[ANSWER] is the countries of origin of The Light Between Oceans or is the native countriesof Robert S. Bainbridge
{'OR': [['Q18636742', 'P495', {'concept': 'Q15617994'}], ['Q16750580', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q18636742 property:P495 ?e } UNION { resource:Q16750580 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
United States of America
United States of America is the countries of origin of The Light Between Oceans or is the native countriesof Robert S. Bainbridge
United States of America
action filter_type
action union
action find
entity The Light Between Oceans
relation country of origin
action find
entity Robert S. Bainbridge
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['The Light Between Oceans', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Robert S. Bainbridge', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:The_Light_Between_Oceans property:country_of_origin ?e } UNION { resource:Robert_S._Bainbridge property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q7155125
P27
Q502895
USER
Is Paulino Bernal a native of that administrative territory ?
(Q7155125,P27,Q30)
action is_in
entity Q30
action find
entity Q7155125
relation P27
['Q7155125', 'P27', 'Q30']
ASK WHERE { resource:Q7155125 property:P27 resource:Q30 }
United States of America Paulino Bernal
action is_in
entity United States of America
action find
entity Paulino Bernal
relation country of citizenship
['Paulino Bernal', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Paulino_Bernal property:country_of_citizenship resource:United_States_of_America }
[]
common name
SYSTEM
YES
(Q7155125,P27,Q30)
action is_in
entity Q30
action find
entity Q7155125
relation P27
[ANSWER]
['Q7155125', 'P27', 'Q30']
ASK WHERE { resource:Q7155125 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Paulino Bernal
relation country of citizenship
['Paulino Bernal', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Paulino_Bernal property:country_of_citizenship resource:United_States_of_America }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1009
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with more number of administrative territories than Cameroon ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1009
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?e ) WHERE { ?b property:P530 ?g . ?g rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q1009 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?k ) }
Cameroon
action count
action greater
action find_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
entity Cameroon
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 ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?e ) WHERE { ?b property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Cameroon property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?k ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
109
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1009
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?e ) WHERE { ?b property:P530 ?g . ?g rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q1009 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?k ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
109
action count
action greater
action find_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
entity Cameroon
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 ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?e ) WHERE { ?b property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Cameroon property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q228
P530
Q15617994 Q15617994
USER
And also tell me about Andorra?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q228
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?r ) WHERE { ?s property:P530 ?t . ?s rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Q228 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?r > ?m ) }
Andorra
action count
action greater
action find_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
entity Andorra
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 ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?r ) WHERE { ?s property:diplomatic_relation ?t . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Andorra property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r > ?m ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
50
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q822 Q241 Q32 Q31 Q30 Q928 Q929 Q39 Q38 Q230 Q27 Q843 Q184 Q225 Q222 Q347 Q17 Q902 Q114 Q212 Q213 Q218 Q79 Q858 Q948 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q228
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?r ) WHERE { ?s property:P530 ?t . ?s rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Q228 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?r > ?m ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Lebanon Cuba Luxembourg Belgium United States of America Philippines Central African Republic Switzerland Italy Georgia Ireland Pakistan Belarus Bosnia and Herzegovina Albania Liechtenstein Japan Bangladesh Kenya Ukraine Czech Republic Romania Egypt Syria Tunisia Libya Cape Verde Zambia
50
action count
action greater
action find_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
entity Andorra
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 ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?r ) WHERE { ?s property:diplomatic_relation ?t . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Andorra property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r > ?m ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1042 Q1009
P1001
Q1292279
USER
Which political borders apply to jurisdiction over Cameroon or Seychelles ?
OR((c(Q1292279),P1001,Q1009), (c(Q1292279),P1001,Q1042))
action filter_type
action union
action find_reverse
entity Q1009
relation P1001
action find_reverse
entity Q1042
relation P1001
type Q1292279
{'OR': [[{'concept': 'Q1292279'}, 'P1001', 'Q1009'], [{'concept': 'Q1292279'}, 'P1001', 'Q1042']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P1001 resource:Q1009 } UNION { ?y property:P1001 resource:Q1042 } } . ?y rdf:type ontology:Q1292279 }
Seychelles Cameroon
action filter_type
action union
action find_reverse
entity Cameroon
relation applies to jurisdiction
action find_reverse
entity Seychelles
relation applies to jurisdiction
type political border
{'OR': [[{'concept': 'political border'}, 'applies to jurisdiction', 'Cameroon'], [{'concept': 'political border'}, 'applies to jurisdiction', 'Seychelles']]}
SELECT DISTINCT ?y WHERE { { { ?y property:applies_to_jurisdiction resource:Cameroon } UNION { ?y property:applies_to_jurisdiction resource:Seychelles } } . ?y rdf:type ontology:political_border }
[]
political border
Q17351730 Q3089051 Q17351809 Q3089041 Q17351833 Q3089040 Q3089050 Q3088916 Q3089042 Q16802111
SYSTEM
Some of them are Comoros–Seychelles border, Cameroon–Chad border, Mauritius–Seychelles border, Cameroon–Equatorial Guinea border, Seychelles–Tanzania border, Cameroon–Republic of the Congo border, Cameroon–Nigeria border, France–Seychelles border, Cameroon–Gabon border, Cameroon–Central African Republic border
Q17351809 Q17351801 Q16802111 Q3089051 Q3088916 Q17351730 Q3089040 Q3089050 Q3089042 Q3089041 Q17351833
OR((c(Q1292279),P1001,Q1009), (c(Q1292279),P1001,Q1042))
action filter_type
action union
action find_reverse
entity Q1009
relation P1001
action find_reverse
entity Q1042
relation P1001
type Q1292279
[ANSWERS] apply to jurisdiction over Cameroon or Seychelles
{'OR': [[{'concept': 'Q1292279'}, 'P1001', 'Q1009'], [{'concept': 'Q1292279'}, 'P1001', 'Q1042']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P1001 resource:Q1009 } UNION { ?y property:P1001 resource:Q1042 } } . ?y rdf:type ontology:Q1292279 }
Mauritius–Seychelles border Madagascar–Seychelles border Cameroon–Central African Republic border Cameroon–Chad border France–Seychelles border Comoros–Seychelles border Cameroon–Republic of the Congo border Cameroon–Nigeria border Cameroon–Gabon border Cameroon–Equatorial Guinea border Seychelles–Tanzania border
Comoros–Seychelles border, Cameroon–Chad border, Mauritius–Seychelles border, Cameroon–Equatorial Guinea border, Seychelles–Tanzania border, Cameroon–Republic of the Congo border, Cameroon–Nigeria border, France–Seychelles border, Cameroon–Gabon border and Cameroon–Central African Republic border apply to jurisdiction over Cameroon or Seychelles
Comoros–Seychelles border Cameroon–Chad border Mauritius–Seychelles border Cameroon–Equatorial Guinea border Seychelles–Tanzania border Cameroon–Republic of the Congo border Cameroon–Nigeria border France–Seychelles border Cameroon–Gabon border Cameroon–Central African Republic border
action filter_type
action union
action find_reverse
entity Cameroon
relation applies to jurisdiction
action find_reverse
entity Seychelles
relation applies to jurisdiction
type political border
{'OR': [[{'concept': 'political border'}, 'applies to jurisdiction', 'Cameroon'], [{'concept': 'political border'}, 'applies to jurisdiction', 'Seychelles']]}
SELECT DISTINCT ?y WHERE { { { ?y property:applies_to_jurisdiction resource:Cameroon } UNION { ?y property:applies_to_jurisdiction resource:Seychelles } } . ?y rdf:type ontology:political_border }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1042
P463
Q484652
USER
How many international organizations were Seychelles a member of ?
(Q1042,P463,c(Q484652))
action count
action filter_type
action find
entity Q1042
relation P463
type Q484652
['Q1042', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Q1042 property:P463 ?c . ?c rdf:type ontology:Q484652 }
Seychelles
action count
action filter_type
action find
entity Seychelles
relation member of
type international organization
['Seychelles', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Seychelles property:member_of ?c . ?c rdf:type ontology:international_organization }
[]
international organization
SYSTEM
5
Q496967 Q294278 Q7785 Q1065 Q1043527
(Q1042,P463,c(Q484652))
action count
action filter_type
action find
entity Q1042
relation P463
type Q484652
[ANSWER]
['Q1042', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Q1042 property:P463 ?c . ?c rdf:type ontology:Q484652 }
Alliance of Small Island States African, Caribbean and Pacific Group of States Commonwealth of Nations United Nations Multilateral Investment Guarantee Agency
5
action count
action filter_type
action find
entity Seychelles
relation member of
type international organization
['Seychelles', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Seychelles property:member_of ?c . ?c rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q929
P463
Q484652
USER
And how about Central African Republic?
(Q929,P463,c(Q484652))
action count
action filter_type
action find
entity Q929
relation P463
type Q484652
['Q929', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Q929 property:P463 ?t . ?t rdf:type ontology:Q484652 }
Central African Republic
action count
action filter_type
action find
entity Central African Republic
relation member of
type international organization
['Central African Republic', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Central_African_Republic property:member_of ?t . ?t rdf:type ontology:international_organization }
[]
international organization
SYSTEM
3
Q294278 Q1065 Q1043527
(Q929,P463,c(Q484652))
action count
action filter_type
action find
entity Q929
relation P463
type Q484652
[ANSWER]
['Q929', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Q929 property:P463 ?t . ?t rdf:type ontology:Q484652 }
African, Caribbean and Pacific Group of States United Nations Multilateral Investment Guarantee Agency
3
action count
action filter_type
action find
entity Central African Republic
relation member of
type international organization
['Central African Republic', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Central_African_Republic property:member_of ?t . ?t rdf:type ontology:international_organization }
[]