Simple Question (Direct)
Simple Question
Q715042
P1196
Q1914636
USER
What situation did Veríssimo Correia Seabra die in ?
(Q715042,P1196,c(Q1914636))
action filter_type
action find
entity Q715042
relation P1196
type Q1914636
['Q715042', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?w WHERE { resource:Q715042 property:P1196 ?w . ?w rdf:type ontology:Q1914636 }
Veríssimo Correia Seabra
action filter_type
action find
entity Veríssimo Correia Seabra
relation manner of death
type activity
['Veríssimo Correia Seabra', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?w WHERE { resource:Veríssimo_Correia_Seabra property:manner_of_death ?w . ?w rdf:type ontology:activity }
[]
activity
Q149086
SYSTEM
homicide
Q149086
(Q715042,P1196,c(Q1914636))
action filter_type
action find
entity Q715042
relation P1196
type Q1914636
Veríssimo Correia Seabra died in [ANSWER]
['Q715042', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?w WHERE { resource:Q715042 property:P1196 ?w . ?w rdf:type ontology:Q1914636 }
homicide
Veríssimo Correia Seabra died in homicide
homicide
action filter_type
action find
entity Veríssimo Correia Seabra
relation manner of death
type activity
['Veríssimo Correia Seabra', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?w WHERE { resource:Veríssimo_Correia_Seabra property:manner_of_death ?w . ?w rdf:type ontology:activity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q715042
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q149086,P27,c(Q15617994))
action filter_type
action find
entity Q715042
relation P27
type Q15617994
['Q149086', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q715042 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Veríssimo Correia Seabra
action filter_type
action find
entity Veríssimo Correia Seabra
relation country of citizenship
type designation for an administrative territorial entity
['homicide', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Veríssimo_Correia_Seabra property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1007
SYSTEM
Guinea-Bissau
Q1007
(Q149086,P27,c(Q15617994))
action filter_type
action find
entity Q715042
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q149086', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q715042 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Guinea-Bissau
Guinea-Bissau is that person a civilian of
Guinea-Bissau
action filter_type
action find
entity Veríssimo Correia Seabra
relation country of citizenship
type designation for an administrative territorial entity
['homicide', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Veríssimo_Correia_Seabra property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q15416
USER
How many administrative territories are the countries of origin of greater number of works of art or television programs than that administrative territory ?
(c(Q838948)|c(Q15416),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1007
relation P495
type Q838948
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?l WHERE { { ?o property:P495 ?l . ?o rdf:type ontology:Q838948 . ?l rdf:type ontology:Q15617994 } UNION { ?o property:P495 ?l . ?l rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15416 } } GROUP BY ?l } . FILTER ( ?e > ?i ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:P495 resource:Q1007 . { { ?j rdf:type ontology:Q838948 } UNION { ?j rdf:type ontology:Q15416 } } } } }
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Guinea-Bissau
relation country of origin
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?l WHERE { { ?o property:country_of_origin ?l . ?o rdf:type ontology:work_of_art . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:television_program } } GROUP BY ?l } . FILTER ( ?e > ?i ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:country_of_origin resource:Guinea-Bissau . { { ?j rdf:type ontology:work_of_art } UNION { ?j rdf:type ontology:television_program } } } } }
[]
designation for an administrative territorial entity work of art television program
SYSTEM
132
Q805 Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q881 Q826 Q822 Q241 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q854 Q819 Q424 Q236 Q230 Q232 Q233 Q20 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q833 Q1009 Q1008 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1016 Q1011 Q945 Q29 Q863 Q869
(c(Q838948)|c(Q15416),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1007
relation P495
type Q838948
type Q15416
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?l WHERE { { ?o property:P495 ?l . ?o rdf:type ontology:Q838948 . ?l rdf:type ontology:Q15617994 } UNION { ?o property:P495 ?l . ?l rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15416 } } GROUP BY ?l } . FILTER ( ?e > ?i ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:P495 resource:Q1007 . { { ?j rdf:type ontology:Q838948 } UNION { ?j rdf:type ontology:Q15416 } } } } }
Yemen Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Maldives Lebanon Cuba Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Sri Lanka Laos Cambodia Montenegro Georgia Kazakhstan Malta Norway Senegal Ireland Hungary Brunei Sudan Mauritius Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Malaysia Cameroon Côte d'Ivoire Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Libya Cape Verde Togo Spain Tajikistan Thailand
132
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Guinea-Bissau
relation country of origin
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) ?l WHERE { { ?o property:country_of_origin ?l . ?o rdf:type ontology:work_of_art . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:television_program } } GROUP BY ?l } . FILTER ( ?e > ?i ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:country_of_origin resource:Guinea-Bissau . { { ?j rdf:type ontology:work_of_art } UNION { ?j rdf:type ontology:television_program } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q238
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with more number of administrative territories than San Marino ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q238
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q238 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?p ) }
San Marino
action count
action greater
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 San Marino
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 ( ?j ) AS ?f ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:San_Marino property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?p ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
102
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q238
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q238 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?e > ?p ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
102
action count
action greater
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 San Marino
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 ( ?j ) AS ?f ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:San_Marino property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e > ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q736
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with lesser number of administrative territories than Ecuador ?
(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 Q736
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?c ) WHERE { ?v rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . ?m property:P530 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:P530 resource:Q736 . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?c < ?z ) }
Ecuador
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 Ecuador
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 ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?c ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:diplomatic_relation ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:diplomatic_relation resource:Ecuador . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c < ?z ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
64
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(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 Q736
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?c ) WHERE { ?v rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . ?m property:P530 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:P530 resource:Q736 . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?c < ?z ) }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
64
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 Ecuador
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 ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?c ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:diplomatic_relation ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e property:diplomatic_relation resource:Ecuador . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c < ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1007
P36
Q56061
USER
Which administrative territory is the capital of Guinea-Bissau ?
(Q1007,P36,c(Q56061))
action filter_type
action find
entity Q1007
relation P36
type Q56061
['Q1007', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q1007 property:P36 ?g . ?g rdf:type ontology:Q56061 }
Guinea-Bissau
action filter_type
action find
entity Guinea-Bissau
relation capital
type administrative territorial entity
['Guinea-Bissau', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Guinea-Bissau property:capital ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3739
SYSTEM
Bissau
Q3739
(Q1007,P36,c(Q56061))
action filter_type
action find
entity Q1007
relation P36
type Q56061
[ANSWER] is the capital of Guinea-[ANSWER]
['Q1007', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q1007 property:P36 ?g . ?g rdf:type ontology:Q56061 }
Bissau
Bissau is the capital of Guinea-Bissau
Bissau
action filter_type
action find
entity Guinea-Bissau
relation capital
type administrative territorial entity
['Guinea-Bissau', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Guinea-Bissau property:capital ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2607032
Q56061
USER
And also tell me about Braslava Parish?
(Q2607032,P36,c(Q56061))
action filter_type
action find
entity Q2607032
relation P36
type Q56061
['Q2607032', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q2607032 property:P36 ?c . ?c rdf:type ontology:Q56061 }
Braslava Parish
action filter_type
action find
entity Braslava Parish
relation capital
type administrative territorial entity
['Braslava Parish', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Braslava_Parish property:capital ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q15220026
SYSTEM
Vilzēni
Q15220026
(Q2607032,P36,c(Q56061))
action filter_type
action find
entity Q2607032
relation P36
type Q56061
[ANSWER]
['Q2607032', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q2607032 property:P36 ?c . ?c rdf:type ontology:Q56061 }
Vilzēni
Vilzēni
action filter_type
action find
entity Braslava Parish
relation capital
type administrative territorial entity
['Braslava Parish', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Braslava_Parish property:capital ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2607032
P17
Q15617994
USER
Which administrative territory is that administrative country subdivision present in ?
(Q15220026,P17,c(Q15617994))
action filter_type
action find
entity Q2607032
relation P17
type Q15617994
['Q15220026', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q2607032 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Braslava Parish
action filter_type
action find
entity Braslava Parish
relation country
type designation for an administrative territorial entity
['Vilzēni', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Braslava_Parish property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q211
SYSTEM
Latvia
Q211
(Q15220026,P17,c(Q15617994))
action filter_type
action find
entity Q2607032
relation P17
type Q15617994
That administrative country subdivision is in [ANSWER]
['Q15220026', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q2607032 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Latvia
That administrative country subdivision is in Latvia
Latvia
action filter_type
action find
entity Braslava Parish
relation country
type designation for an administrative territorial entity
['Vilzēni', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Braslava_Parish property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q211
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that administrative territory ?
(Q211,P1313,c(Q12737077))
action filter_type
action find
entity Q211
relation P1313
type Q12737077
['Q211', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q211 property:P1313 ?g . ?g rdf:type ontology:Q12737077 }
Latvia
action filter_type
action find
entity Latvia
relation office held by head of government
type occupation
['Latvia', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Latvia property:office_held_by_head_of_government ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q369500
SYSTEM
Prime Minister of Latvia
Q369500
(Q211,P1313,c(Q12737077))
action filter_type
action find
entity Q211
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that administrative territory
['Q211', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q211 property:P1313 ?g . ?g rdf:type ontology:Q12737077 }
Prime Minister of Latvia
The Prime Minister of Latvia serves as the political office that is fulfilled by the head of the government of that administrative territory
Prime Minister of Latvia
action filter_type
action find
entity Latvia
relation office held by head of government
type occupation
['Latvia', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Latvia property:office_held_by_head_of_government ?g . ?g rdf:type ontology:occupation }
[]