Simple Question (Direct)
Simple Question
Q6352984
P20
Q56061
USER
Where did Prince Adrian of Saxe-Coburg and Gotha expire ?
(Q6352984,P20,c(Q56061))
action filter_type
action find
entity Q6352984
relation P20
type Q56061
['Q6352984', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q6352984 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Prince Adrian of Saxe-Coburg and Gotha
action filter_type
action find
entity Prince Adrian of Saxe-Coburg and Gotha
relation place of death
type administrative territorial entity
['Prince Adrian of Saxe-Coburg and Gotha', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Prince_Adrian_of_Saxe-Coburg_and_Gotha property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q70
SYSTEM
Bern
Q70
(Q6352984,P20,c(Q56061))
action filter_type
action find
entity Q6352984
relation P20
type Q56061
Prince Adrian of Saxe-Coburg and Gotha expired at [ANSWER]
['Q6352984', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q6352984 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Bern
Prince Adrian of Saxe-Coburg and Gotha expired at Bern
Bern
action filter_type
action find
entity Prince Adrian of Saxe-Coburg and Gotha
relation place of death
type administrative territorial entity
['Prince Adrian of Saxe-Coburg and Gotha', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Prince_Adrian_of_Saxe-Coburg_and_Gotha property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q70
P190
Q515
USER
Which city is twin town of that administrative territory ?
(Q70,P190,c(Q515))
action filter_type
action find
entity Q70
relation P190
type Q515
['Q70', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q515 . resource:Q70 property:P190 ?q }
Bern
action filter_type
action find
entity Bern
relation sister city
type city
['Bern', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:city . resource:Bern property:sister_city ?q }
[]
city
Q1844
SYSTEM
Vaduz
Q1844
(Q70,P190,c(Q515))
action filter_type
action find
entity Q70
relation P190
type Q515
[ANSWER] is twin town of that administrative territory
['Q70', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q515 . resource:Q70 property:P190 ?q }
Vaduz
Vaduz is twin town of that administrative territory
Vaduz
action filter_type
action find
entity Bern
relation sister city
type city
['Bern', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:city . resource:Bern property:sister_city ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q70
P931
Q62447
USER
Which aerodrome is served by that administrative territory ?
(c(Q62447),P931,Q1844)
action filter_type
action find_reverse
entity Q70
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q1844']
SELECT DISTINCT ?l WHERE { ?l property:P931 resource:Q70 . ?l rdf:type ontology:Q62447 }
Bern
action filter_type
action find_reverse
entity Bern
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Vaduz']
SELECT DISTINCT ?l WHERE { ?l property:place_served_by_airport resource:Bern . ?l rdf:type ontology:aerodrome }
[]
aerodrome
Q619845
SYSTEM
Bern Airport
Q619845
(c(Q62447),P931,Q1844)
action filter_type
action find_reverse
entity Q70
relation P931
type Q62447
[ANSWER] is served by that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q1844']
SELECT DISTINCT ?l WHERE { ?l property:P931 resource:Q70 . ?l rdf:type ontology:Q62447 }
Bern Airport
Bern Airport is served by that administrative territory
Bern Airport
action filter_type
action find_reverse
entity Bern
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Vaduz']
SELECT DISTINCT ?l WHERE { ?l property:place_served_by_airport resource:Bern . ?l rdf:type ontology:aerodrome }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q619845 Q70
P931
Q56061
USER
Does Bern Airport serve Bern ?
(Q619845,P931,Q70)
action is_in
entity Q70
action find
entity Q619845
relation P931
['Q619845', 'P931', 'Q70']
ASK WHERE { resource:Q619845 property:P931 resource:Q70 }
Bern Airport Bern
action is_in
entity Bern
action find
entity Bern Airport
relation place served by airport
['Bern Airport', 'place served by airport', 'Bern']
ASK WHERE { resource:Bern_Airport property:place_served_by_airport resource:Bern }
[]
administrative territorial entity
SYSTEM
YES
(Q619845,P931,Q70)
action is_in
entity Q70
action find
entity Q619845
relation P931
[ANSWER]
['Q619845', 'P931', 'Q70']
ASK WHERE { resource:Q619845 property:P931 resource:Q70 }
Yes
action is_in
entity Bern
action find
entity Bern Airport
relation place served by airport
['Bern Airport', 'place served by airport', 'Bern']
ASK WHERE { resource:Bern_Airport property:place_served_by_airport resource:Bern }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1844
P1376
Q1048835 Q15617994
USER
How many political territories and administrative territories have Vaduz as their capital ?
(Q1844,P1376,c(Q1048835)) (Q1844,P1376,c(Q15617994))
action count
action union
action filter_type
action find
entity Q1844
relation P1376
type Q1048835
action filter_type
action find
entity Q1844
relation P1376
type Q15617994
['Q1844', 'P1376', {'concept': 'Q1048835'}] ['Q1844', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } }
Vaduz
action count
action union
action filter_type
action find
entity Vaduz
relation capital of
type political territorial entity
action filter_type
action find
entity Vaduz
relation capital of
type designation for an administrative territorial entity
['Vaduz', 'capital of', {'concept': 'political territorial entity'}] ['Vaduz', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
1 political territories and 1 administrative territories
Q49655 Q347
(Q1844,P1376,c(Q1048835)) (Q1844,P1376,c(Q15617994))
action count
action union
action filter_type
action find
entity Q1844
relation P1376
type Q1048835
action filter_type
action find
entity Q1844
relation P1376
type Q15617994
[ANSWER]
['Q1844', 'P1376', {'concept': 'Q1048835'}] ['Q1844', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } }
Schellenberg Liechtenstein
1 political territories and 1 administrative territories
action count
action union
action filter_type
action find
entity Vaduz
relation capital of
type political territorial entity
action filter_type
action find
entity Vaduz
relation capital of
type designation for an administrative territorial entity
['Vaduz', 'capital of', {'concept': 'political territorial entity'}] ['Vaduz', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1844
P47
Q1048835
USER
Which political territories have a shared border with that city ?
action filter_type
action find
entity Q1844
relation P47
type Q1048835
SELECT DISTINCT ?h WHERE { resource:Q1844 property:P47 ?h . ?h rdf:type ontology:Q1048835 }
Vaduz
action filter_type
action find
entity Vaduz
relation shares border with
type political territorial entity
SELECT DISTINCT ?h WHERE { resource:Vaduz property:shares_border_with ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q4540 Q49663 Q49657
SYSTEM
Eschen, Balzers, Schaan
Q4540 Q49662 Q49663 Q49660 Q49657 Q49654 Q49651
action filter_type
action find
entity Q1844
relation P47
type Q1048835
[ANSWERS] have a shared border with that city
SELECT DISTINCT ?h WHERE { resource:Q1844 property:P47 ?h . ?h rdf:type ontology:Q1048835 }
Eschen Gamprin Balzers Planken Schaan Triesen Triesenberg
Eschen, Balzers and Schaan have a shared border with that city
Eschen Balzers Schaan
action filter_type
action find
entity Vaduz
relation shares border with
type political territorial entity
SELECT DISTINCT ?h WHERE { resource:Vaduz property:shares_border_with ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4540
P36
Q1048835
USER
Which political territory is associated to Eschen as the capital ?
(Q4540,P36,c(Q1048835))
action filter_type
action find
entity Q4540
relation P36
type Q1048835
['Q4540', 'P36', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q4540 property:P36 ?n . ?n rdf:type ontology:Q1048835 }
Eschen
action filter_type
action find
entity Eschen
relation capital
type political territorial entity
['Eschen', 'capital', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Eschen property:capital ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q4540
SYSTEM
Eschen
Q4540
(Q4540,P36,c(Q1048835))
action filter_type
action find
entity Q4540
relation P36
type Q1048835
[ANSWER] is associated to [ANSWER] as the capital
['Q4540', 'P36', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q4540 property:P36 ?n . ?n rdf:type ontology:Q1048835 }
Eschen
Eschen is associated to Eschen as the capital
Eschen
action filter_type
action find
entity Eschen
relation capital
type political territorial entity
['Eschen', 'capital', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Eschen property:capital ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4540
P19
Q502895
USER
Who have location of birth at that political territory ?
(c(Q502895),P19,Q4540)
action filter_type
action find_reverse
entity Q4540
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q4540']
SELECT DISTINCT ?z WHERE { ?z property:P19 resource:Q4540 . ?z rdf:type ontology:Q502895 }
Eschen
action filter_type
action find_reverse
entity Eschen
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Eschen']
SELECT DISTINCT ?z WHERE { ?z property:place_of_birth resource:Eschen . ?z rdf:type ontology:common_name }
[]
common name
Q268968 Q922748 Q26261088
SYSTEM
Gerard Batliner, Markus Hasler, Ludwig Marxer
Q1693851 Q268968 Q1874763 Q1372860 Q345112 Q19337911 Q922748 Q26261088
(c(Q502895),P19,Q4540)
action filter_type
action find_reverse
entity Q4540
relation P19
type Q502895
[ANSWERS] have location of birth at that political territory
[{'concept': 'Q502895'}, 'P19', 'Q4540']
SELECT DISTINCT ?z WHERE { ?z property:P19 resource:Q4540 . ?z rdf:type ontology:Q502895 }
Johann Georg Hasler Gerard Batliner Ludwig Marxer Eugen Schafhauser Josef Hoop Franz Josef Hoop Markus Hasler Ludwig Marxer
Gerard Batliner, Markus Hasler and Ludwig Marxer have location of birth at that political territory
Gerard Batliner Markus Hasler Ludwig Marxer
action filter_type
action find_reverse
entity Eschen
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Eschen']
SELECT DISTINCT ?z WHERE { ?z property:place_of_birth resource:Eschen . ?z rdf:type ontology:common_name }
[]