Simple Question (Direct)
Simple Question
Q4749278
P1412
Q34770
USER
Which language is spoken by Amy Lamé ?
(Q4749278,P1412,c(Q34770))
action filter_type
action find
entity Q4749278
relation P1412
type Q34770
['Q4749278', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q4749278 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Amy Lamé
action filter_type
action find
entity Amy Lamé
relation languages spoken, written or signed
type language
['Amy Lamé', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Amy_Lamé property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q4749278,P1412,c(Q34770))
action filter_type
action find
entity Q4749278
relation P1412
type Q34770
Is [ANSWER] is spoken by Amy Lamé
['Q4749278', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q4749278 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
English
Is English is spoken by Amy Lamé
English
action filter_type
action find
entity Amy Lamé
relation languages spoken, written or signed
type language
['Amy Lamé', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Amy_Lamé property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4749278
P140
Q9174
USER
What is the religious affiliation of that person ?
(Q1860,P140,c(Q9174))
action filter_type
action find
entity Q4749278
relation P140
type Q9174
['Q1860', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q9174 . resource:Q4749278 property:P140 ?z }
Amy Lamé
action filter_type
action find
entity Amy Lamé
relation religion
type religion
['English', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:religion . resource:Amy_Lamé property:religion ?z }
[]
religion
Q6423963
SYSTEM
Anglicanism
Q6423963
(Q1860,P140,c(Q9174))
action filter_type
action find
entity Q4749278
relation P140
type Q9174
The religious affiliation of that person is an [ANSWER]
['Q1860', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q9174 . resource:Q4749278 property:P140 ?z }
Anglicanism
The religious affiliation of that person is an Anglicanism
Anglicanism
action filter_type
action find
entity Amy Lamé
relation religion
type religion
['English', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:religion . resource:Amy_Lamé property:religion ?z }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P282
Q9779 Q2001982 Q34770
USER
Which languages use max number of alphabets or notations as the writing system ?
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action argmax
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?y ) WHERE { ?q rdf:type ?p . VALUES ( ?p ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } } GROUP BY ?z } } . { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?l ) WHERE { { ?c property:P282 ?h . ?c rdf:type ontology:Q34770 . ?h rdf:type ontology:Q9779 } UNION { ?c rdf:type ontology:Q34770 . ?h rdf:type ontology:Q2001982 . ?c property:P282 ?h } } GROUP BY ?c } . FILTER ( ?l = ?m ) }
action argmax
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?y ) WHERE { ?q rdf:type ?p . VALUES ( ?p ) { ( ontology:alphabet ) ( ontology:notation ) } } GROUP BY ?z } } . { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?l ) WHERE { { ?c property:writing_system ?h . ?c rdf:type ontology:language . ?h rdf:type ontology:alphabet } UNION { ?c rdf:type ontology:language . ?h rdf:type ontology:notation . ?c property:writing_system ?h } } GROUP BY ?c } . FILTER ( ?l = ?m ) }
[]
alphabet notation language
Q29572
SYSTEM
Avestan
Q29572
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action argmax
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
[ANSWER] use max number of alphabets or notations as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?y ) WHERE { ?q rdf:type ?p . VALUES ( ?p ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } } GROUP BY ?z } } . { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?l ) WHERE { { ?c property:P282 ?h . ?c rdf:type ontology:Q34770 . ?h rdf:type ontology:Q9779 } UNION { ?c rdf:type ontology:Q34770 . ?h rdf:type ontology:Q2001982 . ?c property:P282 ?h } } GROUP BY ?c } . FILTER ( ?l = ?m ) }
Avestan
Avestan use max number of alphabets or notations as the writing system
Avestan
action argmax
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?y ) WHERE { ?q rdf:type ?p . VALUES ( ?p ) { ( ontology:alphabet ) ( ontology:notation ) } } GROUP BY ?z } } . { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?l ) WHERE { { ?c property:writing_system ?h . ?c rdf:type ontology:language . ?h rdf:type ontology:alphabet } UNION { ?c rdf:type ontology:language . ?h rdf:type ontology:notation . ?c property:writing_system ?h } } GROUP BY ?c } . FILTER ( ?l = ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
How many languages are approximately the same number of writing systems the writing system of as that language ?
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q29572
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?l ) WHERE { ?a property:P282 ?b . ?a rdf:type ontology:Q34770 . ?b rdf:type ontology:Q8192 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e rdf:type ontology:Q34770 . resource:Q29572 property:P282 ?e } } . FILTER ( ?l = ?r ) }
action count
action approx
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity Avestan
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?l ) WHERE { ?a property:writing_system ?b . ?a rdf:type ontology:language . ?b rdf:type ontology:writing_system } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e rdf:type ontology:language . resource:Avestan property:writing_system ?e } } . FILTER ( ?l = ?r ) }
[]
writing system language
SYSTEM
56
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q29572
relation P282
type Q34770
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?l ) WHERE { ?a property:P282 ?b . ?a rdf:type ontology:Q34770 . ?b rdf:type ontology:Q8192 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e rdf:type ontology:Q34770 . resource:Q29572 property:P282 ?e } } . FILTER ( ?l = ?r ) }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
56
action count
action approx
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity Avestan
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?l ) WHERE { ?a property:writing_system ?b . ?a rdf:type ontology:language . ?b rdf:type ontology:writing_system } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e rdf:type ontology:language . resource:Avestan property:writing_system ?e } } . FILTER ( ?l = ?r ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11671012 Q4749278
P27
Q15617994
USER
Which administrative territories do Amy Lamé or Kenji Takahashi belong to ?
OR((Q4749278,P27,c(Q15617994)), (Q11671012,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4749278
relation P27
action find
entity Q11671012
relation P27
type Q15617994
{'OR': [['Q4749278', 'P27', {'concept': 'Q15617994'}], ['Q11671012', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?q ) { ( resource:Q4749278 ) ( resource:Q11671012 ) } . ?q property:P27 ?d } . ?d rdf:type ontology:Q15617994 }
Kenji Takahashi Amy Lamé
action filter_type
action union
action find
entity Amy Lamé
relation country of citizenship
action find
entity Kenji Takahashi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Amy Lamé', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kenji Takahashi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?q ) { ( resource:Amy_Lamé ) ( resource:Kenji_Takahashi ) } . ?q property:country_of_citizenship ?d } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q145
SYSTEM
Japan, United Kingdom
Q17 Q145
OR((Q4749278,P27,c(Q15617994)), (Q11671012,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4749278
relation P27
action find
entity Q11671012
relation P27
type Q15617994
Amy Lamé or Kenji Takahashi belong to both [ANSWERS]
{'OR': [['Q4749278', 'P27', {'concept': 'Q15617994'}], ['Q11671012', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?q ) { ( resource:Q4749278 ) ( resource:Q11671012 ) } . ?q property:P27 ?d } . ?d rdf:type ontology:Q15617994 }
Japan United Kingdom
Amy Lamé or Kenji Takahashi belong to both Japan and United Kingdom
Japan United Kingdom
action filter_type
action union
action find
entity Amy Lamé
relation country of citizenship
action find
entity Kenji Takahashi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Amy Lamé', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kenji Takahashi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?q ) { ( resource:Amy_Lamé ) ( resource:Kenji_Takahashi ) } . ?q property:country_of_citizenship ?d } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q115
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with less number of administrative territories than Ethiopia ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q115
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { ?x property:P530 resource:Q115 . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?n < ?o ) }
Ethiopia
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Ethiopia
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 ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { ?x property:diplomatic_relation resource:Ethiopia . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n < ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
103
Q702 Q804 Q800 Q419 Q55 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q792 Q790 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1027 Q1020 Q189 Q842 Q184 Q1029 Q1028 Q736 Q786 Q225 Q221 Q96 Q229 Q902 Q1036 Q1037 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q117 Q754 Q750 Q217 Q214 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q115
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { ?x property:P530 resource:Q115 . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?n < ?o ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad El Salvador Haiti South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Mauritius Malawi Iceland Oman Belarus Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ghana Trinidad and Tobago Bolivia Republic of Moldova Slovakia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia Thailand
103
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Ethiopia
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 ( ?q ) AS ?y ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { ?x property:diplomatic_relation resource:Ethiopia . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n < ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12513323 Q11671012
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Kenji Takahashi or are Selulung present in ?
OR((Q11671012,P27,c(Q15617994)), (Q12513323,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q11671012
relation P27
action find
entity Q12513323
relation P17
type Q15617994
{'OR': [['Q11671012', 'P27', {'concept': 'Q15617994'}], ['Q12513323', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q11671012 property:P27 ?h } UNION { resource:Q12513323 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
Selulung Kenji Takahashi
action filter_type
action union
action find
entity Kenji Takahashi
relation country of citizenship
action find
entity Selulung
relation country
type designation for an administrative territorial entity
{'OR': [['Kenji Takahashi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Selulung', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Kenji_Takahashi property:country_of_citizenship ?h } UNION { resource:Selulung property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q252
SYSTEM
Japan, Indonesia
Q17 Q252
OR((Q11671012,P27,c(Q15617994)), (Q12513323,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q11671012
relation P27
action find
entity Q12513323
relation P17
type Q15617994
[ANSWERS] are the native countriesof Kenji Takahashi or are Selulung present in
{'OR': [['Q11671012', 'P27', {'concept': 'Q15617994'}], ['Q12513323', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q11671012 property:P27 ?h } UNION { resource:Q12513323 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
Japan Indonesia
Japan and Indonesia are the native countriesof Kenji Takahashi or are Selulung present in
Japan Indonesia
action filter_type
action union
action find
entity Kenji Takahashi
relation country of citizenship
action find
entity Selulung
relation country
type designation for an administrative territorial entity
{'OR': [['Kenji Takahashi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Selulung', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Kenji_Takahashi property:country_of_citizenship ?h } UNION { resource:Selulung property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q100094
P530
Q15617994
USER
Do San Felice sul Panaro have diplomatic relations with those ones ?
(Q100094,P530,Q17) (Q100094,P530,Q252)
action is_in
entity prev_answer
action find
entity Q100094
relation P530
['Q100094', 'P530', 'Q17'] ['Q100094', 'P530', 'Q252']
ASK WHERE { resource:Q100094 property:P530 ?z . VALUES ( ?z ) { ( resource:Q17 ) ( resource:Q252 ) } }
San Felice sul Panaro
action is_in
entity prev_answer
action find
entity San Felice sul Panaro
relation diplomatic relation
['San Felice sul Panaro', 'diplomatic relation', 'Japan'] ['San Felice sul Panaro', 'diplomatic relation', 'Indonesia']
ASK WHERE { resource:San_Felice_sul_Panaro property:diplomatic_relation ?z . VALUES ( ?z ) { ( resource:Japan ) ( resource:Indonesia ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q100094,P530,Q17) (Q100094,P530,Q252)
action is_in
entity prev_answer
action find
entity Q100094
relation P530
[ANSWER]
['Q100094', 'P530', 'Q17'] ['Q100094', 'P530', 'Q252']
ASK WHERE { resource:Q100094 property:P530 ?z . VALUES ( ?z ) { ( resource:Q17 ) ( resource:Q252 ) } }
No
action is_in
entity prev_answer
action find
entity San Felice sul Panaro
relation diplomatic relation
['San Felice sul Panaro', 'diplomatic relation', 'Japan'] ['San Felice sul Panaro', 'diplomatic relation', 'Indonesia']
ASK WHERE { resource:San_Felice_sul_Panaro property:diplomatic_relation ?z . VALUES ( ?z ) { ( resource:Japan ) ( resource:Indonesia ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q252 Q5782383
P36
Q56061
USER
Is Pakurpi-ye Sofla the capital of Indonesia ?
(Q252,P36,Q5782383)
action is_in
entity Q5782383
action find
entity Q252
relation P36
['Q252', 'P36', 'Q5782383']
ASK WHERE { resource:Q252 property:P36 resource:Q5782383 }
Indonesia Pakurpi-ye Sofla
action is_in
entity Pakurpi-ye Sofla
action find
entity Indonesia
relation capital
['Indonesia', 'capital', 'Pakurpi-ye Sofla']
ASK WHERE { resource:Indonesia property:capital resource:Pakurpi-ye_Sofla }
[]
administrative territorial entity
SYSTEM
NO
(Q252,P36,Q5782383)
action is_in
entity Q5782383
action find
entity Q252
relation P36
[ANSWER]
['Q252', 'P36', 'Q5782383']
ASK WHERE { resource:Q252 property:P36 resource:Q5782383 }
No
action is_in
entity Pakurpi-ye Sofla
action find
entity Indonesia
relation capital
['Indonesia', 'capital', 'Pakurpi-ye Sofla']
ASK WHERE { resource:Indonesia property:capital resource:Pakurpi-ye_Sofla }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q252
P112
Q484652
USER
Which international organization was started by that administrative territory ?
action filter_type
action find_reverse
entity Q252
relation P112
type Q484652
SELECT DISTINCT ?t WHERE { ?t property:P112 resource:Q252 . ?t rdf:type ontology:Q484652 }
Indonesia
action filter_type
action find_reverse
entity Indonesia
relation founder
type international organization
SELECT DISTINCT ?t WHERE { ?t property:founder resource:Indonesia . ?t rdf:type ontology:international_organization }
[]
international organization
Q7768
SYSTEM
ASEAN
Q7768
action filter_type
action find_reverse
entity Q252
relation P112
type Q484652
The [ANSWER] was started by that administrative territory
SELECT DISTINCT ?t WHERE { ?t property:P112 resource:Q252 . ?t rdf:type ontology:Q484652 }
ASEAN
The ASEAN was started by that administrative territory
ASEAN
action filter_type
action find_reverse
entity Indonesia
relation founder
type international organization
SELECT DISTINCT ?t WHERE { ?t property:founder resource:Indonesia . ?t rdf:type ontology:international_organization }
[]