Simple Question (Direct)
Simple Question
Q3187726
P19
Q56061
USER
Which administrative territory is the birthplace of Juan Martínez Oliver ?
(Q3187726,P19,c(Q56061))
action filter_type
action find
entity Q3187726
relation P19
type Q56061
['Q3187726', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q3187726 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Juan Martínez Oliver
action filter_type
action find
entity Juan Martínez Oliver
relation place of birth
type administrative territorial entity
['Juan Martínez Oliver', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Juan_Martínez_Oliver property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q10400
SYSTEM
Almería
Q10400
(Q3187726,P19,c(Q56061))
action filter_type
action find
entity Q3187726
relation P19
type Q56061
[ANSWER] is the birthplace of Juan Martínez Oliver
['Q3187726', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q3187726 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Almería
Almería is the birthplace of Juan Martínez Oliver
Almería
action filter_type
action find
entity Juan Martínez Oliver
relation place of birth
type administrative territorial entity
['Juan Martínez Oliver', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Juan_Martínez_Oliver property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3187726
P21
Q290
USER
Which sex does that person belong to ?
(Q10400,P21,c(Q290))
action filter_type
action find
entity Q3187726
relation P21
type Q290
['Q10400', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q3187726 property:P21 ?f }
Juan Martínez Oliver
action filter_type
action find
entity Juan Martínez Oliver
relation gender
type sex
['Almería', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Juan_Martínez_Oliver property:gender ?f }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q10400,P21,c(Q290))
action filter_type
action find
entity Q3187726
relation P21
type Q290
That person belongs to [ANSWER]
['Q10400', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q3187726 property:P21 ?f }
male
That person belongs to male
male
action filter_type
action find
entity Juan Martínez Oliver
relation gender
type sex
['Almería', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Juan_Martínez_Oliver property:gender ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10400
P1313
Q12737077
USER
What is the occupation held by Almería ?
(Q10400,P1313,c(Q12737077))
action filter_type
action find
entity Q10400
relation P1313
type Q12737077
['Q10400', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q10400 property:P1313 ?a . ?a rdf:type ontology:Q12737077 }
Almería
action filter_type
action find
entity Almería
relation office held by head of government
type occupation
['Almería', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Almería property:office_held_by_head_of_government ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q26690270
SYSTEM
mayor of Almería
Q26690270
(Q10400,P1313,c(Q12737077))
action filter_type
action find
entity Q10400
relation P1313
type Q12737077
The occupation held by Almería is the [ANSWER]
['Q10400', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q10400 property:P1313 ?a . ?a rdf:type ontology:Q12737077 }
mayor of Almería
The occupation held by Almería is the mayor of Almería
mayor of Almería
action filter_type
action find
entity Almería
relation office held by head of government
type occupation
['Almería', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Almería property:office_held_by_head_of_government ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10400
P190
Q20667921
USER
Which french administrative division is twin city of that administrative territory ?
(Q26690270,P190,c(Q20667921))
action filter_type
action find
entity Q10400
relation P190
type Q20667921
['Q26690270', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q10400 property:P190 ?i . ?i rdf:type ontology:Q20667921 }
Almería
action filter_type
action find
entity Almería
relation sister city
type type of french administrative division
['mayor of Almería', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Almería property:sister_city ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q172455
SYSTEM
Boulogne-Billancourt
Q172455
(Q26690270,P190,c(Q20667921))
action filter_type
action find
entity Q10400
relation P190
type Q20667921
[ANSWER] is twin city of that administrative territory
['Q26690270', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q10400 property:P190 ?i . ?i rdf:type ontology:Q20667921 }
Boulogne-Billancourt
Boulogne-Billancourt is twin city of that administrative territory
Boulogne-Billancourt
action filter_type
action find
entity Almería
relation sister city
type type of french administrative division
['mayor of Almería', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Almería property:sister_city ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q172455 Q3035420
P19
Q502895
USER
Does Dominique Raimbourg have birthplace at that french administrative division ?
(Q3035420,P19,Q172455)
action is_in
entity Q172455
action find
entity Q3035420
relation P19
['Q3035420', 'P19', 'Q172455']
ASK WHERE { resource:Q3035420 property:P19 resource:Q172455 }
Boulogne-Billancourt Dominique Raimbourg
action is_in
entity Boulogne-Billancourt
action find
entity Dominique Raimbourg
relation place of birth
['Dominique Raimbourg', 'place of birth', 'Boulogne-Billancourt']
ASK WHERE { resource:Dominique_Raimbourg property:place_of_birth resource:Boulogne-Billancourt }
[]
common name
SYSTEM
YES
(Q3035420,P19,Q172455)
action is_in
entity Q172455
action find
entity Q3035420
relation P19
[ANSWER]
['Q3035420', 'P19', 'Q172455']
ASK WHERE { resource:Q3035420 property:P19 resource:Q172455 }
Yes
action is_in
entity Boulogne-Billancourt
action find
entity Dominique Raimbourg
relation place of birth
['Dominique Raimbourg', 'place of birth', 'Boulogne-Billancourt']
ASK WHERE { resource:Dominique_Raimbourg property:place_of_birth resource:Boulogne-Billancourt }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10400
P276
Q132241
USER
Which festival has its location as Almería ?
(c(Q132241),P276,Q10400)
action filter_type
action find_reverse
entity Q10400
relation P276
type Q132241
[{'concept': 'Q132241'}, 'P276', 'Q10400']
SELECT DISTINCT ?r WHERE { ?r property:P276 resource:Q10400 . ?r rdf:type ontology:Q132241 }
Almería
action filter_type
action find_reverse
entity Almería
relation location
type festival
[{'concept': 'festival'}, 'location', 'Almería']
SELECT DISTINCT ?r WHERE { ?r property:location resource:Almería . ?r rdf:type ontology:festival }
[]
festival
Q6124477
SYSTEM
Holy Week in Almeria
Q6124477
(c(Q132241),P276,Q10400)
action filter_type
action find_reverse
entity Q10400
relation P276
type Q132241
[ANSWER] has its location as Almería
[{'concept': 'Q132241'}, 'P276', 'Q10400']
SELECT DISTINCT ?r WHERE { ?r property:P276 resource:Q10400 . ?r rdf:type ontology:Q132241 }
Holy Week in Almeria
Holy Week in Almeria has its location as Almería
Holy Week in Almeria
action filter_type
action find_reverse
entity Almería
relation location
type festival
[{'concept': 'festival'}, 'location', 'Almería']
SELECT DISTINCT ?r WHERE { ?r property:location resource:Almería . ?r rdf:type ontology:festival }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10400
P138
Q151885
USER
Which concept is named after Almería ?
(c(Q151885),P138,Q10400)
action filter_type
action find_reverse
entity Q10400
relation P138
type Q151885
[{'concept': 'Q151885'}, 'P138', 'Q10400']
SELECT DISTINCT ?w WHERE { ?w property:P138 resource:Q10400 . ?w rdf:type ontology:Q151885 }
Almería
action filter_type
action find_reverse
entity Almería
relation named after
type concept
[{'concept': 'concept'}, 'named after', 'Almería']
SELECT DISTINCT ?w WHERE { ?w property:named_after resource:Almería . ?w rdf:type ontology:concept }
[]
concept
Q1234153
SYSTEM
Almeria culture
Q1234153
(c(Q151885),P138,Q10400)
action filter_type
action find_reverse
entity Q10400
relation P138
type Q151885
[ANSWER] is named after Almería
[{'concept': 'Q151885'}, 'P138', 'Q10400']
SELECT DISTINCT ?w WHERE { ?w property:P138 resource:Q10400 . ?w rdf:type ontology:Q151885 }
Almeria culture
Almeria culture is named after Almería
Almeria culture
action filter_type
action find_reverse
entity Almería
relation named after
type concept
[{'concept': 'concept'}, 'named after', 'Almería']
SELECT DISTINCT ?w WHERE { ?w property:named_after resource:Almería . ?w rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10400
P551
Q502895
USER
Who resides at that administrative territory ?
(c(Q502895),P551,Q1234153)
action filter_type
action find_reverse
entity Q10400
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1234153']
SELECT DISTINCT ?g WHERE { ?g property:P551 resource:Q10400 . ?g rdf:type ontology:Q502895 }
Almería
action filter_type
action find_reverse
entity Almería
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Almeria culture']
SELECT DISTINCT ?g WHERE { ?g property:residence resource:Almería . ?g rdf:type ontology:common_name }
[]
common name
Q24706331
SYSTEM
Eduardo del Pino Vicente
Q24706331
(c(Q502895),P551,Q1234153)
action filter_type
action find_reverse
entity Q10400
relation P551
type Q502895
[ANSWER] resides at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q1234153']
SELECT DISTINCT ?g WHERE { ?g property:P551 resource:Q10400 . ?g rdf:type ontology:Q502895 }
Eduardo del Pino Vicente
Eduardo del Pino Vicente resides at that administrative territory
Eduardo del Pino Vicente
action filter_type
action find_reverse
entity Almería
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Almeria culture']
SELECT DISTINCT ?g WHERE { ?g property:residence resource:Almería . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10400
P159
Q43229
USER
Which organization has its head office location at that administrative territory ?
(c(Q43229),P159,Q24706331)
action filter_type
action find_reverse
entity Q10400
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q24706331']
SELECT DISTINCT ?r WHERE { ?r property:P159 resource:Q10400 . ?r rdf:type ontology:Q43229 }
Almería
action filter_type
action find_reverse
entity Almería
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Eduardo del Pino Vicente']
SELECT DISTINCT ?r WHERE { ?r property:headquarters_location resource:Almería . ?r rdf:type ontology:organization }
[]
organization
Q1275336
SYSTEM
Endesa
Q1275336
(c(Q43229),P159,Q24706331)
action filter_type
action find_reverse
entity Q10400
relation P159
type Q43229
[ANSWER] has its head office location at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q24706331']
SELECT DISTINCT ?r WHERE { ?r property:P159 resource:Q10400 . ?r rdf:type ontology:Q43229 }
Endesa
Endesa has its head office location at that administrative territory
Endesa
action filter_type
action find_reverse
entity Almería
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Eduardo del Pino Vicente']
SELECT DISTINCT ?r WHERE { ?r property:headquarters_location resource:Almería . ?r rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10400
P47
Q1048835
USER
Who share the border with that administrative territory ?
(Q1275336,P47,c(Q1048835))
action filter_type
action find
entity Q10400
relation P47
type Q1048835
['Q1275336', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q10400 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Almería
action filter_type
action find
entity Almería
relation shares border with
type political territorial entity
['Endesa', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Almería property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q947285 Q940842 Q1447741
SYSTEM
Enix, Spain, Gádor, Pechina
Q1157968 Q1444040 Q5277 Q1110355 Q1447741 Q940842 Q1444062 Q1406739 Q947285
(Q1275336,P47,c(Q1048835))
action filter_type
action find
entity Q10400
relation P47
type Q1048835
[ANSWERS] share the border with that administrative territory
['Q1275336', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q10400 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Benahadux Viator Huércal de Almería Níjar Pechina Gádor Tabernas Turrillas Enix, Spain
Enix, Spain, Gádor and Pechina share the border with that administrative territory
Enix, Spain Gádor Pechina
action filter_type
action find
entity Almería
relation shares border with
type political territorial entity
['Endesa', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Almería property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q215
P530
Q1048835 Q15617994
USER
Which administrative territories have ambassadorial relations with around the same number of political territories as Slovenia ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q215
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?c ) WHERE { ?b property:P530 ?v . ?b rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Q215 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?c = ?l ) }
Slovenia
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Slovenia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?c ) WHERE { ?b property:diplomatic_relation ?v . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Slovenia property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c = ?l ) }
[]
political territorial entity designation for an administrative territorial entity
Q30 Q159 Q55
SYSTEM
United States of America, Russia, Netherlands
Q702 Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 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 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q215
relation P530
type Q15617994
[ANSWERS] have ambassadorial relations with around the same number of political territories as Slovenia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?c ) WHERE { ?b property:P530 ?v . ?b rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Q215 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?c = ?l ) }
Federated States of Micronesia 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 Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America 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 Ecuador Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
United States of America, Russia and Netherlands have ambassadorial relations with around the same number of political territories as Slovenia
United States of America Russia Netherlands
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Slovenia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?c ) WHERE { ?b property:diplomatic_relation ?v . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Slovenia property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c = ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q854
P530
Q1048835 Q15617994
USER
And what about Sri Lanka?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q854
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?e ) WHERE { ?n property:P530 ?y . ?y rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q854 property:P530 ?z } } . FILTER ( ?e = ?i ) }
Sri Lanka
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Sri Lanka
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?e ) WHERE { ?n property:diplomatic_relation ?y . ?y rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sri_Lanka property:diplomatic_relation ?z } } . FILTER ( ?e = ?i ) }
[]
political territorial entity designation for an administrative territorial entity
Q55 Q148 Q184
SYSTEM
Netherlands, People's Republic of China, Belarus
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q854
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?e ) WHERE { ?n property:P530 ?y . ?y rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q854 property:P530 ?z } } . FILTER ( ?e = ?i ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands People's Republic of China Belarus
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Sri Lanka
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?e ) WHERE { ?n property:diplomatic_relation ?y . ?y rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sri_Lanka property:diplomatic_relation ?z } } . FILTER ( ?e = ?i ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26211866 Q3187726
P27
Q15617994
USER
Which administrative territories are Juan Martínez Oliver or Olivier Heimel an inhabitant of ?
OR((Q3187726,P27,c(Q15617994)), (Q26211866,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3187726
relation P27
action find
entity Q26211866
relation P27
type Q15617994
{'OR': [['Q3187726', 'P27', {'concept': 'Q15617994'}], ['Q26211866', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q3187726 property:P27 ?k } UNION { resource:Q26211866 property:P27 ?k } } }
Olivier Heimel Juan Martínez Oliver
action filter_type
action union
action find
entity Juan Martínez Oliver
relation country of citizenship
action find
entity Olivier Heimel
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Juan Martínez Oliver', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Olivier Heimel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Juan_Martínez_Oliver property:country_of_citizenship ?k } UNION { resource:Olivier_Heimel property:country_of_citizenship ?k } } }
[]
designation for an administrative territorial entity
Q29 Q29999
SYSTEM
Spain, Kingdom of the Netherlands
Q29 Q29999
OR((Q3187726,P27,c(Q15617994)), (Q26211866,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3187726
relation P27
action find
entity Q26211866
relation P27
type Q15617994
[ANSWERS] are Juan Martínez Oliver or Olivier Heimel an inhabitant of
{'OR': [['Q3187726', 'P27', {'concept': 'Q15617994'}], ['Q26211866', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q3187726 property:P27 ?k } UNION { resource:Q26211866 property:P27 ?k } } }
Spain Kingdom of the Netherlands
Spain and Kingdom of the Netherlands are Juan Martínez Oliver or Olivier Heimel an inhabitant of
Spain Kingdom of the Netherlands
action filter_type
action union
action find
entity Juan Martínez Oliver
relation country of citizenship
action find
entity Olivier Heimel
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Juan Martínez Oliver', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Olivier Heimel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Juan_Martínez_Oliver property:country_of_citizenship ?k } UNION { resource:Olivier_Heimel property:country_of_citizenship ?k } } }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q2807 Q10400
P915
Q838948
USER
Which works of art were filmed at Almería but not Madrid ?
AND((c(Q838948),P915,Q10400), NOT((c(Q838948),P915,Q2807)))
action filter_type
action difference
action find_reverse
entity Q10400
relation P915
action find_reverse
entity Q2807
relation P915
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P915', 'Q10400'], {'NOT': [[{'concept': 'Q838948'}, 'P915', 'Q2807']]}]}
SELECT DISTINCT ?o WHERE { ?o property:P915 resource:Q10400 . FILTER NOT EXISTS { ?o property:P915 resource:Q2807 } . ?o rdf:type ontology:Q838948 }
Madrid Almería
action filter_type
action difference
action find_reverse
entity Almería
relation filming location
action find_reverse
entity Madrid
relation filming location
type work of art
{'AND': [[{'concept': 'work of art'}, 'filming location', 'Almería'], {'NOT': [[{'concept': 'work of art'}, 'filming location', 'Madrid']]}]}
SELECT DISTINCT ?o WHERE { ?o property:filming_location resource:Almería . FILTER NOT EXISTS { ?o property:filming_location resource:Madrid } . ?o rdf:type ontology:work_of_art }
[]
work of art
Q2929112 Q286757 Q1070548 Q9377397 Q7718072 Q300566 Q4430 Q542918 Q694402 Q168154
SYSTEM
Some of them are Bwana, Les Dalton, God Forgives... I Don't!, The Final Programme, The Bird of Happiness, A Sound of Thunder, Cleopatra, Kill Them All and Come Back Alone, The Price of Power, Once Upon a Time in the West
Q1306579 Q5104788 Q694402 Q309003 Q428350 Q1517788 Q2929112 Q1070548 Q2492000 Q547286 Q1114432 Q1753894 Q183050 Q510657 Q168154 Q9377397 Q3541142 Q443326 Q6072062 Q4430 Q7718072 Q286757 Q164769 Q270988 Q273676 Q1210832 Q964009 Q19365738 Q163898 Q515808 Q1232083 Q180279 Q300566 Q780835 Q1787402 Q542918 Q14942871 Q1324730 Q1993713 Q828725 Q1657565
AND((c(Q838948),P915,Q10400), NOT((c(Q838948),P915,Q2807)))
action filter_type
action difference
action find_reverse
entity Q10400
relation P915
action find_reverse
entity Q2807
relation P915
type Q838948
[ANSWERS]
{'AND': [[{'concept': 'Q838948'}, 'P915', 'Q10400'], {'NOT': [[{'concept': 'Q838948'}, 'P915', 'Q2807']]}]}
SELECT DISTINCT ?o WHERE { ?o property:P915 resource:Q10400 . FILTER NOT EXISTS { ?o property:P915 resource:Q2807 } . ?o rdf:type ontology:Q838948 }
A Pistol for Ringo Travels with My Aunt The Price of Power Conan the Barbarian The White, the Yellow, and the Black The Return of Ringo Bwana God Forgives... I Don't! Escape from Fort Bravo Day of Anger The Four Feathers Shalako Captain Apache Duck, You Sucker! Once Upon a Time in the West The Final Programme The Three Musketeers of the West Sonny and Jed Per il gusto di uccidere Cleopatra The Bird of Happiness Les Dalton Death is serving 800 Bullets Asterix at the Olympic Games The Adventures of Baron Munchausen My Name is Nobody Toro Ten Thousand Dollars for a Massacre Requiem for a Gringo I Want Him Dead Never Say Never Again A Sound of Thunder Buddy Goes West The Bounty Killer Kill Them All and Come Back Alone Exodus: Gods and Kings Outlaw of Red River The Relentless Four The Passenger Navy SEALs
Kill Them All and come Back Alone, The Price of Power and Once Upon a Time in the West were filmed at Almería but not Madrid
Bwana Les Dalton God Forgives... I Don't! The Final Programme The Bird of Happiness A Sound of Thunder Cleopatra Kill Them All and Come Back Alone The Price of Power Once Upon a Time in the West
action filter_type
action difference
action find_reverse
entity Almería
relation filming location
action find_reverse
entity Madrid
relation filming location
type work of art
{'AND': [[{'concept': 'work of art'}, 'filming location', 'Almería'], {'NOT': [[{'concept': 'work of art'}, 'filming location', 'Madrid']]}]}
SELECT DISTINCT ?o WHERE { ?o property:filming_location resource:Almería . FILTER NOT EXISTS { ?o property:filming_location resource:Madrid } . ?o rdf:type ontology:work_of_art }
[]