Simple Question (Direct)
Simple Question
Q15617054
P19
Q56061
USER
Which administrative territory is the place of birth of Firmin Sanon ?
(Q15617054,P19,c(Q56061))
action filter_type
action find
entity Q15617054
relation P19
type Q56061
['Q15617054', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q15617054 property:P19 ?g }
Firmin Sanon
action filter_type
action find
entity Firmin Sanon
relation place of birth
type administrative territorial entity
['Firmin Sanon', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Firmin_Sanon property:place_of_birth ?g }
[]
administrative territorial entity
Q223761
SYSTEM
Bobo Dioulasso
Q223761
(Q15617054,P19,c(Q56061))
action filter_type
action find
entity Q15617054
relation P19
type Q56061
[ANSWER] is the place of birth of Firmin Sanon
['Q15617054', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q15617054 property:P19 ?g }
Bobo Dioulasso
Bobo Dioulasso is the place of birth of Firmin Sanon
Bobo Dioulasso
action filter_type
action find
entity Firmin Sanon
relation place of birth
type administrative territorial entity
['Firmin Sanon', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Firmin_Sanon property:place_of_birth ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15617054
P106
Q12737077
USER
What are the job of that person ?
(Q223761,P106,c(Q12737077))
action filter_type
action find
entity Q15617054
relation P106
type Q12737077
['Q223761', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q15617054 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Firmin Sanon
action filter_type
action find
entity Firmin Sanon
relation occupation
type occupation
['Bobo Dioulasso', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Firmin_Sanon property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q223761,P106,c(Q12737077))
action filter_type
action find
entity Q15617054
relation P106
type Q12737077
The job of that person are also [ANSWERS]
['Q223761', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q15617054 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
association football manager association football player
The job of that person are also association football manager and association football player
association football manager association football player
action filter_type
action find
entity Firmin Sanon
relation occupation
type occupation
['Bobo Dioulasso', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Firmin_Sanon property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q628099 Q937857
P425
Q349
USER
Who have association football manager and association football player as the associated fields of occupation ?
(Q628099,P425,c(Q349)) (Q937857,P425,c(Q349))
action union
action filter_type
action find
entity Q628099
relation P425
type Q349
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q628099', 'P425', {'concept': 'Q349'}] ['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { { resource:Q628099 property:P425 ?r . ?r rdf:type ontology:Q349 } UNION { resource:Q937857 property:P425 ?r . ?r rdf:type ontology:Q349 } }
association football manager association football player
action union
action filter_type
action find
entity association football manager
relation field of this occupation
type sport
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football manager', 'field of this occupation', {'concept': 'sport'}] ['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { { resource:association_football_manager property:field_of_this_occupation ?r . ?r rdf:type ontology:sport } UNION { resource:association_football_player property:field_of_this_occupation ?r . ?r rdf:type ontology:sport } }
[]
sport
Q2736 Q2736
SYSTEM
association football
Q2736 Q2736
(Q628099,P425,c(Q349)) (Q937857,P425,c(Q349))
action union
action filter_type
action find
entity Q628099
relation P425
type Q349
action filter_type
action find
entity Q937857
relation P425
type Q349
And [ANSWER] and [ANSWER] have [ANSWER] manager and [ANSWER] player as the associated fields of occupation
['Q628099', 'P425', {'concept': 'Q349'}] ['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { { resource:Q628099 property:P425 ?r . ?r rdf:type ontology:Q349 } UNION { resource:Q937857 property:P425 ?r . ?r rdf:type ontology:Q349 } }
association football association football
And association football and association football have association football manager and association football player as the associated fields of occupation
association football association football
action union
action filter_type
action find
entity association football manager
relation field of this occupation
type sport
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football manager', 'field of this occupation', {'concept': 'sport'}] ['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { { resource:association_football_manager property:field_of_this_occupation ?r . ?r rdf:type ontology:sport } UNION { resource:association_football_player property:field_of_this_occupation ?r . ?r rdf:type ontology:sport } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q223761
P190
Q56061
USER
Which administrative territories are partner town of Bobo Dioulasso ?
(c(Q56061),P190,Q223761)
action filter_type
action find
entity Q223761
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q223761']
SELECT DISTINCT ?g WHERE { resource:Q223761 property:P190 ?g . ?g rdf:type ontology:Q56061 }
Bobo Dioulasso
action filter_type
action find
entity Bobo Dioulasso
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Bobo Dioulasso']
SELECT DISTINCT ?g WHERE { resource:Bobo_Dioulasso property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3703 Q80985
SYSTEM
Bamako, Fes
Q3703 Q80985
(c(Q56061),P190,Q223761)
action filter_type
action find
entity Q223761
relation P190
type Q56061
[ANSWERS] are partner town of Bobo Dioulasso
[{'concept': 'Q56061'}, 'P190', 'Q223761']
SELECT DISTINCT ?g WHERE { resource:Q223761 property:P190 ?g . ?g rdf:type ontology:Q56061 }
Bamako Fes
Bamako and Fes are partner town of Bobo Dioulasso
Bamako Fes
action filter_type
action find
entity Bobo Dioulasso
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Bobo Dioulasso']
SELECT DISTINCT ?g WHERE { resource:Bobo_Dioulasso property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3703 Q80985
P190
Q515
USER
Which cities are twin towns of Bamako and Fes ?
(Q3703,P190,c(Q515)) (Q80985,P190,c(Q515))
action union
action filter_type
action find
entity Q3703
relation P190
type Q515
action filter_type
action find
entity Q80985
relation P190
type Q515
['Q3703', 'P190', {'concept': 'Q515'}] ['Q80985', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?u ) { ( resource:Q3703 ) ( resource:Q80985 ) } . ?u property:P190 ?i }
Bamako Fes
action union
action filter_type
action find
entity Bamako
relation sister city
type city
action filter_type
action find
entity Fes
relation sister city
type city
['Bamako', 'sister city', {'concept': 'city'}] ['Fes', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?u ) { ( resource:Bamako ) ( resource:Fes ) } . ?u property:sister_city ?i }
[]
city
Q2079 Q6602
SYSTEM
Leipzig, Strasbourg
Q2079 Q6602
(Q3703,P190,c(Q515)) (Q80985,P190,c(Q515))
action union
action filter_type
action find
entity Q3703
relation P190
type Q515
action filter_type
action find
entity Q80985
relation P190
type Q515
[ANSWERS] are twin towns of Bamako and Fes
['Q3703', 'P190', {'concept': 'Q515'}] ['Q80985', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?u ) { ( resource:Q3703 ) ( resource:Q80985 ) } . ?u property:P190 ?i }
Leipzig Strasbourg
Leipzig and Strasbourg are twin towns of Bamako and Fes
Leipzig Strasbourg
action union
action filter_type
action find
entity Bamako
relation sister city
type city
action filter_type
action find
entity Fes
relation sister city
type city
['Bamako', 'sister city', {'concept': 'city'}] ['Fes', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?u ) { ( resource:Bamako ) ( resource:Fes ) } . ?u property:sister_city ?i }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2079 Q6602
P190
Q515
USER
Which cities are twin towns of those ones ?
(Q2079,P190,c(Q515)) (Q6602,P190,c(Q515))
action filter_type
action find
entity prev_answer
relation P190
type Q515
['Q2079', 'P190', {'concept': 'Q515'}] ['Q6602', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?h ) { ( resource:Q2079 ) ( resource:Q6602 ) } . ?h property:P190 ?j . ?j rdf:type ontology:Q515 }
Leipzig Strasbourg
action filter_type
action find
entity prev_answer
relation sister city
type city
['Leipzig', 'sister city', {'concept': 'city'}] ['Strasbourg', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?h ) { ( resource:Leipzig ) ( resource:Strasbourg ) } . ?h property:sister_city ?j . ?j rdf:type ontology:city }
[]
city
Q1899 Q1731 Q1794
SYSTEM
Kyiv, Dresden, Frankfurt
Q3624 Q14960 Q1794 Q456 Q1899 Q16666 Q1731
(Q2079,P190,c(Q515)) (Q6602,P190,c(Q515))
action filter_type
action find
entity prev_answer
relation P190
type Q515
[ANSWERS] are twin towns of those ones
['Q2079', 'P190', {'concept': 'Q515'}] ['Q6602', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?h ) { ( resource:Q2079 ) ( resource:Q6602 ) } . ?h property:P190 ?j . ?j rdf:type ontology:Q515 }
Addis Ababa Brno Frankfurt Lyon Kyiv Nanjing Dresden
Kyiv, Dresden and Frankfurt are twin towns of those ones
Kyiv Dresden Frankfurt
action filter_type
action find
entity prev_answer
relation sister city
type city
['Leipzig', 'sister city', {'concept': 'city'}] ['Strasbourg', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?h ) { ( resource:Leipzig ) ( resource:Strasbourg ) } . ?h property:sister_city ?j . ?j rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1899 Q1731 Q1794
P206
Q355304
USER
Which watercourses are situated in the neighbourhood of those cities ?
(Q1899,P206,c(Q355304)) (Q1731,P206,c(Q355304)) (Q1794,P206,c(Q355304))
action filter_type
action find
entity prev_answer
relation P206
type Q355304
['Q1899', 'P206', {'concept': 'Q355304'}] ['Q1731', 'P206', {'concept': 'Q355304'}] ['Q1794', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?z ) { ( resource:Q3624 ) ( resource:Q14960 ) ( resource:Q1794 ) } . ?c rdf:type ontology:Q355304 . ?z property:P206 ?c }
Kyiv Dresden Frankfurt
action filter_type
action find
entity prev_answer
relation located next to body of water
type watercourse
['Kyiv', 'located next to body of water', {'concept': 'watercourse'}] ['Dresden', 'located next to body of water', {'concept': 'watercourse'}] ['Frankfurt', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?z ) { ( resource:Addis_Ababa ) ( resource:Brno ) ( resource:Frankfurt ) } . ?c rdf:type ontology:watercourse . ?z property:located_next_to_body_of_water ?c }
[]
watercourse
Q1644 Q40855 Q1670
SYSTEM
Elbe, Dnieper River, Main
Q40855 Q546853 Q1721806 Q1564654 Q1808492 Q1644 Q20282 Q1670
(Q1899,P206,c(Q355304)) (Q1731,P206,c(Q355304)) (Q1794,P206,c(Q355304))
action filter_type
action find
entity prev_answer
relation P206
type Q355304
[ANSWERS] are situated in the neighbourhood of those cities
['Q1899', 'P206', {'concept': 'Q355304'}] ['Q1731', 'P206', {'concept': 'Q355304'}] ['Q1794', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?z ) { ( resource:Q3624 ) ( resource:Q14960 ) ( resource:Q1794 ) } . ?c rdf:type ontology:Q355304 . ?z property:P206 ?c }
Dnieper River Prießnitz Kaitzbach Lockwitzbach Lausenbach Elbe Weißeritz Main
Elbe, Dnieper River and Main are situated in the neighbourhood of those cities
Elbe Dnieper River Main
action filter_type
action find
entity prev_answer
relation located next to body of water
type watercourse
['Kyiv', 'located next to body of water', {'concept': 'watercourse'}] ['Dresden', 'located next to body of water', {'concept': 'watercourse'}] ['Frankfurt', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?z ) { ( resource:Addis_Ababa ) ( resource:Brno ) ( resource:Frankfurt ) } . ?c rdf:type ontology:watercourse . ?z property:located_next_to_body_of_water ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6602
P931
Q62447
USER
Which aerodrome is served by Strasbourg ?
(c(Q62447),P931,Q6602)
action filter_type
action find_reverse
entity Q6602
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q6602']
SELECT DISTINCT ?w WHERE { ?w property:P931 resource:Q6602 . ?w rdf:type ontology:Q62447 }
Strasbourg
action filter_type
action find_reverse
entity Strasbourg
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Strasbourg']
SELECT DISTINCT ?w WHERE { ?w property:place_served_by_airport resource:Strasbourg . ?w rdf:type ontology:aerodrome }
[]
aerodrome
Q1165367
SYSTEM
Strasbourg Airport
Q1165367
(c(Q62447),P931,Q6602)
action filter_type
action find_reverse
entity Q6602
relation P931
type Q62447
[ANSWER] is served by Strasbourg
[{'concept': 'Q62447'}, 'P931', 'Q6602']
SELECT DISTINCT ?w WHERE { ?w property:P931 resource:Q6602 . ?w rdf:type ontology:Q62447 }
Strasbourg Airport
Strasbourg Airport is served by Strasbourg
Strasbourg Airport
action filter_type
action find_reverse
entity Strasbourg
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Strasbourg']
SELECT DISTINCT ?w WHERE { ?w property:place_served_by_airport resource:Strasbourg . ?w rdf:type ontology:aerodrome }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q43229 Q62447
USER
How many organizations operate approximately 1 aerodrome ?
(c(Q62447),P137,c(Q43229))
action count
action approx
action find_reverse_tuple_counts
relation P137
type Q43229
type Q62447
value 1
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:P137 ?f . ?f rdf:type ontology:Q43229 . ?a rdf:type ontology:Q62447 } GROUP BY ?f } . FILTER ( ?w = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation operator
type organization
type aerodrome
value 1
[{'concept': 'aerodrome'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:operator ?f . ?f rdf:type ontology:organization . ?a rdf:type ontology:aerodrome } GROUP BY ?f } . FILTER ( ?w = 1 ) }
[]
organization aerodrome
SYSTEM
7
Q1903235 Q12186358 Q4204304 Q965204 Q16149321 Q5513791 Q16487355
(c(Q62447),P137,c(Q43229))
action count
action approx
action find_reverse_tuple_counts
relation P137
type Q43229
type Q62447
value 1
[ANSWER]
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:P137 ?f . ?f rdf:type ontology:Q43229 . ?a rdf:type ontology:Q62447 } GROUP BY ?f } . FILTER ( ?w = 1 ) }
Martin-Baker Aerostar Airport Holdings East Line Group Handley Page Highlands and Islands Airports GMR Group Administradora Coahuilense de Infraestructura y Transporte Aéreo
7
action count
action approx
action find_reverse_tuple_counts
relation operator
type organization
type aerodrome
value 1
[{'concept': 'aerodrome'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:operator ?f . ?f rdf:type ontology:organization . ?a rdf:type ontology:aerodrome } GROUP BY ?f } . FILTER ( ?w = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1899
P1376
Q1048835
USER
Which political territory has Kyiv has its first city ?
(Q1899,P1376,c(Q1048835))
action filter_type
action find
entity Q1899
relation P1376
type Q1048835
['Q1899', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . resource:Q1899 property:P1376 ?y }
Kyiv
action filter_type
action find
entity Kyiv
relation capital of
type political territorial entity
['Kyiv', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . resource:Kyiv property:capital_of ?y }
[]
political territorial entity
Q170036
SYSTEM
Kiev Oblast
Q170036
(Q1899,P1376,c(Q1048835))
action filter_type
action find
entity Q1899
relation P1376
type Q1048835
[ANSWER] has Kyiv has its first city
['Q1899', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . resource:Q1899 property:P1376 ?y }
Kiev Oblast
Kiev Oblast has Kyiv has its first city
Kiev Oblast
action filter_type
action find
entity Kyiv
relation capital of
type political territorial entity
['Kyiv', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . resource:Kyiv property:capital_of ?y }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q52607
Q1048835
USER
And also tell me about Mar del Plata?
(Q52607,P1376,c(Q1048835))
action filter_type
action find
entity Q52607
relation P1376
type Q1048835
['Q52607', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q52607 property:P1376 ?t . ?t rdf:type ontology:Q1048835 }
Mar del Plata
action filter_type
action find
entity Mar del Plata
relation capital of
type political territorial entity
['Mar del Plata', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Mar_del_Plata property:capital_of ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q671742
SYSTEM
General Pueyrredón
Q671742
(Q52607,P1376,c(Q1048835))
action filter_type
action find
entity Q52607
relation P1376
type Q1048835
[ANSWER]
['Q52607', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q52607 property:P1376 ?t . ?t rdf:type ontology:Q1048835 }
General Pueyrredón
General Pueyrredón
action filter_type
action find
entity Mar del Plata
relation capital of
type political territorial entity
['Mar del Plata', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Mar_del_Plata property:capital_of ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q1048835
USER
How many political territories share border with that political territory ?
(c(Q1048835),P47,Q671742)
action count
action filter_type
action find_reverse
entity Q671742
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q671742']
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:P47 resource:Q671742 . ?w rdf:type ontology:Q1048835 }
action count
action filter_type
action find_reverse
entity General Pueyrredón
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'General Pueyrredón']
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:shares_border_with resource:General_Pueyrredón . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
3
Q240441 Q1827027 Q629119
(c(Q1048835),P47,Q671742)
action count
action filter_type
action find_reverse
entity Q671742
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q671742']
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:P47 resource:Q671742 . ?w rdf:type ontology:Q1048835 }
General Alvarado Partido Mar Chiquita Partido Balc
3
action count
action filter_type
action find_reverse
entity General Pueyrredón
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'General Pueyrredón']
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:shares_border_with resource:General_Pueyrredón . ?w rdf:type ontology:political_territorial_entity }
[]