Simple Question (Direct)
Simple Question
Q1417722
P20
Q5119
USER
Where did Joachim Bering expire ?
(Q1417722,P20,c(Q5119))
action filter_type
action find
entity Q1417722
relation P20
type Q5119
['Q1417722', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?j WHERE { resource:Q1417722 property:P20 ?j . ?j rdf:type ontology:Q5119 }
Joachim Bering
action filter_type
action find
entity Joachim Bering
relation place of death
type capital
['Joachim Bering', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?j WHERE { resource:Joachim_Bering property:place_of_death ?j . ?j rdf:type ontology:capital }
[]
capital
Q4098
SYSTEM
Greifswald
Q4098
(Q1417722,P20,c(Q5119))
action filter_type
action find
entity Q1417722
relation P20
type Q5119
Joachim Bering expired in [ANSWER]
['Q1417722', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?j WHERE { resource:Q1417722 property:P20 ?j . ?j rdf:type ontology:Q5119 }
Greifswald
Joachim Bering expired in Greifswald
Greifswald
action filter_type
action find
entity Joachim Bering
relation place of death
type capital
['Joachim Bering', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?j WHERE { resource:Joachim_Bering property:place_of_death ?j . ?j rdf:type ontology:capital }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4098
P206
Q355304
USER
Which watercourse is located next to that capital ?
(Q4098,P206,c(Q355304))
action filter_type
action find
entity Q4098
relation P206
type Q355304
['Q4098', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?o WHERE { resource:Q4098 property:P206 ?o . ?o rdf:type ontology:Q355304 }
Greifswald
action filter_type
action find
entity Greifswald
relation located next to body of water
type watercourse
['Greifswald', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?o WHERE { resource:Greifswald property:located_next_to_body_of_water ?o . ?o rdf:type ontology:watercourse }
[]
watercourse
Q176329
SYSTEM
Ryck
Q176329
(Q4098,P206,c(Q355304))
action filter_type
action find
entity Q4098
relation P206
type Q355304
[ANSWER] is located next to that capital
['Q4098', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?o WHERE { resource:Q4098 property:P206 ?o . ?o rdf:type ontology:Q355304 }
Ryck
Ryck is located next to that capital
Ryck
action filter_type
action find
entity Greifswald
relation located next to body of water
type watercourse
['Greifswald', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?o WHERE { resource:Greifswald property:located_next_to_body_of_water ?o . ?o rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4098
P551
Q502895
USER
Who resides at that capital ?
(c(Q502895),P551,Q176329)
action filter_type
action find_reverse
entity Q4098
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q176329']
SELECT DISTINCT ?q WHERE { ?q property:P551 resource:Q4098 . ?q rdf:type ontology:Q502895 }
Greifswald
action filter_type
action find_reverse
entity Greifswald
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Ryck']
SELECT DISTINCT ?q WHERE { ?q property:residence resource:Greifswald . ?q rdf:type ontology:common_name }
[]
common name
Q27044396
SYSTEM
Christian Splieth
Q27044396
(c(Q502895),P551,Q176329)
action filter_type
action find_reverse
entity Q4098
relation P551
type Q502895
[ANSWER] resides at that capital
[{'concept': 'Q502895'}, 'P551', 'Q176329']
SELECT DISTINCT ?q WHERE { ?q property:P551 resource:Q4098 . ?q rdf:type ontology:Q502895 }
Christian Splieth
Christian Splieth resides at that capital
Christian Splieth
action filter_type
action find_reverse
entity Greifswald
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Ryck']
SELECT DISTINCT ?q WHERE { ?q property:residence resource:Greifswald . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4098
P36
Q1048835
USER
Which political territory consists of that one as its capital ?
(c(Q1048835),P36,Q27044396)
action filter_type
action find_reverse
entity Q4098
relation P36
type Q1048835
[{'concept': 'Q1048835'}, 'P36', 'Q27044396']
SELECT DISTINCT ?r WHERE { ?r property:P36 resource:Q4098 . ?r rdf:type ontology:Q1048835 }
Greifswald
action filter_type
action find_reverse
entity Greifswald
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Christian Splieth']
SELECT DISTINCT ?r WHERE { ?r property:capital resource:Greifswald . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q2917
SYSTEM
Vorpommern-Greifswald District
Q2917
(c(Q1048835),P36,Q27044396)
action filter_type
action find_reverse
entity Q4098
relation P36
type Q1048835
[ANSWER] consists of that one as its capital
[{'concept': 'Q1048835'}, 'P36', 'Q27044396']
SELECT DISTINCT ?r WHERE { ?r property:P36 resource:Q4098 . ?r rdf:type ontology:Q1048835 }
Vorpommern-Greifswald District
Vorpommern-Greifswald District consists of that one as its capital
Vorpommern-Greifswald District
action filter_type
action find_reverse
entity Greifswald
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Christian Splieth']
SELECT DISTINCT ?r WHERE { ?r property:capital resource:Greifswald . ?r rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2917
P47
Q1048835
USER
How many political territories share the border with Vorpommern-Greifswald District ?
(Q2917,P47,c(Q1048835))
action count
action filter_type
action find
entity Q2917
relation P47
type Q1048835
['Q2917', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q2917 property:P47 ?c . ?c rdf:type ontology:Q1048835 }
Vorpommern-Greifswald District
action count
action filter_type
action find
entity Vorpommern-Greifswald District
relation shares border with
type political territorial entity
['Vorpommern-Greifswald District', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Vorpommern-Greifswald_District property:shares_border_with ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
3
Q6109 Q2902 Q2909
(Q2917,P47,c(Q1048835))
action count
action filter_type
action find
entity Q2917
relation P47
type Q1048835
[ANSWER]
['Q2917', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q2917 property:P47 ?c . ?c rdf:type ontology:Q1048835 }
Uckermark Mecklenburgische Seenplatte District Vorpommern-Rügen District
3
action count
action filter_type
action find
entity Vorpommern-Greifswald District
relation shares border with
type political territorial entity
['Vorpommern-Greifswald District', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Vorpommern-Greifswald_District property:shares_border_with ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2917
P1376
Q5119
USER
Which capital is the county seat for that political territory ?
action filter_type
action find_reverse
entity Q2917
relation P1376
type Q5119
SELECT DISTINCT ?a WHERE { ?a property:P1376 resource:Q2917 . ?a rdf:type ontology:Q5119 }
Vorpommern-Greifswald District
action filter_type
action find_reverse
entity Vorpommern-Greifswald District
relation capital of
type capital
SELECT DISTINCT ?a WHERE { ?a property:capital_of resource:Vorpommern-Greifswald_District . ?a rdf:type ontology:capital }
[]
capital
Q4098
SYSTEM
Greifswald
Q4098
action filter_type
action find_reverse
entity Q2917
relation P1376
type Q5119
[ANSWER] is the county seat for that political territory
SELECT DISTINCT ?a WHERE { ?a property:P1376 resource:Q2917 . ?a rdf:type ontology:Q5119 }
Greifswald
Greifswald is the county seat for that political territory
Greifswald
action filter_type
action find_reverse
entity Vorpommern-Greifswald District
relation capital of
type capital
SELECT DISTINCT ?a WHERE { ?a property:capital_of resource:Vorpommern-Greifswald_District . ?a rdf:type ontology:capital }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4098 Q2916
P190
Q486972
USER
Is Osnabrück sister town of Greifswald ?
(Q4098,P190,Q2916)
action is_in
entity Q2916
action find
entity Q4098
relation P190
['Q4098', 'P190', 'Q2916']
ASK WHERE { resource:Q4098 property:P190 resource:Q2916 }
Greifswald Osnabrück
action is_in
entity Osnabrück
action find
entity Greifswald
relation sister city
['Greifswald', 'sister city', 'Osnabrück']
ASK WHERE { resource:Greifswald property:sister_city resource:Osnabrück }
[]
human settlement
SYSTEM
YES
(Q4098,P190,Q2916)
action is_in
entity Q2916
action find
entity Q4098
relation P190
[ANSWER]
['Q4098', 'P190', 'Q2916']
ASK WHERE { resource:Q4098 property:P190 resource:Q2916 }
Yes
action is_in
entity Osnabrück
action find
entity Greifswald
relation sister city
['Greifswald', 'sister city', 'Osnabrück']
ASK WHERE { resource:Greifswald property:sister_city resource:Osnabrück }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2917 Q533905 Q2909
P47
Q1048835
USER
Is Vorpommern-Greifswald District next to the border of Arenales de San Gregorio and Vorpommern-Rügen District ?
(Q2917,P47,Q533905) (Q2917,P47,Q2909)
action is_in
entity Q2917
action intersection
action find_reverse
entity Q533905
relation P47
action find_reverse
entity Q2909
relation P47
['Q2917', 'P47', 'Q533905'] ['Q2917', 'P47', 'Q2909']
ASK WHERE { resource:Q2917 property:P47 resource:Q533905 . resource:Q2917 property:P47 resource:Q2909 }
Vorpommern-Greifswald District Arenales de San Gregorio Vorpommern-Rügen District
action is_in
entity Vorpommern-Greifswald District
action intersection
action find_reverse
entity Arenales de San Gregorio
relation shares border with
action find_reverse
entity Vorpommern-Rügen District
relation shares border with
['Vorpommern-Greifswald District', 'shares border with', 'Arenales de San Gregorio'] ['Vorpommern-Greifswald District', 'shares border with', 'Vorpommern-Rügen District']
ASK WHERE { resource:Vorpommern-Greifswald_District property:shares_border_with resource:Arenales_de_San_Gregorio . resource:Vorpommern-Greifswald_District property:shares_border_with resource:Vorpommern-Rügen_District }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q2917,P47,Q533905) (Q2917,P47,Q2909)
action is_in
entity Q2917
action intersection
action find_reverse
entity Q533905
relation P47
action find_reverse
entity Q2909
relation P47
[ANSWER]
['Q2917', 'P47', 'Q533905'] ['Q2917', 'P47', 'Q2909']
ASK WHERE { resource:Q2917 property:P47 resource:Q533905 . resource:Q2917 property:P47 resource:Q2909 }
NO and YES respectively
action is_in
entity Vorpommern-Greifswald District
action intersection
action find_reverse
entity Arenales de San Gregorio
relation shares border with
action find_reverse
entity Vorpommern-Rügen District
relation shares border with
['Vorpommern-Greifswald District', 'shares border with', 'Arenales de San Gregorio'] ['Vorpommern-Greifswald District', 'shares border with', 'Vorpommern-Rügen District']
ASK WHERE { resource:Vorpommern-Greifswald_District property:shares_border_with resource:Arenales_de_San_Gregorio . resource:Vorpommern-Greifswald_District property:shares_border_with resource:Vorpommern-Rügen_District }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q889
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relations with approximately the same number of political territories as Afghanistan ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q889
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?r ) WHERE { ?d property:P530 ?x . ?d rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { resource:Q889 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?r = ?p ) }
Afghanistan
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Afghanistan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?r ) WHERE { ?d property:diplomatic_relation ?x . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { resource:Afghanistan property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r = ?p ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
48
Q804 Q800 Q419 Q668 Q414 Q55 Q148 Q783 Q45 Q41 Q796 Q794 Q954 Q889 Q881 Q811 Q31 Q924 Q928 Q733 Q734 Q233 Q1041 Q27 Q1028 Q736 Q786 Q225 Q224 Q96 Q347 Q17 Q902 Q1036 Q1033 Q963 Q298 Q117 Q750 Q213 Q215 Q219 Q916 Q1009 Q774 Q810 Q29 Q869
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q889
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?r ) WHERE { ?d property:P530 ?x . ?d rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { resource:Q889 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?r = ?p ) }
Panama Costa Rica Peru India Argentina Netherlands People's Republic of China Honduras Portugal Greece Iraq Iran Zimbabwe Afghanistan Vietnam Nicaragua Belgium Tanzania Philippines Paraguay Guyana Malta Senegal Ireland Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Liechtenstein Japan Bangladesh Uganda Nigeria Botswana Chile Ghana Bolivia Czech Republic Slovenia Bulgaria Angola Cameroon Guatemala Jordan Spain Thailand
48
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Afghanistan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?r ) WHERE { ?d property:diplomatic_relation ?x . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { resource:Afghanistan property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r = ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4098
P937
Q502895
USER
Who works at Greifswald ?
(c(Q502895),P937,Q4098)
action filter_type
action find_reverse
entity Q4098
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q4098']
SELECT DISTINCT ?g WHERE { ?g property:P937 resource:Q4098 . ?g rdf:type ontology:Q502895 }
Greifswald
action filter_type
action find_reverse
entity Greifswald
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Greifswald']
SELECT DISTINCT ?g WHERE { ?g property:work_location resource:Greifswald . ?g rdf:type ontology:common_name }
[]
common name
Q73314 Q24045628 Q18412054
SYSTEM
Wilhelm Kroll, Gerhard Burkhardt, Otto Rühle
Q73314 Q18412054 Q18413384 Q18411427 Q24045628 Q1680198
(c(Q502895),P937,Q4098)
action filter_type
action find_reverse
entity Q4098
relation P937
type Q502895
[ANSWERS] work at Greifswald
[{'concept': 'Q502895'}, 'P937', 'Q4098']
SELECT DISTINCT ?g WHERE { ?g property:P937 resource:Q4098 . ?g rdf:type ontology:Q502895 }
Wilhelm Kroll Otto Rühle Theodor Hurtig Edmund Lange Gerhard Burkhardt Nikolaus Bucholt
Wilhelm Kroll, Gerhard Burkhardt and Otto Rühle work at Greifswald
Wilhelm Kroll Gerhard Burkhardt Otto Rühle
action filter_type
action find_reverse
entity Greifswald
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Greifswald']
SELECT DISTINCT ?g WHERE { ?g property:work_location resource:Greifswald . ?g rdf:type ontology:common_name }
[]