Simple Question (Direct)
Simple Question
Q457569
P1376
Q20667921
USER
Which french administrative division has Blâmont as its county seat ?
(Q457569,P1376,c(Q20667921))
action filter_type
action find
entity Q457569
relation P1376
type Q20667921
['Q457569', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q457569 property:P1376 ?b . ?b rdf:type ontology:Q20667921 }
Blâmont
action filter_type
action find
entity Blâmont
relation capital of
type type of french administrative division
['Blâmont', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Blâmont property:capital_of ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1669540
SYSTEM
canton of Blâmont
Q1669540
(Q457569,P1376,c(Q20667921))
action filter_type
action find
entity Q457569
relation P1376
type Q20667921
The [ANSWER] has Blâmont as its county seat
['Q457569', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q457569 property:P1376 ?b . ?b rdf:type ontology:Q20667921 }
canton of Blâmont
The canton of Blâmont has Blâmont as its county seat
canton of Blâmont
action filter_type
action find
entity Blâmont
relation capital of
type type of french administrative division
['Blâmont', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Blâmont property:capital_of ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q20667921 Q515
USER
How many cities are the county seat of approximately 10 french administrative divisions ?
(c(Q515),P1376,c(Q20667921))
action count
action approx
action find_tuple_counts
relation P1376
type Q515
type Q20667921
value 10
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { FILTER ( ?g = 10 ) . { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?g ) WHERE { ?z property:P1376 ?l . ?z rdf:type ontology:Q515 . ?l rdf:type ontology:Q20667921 } GROUP BY ?z } }
action count
action approx
action find_tuple_counts
relation capital of
type city
type type of french administrative division
value 10
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { FILTER ( ?g = 10 ) . { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?g ) WHERE { ?z property:capital_of ?l . ?z rdf:type ontology:city . ?l rdf:type ontology:type_of_french_administrative_division } GROUP BY ?z } }
[]
type of french administrative division city
SYSTEM
1
Q6602
(c(Q515),P1376,c(Q20667921))
action count
action approx
action find_tuple_counts
relation P1376
type Q515
type Q20667921
value 10
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { FILTER ( ?g = 10 ) . { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?g ) WHERE { ?z property:P1376 ?l . ?z rdf:type ontology:Q515 . ?l rdf:type ontology:Q20667921 } GROUP BY ?z } }
Strasbourg
1
action count
action approx
action find_tuple_counts
relation capital of
type city
type type of french administrative division
value 10
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { FILTER ( ?g = 10 ) . { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?g ) WHERE { ?z property:capital_of ?l . ?z rdf:type ontology:city . ?l rdf:type ontology:type_of_french_administrative_division } GROUP BY ?z } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q15617994 Q20667921
USER
Which administrative territories have exactly 1 french administrative division have their first city ?
(c(Q20667921),P1376,c(Q15617994))
action equal
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 1
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:P1376 ?e . ?e rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q20667921 } GROUP BY ?e } . FILTER ( ?z = 1 ) }
action equal
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
value 1
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:capital_of ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:type_of_french_administrative_division } GROUP BY ?e } . FILTER ( ?z = 1 ) }
[]
designation for an administrative territorial entity type of french administrative division
Q12753 Q12584 Q3113
SYSTEM
Seine-et-Marne, Maine-et-Loire, Allier
Q12631 Q3368 Q3044731 Q12689 Q3377 Q3372 Q3093 Q2528268 Q12594 Q12574 Q12792 Q12700 Q12709 Q12642 Q3216 Q3194 Q12804 Q12808 Q3326 Q3286 Q3266 Q3105 Q33788 Q12740 Q12745 Q12779 Q12607 Q2281221 Q12694 Q12515 Q12517 Q3364 Q3148 Q12675 Q12589 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q12736 Q12657 Q12652 Q12556 Q12816 Q3353 Q3357 Q3184 Q2900529 Q1999970 Q155019 Q107426 Q12661 Q1270623 Q3125 Q3120 Q3110307 Q12722 Q12553 Q12620 Q12626 Q12543 Q12563 Q426025 Q3349 Q3083 Q3240 Q3249 Q12761 Q12765 Q3334 Q12572 Q12576 Q12578 Q12679 Q3113 Q12758 Q12753 Q12751 Q12564
(c(Q20667921),P1376,c(Q15617994))
action equal
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 1
[ANSWERS] have exactly 1 french administrative division have their first city
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:P1376 ?e . ?e rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q20667921 } GROUP BY ?e } . FILTER ( ?z = 1 ) }
Meuse Essonne Guyane Pas-de-Calais Eure-et-Loir Eure Aisne Mont-Blanc Marne Loiret Vaucluse Hautes-Pyrénées Pyrénées-Orientales Morbihan Aveyron Aube Vienne Haute-Vienne Corrèze Cher Charente Vosges New Caledonia Sarthe Savoie Tarn-et-Garonne Haute-Marne Principality of Orange Puy-de-Dôme Gard Gers Drôme Ardèche Oise Manche Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Saône-et-Loire Nièvre Moselle Indre-et-Loire Yonne Creuse Dordogne Ariège Bezirk Lothringen Upper Alsace Duchy of Lorraine Anjou Nord Meurthe Hautes-Alpes Jura Golo Haut-Rhin Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Landes Duchy of Savoy Côtes-d'Armor Ain Bouches-du-Rhône Calvados Seine-Saint-Denis Deux-Sèvres Haute-Corse Haute-Loire Lot Lot-et-Garonne Orne Allier Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
Seine-et-Marne, Maine-et-Loire and Allier have exactly 1 french administrative division have their first city
Seine-et-Marne Maine-et-Loire Allier
action equal
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
value 1
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:capital_of ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:type_of_french_administrative_division } GROUP BY ?e } . FILTER ( ?z = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q502939 Q12584
P47
Q15617994
USER
Which administrative territories are next to the border of Maine-et-Loire or Stadtprozelten ?
OR((c(Q15617994),P47,Q12584), (c(Q15617994),P47,Q502939))
action filter_type
action union
action find_reverse
entity Q12584
relation P47
action find_reverse
entity Q502939
relation P47
type Q15617994
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q12584'], [{'concept': 'Q15617994'}, 'P47', 'Q502939']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P47 resource:Q12584 } UNION { ?i property:P47 resource:Q502939 } } . ?i rdf:type ontology:Q15617994 }
Stadtprozelten Maine-et-Loire
action filter_type
action union
action find_reverse
entity Maine-et-Loire
relation shares border with
action find_reverse
entity Stadtprozelten
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Maine-et-Loire'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Stadtprozelten']]}
SELECT DISTINCT ?i WHERE { { { ?i property:shares_border_with resource:Maine-et-Loire } UNION { ?i property:shares_border_with resource:Stadtprozelten } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q436841 Q508640 Q12804 Q12765 Q12798 Q12549 Q12620 Q3068 Q12556 Q502836
SYSTEM
Some of them are Altenbuch, Faulbach, Vienne, Deux-Sèvres, Vendée, Ille-et-Vilaine, Mayenne, Loire-Atlantique, Indre-et-Loire, Dorfprozelten
Q12798 Q12804 Q508640 Q12740 Q502836 Q12620 Q436841 Q3068 Q12549 Q12765 Q12556
OR((c(Q15617994),P47,Q12584), (c(Q15617994),P47,Q502939))
action filter_type
action union
action find_reverse
entity Q12584
relation P47
action find_reverse
entity Q502939
relation P47
type Q15617994
[ANSWERS] are next to the border of Maine-et-Loire or Stadtprozelten
{'OR': [[{'concept': 'Q15617994'}, 'P47', 'Q12584'], [{'concept': 'Q15617994'}, 'P47', 'Q502939']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P47 resource:Q12584 } UNION { ?i property:P47 resource:Q502939 } } . ?i rdf:type ontology:Q15617994 }
Vendée Vienne Faulbach Sarthe Dorfprozelten Mayenne Altenbuch Loire-Atlantique Ille-et-Vilaine Deux-Sèvres Indre-et-Loire
Altenbuch, Faulbach, Vienne, Deux-Sèvres, Vendée, Ille-et-Vilaine, Mayenne, Loire-Atlantique, Indre-et-Loire and Dorfprozelten are next to the border of Maine-et-Loire or Stadtprozelten
Altenbuch Faulbach Vienne Deux-Sèvres Vendée Ille-et-Vilaine Mayenne Loire-Atlantique Indre-et-Loire Dorfprozelten
action filter_type
action union
action find_reverse
entity Maine-et-Loire
relation shares border with
action find_reverse
entity Stadtprozelten
relation shares border with
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Maine-et-Loire'], [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Stadtprozelten']]}
SELECT DISTINCT ?i WHERE { { { ?i property:shares_border_with resource:Maine-et-Loire } UNION { ?i property:shares_border_with resource:Stadtprozelten } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q355304 Q15324 Q15617994
USER
Which administrative territories are situated close to max number of watercourses or bodies of water ?
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action argmax
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?o WHERE { { ?o property:P206 ?u . ?o rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15324 } UNION { ?o property:P206 ?u . ?o rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q355304 } } GROUP BY ?o } } . FILTER ( ?p = ?s ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?t WHERE { { ?t rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15324 . ?t property:P206 ?f } UNION { ?t property:P206 ?f . ?t rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q355304 } } GROUP BY ?t } }
action argmax
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?o WHERE { { ?o property:located_next_to_body_of_water ?u . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:body_of_water } UNION { ?o property:located_next_to_body_of_water ?u . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:watercourse } } GROUP BY ?o } } . FILTER ( ?p = ?s ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?t WHERE { { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:body_of_water . ?t property:located_next_to_body_of_water ?f } UNION { ?t property:located_next_to_body_of_water ?f . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:watercourse } } GROUP BY ?t } }
[]
watercourse body of water designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action argmax
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
[ANSWER] is situated close to max number of watercourses or bodies of water
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?o WHERE { { ?o property:P206 ?u . ?o rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15324 } UNION { ?o property:P206 ?u . ?o rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q355304 } } GROUP BY ?o } } . FILTER ( ?p = ?s ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?t WHERE { { ?t rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15324 . ?t property:P206 ?f } UNION { ?t property:P206 ?f . ?t rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q355304 } } GROUP BY ?t } }
Poland
Poland is situated close to max number of watercourses or bodies of water
Poland
action argmax
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?o WHERE { { ?o property:located_next_to_body_of_water ?u . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:body_of_water } UNION { ?o property:located_next_to_body_of_water ?u . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:watercourse } } GROUP BY ?o } } . FILTER ( ?p = ?s ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?t WHERE { { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:body_of_water . ?t property:located_next_to_body_of_water ?f } UNION { ?t property:located_next_to_body_of_water ?f . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:watercourse } } GROUP BY ?t } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q457569
P21 P20
Q502895
USER
Which people expired at Blâmont and are a male ?
AND((c(Q502895),P20,Q457569), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q457569
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q457569'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y property:P20 resource:Q457569 . ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q502895 }
male Blâmont
action filter_type
action intersection
action find_reverse
entity Blâmont
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Blâmont'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y property:place_of_death resource:Blâmont . ?y property:gender resource:male . ?y rdf:type ontology:common_name }
[]
common name
Q24008628
SYSTEM
François Balthazar Lafrogne
Q24008628
AND((c(Q502895),P20,Q457569), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q457569
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] expired at Blâmont and are a male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q457569'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y property:P20 resource:Q457569 . ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q502895 }
François Balthazar Lafrogne
François Balthazar Lafrogne expired at Blâmont and are a male
François Balthazar Lafrogne
action filter_type
action intersection
action find_reverse
entity Blâmont
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Blâmont'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y property:place_of_death resource:Blâmont . ?y property:gender resource:male . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3068
P610
Q8502
USER
What is the highest point of Loire-Atlantique ?
(Q3068,P610,c(Q8502))
action filter_type
action find
entity Q3068
relation P610
type Q8502
['Q3068', 'P610', {'concept': 'Q8502'}]
SELECT DISTINCT ?p WHERE { resource:Q3068 property:P610 ?p . ?p rdf:type ontology:Q8502 }
Loire-Atlantique
action filter_type
action find
entity Loire-Atlantique
relation highest point
type mountain
['Loire-Atlantique', 'highest point', {'concept': 'mountain'}]
SELECT DISTINCT ?p WHERE { resource:Loire-Atlantique property:highest_point ?p . ?p rdf:type ontology:mountain }
[]
mountain
Q2983440
SYSTEM
colline de la Bretèche
Q2983440
(Q3068,P610,c(Q8502))
action filter_type
action find
entity Q3068
relation P610
type Q8502
The highest point of Loire-Atlantique is the [ANSWER]
['Q3068', 'P610', {'concept': 'Q8502'}]
SELECT DISTINCT ?p WHERE { resource:Q3068 property:P610 ?p . ?p rdf:type ontology:Q8502 }
colline de la Bretèche
The highest point of Loire-Atlantique is the colline de la Bretèche
colline de la Bretèche
action filter_type
action find
entity Loire-Atlantique
relation highest point
type mountain
['Loire-Atlantique', 'highest point', {'concept': 'mountain'}]
SELECT DISTINCT ?p WHERE { resource:Loire-Atlantique property:highest_point ?p . ?p rdf:type ontology:mountain }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q237
Q8502
USER
And how about Vatican City?
(Q237,P610,c(Q8502))
action filter_type
action find
entity Q237
relation P610
type Q8502
['Q237', 'P610', {'concept': 'Q8502'}]
SELECT DISTINCT ?e WHERE { resource:Q237 property:P610 ?e . ?e rdf:type ontology:Q8502 }
Vatican City
action filter_type
action find
entity Vatican City
relation highest point
type mountain
['Vatican City', 'highest point', {'concept': 'mountain'}]
SELECT DISTINCT ?e WHERE { resource:Vatican_City property:highest_point ?e . ?e rdf:type ontology:mountain }
[]
mountain
Q1053000
SYSTEM
Vatican Hill
Q1053000
(Q237,P610,c(Q8502))
action filter_type
action find
entity Q237
relation P610
type Q8502
[ANSWER]
['Q237', 'P610', {'concept': 'Q8502'}]
SELECT DISTINCT ?e WHERE { resource:Q237 property:P610 ?e . ?e rdf:type ontology:Q8502 }
Vatican Hill
Vatican Hill
action filter_type
action find
entity Vatican City
relation highest point
type mountain
['Vatican City', 'highest point', {'concept': 'mountain'}]
SELECT DISTINCT ?e WHERE { resource:Vatican_City property:highest_point ?e . ?e rdf:type ontology:mountain }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q845930 Q3113
P190
Q15617994
USER
Which administrative territories are sister towns of Allier or Berg Municipality ?
OR((Q3113,P190,c(Q15617994)), (Q845930,P190,c(Q15617994)))
action filter_type
action union
action find
entity Q3113
relation P190
action find
entity Q845930
relation P190
type Q15617994
{'OR': [['Q3113', 'P190', {'concept': 'Q15617994'}], ['Q845930', 'P190', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?v ) { ( resource:Q3113 ) ( resource:Q845930 ) } . ?v property:P190 ?z } . ?z rdf:type ontology:Q15617994 }
Berg Municipality Allier
action filter_type
action union
action find
entity Allier
relation sister city
action find
entity Berg Municipality
relation sister city
type designation for an administrative territorial entity
{'OR': [['Allier', 'sister city', {'concept': 'designation for an administrative territorial entity'}], ['Berg Municipality', 'sister city', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?v ) { ( resource:Allier ) ( resource:Berg_Municipality ) } . ?v property:sister_city ?z } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q965 Q502621
SYSTEM
Burkina Faso, Berg
Q965 Q502621
OR((Q3113,P190,c(Q15617994)), (Q845930,P190,c(Q15617994)))
action filter_type
action union
action find
entity Q3113
relation P190
action find
entity Q845930
relation P190
type Q15617994
[ANSWERS] are sister towns of Allier or Berg Municipality
{'OR': [['Q3113', 'P190', {'concept': 'Q15617994'}], ['Q845930', 'P190', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?v ) { ( resource:Q3113 ) ( resource:Q845930 ) } . ?v property:P190 ?z } . ?z rdf:type ontology:Q15617994 }
Burkina Faso Berg
Burkina Faso and Berg are sister towns of Allier or Berg Municipality
Burkina Faso Berg
action filter_type
action union
action find
entity Allier
relation sister city
action find
entity Berg Municipality
relation sister city
type designation for an administrative territorial entity
{'OR': [['Allier', 'sister city', {'concept': 'designation for an administrative territorial entity'}], ['Berg Municipality', 'sister city', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?v ) { ( resource:Allier ) ( resource:Berg_Municipality ) } . ?v property:sister_city ?z } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]