Simple Question (Direct)
Simple Question
Q1614445
P47
Q20667921
USER
Who share the border with Sérigny ?
(Q1614445,P47,c(Q20667921))
action filter_type
action find
entity Q1614445
relation P47
type Q20667921
['Q1614445', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q1614445 property:P47 ?d . ?d rdf:type ontology:Q20667921 }
Sérigny
action filter_type
action find
entity Sérigny
relation shares border with
type type of french administrative division
['Sérigny', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Sérigny property:shares_border_with ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1138714 Q1612989 Q1435672
SYSTEM
Braye-sous-Faye, Sossais, Nueil-sous-Faye
Q749068 Q1612989 Q1435672 Q1355725 Q1454015 Q1138714 Q921331 Q1437456
(Q1614445,P47,c(Q20667921))
action filter_type
action find
entity Q1614445
relation P47
type Q20667921
Of [ANSWERS] share the border with Sérigny
['Q1614445', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q1614445 property:P47 ?d . ?d rdf:type ontology:Q20667921 }
Faye-la-Vineuse Sossais Nueil-sous-Faye Berthegon Saint-Christophe Braye-sous-Faye Orches Prinçay
Of Braye-sous-Faye, Sossais and Nueil-sous-Faye share the border with Sérigny
Braye-sous-Faye Sossais Nueil-sous-Faye
action filter_type
action find
entity Sérigny
relation shares border with
type type of french administrative division
['Sérigny', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Sérigny property:shares_border_with ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1612989
P17
Q15617994
USER
Which administrative territory does Sossais belong to ?
(Q1612989,P17,c(Q15617994))
action filter_type
action find
entity Q1612989
relation P17
type Q15617994
['Q1612989', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q1612989 property:P17 ?t }
Sossais
action filter_type
action find
entity Sossais
relation country
type designation for an administrative territorial entity
['Sossais', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sossais property:country ?t }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1612989,P17,c(Q15617994))
action filter_type
action find
entity Q1612989
relation P17
type Q15617994
Sossais belongs to [ANSWER]
['Q1612989', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q1612989 property:P17 ?t }
France
Sossais belongs to France
France
action filter_type
action find
entity Sossais
relation country
type designation for an administrative territorial entity
['Sossais', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sossais property:country ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P138
Q874405
USER
Which social group is the origin of that administrative territory ?
(Q142,P138,c(Q874405))
action filter_type
action find
entity Q142
relation P138
type Q874405
['Q142', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q142 property:P138 ?k . ?k rdf:type ontology:Q874405 }
France
action filter_type
action find
entity France
relation named after
type social group
['France', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:France property:named_after ?k . ?k rdf:type ontology:social_group }
[]
social group
Q43482
SYSTEM
Franks
Q43482
(Q142,P138,c(Q874405))
action filter_type
action find
entity Q142
relation P138
type Q874405
[ANSWER] is the origin of that administrative territory
['Q142', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q142 property:P138 ?k . ?k rdf:type ontology:Q874405 }
Franks
Franks is the origin of that administrative territory
Franks
action filter_type
action find
entity France
relation named after
type social group
['France', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:France property:named_after ?k . ?k rdf:type ontology:social_group }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21488684
Q874405
USER
And also tell me about Instituto Antártico Argentino?
(Q21488684,P138,c(Q874405))
action filter_type
action find
entity Q21488684
relation P138
type Q874405
['Q21488684', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?z WHERE { resource:Q21488684 property:P138 ?z . ?z rdf:type ontology:Q874405 }
Instituto Antártico Argentino
action filter_type
action find
entity Instituto Antártico Argentino
relation named after
type social group
['Instituto Antártico Argentino', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?z WHERE { resource:Instituto_Antártico_Argentino property:named_after ?z . ?z rdf:type ontology:social_group }
[]
social group
Q980703
SYSTEM
Instituto Antártico Argentino
Q980703
(Q21488684,P138,c(Q874405))
action filter_type
action find
entity Q21488684
relation P138
type Q874405
[ANSWER]
['Q21488684', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?z WHERE { resource:Q21488684 property:P138 ?z . ?z rdf:type ontology:Q874405 }
Instituto Antártico Argentino
Instituto Antártico Argentino
action filter_type
action find
entity Instituto Antártico Argentino
relation named after
type social group
['Instituto Antártico Argentino', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?z WHERE { resource:Instituto_Antártico_Argentino property:named_after ?z . ?z rdf:type ontology:social_group }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P159
Q20667921 Q43229 Q334453
USER
Which french administrative divisions are the headquarter locations of max number of organizations or divisions ?
(c(Q43229)|c(Q334453),P159,c(Q20667921))
action argmax
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q43229
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q334453
[[{'concept': 'Q43229'}, {'concept': 'Q334453'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?y ) { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?n ) WHERE { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:Q43229 ) ( ontology:Q334453 ) } } GROUP BY ?x } } . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?m ) WHERE { { ?e property:P159 ?j . ?j rdf:type ontology:Q20667921 . ?e rdf:type ontology:Q43229 } UNION { ?e property:P159 ?j . ?e rdf:type ontology:Q334453 . ?j rdf:type ontology:Q20667921 } } GROUP BY ?j } . FILTER ( ?m = ?y ) }
action argmax
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type organization
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type division
[[{'concept': 'organization'}, {'concept': 'division'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?y ) { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?n ) WHERE { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:organization ) ( ontology:division ) } } GROUP BY ?x } } . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?m ) WHERE { { ?e property:headquarters_location ?j . ?j rdf:type ontology:type_of_french_administrative_division . ?e rdf:type ontology:organization } UNION { ?e property:headquarters_location ?j . ?e rdf:type ontology:division . ?j rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?j } . FILTER ( ?m = ?y ) }
[]
type of french administrative division organization division
Q172455
SYSTEM
Boulogne-Billancourt
Q172455
(c(Q43229)|c(Q334453),P159,c(Q20667921))
action argmax
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q43229
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q334453
[ANSWER] is the headquarter locations of max number of organizations or divisions
[[{'concept': 'Q43229'}, {'concept': 'Q334453'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?y ) { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?n ) WHERE { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:Q43229 ) ( ontology:Q334453 ) } } GROUP BY ?x } } . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?m ) WHERE { { ?e property:P159 ?j . ?j rdf:type ontology:Q20667921 . ?e rdf:type ontology:Q43229 } UNION { ?e property:P159 ?j . ?e rdf:type ontology:Q334453 . ?j rdf:type ontology:Q20667921 } } GROUP BY ?j } . FILTER ( ?m = ?y ) }
Boulogne-Billancourt
Boulogne-Billancourt is the headquarter locations of max number of organizations or divisions
Boulogne-Billancourt
action argmax
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type organization
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type division
[[{'concept': 'organization'}, {'concept': 'division'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?y ) { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?n ) WHERE { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:organization ) ( ontology:division ) } } GROUP BY ?x } } . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?m ) WHERE { { ?e property:headquarters_location ?j . ?j rdf:type ontology:type_of_french_administrative_division . ?e rdf:type ontology:organization } UNION { ?e property:headquarters_location ?j . ?e rdf:type ontology:division . ?j rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?j } . FILTER ( ?m = ?y ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22914 Q1612989
P47
Q20667921
USER
Which french administrative divisions do Sossais or Noisseville share a border with ?
OR((c(Q20667921),P47,Q1612989), (c(Q20667921),P47,Q22914))
action filter_type
action union
action find_reverse
entity Q1612989
relation P47
action find_reverse
entity Q22914
relation P47
type Q20667921
{'OR': [[{'concept': 'Q20667921'}, 'P47', 'Q1612989'], [{'concept': 'Q20667921'}, 'P47', 'Q22914']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q20667921 . { VALUES ( ?g ) { ( resource:Q1612989 ) ( resource:Q22914 ) } . ?r property:P47 ?g } }
Noisseville Sossais
action filter_type
action union
action find_reverse
entity Sossais
relation shares border with
action find_reverse
entity Noisseville
relation shares border with
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Sossais'], [{'concept': 'type of french administrative division'}, 'shares border with', 'Noisseville']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:type_of_french_administrative_division . { VALUES ( ?g ) { ( resource:Sossais ) ( resource:Noisseville ) } . ?r property:shares_border_with ?g } }
[]
type of french administrative division
Q22235 Q1614445 Q22206 Q900173 Q1454015 Q921331 Q22747 Q22263 Q637695 Q1453283
SYSTEM
Servigny-lès-Sainte-Barbe, Sérigny, Retonfey, Thuré, Saint-Christophe, Orches, Nouilly, Montoy-Flanville, Saint-Genest-d'Ambière, Saint-Gervais-les-Trois-Clochers
Q22235 Q1614445 Q22206 Q900173 Q1454015 Q921331 Q22747 Q22263 Q637695 Q1453283
OR((c(Q20667921),P47,Q1612989), (c(Q20667921),P47,Q22914))
action filter_type
action union
action find_reverse
entity Q1612989
relation P47
action find_reverse
entity Q22914
relation P47
type Q20667921
Sossais or Noisseville share a border with [ANSWERS]
{'OR': [[{'concept': 'Q20667921'}, 'P47', 'Q1612989'], [{'concept': 'Q20667921'}, 'P47', 'Q22914']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q20667921 . { VALUES ( ?g ) { ( resource:Q1612989 ) ( resource:Q22914 ) } . ?r property:P47 ?g } }
Servigny-lès-Sainte-Barbe Sérigny Retonfey Thuré Saint-Christophe Orches Nouilly Montoy-Flanville Saint-Genest-d'Ambière Saint-Gervais-les-Trois-Clochers
Sossais or Noisseville share a border with Servigny-lès-Sainte-Barbe, Sérigny, Retonfey, Thuré, Saint-Christophe, Orches, Nouilly, Montoy-Flanville, Saint-Genest-d'Ambière and Saint-Gervais-les-Trois-Clochers
Servigny-lès-Sainte-Barbe Sérigny Retonfey Thuré Saint-Christophe Orches Nouilly Montoy-Flanville Saint-Genest-d'Ambière Saint-Gervais-les-Trois-Clochers
action filter_type
action union
action find_reverse
entity Sossais
relation shares border with
action find_reverse
entity Noisseville
relation shares border with
type type of french administrative division
{'OR': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Sossais'], [{'concept': 'type of french administrative division'}, 'shares border with', 'Noisseville']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:type_of_french_administrative_division . { VALUES ( ?g ) { ( resource:Sossais ) ( resource:Noisseville ) } . ?r property:shares_border_with ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1453283
P19
Q502895
USER
Which person has birthplace at Saint-Gervais-les-Trois-Clochers ?
(c(Q502895),P19,Q1453283)
action filter_type
action find_reverse
entity Q1453283
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1453283']
SELECT DISTINCT ?i WHERE { ?i property:P19 resource:Q1453283 . ?i rdf:type ontology:Q502895 }
Saint-Gervais-les-Trois-Clochers
action filter_type
action find_reverse
entity Saint-Gervais-les-Trois-Clochers
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Saint-Gervais-les-Trois-Clochers']
SELECT DISTINCT ?i WHERE { ?i property:place_of_birth resource:Saint-Gervais-les-Trois-Clochers . ?i rdf:type ontology:common_name }
[]
common name
Q437732
SYSTEM
Georges Gilles de la Tourette
Q437732
(c(Q502895),P19,Q1453283)
action filter_type
action find_reverse
entity Q1453283
relation P19
type Q502895
[ANSWER] has birthplace at Saint-Gervais-les-Trois-Clochers
[{'concept': 'Q502895'}, 'P19', 'Q1453283']
SELECT DISTINCT ?i WHERE { ?i property:P19 resource:Q1453283 . ?i rdf:type ontology:Q502895 }
Georges Gilles de la Tourette
Georges Gilles de la Tourette has birthplace at Saint-Gervais-les-Trois-Clochers
Georges Gilles de la Tourette
action filter_type
action find_reverse
entity Saint-Gervais-les-Trois-Clochers
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Saint-Gervais-les-Trois-Clochers']
SELECT DISTINCT ?i WHERE { ?i property:place_of_birth resource:Saint-Gervais-les-Trois-Clochers . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1453283
P36
Q20667921
USER
Which french administrative division has that one as its administrative centre ?
(c(Q20667921),P36,Q437732)
action filter_type
action find_reverse
entity Q1453283
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q437732']
SELECT DISTINCT ?a WHERE { ?a property:P36 resource:Q1453283 . ?a rdf:type ontology:Q20667921 }
Saint-Gervais-les-Trois-Clochers
action filter_type
action find_reverse
entity Saint-Gervais-les-Trois-Clochers
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Georges Gilles de la Tourette']
SELECT DISTINCT ?a WHERE { ?a property:capital resource:Saint-Gervais-les-Trois-Clochers . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q670066
SYSTEM
canton of Saint-Gervais-les-Trois-Clochers
Q670066
(c(Q20667921),P36,Q437732)
action filter_type
action find_reverse
entity Q1453283
relation P36
type Q20667921
The [ANSWER] has that one as its administrative centre
[{'concept': 'Q20667921'}, 'P36', 'Q437732']
SELECT DISTINCT ?a WHERE { ?a property:P36 resource:Q1453283 . ?a rdf:type ontology:Q20667921 }
canton of Saint-Gervais-les-Trois-Clochers
The canton of Saint-Gervais-les-Trois-Clochers has that one as its administrative centre
canton of Saint-Gervais-les-Trois-Clochers
action filter_type
action find_reverse
entity Saint-Gervais-les-Trois-Clochers
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Georges Gilles de la Tourette']
SELECT DISTINCT ?a WHERE { ?a property:capital resource:Saint-Gervais-les-Trois-Clochers . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q670066
P1376
Q20667921
USER
Which french administrative division is the county seat for that one ?
(c(Q20667921),P1376,Q670066)
action filter_type
action find_reverse
entity Q670066
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', 'Q670066']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q20667921 . ?a property:P1376 resource:Q670066 }
canton of Saint-Gervais-les-Trois-Clochers
action filter_type
action find_reverse
entity canton of Saint-Gervais-les-Trois-Clochers
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Saint-Gervais-les-Trois-Clochers']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:type_of_french_administrative_division . ?a property:capital_of resource:canton_of_Saint-Gervais-les-Trois-Clochers }
[]
type of french administrative division
Q1453283
SYSTEM
Saint-Gervais-les-Trois-Clochers
Q1453283
(c(Q20667921),P1376,Q670066)
action filter_type
action find_reverse
entity Q670066
relation P1376
type Q20667921
[ANSWER] is the county seat for that one
[{'concept': 'Q20667921'}, 'P1376', 'Q670066']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q20667921 . ?a property:P1376 resource:Q670066 }
Saint-Gervais-les-Trois-Clochers
Saint-Gervais-les-Trois-Clochers is the county seat for that one
Saint-Gervais-les-Trois-Clochers
action filter_type
action find_reverse
entity canton of Saint-Gervais-les-Trois-Clochers
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Saint-Gervais-les-Trois-Clochers']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:type_of_french_administrative_division . ?a property:capital_of resource:canton_of_Saint-Gervais-les-Trois-Clochers }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1453283 Q581511
P47
Q20667921
USER
Does Mondion share border with that one ?
(Q581511,P47,Q1453283)
action is_in
entity Q581511
action find
entity Q1453283
relation P47
['Q581511', 'P47', 'Q1453283']
ASK WHERE { resource:Q1453283 property:P47 resource:Q581511 }
Saint-Gervais-les-Trois-Clochers Mondion
action is_in
entity Mondion
action find
entity Saint-Gervais-les-Trois-Clochers
relation shares border with
['Mondion', 'shares border with', 'Saint-Gervais-les-Trois-Clochers']
ASK WHERE { resource:Saint-Gervais-les-Trois-Clochers property:shares_border_with resource:Mondion }
[]
type of french administrative division
SYSTEM
YES
(Q581511,P47,Q1453283)
action is_in
entity Q581511
action find
entity Q1453283
relation P47
[ANSWER]
['Q581511', 'P47', 'Q1453283']
ASK WHERE { resource:Q1453283 property:P47 resource:Q581511 }
Yes
action is_in
entity Mondion
action find
entity Saint-Gervais-les-Trois-Clochers
relation shares border with
['Mondion', 'shares border with', 'Saint-Gervais-les-Trois-Clochers']
ASK WHERE { resource:Saint-Gervais-les-Trois-Clochers property:shares_border_with resource:Mondion }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1453283 Q1647457
P47
Q1048835
USER
How many political territories share border with Saint-Gervais-les-Trois-Clochers or Lesaka ?
(c(Q1048835),P47,Q1453283) (c(Q1048835),P47,Q1647457)
action count
action union
action filter_type
action find_reverse
entity Q1453283
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q1647457
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q1453283'] [{'concept': 'Q1048835'}, 'P47', 'Q1647457']
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P47 ?s . VALUES ( ?s ) { ( resource:Q1453283 ) ( resource:Q1647457 ) } }
Saint-Gervais-les-Trois-Clochers Lesaka
action count
action union
action filter_type
action find_reverse
entity Saint-Gervais-les-Trois-Clochers
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Lesaka
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Saint-Gervais-les-Trois-Clochers'] [{'concept': 'political territorial entity'}, 'shares border with', 'Lesaka']
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:shares_border_with ?s . VALUES ( ?s ) { ( resource:Saint-Gervais-les-Trois-Clochers ) ( resource:Lesaka ) } }
[]
political territorial entity
SYSTEM
4
Q1751880 Q911092 Q818675 Q200201
(c(Q1048835),P47,Q1453283) (c(Q1048835),P47,Q1647457)
action count
action union
action filter_type
action find_reverse
entity Q1453283
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q1647457
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q1453283'] [{'concept': 'Q1048835'}, 'P47', 'Q1647457']
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P47 ?s . VALUES ( ?s ) { ( resource:Q1453283 ) ( resource:Q1647457 ) } }
Igantzi Oiartzun Bera, Navarre Irun
4
action count
action union
action filter_type
action find_reverse
entity Saint-Gervais-les-Trois-Clochers
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Lesaka
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Saint-Gervais-les-Trois-Clochers'] [{'concept': 'political territorial entity'}, 'shares border with', 'Lesaka']
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:shares_border_with ?s . VALUES ( ?s ) { ( resource:Saint-Gervais-les-Trois-Clochers ) ( resource:Lesaka ) } }
[]