Simple Question (Direct)
Simple Question
Q91015
P27
Q1048835
USER
Which political territory is the country of citizenship of Hermann Senator ?
(Q91015,P27,c(Q1048835))
action filter_type
action find
entity Q91015
relation P27
type Q1048835
['Q91015', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q91015 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Hermann Senator
action filter_type
action find
entity Hermann Senator
relation country of citizenship
type political territorial entity
['Hermann Senator', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Hermann_Senator property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q91015,P27,c(Q1048835))
action filter_type
action find
entity Q91015
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Hermann Senator
['Q91015', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q91015 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Germany
Germany is the country of citizenship of Hermann Senator
Germany
action filter_type
action find
entity Hermann Senator
relation country of citizenship
type political territorial entity
['Hermann Senator', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Hermann_Senator property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q91015
P512
Q3412758
USER
Which qualification does Hermann Senator hold ?
(Q91015,P512,c(Q3412758))
action filter_type
action find
entity Q91015
relation P512
type Q3412758
['Q91015', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?x WHERE { resource:Q91015 property:P512 ?x . ?x rdf:type ontology:Q3412758 }
Hermann Senator
action filter_type
action find
entity Hermann Senator
relation academic degree
type qualification
['Hermann Senator', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?x WHERE { resource:Hermann_Senator property:academic_degree ?x . ?x rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q91015,P512,c(Q3412758))
action filter_type
action find
entity Q91015
relation P512
type Q3412758
Hermann Senator holds the [ANSWER]
['Q91015', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?x WHERE { resource:Q91015 property:P512 ?x . ?x rdf:type ontology:Q3412758 }
doctoral degree
Hermann Senator holds the doctoral degree
doctoral degree
action filter_type
action find
entity Hermann Senator
relation academic degree
type qualification
['Hermann Senator', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?x WHERE { resource:Hermann_Senator property:academic_degree ?x . ?x rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q91015
P463
Q48204
USER
Which voluntary association had that person as its member ?
(Q849697,P463,c(Q48204))
action filter_type
action find
entity Q91015
relation P463
type Q48204
['Q849697', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?g WHERE { resource:Q91015 property:P463 ?g . ?g rdf:type ontology:Q48204 }
Hermann Senator
action filter_type
action find
entity Hermann Senator
relation member of
type voluntary association
['doctoral degree', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?g WHERE { resource:Hermann_Senator property:member_of ?g . ?g rdf:type ontology:voluntary_association }
[]
voluntary association
Q18912936
SYSTEM
Hellenic Philological Society of Constantinople
Q18912936
(Q849697,P463,c(Q48204))
action filter_type
action find
entity Q91015
relation P463
type Q48204
[ANSWER] had that person as its member
['Q849697', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?g WHERE { resource:Q91015 property:P463 ?g . ?g rdf:type ontology:Q48204 }
Hellenic Philological Society of Constantinople
Hellenic Philological Society of Constantinople had that person as its member
Hellenic Philological Society of Constantinople
action filter_type
action find
entity Hermann Senator
relation member of
type voluntary association
['doctoral degree', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?g WHERE { resource:Hermann_Senator property:member_of ?g . ?g rdf:type ontology:voluntary_association }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q5625424 Q91015
P463
Q48204
USER
And also Albert Dumont
AND((Q91015,P463,c(Q48204)), (Q5625424,P463,c(Q48204)))
action filter_type
action intersection
action find
entity Q91015
relation P463
action find
entity Q5625424
relation P463
type Q48204
{'AND': [['Q91015', 'P463', {'concept': 'Q48204'}], ['Q5625424', 'P463', {'concept': 'Q48204'}]]}
SELECT DISTINCT ?f WHERE { resource:Q91015 property:P463 ?f . resource:Q5625424 property:P463 ?f . ?f rdf:type ontology:Q48204 }
Albert Dumont Hermann Senator
action filter_type
action intersection
action find
entity Hermann Senator
relation member of
action find
entity Albert Dumont
relation member of
type voluntary association
{'AND': [['Hermann Senator', 'member of', {'concept': 'voluntary association'}], ['Albert Dumont', 'member of', {'concept': 'voluntary association'}]]}
SELECT DISTINCT ?f WHERE { resource:Hermann_Senator property:member_of ?f . resource:Albert_Dumont property:member_of ?f . ?f rdf:type ontology:voluntary_association }
[]
voluntary association
Q18912936
SYSTEM
Hellenic Philological Society of Constantinople
Q18912936
AND((Q91015,P463,c(Q48204)), (Q5625424,P463,c(Q48204)))
action filter_type
action intersection
action find
entity Q91015
relation P463
action find
entity Q5625424
relation P463
type Q48204
[ANSWER]
{'AND': [['Q91015', 'P463', {'concept': 'Q48204'}], ['Q5625424', 'P463', {'concept': 'Q48204'}]]}
SELECT DISTINCT ?f WHERE { resource:Q91015 property:P463 ?f . resource:Q5625424 property:P463 ?f . ?f rdf:type ontology:Q48204 }
Hellenic Philological Society of Constantinople
Hellenic Philological Society of Constantinople
action filter_type
action intersection
action find
entity Hermann Senator
relation member of
action find
entity Albert Dumont
relation member of
type voluntary association
{'AND': [['Hermann Senator', 'member of', {'concept': 'voluntary association'}], ['Albert Dumont', 'member of', {'concept': 'voluntary association'}]]}
SELECT DISTINCT ?f WHERE { resource:Hermann_Senator property:member_of ?f . resource:Albert_Dumont property:member_of ?f . ?f rdf:type ontology:voluntary_association }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q26296739 Q183
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Germany and are not 8, Castle Street present in ?
AND((Q183,P530,c(Q15617994)), NOT((Q26296739,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q26296739
relation P17
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q26296739', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?w WHERE { resource:Q183 property:P530 ?w . MINUS { resource:Q26296739 property:P17 ?w } . ?w rdf:type ontology:Q15617994 }
8, Castle Street Germany
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity 8, Castle Street
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['8, Castle Street', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?w WHERE { resource:Germany property:diplomatic_relation ?w . MINUS { resource:8,_Castle_Street property:country ?w } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q233 Q36 Q298 Q258 Q403 Q117 Q20 Q32 Q1032 Q43
SYSTEM
Some of them are Malta, Poland, Chile, South Africa, Serbia, Ghana, Norway, Luxembourg, Niger, Turkey
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
AND((Q183,P530,c(Q15617994)), NOT((Q26296739,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q26296739
relation P17
type Q15617994
[ANSWERS] hold diplomatic relationship with Germany and are not 8, Castle Street present in
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q26296739', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?w WHERE { resource:Q183 property:P530 ?w . MINUS { resource:Q26296739 property:P17 ?w } . ?w rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Malta, Poland, Chile, South Africa, Serbia, Ghana, Norway, Luxembourg, Niger and Turkey hold diplomatic relationship with Germany and are not 8, Castle Street present in
Malta Poland Chile South Africa Serbia Ghana Norway Luxembourg Niger Turkey
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity 8, Castle Street
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['8, Castle Street', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?w WHERE { resource:Germany property:diplomatic_relation ?w . MINUS { resource:8,_Castle_Street property:country ?w } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1032
P163
Q14660
USER
What is associated with that administrative territory ?
(Q1032,P163,c(Q14660))
action filter_type
action find
entity Q1032
relation P163
type Q14660
['Q1032', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?d WHERE { resource:Q1032 property:P163 ?d . ?d rdf:type ontology:Q14660 }
Niger
action filter_type
action find
entity Niger
relation flag
type flag
['Niger', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?d WHERE { resource:Niger property:flag ?d . ?d rdf:type ontology:flag }
[]
flag
Clarification for simple ques.
Q1032
SYSTEM
Did you mean Niger ?
Q233 Q36 Q298 Q258 Q403 Q117 Q20 Q32 Q1032 Q43
(Q233,P163,c(Q14660)) (Q36,P163,c(Q14660)) (Q298,P163,c(Q14660)) (Q258,P163,c(Q14660)) (Q403,P163,c(Q14660)) (Q117,P163,c(Q14660)) (Q20,P163,c(Q14660)) (Q32,P163,c(Q14660)) (Q1032,P163,c(Q14660)) (Q43,P163,c(Q14660))
[ANSWER]
['Q233', 'P163', {'concept': 'Q14660'}] ['Q36', 'P163', {'concept': 'Q14660'}] ['Q298', 'P163', {'concept': 'Q14660'}] ['Q258', 'P163', {'concept': 'Q14660'}] ['Q403', 'P163', {'concept': 'Q14660'}] ['Q117', 'P163', {'concept': 'Q14660'}] ['Q20', 'P163', {'concept': 'Q14660'}] ['Q32', 'P163', {'concept': 'Q14660'}] ['Q1032', 'P163', {'concept': 'Q14660'}] ['Q43', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?d WHERE { resource:Q1032 property:P163 ?d . ?d rdf:type ontology:Q14660 }
Malta Poland Chile South Africa Serbia Ghana Norway Luxembourg Niger Turkey
Did you mean Niger ?
Niger
['Malta', 'flag', {'concept': 'flag'}] ['Poland', 'flag', {'concept': 'flag'}] ['Chile', 'flag', {'concept': 'flag'}] ['South Africa', 'flag', {'concept': 'flag'}] ['Serbia', 'flag', {'concept': 'flag'}] ['Ghana', 'flag', {'concept': 'flag'}] ['Norway', 'flag', {'concept': 'flag'}] ['Luxembourg', 'flag', {'concept': 'flag'}] ['Niger', 'flag', {'concept': 'flag'}] ['Turkey', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?d WHERE { resource:Niger property:flag ?d . ?d rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1032,P163,c(Q14660))
['Q1032', 'P163', {'concept': 'Q14660'}]
['Niger', 'flag', {'concept': 'flag'}]
[]
Q103046
SYSTEM
Flag of Niger
Q103046
(Q1032,P163,c(Q14660))
action filter_type
action find
entity Q1032
relation P163
type Q14660
Niger [ANSWER] is associated with that administrative territory
['Q1032', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?d WHERE { resource:Q1032 property:P163 ?d . ?d rdf:type ontology:Q14660 }
Flag of Niger
Niger Flag of Niger is associated with that administrative territory
Flag of Niger
action filter_type
action find
entity Niger
relation flag
type flag
['Niger', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?d WHERE { resource:Niger property:flag ?d . ?d rdf:type ontology:flag }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P163
Q14660 Q5589178 Q7275
USER
How many flags are associated with approximately the same number of regimes and states as that flag ?
(c(Q5589178)|c(Q7275),P163,c(Q14660))
action count
action approx
action union
action find_reverse_tuple_counts
relation P163
type Q14660
type Q5589178
action find_reverse_tuple_counts
relation P163
type Q14660
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q103046
relation P163
type Q5589178
type Q7275
[[{'concept': 'Q5589178'}, {'concept': 'Q7275'}], 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) ?q WHERE { { ?e property:P163 ?q . ?q rdf:type ontology:Q14660 . ?e rdf:type ontology:Q5589178 } UNION { ?e property:P163 ?q . ?q rdf:type ontology:Q14660 . ?e rdf:type ontology:Q7275 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { { ?i rdf:type ontology:Q5589178 } UNION { ?i rdf:type ontology:Q7275 } } . ?i property:P163 resource:Q103046 } } . FILTER ( ?b = ?t ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation flag
type flag
type regime
action find_reverse_tuple_counts
relation flag
type flag
type state
action count
action filter_multi_types
action find_reverse
entity Flag of Niger
relation flag
type regime
type state
[[{'concept': 'regime'}, {'concept': 'state'}], 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) ?q WHERE { { ?e property:flag ?q . ?q rdf:type ontology:flag . ?e rdf:type ontology:regime } UNION { ?e property:flag ?q . ?q rdf:type ontology:flag . ?e rdf:type ontology:state } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { { ?i rdf:type ontology:regime } UNION { ?i rdf:type ontology:state } } . ?i property:flag resource:Flag_of_Niger } } . FILTER ( ?b = ?t ) }
[]
flag regime state
SYSTEM
307
Q81477 Q225360 Q12188 Q165500 Q171124 Q81471 Q279667 Q159872 Q16611 Q601391 Q41673 Q83392 Q1165949 Q211579 Q184584 Q173548 Q483659 Q102960 Q168935 Q162068 Q270377 Q18983 Q81970 Q42537 Q1426561 Q235445 Q2062018 Q1074327 Q103001 Q133015 Q238759 Q4633 Q130774 Q328889 Q128347 Q131204 Q134521 Q266618 Q102944 Q235829 Q103084 Q642998 Q168912 Q204120 Q127179 Q60149 Q163008 Q75374 Q147776 Q601976 Q252995 Q122462 Q1418784 Q185285 Q26491 Q302382 Q484249 Q165905 Q219726 Q567838 Q156564 Q190064 Q18993 Q600147 Q127974 Q182514 Q181120 Q558375 Q134627 Q495469 Q162699 Q41327 Q258262 Q133022 Q658355 Q618036 Q3039133 Q103019 Q659058 Q172517 Q19427 Q134885 Q204666 Q578054 Q46008 Q170554 Q170555 Q169907 Q132633 Q169903 Q330517 Q283772 Q170795 Q103037 Q19810326 Q36005 Q135014 Q530665 Q173201 Q523638 Q168917 Q83149 Q164584 Q160872 Q369618 Q605195 Q633087 Q524824 Q392167 Q462498 Q81952 Q29074 Q543471 Q652088 Q48409 Q232591 Q124329 Q43175 Q188072 Q160260 Q224972 Q129132 Q160877 Q483774 Q383109 Q162781 Q162980 Q102987 Q59070 Q912854 Q162789 Q130449 Q103055 Q1064042 Q165550 Q102198 Q130442 Q160124 Q168925 Q128480 Q208671 Q134252 Q19016 Q168941 Q79874 Q46835 Q102993 Q512175 Q102939 Q134933 Q121688 Q328895 Q82205 Q42876 Q102184 Q105643 Q284396 Q126622 Q165775 Q82194 Q128812 Q188477 Q492524 Q616325 Q170064 Q160242 Q167584 Q117758 Q170465 Q199621 Q165872 Q33213 Q134874 Q1426630 Q369833 Q1091279 Q127155 Q119605 Q19000 Q131650 Q4575 Q124020 Q34599 Q101769 Q160255 Q48160 Q160250 Q190648 Q174487 Q673117 Q184268 Q103046 Q1856088 Q184265 Q167119 Q81286 Q134247 Q499127 Q245213 Q104351 Q242502 Q163753 Q160425 Q172530 Q131469 Q130481 Q165545 Q188609 Q159741 Q19373 Q1414813 Q43192 Q19374 Q162033 Q1122078 Q169192 Q601206 Q130807 Q130458 Q102977 Q520966 Q135034 Q663111 Q497997 Q241781 Q159538 Q131147 Q178179 Q163333 Q101472 Q202189 Q117347 Q185271 Q185273 Q202610 Q160861 Q103070 Q185277 Q613188 Q103414 Q189612 Q81526 Q82236 Q160676 Q676623 Q301628 Q693558 Q637134 Q492541 Q79198 Q645967 Q370111 Q182782 Q617649 Q245269 Q590821 Q200260 Q285418 Q170814 Q632491 Q102967 Q12990 Q235475 Q30768 Q93335 Q429900 Q19379 Q170289 Q154823 Q159865 Q103447 Q165542 Q165641 Q492546 Q103064 Q586585 Q221881 Q80110 Q33037 Q636719 Q248102 Q609337 Q184596 Q47891 Q81676 Q186226 Q159746 Q184283 Q148199 Q172533 Q159986 Q179383 Q171103 Q173554 Q594095 Q169441 Q45136 Q1426379 Q163832 Q104969 Q170809 Q329280 Q170543 Q204143 Q165811 Q102953 Q165822
(c(Q5589178)|c(Q7275),P163,c(Q14660))
action count
action approx
action union
action find_reverse_tuple_counts
relation P163
type Q14660
type Q5589178
action find_reverse_tuple_counts
relation P163
type Q14660
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q103046
relation P163
type Q5589178
type Q7275
[ANSWER]
[[{'concept': 'Q5589178'}, {'concept': 'Q7275'}], 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) ?q WHERE { { ?e property:P163 ?q . ?q rdf:type ontology:Q14660 . ?e rdf:type ontology:Q5589178 } UNION { ?e property:P163 ?q . ?q rdf:type ontology:Q14660 . ?e rdf:type ontology:Q7275 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { { ?i rdf:type ontology:Q5589178 } UNION { ?i rdf:type ontology:Q7275 } } . ?i property:P163 resource:Q103046 } } . FILTER ( ?b = ?t ) }
Flag of Lithuania Flag of Bulgaria flag of Brittany Flag of Guinea Flag of Guyana Flag of Estonia Flag of the Republic of Adygea Flag of Cameroon flag of Russia flag of Castile-La Mancha flag of India Flag of Algeria Flag of Ontario Flag of Saint Helena Flag of Saint Vincent and the Grenadines Flag of Mauritius Flag of Singapore Flag of Nigeria Flag of Malaysia Flag of Ethiopia Flag of Tokelau Flag of Pennsylvania flag of Hungary flag of the United States of America Flag of the Northwest Territories Flag of Norfolk Island flag of Yukon flag of Tasmania Flag of Malawi Flag of Croatia Flag of Macau Flag of Cyprus flag of Argentina Flag of the Northern Mariana Islands Flag of Pakistan Flag of Vietnam Flag of Bhutan Flag of Prince Edward Island flag of Cape Verde flag of Guam Flag of Burundi Flag of New Mexico Flag of Sierra Leone Flag of the British Virgin Islands flag of Bangladesh Flag of Denmark Flag of Cuba Flag of the Solomon Islands Flag of the Komi Republic Flag of Nova Scotia flag of the Australian Capital Territory flag of Mexico Flag of New Brunswick Flag of Vanuatu Flag of Georgia Flag of Kabardino-Balkaria Flag of Mozambique flag of Kenya Flag of Hawaii flag of South Dakota flag of Alaska Flag of Bermuda Flag of Virginia Flag of the City of Madrid Flag of Ukraine Flag of Fiji Flag of Saint Kitts and Nevis flag of Brandenburg flag of the Philippines flag of Lower Saxony Flag of Yemen flag of Turkmenistan Flag of Oklahoma flag of Luxembourg flag of Tyumen Oblast Flag of Toronto Flag of Rhodesia Flag of Madagascar flag of Paris Flag of Jamaica flag of Oregon flag of Thailand Flag of US Virgin Islands Flag of Karachay-Cherkessia flag of Laos flag of Equatorial Guinea Flag of Eritrea Flag of São Tomé and Príncipe flag of Belarus Flag of Mali Flag of California Flag of Gagauzia Flag of Liberia Flag of Uganda flag of Dzisna flag of Lebanon Flag of the Gambia flag of Orkney Flag of the Seychelles Flag of Kalmykia Flag of Comoros flag of Norway Flag of the Democratic Republic of the Congo flag of Chile flag of Shetland Flag of Tennessee Flag of Montana Flag of Vermont flag of Quebec Flag of Tatarstan flag of Turkey Flag of the Latvian Soviet Socialist Republic Flag of the Region of Murcia Flag of Krasnodar Krai flag of Albania Flag of French Polynesia Flag of Angola Flag of Japan Flag of Tonga flag of New Zealand Flag of the Canary Islands flag of Greece Flag of Saudi Arabia Flag of Uzbekistan Flag of Queensland flag of Iraq Flag of Montenegro Flag of Haiti Flag of the Republic of Mordovia flag of South Australia Flag of Tunisia Flag of Latvia flag of Liechtenstein flag of New South Wales Flag of Oman Flag of Sudan flag of Benin Flag of Tajikistan Flag of San Marino flag of Israel Flag of Iraqi Kurdistan Flag of Burkina Faso flag of New York flag of Panama flag of Afghanistan flag of Austria Flag of Swaziland Flag of Manitoba Flag of Honduras Flag of Senegal flag of Spain Flag of the Cocos (Keeling) Islands flag of Ireland Flag of Italy Flag of Djibouti Flag of Tuvalu Flag of Kansas Flag of Iran Flag of the Central African Republic flag of Brazil Flag of Portugal flag of Samoa Flag of Wyoming Flag of Rio Grande do Sul Flag of Jordan flag of Botswana Flag of Moldova Flag of Kiribati flag of Paraguay Flag of Abkhazia Flag of Brunei flag of Armenia Flag of Bolivia Flag of Nunavut Flag of Arkansas flag of Western Australia flag of the Czech Republic Flag of New Jersey Flag of Texas flag of Kazakhstan Flag of the Faroe Islands flag of Switzerland Flag of Libya Flag of Gabon flag of Peru flag of Germany flag of South Africa Flag of the Federated States of Micronesia flag of the Cayman Islands Flag of Indiana flag of Greenland Flag of Niger Flag of Rotterdam Flag of Dominican Republic Flag of the Republic of Macedonia flag of Sweden Flag of the United Arab Emirates Flag of Maine Flag of South Georgia and the South Sandwich Islands Flag of Barbados Flag of American Samoa Flag of Burma flag of Colombia flag of Qatar flag of Malta Flag of Bahrain flag of Kuwait Flag of Palau flag of Nepal Flag of South Carolina Flag of New York City Flag of France Flag of Louisiana flag of Bosnia and Herzegovina Flag of Alberta flag of Belize Flag of Tuva flag of Slovenia flag of Egypt Flag of Mauritania Flag of Rhode Island Flag of Antigua and Barbuda flag of Mecklenburg-Vorpommern Flag of Alabama Flag of Madeira Flag of Somalia Flag of the People's Republic of China Flag of Guatemala Flag of the Republic of the Congo Flag of Indonesia Flag of Niue Flag of Ulster Flag of Papua New Guinea Flag of the Falkland Islands flag of Åland Flag of Slovakia Flag of Togo Flag of Nauru Flag of the Chuvash Republic Flag of Grenada Flag of Jersey flag of Andorra Flag of Azerbaijan Flag of Ghana Flag of Georgia Flag of Mississippi flag of Saskatchewan flag of British Columbia flag of Iowa Flag of Vatican City flag of Hamburg Flag of the Federation of Bosnia and Herzegovina Flag of South Sudan flag of Wallonia flag of Montserrat Flag of Kentucky Flag of the Marshall Islands Flag of Michigan Flag of Zambia Flag of Arizona Flag of Ivory Coast flag of Belgium Ikurriña flag of East Timor Flag of Iceland Flag of Saba Flag of North Carolina Flag of Costa Rica Flag of Sri Lanka Flag of Morocco Flag of the Bahamas flag of Ecuador flag of Kyrgyzstan Flag of Colorado Flag of North Korea Flag of Buenos Aires Flag of Massachusetts flag of Canada Flag of Gibraltar Flag of Newfoundland and Labrador Flag of New Hampshire Flag of Chechnya Flag of Saint Lucia Flag of Finland flag of Australia flag of the Isle of Man Flag of Monaco Flag of Trinidad and Tobago Flag of Thuringia flag of Nicaragua Flag of Zimbabwe Flag of Dominica Flag of Uruguay flag of El Salvador flag of Sverdlovsk Oblast Flag of the Maldives Flag of Syria Flag of Amsterdam Flag of Serbia Flag of Lesotho Flag of Tanzania Flag of the British Indian Ocean Territory flag of Rwanda Flag of the Turks and Caicos Islands flag of Chad Flag of Guinea-Bissau flag of Namibia
307
action count
action approx
action union
action find_reverse_tuple_counts
relation flag
type flag
type regime
action find_reverse_tuple_counts
relation flag
type flag
type state
action count
action filter_multi_types
action find_reverse
entity Flag of Niger
relation flag
type regime
type state
[[{'concept': 'regime'}, {'concept': 'state'}], 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) ?q WHERE { { ?e property:flag ?q . ?q rdf:type ontology:flag . ?e rdf:type ontology:regime } UNION { ?e property:flag ?q . ?q rdf:type ontology:flag . ?e rdf:type ontology:state } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { { ?i rdf:type ontology:regime } UNION { ?i rdf:type ontology:state } } . ?i property:flag resource:Flag_of_Niger } } . FILTER ( ?b = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q884
P840
Q15617994 Q15416 Q166142
USER
How many administrative territories are less number of television programs and applications set in than South Korea ?
(c(Q15416)|c(Q166142),P840,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q884
relation P840
type Q15416
type Q166142
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:P840 resource:Q884 . { VALUES ( ?d ) { ( ontology:Q166142 ) ( ontology:Q15416 ) } . ?p rdf:type ?d } } } . FILTER ( ?y < ?z ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?k WHERE { { ?i property:P840 ?k . ?k rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15416 } UNION { ?i property:P840 ?k . ?i rdf:type ontology:Q166142 . ?k rdf:type ontology:Q15617994 } } GROUP BY ?k } }
South Korea
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity South Korea
relation narrative location
type television program
type application
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:narrative_location resource:South_Korea . { VALUES ( ?d ) { ( ontology:application ) ( ontology:television_program ) } . ?p rdf:type ?d } } } . FILTER ( ?y < ?z ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?k WHERE { { ?i property:narrative_location ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:television_program } UNION { ?i property:narrative_location ?k . ?i rdf:type ontology:application . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?k } }
[]
designation for an administrative territorial entity television program application
SYSTEM
129
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q1948 Q262 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q790 Q794 Q881 Q858 Q419 Q165040 Q822 Q232782 Q244 Q1974 Q490398 Q12515 Q37 Q34 Q928 Q58477 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q159689 Q298 Q114 Q41158 Q750 Q212 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q869 Q6247
(c(Q15416)|c(Q166142),P840,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q884
relation P840
type Q15416
type Q166142
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:P840 resource:Q884 . { VALUES ( ?d ) { ( ontology:Q166142 ) ( ontology:Q15416 ) } . ?p rdf:type ?d } } } . FILTER ( ?y < ?z ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?k WHERE { { ?i property:P840 ?k . ?k rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15416 } UNION { ?i property:P840 ?k . ?i rdf:type ontology:Q166142 . ?k rdf:type ontology:Q15617994 } } GROUP BY ?k } }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime Manitoba Algeria Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Haiti Iran Vietnam Syria Peru Duchy of Parma Lebanon Portofino Barbados British Columbia Peenemünde Gard Lithuania Sweden Philippines Capua North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Thailand Mantua
129
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity South Korea
relation narrative location
type television program
type application
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:narrative_location resource:South_Korea . { VALUES ( ?d ) { ( ontology:application ) ( ontology:television_program ) } . ?p rdf:type ?d } } } . FILTER ( ?y < ?z ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?k WHERE { { ?i property:narrative_location ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:television_program } UNION { ?i property:narrative_location ?k . ?i rdf:type ontology:application . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?k } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q258
P915
Q838948 Q15416
USER
How many works of art or television programs had South Africa as their location of filming ?
(c(Q838948),P915,Q258) (c(Q15416),P915,Q258)
action count
action union
action filter_type
action find_reverse
entity Q258
relation P915
type Q838948
action filter_type
action find_reverse
entity Q258
relation P915
type Q15416
[{'concept': 'Q838948'}, 'P915', 'Q258'] [{'concept': 'Q15416'}, 'P915', 'Q258']
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { ?i property:P915 resource:Q258 . ?i rdf:type ontology:Q15416 } UNION { ?i property:P915 resource:Q258 . ?i rdf:type ontology:Q838948 } }
South Africa
action count
action union
action filter_type
action find_reverse
entity South Africa
relation filming location
type work of art
action filter_type
action find_reverse
entity South Africa
relation filming location
type television program
[{'concept': 'work of art'}, 'filming location', 'South Africa'] [{'concept': 'television program'}, 'filming location', 'South Africa']
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { ?i property:filming_location resource:South_Africa . ?i rdf:type ontology:television_program } UNION { ?i property:filming_location resource:South_Africa . ?i rdf:type ontology:work_of_art } }
[]
work of art television program
SYSTEM
122
Q2270457 Q2146364 Q6028571 Q7417528 Q14948575 Q4905679 Q18387990 Q3145200 Q6491585 Q3488756 Q201819 Q5312185 Q6929374 Q6377900 Q3208496 Q4952062 Q501749 Q4739826 Q14595113 Q19263522 Q1139072 Q228867 Q649542 Q1581710 Q5270911 Q464296 Q18149766 Q728488 Q3181773 Q217232 Q2804921 Q3228200 Q4763086 Q1217115 Q1165832 Q1425685 Q1946639 Q3392374 Q934739 Q1218876 Q3279588 Q2438619 Q1757288 Q64211 Q2767704 Q20707362 Q7581472 Q6037477 Q5035192 Q151647 Q3413700 Q74958 Q2141815 Q670551 Q276772 Q1165633 Q493416 Q2826737 Q4462839 Q3667104 Q903889 Q694040 Q4659177 Q5160017 Q12124611 Q946562 Q16983310 Q2271959 Q17017975 Q25393783 Q18128126 Q7547798 Q443706 Q1431154 Q13522800 Q3599665 Q6937639 Q4764070 Q3429553 Q6956542 Q15922020 Q14171368 Q15922024 Q20921603 Q5771922 Q1087883 Q3627717 Q647665 Q12118080 Q4937235 Q926620 Q2928239 Q2843968 Q730857 Q5393140 Q3625426 Q14497449 Q17182419 Q4662712 Q14371870 Q7755051 Q517398 Q7197897 Q4849356 Q5216029 Q7727999 Q12126954 Q689842 Q7739344 Q15040850 Q2467397 Q571583 Q1630263 Q1050558 Q19007160 Q253260 Q4999879 Q1383269 Q15079344 Q6145499 Q7050038 Q19007169
(c(Q838948),P915,Q258) (c(Q15416),P915,Q258)
action count
action union
action filter_type
action find_reverse
entity Q258
relation P915
type Q838948
action filter_type
action find_reverse
entity Q258
relation P915
type Q15416
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q258'] [{'concept': 'Q15416'}, 'P915', 'Q258']
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { ?i property:P915 resource:Q258 . ?i rdf:type ontology:Q15416 } UNION { ?i property:P915 resource:Q258 . ?i rdf:type ontology:Q838948 } }
Prey Lost Boys: The Thirst Inescapable Sandy the Seal Kite Big Fellas Khamoshiyan Outlaw of Gor Singam II Tarzan and the Lost City District 9 Duel in the Jungle Mr Bones 2: Back from the Past Katrina Natalee Holloway Boy Called Twist Paco Amandla!: A Revolution in Four-Part Harmony Young Ones Bear Grylls: Mission Survive The Scorpion King 2: Rise of a Warrior Zulu Goodbye Bafana The Last House on the Left Diamond Safari American Ninja 3: Blood Hunt Eye in the Sky The Ghost and the Darkness The Cape Town Affair 24: Redemption Surviving Evil Flight of the Storks Angels in the Dust Victim Five Darfur The Dinosaur Project Duma Cry, the Beloved Country Safe House Zulu Dawn Untamed Death Drums Along the River Mad Max: Fury Road The Wild Geese Free Willy: Escape from Pirate's Cove The Crown Spud Inside Cape of Good Hope Killer Force Aitraaz Blood Diamond U-Carmen eKhayelitsha Death Race 2 Dredd Racing Stripes Animals Are Beautiful People Agent Vinod Jonestown: Paradise Lost Kill or Be Killed The Deal Flatfoot in Africa A Reasonable Man Confessions of a Gambler The Good Lie Home Alone 4 Avenger Target of an Assassin Diamond Girl Labyrinth Mohenjo Daro Sniper: Reloaded The Lost Future Project Shadowchaser II Blended The Jackals Murder 3 Angus Buchan's Ordinary People Avvai Shanmughi Naam Iruvar Namakku Iruvar More than Just a Game Avengers: Age of Ultron Tiger House Queen of Katwe His Big White Self Chronicle Cocktail The Gods Must Be Crazy Ernest in the Army Boesman and Lena House of the Living Dead Bunny Chow Come Back, Africa Ask the Dust Ernest Goes to Africa Project Shadowchaser IV Winnie Mandela The Brothers Grimsby Aashiqui 2 The Salvation The One That Got Away Dhoom 2 Pirates of the Plain Bakgat Danger Zone The Creators Prisoners of the Lost Universe Invictus The Hellions Murder Allan Quatermain and the Temple of Skulls Laser Mission The Bone Snatcher Catch a Fire AmaZulu: The Children of Heaven There's a Zulu On My Stoep Burning Rubber Ex The Giver The Wooden Camera Nor the Moon by Night Bafana
122
action count
action union
action filter_type
action find_reverse
entity South Africa
relation filming location
type work of art
action filter_type
action find_reverse
entity South Africa
relation filming location
type television program
[{'concept': 'work of art'}, 'filming location', 'South Africa'] [{'concept': 'television program'}, 'filming location', 'South Africa']
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { ?i property:filming_location resource:South_Africa . ?i rdf:type ontology:television_program } UNION { ?i property:filming_location resource:South_Africa . ?i rdf:type ontology:work_of_art } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3553466 Q26296739
P17
Q15617994
USER
Which administrative territories are 8, Castle Street or Valabetokana situated in ?
OR((Q26296739,P17,c(Q15617994)), (Q3553466,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q26296739
relation P17
action find
entity Q3553466
relation P17
type Q15617994
{'OR': [['Q26296739', 'P17', {'concept': 'Q15617994'}], ['Q3553466', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q26296739 property:P17 ?y } UNION { resource:Q3553466 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Valabetokana 8, Castle Street
action filter_type
action union
action find
entity 8, Castle Street
relation country
action find
entity Valabetokana
relation country
type designation for an administrative territorial entity
{'OR': [['8, Castle Street', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Valabetokana', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:8,_Castle_Street property:country ?y } UNION { resource:Valabetokana property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1019 Q145
SYSTEM
Madagascar, United Kingdom
Q1019 Q145
OR((Q26296739,P17,c(Q15617994)), (Q3553466,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q26296739
relation P17
action find
entity Q3553466
relation P17
type Q15617994
8 , Castle Street or Valabetokana are situated in [ANSWERS]
{'OR': [['Q26296739', 'P17', {'concept': 'Q15617994'}], ['Q3553466', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q26296739 property:P17 ?y } UNION { resource:Q3553466 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Madagascar United Kingdom
8 , Castle Street or Valabetokana are situated in Madagascar and United Kingdom
Madagascar United Kingdom
action filter_type
action union
action find
entity 8, Castle Street
relation country
action find
entity Valabetokana
relation country
type designation for an administrative territorial entity
{'OR': [['8, Castle Street', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Valabetokana', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:8,_Castle_Street property:country ?y } UNION { resource:Valabetokana property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q478998
P530
Q1048835
USER
Do Bokhorst have diplomatic relations with those administrative territories ?
(Q478998,P530,Q1019) (Q478998,P530,Q145)
action is_in
entity prev_answer
action find
entity Q478998
relation P530
['Q478998', 'P530', 'Q1019'] ['Q478998', 'P530', 'Q145']
ASK WHERE { resource:Q478998 property:P530 ?g . VALUES ( ?g ) { ( resource:Q1019 ) ( resource:Q145 ) } }
Bokhorst
action is_in
entity prev_answer
action find
entity Bokhorst
relation diplomatic relation
['Bokhorst', 'diplomatic relation', 'Madagascar'] ['Bokhorst', 'diplomatic relation', 'United Kingdom']
ASK WHERE { resource:Bokhorst property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Madagascar ) ( resource:United_Kingdom ) } }
[]
political territorial entity
SYSTEM
NO
(Q478998,P530,Q1019) (Q478998,P530,Q145)
action is_in
entity prev_answer
action find
entity Q478998
relation P530
[ANSWER]
['Q478998', 'P530', 'Q1019'] ['Q478998', 'P530', 'Q145']
ASK WHERE { resource:Q478998 property:P530 ?g . VALUES ( ?g ) { ( resource:Q1019 ) ( resource:Q145 ) } }
No
action is_in
entity prev_answer
action find
entity Bokhorst
relation diplomatic relation
['Bokhorst', 'diplomatic relation', 'Madagascar'] ['Bokhorst', 'diplomatic relation', 'United Kingdom']
ASK WHERE { resource:Bokhorst property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Madagascar ) ( resource:United_Kingdom ) } }
[]