Simple Question (Direct)
Simple Question
Q3820920
P1412
Q34770
USER
Which language does Antonio Gorostegui speak in ?
(Q3820920,P1412,c(Q34770))
action filter_type
action find
entity Q3820920
relation P1412
type Q34770
['Q3820920', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q3820920 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Antonio Gorostegui
action filter_type
action find
entity Antonio Gorostegui
relation languages spoken, written or signed
type language
['Antonio Gorostegui', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Antonio_Gorostegui property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q3820920,P1412,c(Q34770))
action filter_type
action find
entity Q3820920
relation P1412
type Q34770
Antonio Gorostegui speaks the [ANSWER]
['Q3820920', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q3820920 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Spanish
Antonio Gorostegui speaks the Spanish
Spanish
action filter_type
action find
entity Antonio Gorostegui
relation languages spoken, written or signed
type language
['Antonio Gorostegui', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Antonio_Gorostegui property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1321
P37
Q15617994
USER
Which administrative territories have their official language as that one ?
(c(Q15617994),P37,Q1321)
action filter_type
action find_reverse
entity Q1321
relation P37
type Q15617994
[{'concept': 'Q15617994'}, 'P37', 'Q1321']
SELECT DISTINCT ?f WHERE { ?f property:P37 resource:Q1321 . ?f rdf:type ontology:Q15617994 }
Spanish
action filter_type
action find_reverse
entity Spanish
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', 'Spanish']
SELECT DISTINCT ?f WHERE { ?f property:official_language resource:Spanish . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96 Q29 Q414
SYSTEM
Mexico, Spain, Argentina
Q739 Q774 Q804 Q717 Q811 Q800 Q792 Q733 Q96 Q783 Q786 Q736 Q241 Q693658 Q298 Q77 Q29 Q795587 Q414 Q750
(c(Q15617994),P37,Q1321)
action filter_type
action find_reverse
entity Q1321
relation P37
type Q15617994
[ANSWERS] have their official language as that one
[{'concept': 'Q15617994'}, 'P37', 'Q1321']
SELECT DISTINCT ?f WHERE { ?f property:P37 resource:Q1321 . ?f rdf:type ontology:Q15617994 }
Colombia Guatemala Panama Venezuela Nicaragua Costa Rica El Salvador Paraguay Mexico Honduras Dominican Republic Ecuador Cuba Izabal Department Chile Uruguay Spain Escuintla Argentina Bolivia
Mexico, Spain and Argentina have their official language as that one
Mexico Spain Argentina
action filter_type
action find_reverse
entity Spanish
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', 'Spanish']
SELECT DISTINCT ?f WHERE { ?f property:official_language resource:Spanish . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have diplomatic relations with those administrative territories ?
(Q408,P530,Q96) (Q408,P530,Q29) (Q408,P530,Q414)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q96'] ['Q408', 'P530', 'Q29'] ['Q408', 'P530', 'Q414']
ASK WHERE { VALUES ( ?w ) { ( resource:Q739 ) ( resource:Q774 ) ( resource:Q804 ) } . resource:Q408 property:P530 ?w }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Mexico'] ['Australia', 'diplomatic relation', 'Spain'] ['Australia', 'diplomatic relation', 'Argentina']
ASK WHERE { VALUES ( ?w ) { ( resource:Colombia ) ( resource:Guatemala ) ( resource:Panama ) } . resource:Australia property:diplomatic_relation ?w }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q96) (Q408,P530,Q29) (Q408,P530,Q414)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q96'] ['Q408', 'P530', 'Q29'] ['Q408', 'P530', 'Q414']
ASK WHERE { VALUES ( ?w ) { ( resource:Q739 ) ( resource:Q774 ) ( resource:Q804 ) } . resource:Q408 property:P530 ?w }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Mexico'] ['Australia', 'diplomatic relation', 'Spain'] ['Australia', 'diplomatic relation', 'Argentina']
ASK WHERE { VALUES ( ?w ) { ( resource:Colombia ) ( resource:Guatemala ) ( resource:Panama ) } . resource:Australia property:diplomatic_relation ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P740
Q215380
USER
What is the band that was formed at Spain ?
(c(Q215380),P740,Q29)
action filter_type
action find_reverse
entity Q29
relation P740
type Q215380
[{'concept': 'Q215380'}, 'P740', 'Q29']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q215380 . ?k property:P740 resource:Q29 }
Spain
action filter_type
action find_reverse
entity Spain
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Spain']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:band . ?k property:location_of_formation resource:Spain }
[]
band
Q2873355
SYSTEM
Avantgarde
Q2873355
(c(Q215380),P740,Q29)
action filter_type
action find_reverse
entity Q29
relation P740
type Q215380
The band that was formed at Spain is the [ANSWER]
[{'concept': 'Q215380'}, 'P740', 'Q29']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q215380 . ?k property:P740 resource:Q29 }
Avantgarde
The band that was formed at Spain is the Avantgarde
Avantgarde
action filter_type
action find_reverse
entity Spain
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Spain']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:band . ?k property:location_of_formation resource:Spain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2873355
P264
Q334453
USER
Which division is the record brand of that band ?
(Q2873355,P264,c(Q334453))
action filter_type
action find
entity Q2873355
relation P264
type Q334453
['Q2873355', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q334453 . resource:Q2873355 property:P264 ?p }
Avantgarde
action filter_type
action find
entity Avantgarde
relation record label
type division
['Avantgarde', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:division . resource:Avantgarde property:record_label ?p }
[]
division
Q1191537
SYSTEM
V2 Records
Q1191537
(Q2873355,P264,c(Q334453))
action filter_type
action find
entity Q2873355
relation P264
type Q334453
[ANSWER] is the record brand of that band
['Q2873355', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q334453 . resource:Q2873355 property:P264 ?p }
V2 Records
V2 Records is the record brand of that band
V2 Records
action filter_type
action find
entity Avantgarde
relation record label
type division
['Avantgarde', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:division . resource:Avantgarde property:record_label ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2873355
P495
Q15617994
USER
What is the origin of that band ?
(Q1191537,P495,c(Q15617994))
action filter_type
action find
entity Q2873355
relation P495
type Q15617994
['Q1191537', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q2873355 property:P495 ?s . ?s rdf:type ontology:Q15617994 }
Avantgarde
action filter_type
action find
entity Avantgarde
relation country of origin
type designation for an administrative territorial entity
['V2 Records', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Avantgarde property:country_of_origin ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1191537,P495,c(Q15617994))
action filter_type
action find
entity Q2873355
relation P495
type Q15617994
The origin of that band is in [ANSWER]
['Q1191537', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q2873355 property:P495 ?s . ?s rdf:type ontology:Q15617994 }
Spain
The origin of that band is in Spain
Spain
action filter_type
action find
entity Avantgarde
relation country of origin
type designation for an administrative territorial entity
['V2 Records', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Avantgarde property:country_of_origin ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q29 Q5865472
P27
Q502895
USER
Is Francisco Commelerán y Gómez a native of that administrative territory ?
(Q5865472,P27,Q29)
action is_in
entity Q29
action find
entity Q5865472
relation P27
['Q5865472', 'P27', 'Q29']
ASK WHERE { resource:Q5865472 property:P27 resource:Q29 }
Spain Francisco Commelerán y Gómez
action is_in
entity Spain
action find
entity Francisco Commelerán y Gómez
relation country of citizenship
['Francisco Commelerán y Gómez', 'country of citizenship', 'Spain']
ASK WHERE { resource:Francisco_Commelerán_y_Gómez property:country_of_citizenship resource:Spain }
[]
common name
SYSTEM
YES
(Q5865472,P27,Q29)
action is_in
entity Q29
action find
entity Q5865472
relation P27
[ANSWER]
['Q5865472', 'P27', 'Q29']
ASK WHERE { resource:Q5865472 property:P27 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity Francisco Commelerán y Gómez
relation country of citizenship
['Francisco Commelerán y Gómez', 'country of citizenship', 'Spain']
ASK WHERE { resource:Francisco_Commelerán_y_Gómez property:country_of_citizenship resource:Spain }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q414 Q7830251 Q30
P530
Q15617994
USER
Does Argentina have diplomatic relations with Township High School District 211 and United States of America ?
(Q414,P530,Q7830251) (Q414,P530,Q30)
action is_in
entity Q414
action intersection
action find_reverse
entity Q7830251
relation P530
action find_reverse
entity Q30
relation P530
['Q414', 'P530', 'Q7830251'] ['Q414', 'P530', 'Q30']
ASK WHERE { resource:Q414 property:P530 resource:Q30 . resource:Q414 property:P530 resource:Q7830251 }
Argentina Township High School District 211 United States of America
action is_in
entity Argentina
action intersection
action find_reverse
entity Township High School District 211
relation diplomatic relation
action find_reverse
entity United States of America
relation diplomatic relation
['Argentina', 'diplomatic relation', 'Township High School District 211'] ['Argentina', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Argentina property:diplomatic_relation resource:United_States_of_America . resource:Argentina property:diplomatic_relation resource:Township_High_School_District_211 }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q414,P530,Q7830251) (Q414,P530,Q30)
action is_in
entity Q414
action intersection
action find_reverse
entity Q7830251
relation P530
action find_reverse
entity Q30
relation P530
[ANSWER]
['Q414', 'P530', 'Q7830251'] ['Q414', 'P530', 'Q30']
ASK WHERE { resource:Q414 property:P530 resource:Q30 . resource:Q414 property:P530 resource:Q7830251 }
NO and YES respectively
action is_in
entity Argentina
action intersection
action find_reverse
entity Township High School District 211
relation diplomatic relation
action find_reverse
entity United States of America
relation diplomatic relation
['Argentina', 'diplomatic relation', 'Township High School District 211'] ['Argentina', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Argentina property:diplomatic_relation resource:United_States_of_America . resource:Argentina property:diplomatic_relation resource:Township_High_School_District_211 }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1191537 Q5760191 Q194419
P112
Q502895
USER
Was V2 Records started by Celia Montalbán and Richard Branson ?
(Q1191537,P112,Q5760191) (Q1191537,P112,Q194419)
action is_in
entity Q1191537
action intersection
action find_reverse
entity Q5760191
relation P112
action find_reverse
entity Q194419
relation P112
['Q1191537', 'P112', 'Q5760191'] ['Q1191537', 'P112', 'Q194419']
ASK WHERE { resource:Q1191537 property:P112 resource:Q5760191 . resource:Q1191537 property:P112 resource:Q194419 }
V2 Records Celia Montalbán Richard Branson
action is_in
entity V2 Records
action intersection
action find_reverse
entity Celia Montalbán
relation founder
action find_reverse
entity Richard Branson
relation founder
['V2 Records', 'founder', 'Celia Montalbán'] ['V2 Records', 'founder', 'Richard Branson']
ASK WHERE { resource:V2_Records property:founder resource:Celia_Montalbán . resource:V2_Records property:founder resource:Richard_Branson }
[]
common name
SYSTEM
NO and YES respectively
(Q1191537,P112,Q5760191) (Q1191537,P112,Q194419)
action is_in
entity Q1191537
action intersection
action find_reverse
entity Q5760191
relation P112
action find_reverse
entity Q194419
relation P112
[ANSWER]
['Q1191537', 'P112', 'Q5760191'] ['Q1191537', 'P112', 'Q194419']
ASK WHERE { resource:Q1191537 property:P112 resource:Q5760191 . resource:Q1191537 property:P112 resource:Q194419 }
NO and YES respectively
action is_in
entity V2 Records
action intersection
action find_reverse
entity Celia Montalbán
relation founder
action find_reverse
entity Richard Branson
relation founder
['V2 Records', 'founder', 'Celia Montalbán'] ['V2 Records', 'founder', 'Richard Branson']
ASK WHERE { resource:V2_Records property:founder resource:Celia_Montalbán . resource:V2_Records property:founder resource:Richard_Branson }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q783
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with less number of administrative territories than Honduras ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q783
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?q ) WHERE { ?n property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?q < ?z ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { resource:Q783 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } }
Honduras
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Honduras
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 ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?q ) WHERE { ?n property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?q < ?z ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { resource:Honduras property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q783
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with less number of administrative territories than Honduras
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?q ) WHERE { ?n property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?q < ?z ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { resource:Q783 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic, Kingdom of the Netherlands and Kazakhstan have diplomatic relationships with less number of administrative territories than Honduras
Central African Republic Kingdom of the Netherlands Kazakhstan
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Honduras
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 ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?j ) AS ?q ) WHERE { ?n property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?q < ?z ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { resource:Honduras property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q211
P530
Q15617994 Q15617994
USER
And also tell me about Latvia?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q211
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:P530 resource:Q211 . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?t ) }
Latvia
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 Latvia
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 ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:diplomatic_relation resource:Latvia . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?t ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q184
SYSTEM
Georgia, Netherlands, Belarus
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 less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q211
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:P530 resource:Q211 . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?t ) }
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
Georgia Netherlands Belarus
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 Latvia
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 ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:diplomatic_relation resource:Latvia . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?t ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6890680 Q5865472
P27 P17
Q15617994
USER
Which administrative territories are Francisco Commelerán y Gómez a civilian of or are Mogomnore situated in ?
OR((Q5865472,P27,c(Q15617994)), (Q6890680,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5865472
relation P27
action find
entity Q6890680
relation P17
type Q15617994
{'OR': [['Q5865472', 'P27', {'concept': 'Q15617994'}], ['Q6890680', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q6890680 property:P17 ?g } UNION { resource:Q5865472 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Mogomnore Francisco Commelerán y Gómez
action filter_type
action union
action find
entity Francisco Commelerán y Gómez
relation country of citizenship
action find
entity Mogomnore
relation country
type designation for an administrative territorial entity
{'OR': [['Francisco Commelerán y Gómez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mogomnore', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Mogomnore property:country ?g } UNION { resource:Francisco_Commelerán_y_Gómez property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q965
SYSTEM
Spain, Burkina Faso
Q29 Q965
OR((Q5865472,P27,c(Q15617994)), (Q6890680,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5865472
relation P27
action find
entity Q6890680
relation P17
type Q15617994
[ANSWERS] are Francisco Commelerán y Gómez a civilian of or are Mogomnore situated in
{'OR': [['Q5865472', 'P27', {'concept': 'Q15617994'}], ['Q6890680', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q6890680 property:P17 ?g } UNION { resource:Q5865472 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Spain Burkina Faso
Spain and Burkina Faso are Francisco Commelerán y Gómez a civilian of or are Mogomnore situated in
Spain Burkina Faso
action filter_type
action union
action find
entity Francisco Commelerán y Gómez
relation country of citizenship
action find
entity Mogomnore
relation country
type designation for an administrative territorial entity
{'OR': [['Francisco Commelerán y Gómez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mogomnore', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Mogomnore property:country ?g } UNION { resource:Francisco_Commelerán_y_Gómez property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]