Simple Question (Direct)
Simple Question
Q789256
P1383
Q56061
USER
Which administrative territories are contained in Balatonalmádi ?
(Q789256,P1383,c(Q56061))
action filter_type
action find
entity Q789256
relation P1383
type Q56061
['Q789256', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q789256 property:P1383 ?x . ?x rdf:type ontology:Q56061 }
Balatonalmádi
action filter_type
action find
entity Balatonalmádi
relation contains settlement
type administrative territorial entity
['Balatonalmádi', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Balatonalmádi property:contains_settlement ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1123309 Q26805207
SYSTEM
Káptalanfüred, Vörösberény
Q1123309 Q26805207
(Q789256,P1383,c(Q56061))
action filter_type
action find
entity Q789256
relation P1383
type Q56061
District [ANSWERS] are contained in Balatonalmádi
['Q789256', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q789256 property:P1383 ?x . ?x rdf:type ontology:Q56061 }
Káptalanfüred Vörösberény
District Káptalanfüred and Vörösberény are contained in Balatonalmádi
Káptalanfüred Vörösberény
action filter_type
action find
entity Balatonalmádi
relation contains settlement
type administrative territorial entity
['Balatonalmádi', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Balatonalmádi property:contains_settlement ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1123309 Q26805207
P1383
Q515
USER
Which cities have those administrative territories ?
(c(Q515),P1383,Q1123309) (c(Q515),P1383,Q26805207)
action filter_type
action find_reverse
entity prev_answer
relation P1383
type Q515
[{'concept': 'Q515'}, 'P1383', 'Q1123309'] [{'concept': 'Q515'}, 'P1383', 'Q26805207']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q515 . VALUES ( ?w ) { ( resource:Q1123309 ) ( resource:Q26805207 ) } . ?n property:P1383 ?w }
Káptalanfüred Vörösberény
action filter_type
action find_reverse
entity prev_answer
relation contains settlement
type city
[{'concept': 'city'}, 'contains settlement', 'Káptalanfüred'] [{'concept': 'city'}, 'contains settlement', 'Vörösberény']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:city . VALUES ( ?w ) { ( resource:Káptalanfüred ) ( resource:Vörösberény ) } . ?n property:contains_settlement ?w }
[]
city
Q789256
SYSTEM
Balatonalmádi
Q789256
(c(Q515),P1383,Q1123309) (c(Q515),P1383,Q26805207)
action filter_type
action find_reverse
entity prev_answer
relation P1383
type Q515
[ANSWER] have those administrative territories
[{'concept': 'Q515'}, 'P1383', 'Q1123309'] [{'concept': 'Q515'}, 'P1383', 'Q26805207']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q515 . VALUES ( ?w ) { ( resource:Q1123309 ) ( resource:Q26805207 ) } . ?n property:P1383 ?w }
Balatonalmádi
Balatonalmádi have those administrative territories
Balatonalmádi
action filter_type
action find_reverse
entity prev_answer
relation contains settlement
type city
[{'concept': 'city'}, 'contains settlement', 'Káptalanfüred'] [{'concept': 'city'}, 'contains settlement', 'Vörösberény']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:city . VALUES ( ?w ) { ( resource:Káptalanfüred ) ( resource:Vörösberény ) } . ?n property:contains_settlement ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q789256
P190
Q15617994
USER
Which administrative territory is partner town of that city ?
(Q789256,P190,c(Q15617994))
action filter_type
action find
entity Q789256
relation P190
type Q15617994
['Q789256', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q789256 property:P190 ?x . ?x rdf:type ontology:Q15617994 }
Balatonalmádi
action filter_type
action find
entity Balatonalmádi
relation sister city
type designation for an administrative territorial entity
['Balatonalmádi', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Balatonalmádi property:sister_city ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q255201
SYSTEM
Eggenfelden
Q255201
(Q789256,P190,c(Q15617994))
action filter_type
action find
entity Q789256
relation P190
type Q15617994
[ANSWER] is partner town of that city
['Q789256', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q789256 property:P190 ?x . ?x rdf:type ontology:Q15617994 }
Eggenfelden
Eggenfelden is partner town of that city
Eggenfelden
action filter_type
action find
entity Balatonalmádi
relation sister city
type designation for an administrative territorial entity
['Balatonalmádi', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Balatonalmádi property:sister_city ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q255201
P19
Q502895
USER
Which people have birthplace at that administrative territory ?
(c(Q502895),P19,Q255201)
action filter_type
action find_reverse
entity Q255201
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q255201']
SELECT DISTINCT ?b WHERE { ?b property:P19 resource:Q255201 . ?b rdf:type ontology:Q502895 }
Eggenfelden
action filter_type
action find_reverse
entity Eggenfelden
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Eggenfelden']
SELECT DISTINCT ?b WHERE { ?b property:place_of_birth resource:Eggenfelden . ?b rdf:type ontology:common_name }
[]
common name
Q1460359 Q2127959 Q97783
SYSTEM
Fritz Kempfler, Rainer Aigner, Richard Schimpf
Q1708148 Q97783 Q1466817 Q90365 Q1460359 Q1904788 Q1504738 Q10285970 Q2573168 Q16857523 Q17487582 Q1085600 Q15995718 Q15730093 Q1752221 Q2127959 Q1890026 Q1876924 Q15784600 Q1782195 Q1511336
(c(Q502895),P19,Q255201)
action filter_type
action find_reverse
entity Q255201
relation P19
type Q502895
[ANSWERS] have birthplace at that administrative territory
[{'concept': 'Q502895'}, 'P19', 'Q255201']
SELECT DISTINCT ?b WHERE { ?b property:P19 resource:Q255201 . ?b rdf:type ontology:Q502895 }
Joseph Vogl Richard Schimpf Fritz Hörauf Barbara Engleder Fritz Kempfler Martin Rehthaler Georg Hinterwinkler Friedrich Bachmeier Wilhelm Heizmann Tobias M. Huber Katrin Garfoot Christoph Nußbaumeder Albert Hahl Anton Kaes Markus Grübl Rainer Aigner Manfred Treml Lukas Lechner Augusta Laar Konrad Lex Gerhard Blöchl
Fritz Kempfler, Rainer Aigner and Richard Schimpf have birthplace at that administrative territory
Fritz Kempfler Rainer Aigner Richard Schimpf
action filter_type
action find_reverse
entity Eggenfelden
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Eggenfelden']
SELECT DISTINCT ?b WHERE { ?b property:place_of_birth resource:Eggenfelden . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q255201 Q243327
P190
Q515
USER
How many cities are partner towns of Eggenfelden or Changwon ?
(Q255201,P190,c(Q515)) (Q243327,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q255201
relation P190
type Q515
action filter_type
action find
entity Q243327
relation P190
type Q515
['Q255201', 'P190', {'concept': 'Q515'}] ['Q243327', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { ?w rdf:type ontology:Q515 . resource:Q255201 property:P190 ?w } UNION { ?w rdf:type ontology:Q515 . resource:Q243327 property:P190 ?w } }
Eggenfelden Changwon
action count
action union
action filter_type
action find
entity Eggenfelden
relation sister city
type city
action filter_type
action find
entity Changwon
relation sister city
type city
['Eggenfelden', 'sister city', {'concept': 'city'}] ['Changwon', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { ?w rdf:type ontology:city . resource:Eggenfelden property:sister_city ?w } UNION { ?w rdf:type ontology:city . resource:Changwon property:sister_city ?w } }
[]
city
SYSTEM
2
Q6582 Q789256
(Q255201,P190,c(Q515)) (Q243327,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q255201
relation P190
type Q515
action filter_type
action find
entity Q243327
relation P190
type Q515
[ANSWER]
['Q255201', 'P190', {'concept': 'Q515'}] ['Q243327', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { ?w rdf:type ontology:Q515 . resource:Q255201 property:P190 ?w } UNION { ?w rdf:type ontology:Q515 . resource:Q243327 property:P190 ?w } }
Carcassonne Balatonalmádi
2
action count
action union
action filter_type
action find
entity Eggenfelden
relation sister city
type city
action filter_type
action find
entity Changwon
relation sister city
type city
['Eggenfelden', 'sister city', {'concept': 'city'}] ['Changwon', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { ?w rdf:type ontology:city . resource:Eggenfelden property:sister_city ?w } UNION { ?w rdf:type ontology:city . resource:Changwon property:sister_city ?w } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q255201
P937
Q502895
USER
Which person have Eggenfelden as their work location ?
(c(Q502895),P937,Q255201)
action filter_type
action find_reverse
entity Q255201
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q255201']
SELECT DISTINCT ?f WHERE { ?f property:P937 resource:Q255201 . ?f rdf:type ontology:Q502895 }
Eggenfelden
action filter_type
action find_reverse
entity Eggenfelden
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Eggenfelden']
SELECT DISTINCT ?f WHERE { ?f property:work_location resource:Eggenfelden . ?f rdf:type ontology:common_name }
[]
common name
Q1555973
SYSTEM
Uwe Schulten-Baumer
Q1555973
(c(Q502895),P937,Q255201)
action filter_type
action find_reverse
entity Q255201
relation P937
type Q502895
[ANSWER] have Eggenfelden as their work location
[{'concept': 'Q502895'}, 'P937', 'Q255201']
SELECT DISTINCT ?f WHERE { ?f property:P937 resource:Q255201 . ?f rdf:type ontology:Q502895 }
Uwe Schulten-Baumer
Uwe Schulten-Baumer have Eggenfelden as their work location
Uwe Schulten-Baumer
action filter_type
action find_reverse
entity Eggenfelden
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Eggenfelden']
SELECT DISTINCT ?f WHERE { ?f property:work_location resource:Eggenfelden . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q255201
P17
Q1048835
USER
Which political territory is Eggenfelden present in ?
(Q255201,P17,c(Q1048835))
action filter_type
action find
entity Q255201
relation P17
type Q1048835
['Q255201', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q255201 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Eggenfelden
action filter_type
action find
entity Eggenfelden
relation country
type political territorial entity
['Eggenfelden', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Eggenfelden property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q255201,P17,c(Q1048835))
action filter_type
action find
entity Q255201
relation P17
type Q1048835
Which political territory is Eggenfelden present in
['Q255201', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q255201 property:P17 ?h . ?h rdf:type ontology:Q1048835 }
Germany
Which political territory is Eggenfelden present in
Germany
action filter_type
action find
entity Eggenfelden
relation country
type political territorial entity
['Eggenfelden', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Eggenfelden property:country ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q255201
P47
Q15617994
USER
Which administrative territories do that one share a border with ?
(c(Q15617994),P47,Q183)
action filter_type
action find
entity Q255201
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q183']
SELECT DISTINCT ?i WHERE { resource:Q255201 property:P47 ?i . ?i rdf:type ontology:Q15617994 }
Eggenfelden
action filter_type
action find
entity Eggenfelden
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Germany']
SELECT DISTINCT ?i WHERE { resource:Eggenfelden property:shares_border_with ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q574672 Q257401 Q553780
SYSTEM
Falkenberg, Mitterskirchen, Hebertsfelden
Q553780 Q574672 Q583211 Q257401 Q581527
(c(Q15617994),P47,Q183)
action filter_type
action find
entity Q255201
relation P47
type Q15617994
That one share a border with [ANSWERS]
[{'concept': 'Q15617994'}, 'P47', 'Q183']
SELECT DISTINCT ?i WHERE { resource:Q255201 property:P47 ?i . ?i rdf:type ontology:Q15617994 }
Hebertsfelden Falkenberg Wurmannsquick Mitterskirchen Unterdietfurt
That one share a border with Falkenberg, Mitterskirchen and Hebertsfelden
Falkenberg Mitterskirchen Hebertsfelden
action filter_type
action find
entity Eggenfelden
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Germany']
SELECT DISTINCT ?i WHERE { resource:Eggenfelden property:shares_border_with ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q574672
P20
Q502895
USER
Which person has that administrative territory as place of death ?
(c(Q502895),P20,Q574672)
action filter_type
action find_reverse
entity Q574672
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q574672']
SELECT DISTINCT ?h WHERE { ?h property:P20 resource:Q574672 . ?h rdf:type ontology:Q502895 }
Falkenberg
action filter_type
action find_reverse
entity Falkenberg
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Falkenberg']
SELECT DISTINCT ?h WHERE { ?h property:place_of_death resource:Falkenberg . ?h rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q574672
SYSTEM
Did you mean Falkenberg ?
Q574672 Q257401 Q553780
(c(Q502895),P20,Q574672) (c(Q502895),P20,Q257401) (c(Q502895),P20,Q553780)
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q574672'] [{'concept': 'Q502895'}, 'P20', 'Q257401'] [{'concept': 'Q502895'}, 'P20', 'Q553780']
SELECT DISTINCT ?h WHERE { ?h property:P20 resource:Q574672 . ?h rdf:type ontology:Q502895 }
Falkenberg Mitterskirchen Hebertsfelden
Did you mean Falkenberg ?
Falkenberg
[{'concept': 'common name'}, 'place of death', 'Falkenberg'] [{'concept': 'common name'}, 'place of death', 'Mitterskirchen'] [{'concept': 'common name'}, 'place of death', 'Hebertsfelden']
SELECT DISTINCT ?h WHERE { ?h property:place_of_death resource:Falkenberg . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P20,Q574672)
[{'concept': 'Q502895'}, 'P20', 'Q574672']
[{'concept': 'common name'}, 'place of death', 'Falkenberg']
[]
Q5492668
SYSTEM
Franz-Xaver Attenberger
Q5492668
(c(Q502895),P20,Q574672)
action filter_type
action find_reverse
entity Q574672
relation P20
type Q502895
[ANSWER] has that administrative territory as place of death
[{'concept': 'Q502895'}, 'P20', 'Q574672']
SELECT DISTINCT ?h WHERE { ?h property:P20 resource:Q574672 . ?h rdf:type ontology:Q502895 }
Franz-Xaver Attenberger
Franz-Xaver Attenberger has that administrative territory as place of death
Franz-Xaver Attenberger
action filter_type
action find_reverse
entity Falkenberg
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Falkenberg']
SELECT DISTINCT ?h WHERE { ?h property:place_of_death resource:Falkenberg . ?h rdf:type ontology:common_name }
[]