Simple Question (Direct)
Simple Question
Q5981842
P20
Q13220204
USER
Where did the demise of Lucas Caballero Barrera occur ?
(Q5981842,P20,c(Q13220204))
action filter_type
action find
entity Q5981842
relation P20
type Q13220204
['Q5981842', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?a WHERE { resource:Q5981842 property:P20 ?a . ?a rdf:type ontology:Q13220204 }
Lucas Caballero Barrera
action filter_type
action find
entity Lucas Caballero Barrera
relation place of death
type second-level administrative country subdivision
['Lucas Caballero Barrera', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?a WHERE { resource:Lucas_Caballero_Barrera property:place_of_death ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q2841
SYSTEM
Bogotá
Q2841
(Q5981842,P20,c(Q13220204))
action filter_type
action find
entity Q5981842
relation P20
type Q13220204
The demise of Lucas Caballero Barrera occurred in [ANSWER]
['Q5981842', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?a WHERE { resource:Q5981842 property:P20 ?a . ?a rdf:type ontology:Q13220204 }
Bogotá
The demise of Lucas Caballero Barrera occurred in Bogotá
Bogotá
action filter_type
action find
entity Lucas Caballero Barrera
relation place of death
type second-level administrative country subdivision
['Lucas Caballero Barrera', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?a WHERE { resource:Lucas_Caballero_Barrera property:place_of_death ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5981842
P19
Q13220204
USER
Which administrative country subdivision is the place of birth of Lucas Caballero Barrera ?
(Q5981842,P19,c(Q13220204))
action filter_type
action find
entity Q5981842
relation P19
type Q13220204
['Q5981842', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?g WHERE { resource:Q5981842 property:P19 ?g . ?g rdf:type ontology:Q13220204 }
Lucas Caballero Barrera
action filter_type
action find
entity Lucas Caballero Barrera
relation place of birth
type second-level administrative country subdivision
['Lucas Caballero Barrera', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?g WHERE { resource:Lucas_Caballero_Barrera property:place_of_birth ?g . ?g rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q2434325
SYSTEM
Suaita
Q2434325
(Q5981842,P19,c(Q13220204))
action filter_type
action find
entity Q5981842
relation P19
type Q13220204
[ANSWER] is the place of birth of Lucas Caballero Barrera
['Q5981842', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?g WHERE { resource:Q5981842 property:P19 ?g . ?g rdf:type ontology:Q13220204 }
Suaita
Suaita is the place of birth of Lucas Caballero Barrera
Suaita
action filter_type
action find
entity Lucas Caballero Barrera
relation place of birth
type second-level administrative country subdivision
['Lucas Caballero Barrera', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?g WHERE { resource:Lucas_Caballero_Barrera property:place_of_birth ?g . ?g rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5981842
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q2434325,P102,c(Q7210356))
action filter_type
action find
entity Q5981842
relation P102
type Q7210356
['Q2434325', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7210356 . resource:Q5981842 property:P102 ?n }
Lucas Caballero Barrera
action filter_type
action find
entity Lucas Caballero Barrera
relation member of political party
type political organization
['Suaita', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_organization . resource:Lucas_Caballero_Barrera property:member_of_political_party ?n }
[]
political organization
Q939021
SYSTEM
Colombian Liberal Party
Q939021
(Q2434325,P102,c(Q7210356))
action filter_type
action find
entity Q5981842
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q2434325', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7210356 . resource:Q5981842 property:P102 ?n }
Colombian Liberal Party
That person is affiliated with Colombian Liberal Party
Colombian Liberal Party
action filter_type
action find
entity Lucas Caballero Barrera
relation member of political party
type political organization
['Suaita', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_organization . resource:Lucas_Caballero_Barrera property:member_of_political_party ?n }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19301583 Q5981842
P27
Q15617994
USER
Which administrative territories are Lucas Caballero Barrera or Pere Serra i Gonzàlez an inhabitant of ?
OR((Q5981842,P27,c(Q15617994)), (Q19301583,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5981842
relation P27
action find
entity Q19301583
relation P27
type Q15617994
{'OR': [['Q5981842', 'P27', {'concept': 'Q15617994'}], ['Q19301583', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:P27 ?o . VALUES ( ?q ) { ( resource:Q5981842 ) ( resource:Q19301583 ) } } . ?o rdf:type ontology:Q15617994 }
Pere Serra i Gonzàlez Lucas Caballero Barrera
action filter_type
action union
action find
entity Lucas Caballero Barrera
relation country of citizenship
action find
entity Pere Serra i Gonzàlez
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Lucas Caballero Barrera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pere Serra i Gonzàlez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:country_of_citizenship ?o . VALUES ( ?q ) { ( resource:Lucas_Caballero_Barrera ) ( resource:Pere_Serra_i_Gonzàlez ) } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739 Q29
SYSTEM
Colombia, Spain
Q739 Q29
OR((Q5981842,P27,c(Q15617994)), (Q19301583,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5981842
relation P27
action find
entity Q19301583
relation P27
type Q15617994
[ANSWERS] are Lucas Caballero Barrera or Pere Serra i Gonzàlez an inhabitant of
{'OR': [['Q5981842', 'P27', {'concept': 'Q15617994'}], ['Q19301583', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:P27 ?o . VALUES ( ?q ) { ( resource:Q5981842 ) ( resource:Q19301583 ) } } . ?o rdf:type ontology:Q15617994 }
Colombia Spain
Colombia and Spain are Lucas Caballero Barrera or Pere Serra i Gonzàlez an inhabitant of
Colombia Spain
action filter_type
action union
action find
entity Lucas Caballero Barrera
relation country of citizenship
action find
entity Pere Serra i Gonzàlez
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Lucas Caballero Barrera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pere Serra i Gonzàlez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:country_of_citizenship ?o . VALUES ( ?q ) { ( resource:Lucas_Caballero_Barrera ) ( resource:Pere_Serra_i_Gonzàlez ) } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5850479
P27
Q502895
USER
Are Eugenio Fernández de Alvarado civilians of those administrative territories ?
(Q5850479,P27,Q739) (Q5850479,P27,Q29)
action is_in
entity prev_answer
action find
entity Q5850479
relation P27
['Q5850479', 'P27', 'Q739'] ['Q5850479', 'P27', 'Q29']
ASK WHERE { VALUES ( ?u ) { ( resource:Q739 ) ( resource:Q29 ) } . resource:Q5850479 property:P27 ?u }
Eugenio Fernández de Alvarado
action is_in
entity prev_answer
action find
entity Eugenio Fernández de Alvarado
relation country of citizenship
['Eugenio Fernández de Alvarado', 'country of citizenship', 'Colombia'] ['Eugenio Fernández de Alvarado', 'country of citizenship', 'Spain']
ASK WHERE { VALUES ( ?u ) { ( resource:Colombia ) ( resource:Spain ) } . resource:Eugenio_Fernández_de_Alvarado property:country_of_citizenship ?u }
[]
common name
SYSTEM
YES
(Q5850479,P27,Q739) (Q5850479,P27,Q29)
action is_in
entity prev_answer
action find
entity Q5850479
relation P27
[ANSWER]
['Q5850479', 'P27', 'Q739'] ['Q5850479', 'P27', 'Q29']
ASK WHERE { VALUES ( ?u ) { ( resource:Q739 ) ( resource:Q29 ) } . resource:Q5850479 property:P27 ?u }
Yes
action is_in
entity prev_answer
action find
entity Eugenio Fernández de Alvarado
relation country of citizenship
['Eugenio Fernández de Alvarado', 'country of citizenship', 'Colombia'] ['Eugenio Fernández de Alvarado', 'country of citizenship', 'Spain']
ASK WHERE { VALUES ( ?u ) { ( resource:Colombia ) ( resource:Spain ) } . resource:Eugenio_Fernández_de_Alvarado property:country_of_citizenship ?u }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5981842 Q739
P27
Q15617994
USER
Does that person belong to Colombia ?
(Q5981842,P27,Q739)
action is_in
entity Q739
action find
entity Q5981842
relation P27
['Q5981842', 'P27', 'Q739']
ASK WHERE { resource:Q5981842 property:P27 resource:Q739 }
Lucas Caballero Barrera Colombia
action is_in
entity Colombia
action find
entity Lucas Caballero Barrera
relation country of citizenship
['Lucas Caballero Barrera', 'country of citizenship', 'Colombia']
ASK WHERE { resource:Lucas_Caballero_Barrera property:country_of_citizenship resource:Colombia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q5981842,P27,Q739)
action is_in
entity Q739
action find
entity Q5981842
relation P27
[ANSWER]
['Q5981842', 'P27', 'Q739']
ASK WHERE { resource:Q5981842 property:P27 resource:Q739 }
Yes
action is_in
entity Colombia
action find
entity Lucas Caballero Barrera
relation country of citizenship
['Lucas Caballero Barrera', 'country of citizenship', 'Colombia']
ASK WHERE { resource:Lucas_Caballero_Barrera property:country_of_citizenship resource:Colombia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relations with exactly 1 administrative territory ?
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?f ) WHERE { ?v property:P530 ?k . ?v rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?f = 1 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?f ) WHERE { ?v property:diplomatic_relation ?k . ?v rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?f = 1 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
4
Q1000 Q781 Q778 Q769
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?f ) WHERE { ?v property:P530 ?k . ?v rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?f = 1 ) }
Gabon Antigua and Barbuda The Bahamas Grenada
4
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?f ) WHERE { ?v property:diplomatic_relation ?k . ?v rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?f = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q28
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with around the same number of administrative territories as Hungary ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q28
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?y ) WHERE { ?g property:P530 ?p . ?g rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?p } . FILTER ( ?y = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { ?f rdf:type ontology:Q15617994 . resource:Q28 property:P530 ?f } } }
Hungary
action approx
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
entity Hungary
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 ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?y ) WHERE { ?g property:diplomatic_relation ?p . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?y = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hungary property:diplomatic_relation ?f } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q28
relation P530
type Q15617994
[ANSWERS] have a diplomatic relationship with around the same number of administrative territories as Hungary
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?y ) WHERE { ?g property:P530 ?p . ?g rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?p } . FILTER ( ?y = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { ?f rdf:type ontology:Q15617994 . resource:Q28 property:P530 ?f } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia, Netherlands and Poland have a diplomatic relationship with around the same number of administrative territories as Hungary
Georgia Netherlands Poland
action approx
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
entity Hungary
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 ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?y ) WHERE { ?g property:diplomatic_relation ?p . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?y = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hungary property:diplomatic_relation ?f } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q843
P530
Q15617994 Q15617994
USER
And what about Pakistan?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q843
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?v ) WHERE { ?k rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 . ?i property:P530 ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q843 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?v = ?s ) }
Pakistan
action approx
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
entity Pakistan
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 ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?v ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:diplomatic_relation ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Pakistan property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v = ?s ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q843
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?v ) WHERE { ?k rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 . ?i property:P530 ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q843 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?v = ?s ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands Poland
action approx
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
entity Pakistan
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 ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?v ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:diplomatic_relation ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Pakistan property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v = ?s ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q8560899
P530
Q1048835
USER
Do Pataz District have diplomatic associations with those administrative territories ?
(Q8560899,P530,Q230) (Q8560899,P530,Q55) (Q8560899,P530,Q36)
action is_in
entity prev_answer
action find
entity Q8560899
relation P530
['Q8560899', 'P530', 'Q230'] ['Q8560899', 'P530', 'Q55'] ['Q8560899', 'P530', 'Q36']
ASK WHERE { VALUES ( ?l ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } . resource:Q8560899 property:P530 ?l }
Pataz District
action is_in
entity prev_answer
action find
entity Pataz District
relation diplomatic relation
['Pataz District', 'diplomatic relation', 'Georgia'] ['Pataz District', 'diplomatic relation', 'Netherlands'] ['Pataz District', 'diplomatic relation', 'Poland']
ASK WHERE { VALUES ( ?l ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } . resource:Pataz_District property:diplomatic_relation ?l }
[]
political territorial entity
SYSTEM
NO
(Q8560899,P530,Q230) (Q8560899,P530,Q55) (Q8560899,P530,Q36)
action is_in
entity prev_answer
action find
entity Q8560899
relation P530
[ANSWER]
['Q8560899', 'P530', 'Q230'] ['Q8560899', 'P530', 'Q55'] ['Q8560899', 'P530', 'Q36']
ASK WHERE { VALUES ( ?l ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } . resource:Q8560899 property:P530 ?l }
No
action is_in
entity prev_answer
action find
entity Pataz District
relation diplomatic relation
['Pataz District', 'diplomatic relation', 'Georgia'] ['Pataz District', 'diplomatic relation', 'Netherlands'] ['Pataz District', 'diplomatic relation', 'Poland']
ASK WHERE { VALUES ( ?l ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } . resource:Pataz_District property:diplomatic_relation ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2434325
P17
Q15617994
USER
Which administrative territory is Suaita present in ?
(Q2434325,P17,c(Q15617994))
action filter_type
action find
entity Q2434325
relation P17
type Q15617994
['Q2434325', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q2434325 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Suaita
action filter_type
action find
entity Suaita
relation country
type designation for an administrative territorial entity
['Suaita', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Suaita property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739
SYSTEM
Colombia
Q739
(Q2434325,P17,c(Q15617994))
action filter_type
action find
entity Q2434325
relation P17
type Q15617994
Suaita is in [ANSWER]
['Q2434325', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q2434325 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Colombia
Suaita is in Colombia
Colombia
action filter_type
action find
entity Suaita
relation country
type designation for an administrative territorial entity
['Suaita', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Suaita property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]