Simple Question (Direct)
Simple Question
Q12260356
P19
Q1048835
USER
Which political territory is the birthplace of Jesus Mari Zabaleta ?
(Q12260356,P19,c(Q1048835))
action filter_type
action find
entity Q12260356
relation P19
type Q1048835
['Q12260356', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q12260356 property:P19 ?b . ?b rdf:type ontology:Q1048835 }
Jesus Mari Zabaleta
action filter_type
action find
entity Jesus Mari Zabaleta
relation place of birth
type political territorial entity
['Jesus Mari Zabaleta', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Jesus_Mari_Zabaleta property:place_of_birth ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1113716
SYSTEM
Legazpi
Q1113716
(Q12260356,P19,c(Q1048835))
action filter_type
action find
entity Q12260356
relation P19
type Q1048835
[ANSWER] is the birthplace of Jesus Mari Zabaleta
['Q12260356', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q12260356 property:P19 ?b . ?b rdf:type ontology:Q1048835 }
Legazpi
Legazpi is the birthplace of Jesus Mari Zabaleta
Legazpi
action filter_type
action find
entity Jesus Mari Zabaleta
relation place of birth
type political territorial entity
['Jesus Mari Zabaleta', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Jesus_Mari_Zabaleta property:place_of_birth ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12260356
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q1113716,P27,c(Q15617994))
action filter_type
action find
entity Q12260356
relation P27
type Q15617994
['Q1113716', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q12260356 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Jesus Mari Zabaleta
action filter_type
action find
entity Jesus Mari Zabaleta
relation country of citizenship
type designation for an administrative territorial entity
['Legazpi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Jesus_Mari_Zabaleta property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1113716,P27,c(Q15617994))
action filter_type
action find
entity Q12260356
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q1113716', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q12260356 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Spain
Spain is that person a civilian of
Spain
action filter_type
action find
entity Jesus Mari Zabaleta
relation country of citizenship
type designation for an administrative territorial entity
['Legazpi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Jesus_Mari_Zabaleta property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q686
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with greater number of administrative territories than Vanuatu ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q686
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?x ) WHERE { ?m rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 . ?m property:P530 ?v } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Q686 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?x > ?b ) }
Vanuatu
action count
action greater
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 Vanuatu
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 ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?x ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:diplomatic_relation ?v } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Vanuatu property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x > ?b ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
109
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q686
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?x ) WHERE { ?m rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 . ?m property:P530 ?v } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Q686 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?x > ?b ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
109
action count
action greater
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 Vanuatu
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 ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?x ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:diplomatic_relation ?v } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Vanuatu property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x > ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q974
P530
Q15617994 Q15617994
USER
And what about Democratic Republic of the Congo?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q974
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?z ) WHERE { ?a property:P530 ?b . ?a rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q974 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?z > ?g ) }
Democratic Republic of the Congo
action count
action greater
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 Democratic Republic of the Congo
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 ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?z ) WHERE { ?a property:diplomatic_relation ?b . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Democratic_Republic_of_the_Congo property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z > ?g ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
109
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q974
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?z ) WHERE { ?a property:P530 ?b . ?a rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q974 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?z > ?g ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
109
action count
action greater
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 Democratic Republic of the Congo
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 ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?z ) WHERE { ?a property:diplomatic_relation ?b . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Democratic_Republic_of_the_Congo property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z > ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P840
Q166142
USER
Which applications have a setting location of Spain ?
(c(Q166142),P840,Q29)
action filter_type
action find_reverse
entity Q29
relation P840
type Q166142
[{'concept': 'Q166142'}, 'P840', 'Q29']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q166142 . ?t property:P840 resource:Q29 }
Spain
action filter_type
action find_reverse
entity Spain
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Spain']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:application . ?t property:narrative_location resource:Spain }
[]
application
Q1133204 Q2708114
SYSTEM
Street Fighter II: The World Warrior, GoldenEye 007
Q1133204 Q2708114
(c(Q166142),P840,Q29)
action filter_type
action find_reverse
entity Q29
relation P840
type Q166142
[ANSWERS] have a setting location of Spain
[{'concept': 'Q166142'}, 'P840', 'Q29']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q166142 . ?t property:P840 resource:Q29 }
Street Fighter II: The World Warrior GoldenEye 007
Street Fighter II: The World Warrior and GoldenEye 007 have a setting location of Spain
Street Fighter II: The World Warrior GoldenEye 007
action filter_type
action find_reverse
entity Spain
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Spain']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:application . ?t property:narrative_location resource:Spain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P163
Q14660
USER
Which flag is associated with that administrative territory ?
(Q1133204,P163,c(Q14660)) (Q2708114,P163,c(Q14660))
action filter_type
action find
entity Q29
relation P163
type Q14660
['Q1133204', 'P163', {'concept': 'Q14660'}] ['Q2708114', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?i WHERE { resource:Q29 property:P163 ?i . ?i rdf:type ontology:Q14660 }
Spain
action filter_type
action find
entity Spain
relation flag
type flag
['Street Fighter II: The World Warrior', 'flag', {'concept': 'flag'}] ['GoldenEye 007', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?i WHERE { resource:Spain property:flag ?i . ?i rdf:type ontology:flag }
[]
flag
Q121688
SYSTEM
flag of Spain
Q121688
(Q1133204,P163,c(Q14660)) (Q2708114,P163,c(Q14660))
action filter_type
action find
entity Q29
relation P163
type Q14660
Spain [ANSWER] is associated with that administrative territory
['Q1133204', 'P163', {'concept': 'Q14660'}] ['Q2708114', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?i WHERE { resource:Q29 property:P163 ?i . ?i rdf:type ontology:Q14660 }
flag of Spain
Spain flag of Spain is associated with that administrative territory
flag of Spain
action filter_type
action find
entity Spain
relation flag
type flag
['Street Fighter II: The World Warrior', 'flag', {'concept': 'flag'}] ['GoldenEye 007', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?i WHERE { resource:Spain property:flag ?i . ?i rdf:type ontology:flag }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3741842 Q12260356
P1412
Q34770
USER
Which languages are Jesus Mari Zabaleta and Federico Orlando capable of writing ?
AND((Q12260356,P1412,c(Q34770)), (Q3741842,P1412,c(Q34770)))
action filter_type
action intersection
action find
entity Q12260356
relation P1412
action find
entity Q3741842
relation P1412
type Q34770
{'AND': [['Q12260356', 'P1412', {'concept': 'Q34770'}], ['Q3741842', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q34770 . resource:Q12260356 property:P1412 ?o . resource:Q3741842 property:P1412 ?o }
Federico Orlando Jesus Mari Zabaleta
action filter_type
action intersection
action find
entity Jesus Mari Zabaleta
relation languages spoken, written or signed
action find
entity Federico Orlando
relation languages spoken, written or signed
type language
{'AND': [['Jesus Mari Zabaleta', 'languages spoken, written or signed', {'concept': 'language'}], ['Federico Orlando', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:language . resource:Jesus_Mari_Zabaleta property:languages_spoken,_written_or_signed ?o . resource:Federico_Orlando property:languages_spoken,_written_or_signed ?o }
[]
language
Q652
SYSTEM
Italian
Q652
AND((Q12260356,P1412,c(Q34770)), (Q3741842,P1412,c(Q34770)))
action filter_type
action intersection
action find
entity Q12260356
relation P1412
action find
entity Q3741842
relation P1412
type Q34770
[ANSWER] is Jesus Mari Zabaleta and Federico Orlando capable of writing
{'AND': [['Q12260356', 'P1412', {'concept': 'Q34770'}], ['Q3741842', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q34770 . resource:Q12260356 property:P1412 ?o . resource:Q3741842 property:P1412 ?o }
Italian
Italian is Jesus Mari Zabaleta and Federico Orlando capable of writing
Italian
action filter_type
action intersection
action find
entity Jesus Mari Zabaleta
relation languages spoken, written or signed
action find
entity Federico Orlando
relation languages spoken, written or signed
type language
{'AND': [['Jesus Mari Zabaleta', 'languages spoken, written or signed', {'concept': 'language'}], ['Federico Orlando', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:language . resource:Jesus_Mari_Zabaleta property:languages_spoken,_written_or_signed ?o . resource:Federico_Orlando property:languages_spoken,_written_or_signed ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29 Q13474305
P47
Q15617994
USER
How many administrative territories do Spain and Francoist Spain share a border with ?
(c(Q15617994),P47,Q29) (c(Q15617994),P47,Q13474305)
action count
action intersection
action filter_type
action find_reverse
entity Q29
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q13474305
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q29'] [{'concept': 'Q15617994'}, 'P47', 'Q13474305']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:P47 resource:Q29 . ?s rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 . ?s property:P47 resource:Q13474305 }
Spain Francoist Spain
action count
action intersection
action filter_type
action find_reverse
entity Spain
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Francoist Spain
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Spain'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Francoist Spain']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:shares_border_with resource:Spain . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:shares_border_with resource:Francoist_Spain }
[]
designation for an administrative territorial entity
SYSTEM
2
Q1025 Q1028
(c(Q15617994),P47,Q29) (c(Q15617994),P47,Q13474305)
action count
action intersection
action filter_type
action find_reverse
entity Q29
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q13474305
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q29'] [{'concept': 'Q15617994'}, 'P47', 'Q13474305']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:P47 resource:Q29 . ?s rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 . ?s property:P47 resource:Q13474305 }
Mauritania Morocco
2
action count
action intersection
action filter_type
action find_reverse
entity Spain
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Francoist Spain
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Spain'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Francoist Spain']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?s property:shares_border_with resource:Spain . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:shares_border_with resource:Francoist_Spain }
[]