Simple Question (Direct)
Simple Question
Q1456384
P102
Q7278
USER
Which parties are Friedbert Grams affiliated with ?
(Q1456384,P102,c(Q7278))
action filter_type
action find
entity Q1456384
relation P102
type Q7278
['Q1456384', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?x WHERE { resource:Q1456384 property:P102 ?x . ?x rdf:type ontology:Q7278 }
Friedbert Grams
action filter_type
action find
entity Friedbert Grams
relation member of political party
type political party
['Friedbert Grams', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?x WHERE { resource:Friedbert_Grams property:member_of_political_party ?x . ?x rdf:type ontology:political_party }
[]
political party
Q49762 Q49756
SYSTEM
Christian Democratic Union, Democratic Farmers' Party of Germany
Q49762 Q49756
(Q1456384,P102,c(Q7278))
action filter_type
action find
entity Q1456384
relation P102
type Q7278
Friedbert Grams are affiliated with [ANSWERS]
['Q1456384', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?x WHERE { resource:Q1456384 property:P102 ?x . ?x rdf:type ontology:Q7278 }
Christian Democratic Union Democratic Farmers' Party of Germany
Friedbert Grams are affiliated with Christian Democratic Union and Democratic Farmers' Party of Germany
Christian Democratic Union Democratic Farmers' Party of Germany
action filter_type
action find
entity Friedbert Grams
relation member of political party
type political party
['Friedbert Grams', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?x WHERE { resource:Friedbert_Grams property:member_of_political_party ?x . ?x rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q49762 Q49756
P1142
Q7257
USER
What ideologies do those political parties believe in ?
(Q49762,P1142,c(Q7257)) (Q49756,P1142,c(Q7257))
action filter_type
action find
entity prev_answer
relation P1142
type Q7257
['Q49762', 'P1142', {'concept': 'Q7257'}] ['Q49756', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?d WHERE { ?u property:P1142 ?d . VALUES ( ?u ) { ( resource:Q49762 ) ( resource:Q49756 ) } . ?d rdf:type ontology:Q7257 }
Christian Democratic Union Democratic Farmers' Party of Germany
action filter_type
action find
entity prev_answer
relation political ideology
type ideology
['Christian Democratic Union', 'political ideology', {'concept': 'ideology'}] ["Democratic Farmers' Party of Germany", 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?d WHERE { ?u property:political_ideology ?d . VALUES ( ?u ) { ( resource:Christian_Democratic_Union ) ( resource:Democratic_Farmers'_Party_of_Germany ) } . ?d rdf:type ontology:ideology }
[]
ideology
Q209158 Q7272
SYSTEM
Christian democracy, socialism
Q209158 Q7272
(Q49762,P1142,c(Q7257)) (Q49756,P1142,c(Q7257))
action filter_type
action find
entity prev_answer
relation P1142
type Q7257
Those political parties believe in [ANSWERS]
['Q49762', 'P1142', {'concept': 'Q7257'}] ['Q49756', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?d WHERE { ?u property:P1142 ?d . VALUES ( ?u ) { ( resource:Q49762 ) ( resource:Q49756 ) } . ?d rdf:type ontology:Q7257 }
Christian democracy socialism
Those political parties believe in Christian democracy and socialism
Christian democracy socialism
action filter_type
action find
entity prev_answer
relation political ideology
type ideology
['Christian Democratic Union', 'political ideology', {'concept': 'ideology'}] ["Democratic Farmers' Party of Germany", 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?d WHERE { ?u property:political_ideology ?d . VALUES ( ?u ) { ( resource:Christian_Democratic_Union ) ( resource:Democratic_Farmers'_Party_of_Germany ) } . ?d rdf:type ontology:ideology }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1456384
P937
Q56061
USER
What is the work location of Friedbert Grams ?
(Q1456384,P937,c(Q56061))
action filter_type
action find
entity Q1456384
relation P937
type Q56061
['Q1456384', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q1456384 property:P937 ?d }
Friedbert Grams
action filter_type
action find
entity Friedbert Grams
relation work location
type administrative territorial entity
['Friedbert Grams', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Friedbert_Grams property:work_location ?d }
[]
administrative territorial entity
Q1709
SYSTEM
Schwerin
Q1709
(Q1456384,P937,c(Q56061))
action filter_type
action find
entity Q1456384
relation P937
type Q56061
The work location of Friedbert Grams is in [ANSWER]
['Q1456384', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q1456384 property:P937 ?d }
Schwerin
The work location of Friedbert Grams is in Schwerin
Schwerin
action filter_type
action find
entity Friedbert Grams
relation work location
type administrative territorial entity
['Friedbert Grams', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Friedbert_Grams property:work_location ?d }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1709 Q2107 Q3403549
P190
Q15617994
USER
Is that administrative territory partner town of Wuppertal and Reuß-Lobenstein und Ebersdorf Principality ?
(Q1709,P190,Q2107) (Q1709,P190,Q3403549)
action is_in
entity Q1709
action intersection
action find_reverse
entity Q2107
relation P190
action find_reverse
entity Q3403549
relation P190
['Q1709', 'P190', 'Q2107'] ['Q1709', 'P190', 'Q3403549']
ASK WHERE { resource:Q1709 property:P190 resource:Q2107 . resource:Q1709 property:P190 resource:Q3403549 }
Schwerin Wuppertal Reuß-Lobenstein und Ebersdorf Principality
action is_in
entity Schwerin
action intersection
action find_reverse
entity Wuppertal
relation sister city
action find_reverse
entity Reuß-Lobenstein und Ebersdorf Principality
relation sister city
['Schwerin', 'sister city', 'Wuppertal'] ['Schwerin', 'sister city', 'Reuß-Lobenstein und Ebersdorf Principality']
ASK WHERE { resource:Schwerin property:sister_city resource:Wuppertal . resource:Schwerin property:sister_city resource:Reuß-Lobenstein_und_Ebersdorf_Principality }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q1709,P190,Q2107) (Q1709,P190,Q3403549)
action is_in
entity Q1709
action intersection
action find_reverse
entity Q2107
relation P190
action find_reverse
entity Q3403549
relation P190
[ANSWER]
['Q1709', 'P190', 'Q2107'] ['Q1709', 'P190', 'Q3403549']
ASK WHERE { resource:Q1709 property:P190 resource:Q2107 . resource:Q1709 property:P190 resource:Q3403549 }
YES and NO respectively
action is_in
entity Schwerin
action intersection
action find_reverse
entity Wuppertal
relation sister city
action find_reverse
entity Reuß-Lobenstein und Ebersdorf Principality
relation sister city
['Schwerin', 'sister city', 'Wuppertal'] ['Schwerin', 'sister city', 'Reuß-Lobenstein und Ebersdorf Principality']
ASK WHERE { resource:Schwerin property:sister_city resource:Wuppertal . resource:Schwerin property:sister_city resource:Reuß-Lobenstein_und_Ebersdorf_Principality }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1709
P47
Q1048835
USER
Which political territories are adjacent to that administrative territory ?
action filter_type
action find
entity Q1709
relation P47
type Q1048835
SELECT DISTINCT ?u WHERE { resource:Q1709 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Schwerin
action filter_type
action find
entity Schwerin
relation shares border with
type political territorial entity
SELECT DISTINCT ?u WHERE { resource:Schwerin property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q2876 Q2905
SYSTEM
Nordwestmecklenburg District, Ludwigslust-Parchim District
Q2876 Q2905
action filter_type
action find
entity Q1709
relation P47
type Q1048835
[ANSWERS] are adjacent to that administrative territory
SELECT DISTINCT ?u WHERE { resource:Q1709 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Nordwestmecklenburg District Ludwigslust-Parchim District
Nordwestmecklenburg District and Ludwigslust-Parchim District are adjacent to that administrative territory
Nordwestmecklenburg District Ludwigslust-Parchim District
action filter_type
action find
entity Schwerin
relation shares border with
type political territorial entity
SELECT DISTINCT ?u WHERE { resource:Schwerin property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1709 Q393878
P1376
Q1048835
USER
How many political territories have Schwerin or King Edward Point as their capital ?
(Q1709,P1376,c(Q1048835)) (Q393878,P1376,c(Q1048835))
action count
action union
action filter_type
action find
entity Q1709
relation P1376
type Q1048835
action filter_type
action find
entity Q393878
relation P1376
type Q1048835
['Q1709', 'P1376', {'concept': 'Q1048835'}] ['Q393878', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { ?i property:P1376 ?u . VALUES ( ?i ) { ( resource:Q393878 ) ( resource:Q1709 ) } }
Schwerin King Edward Point
action count
action union
action filter_type
action find
entity Schwerin
relation capital of
type political territorial entity
action filter_type
action find
entity King Edward Point
relation capital of
type political territorial entity
['Schwerin', 'capital of', {'concept': 'political territorial entity'}] ['King Edward Point', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { ?i property:capital_of ?u . VALUES ( ?i ) { ( resource:King_Edward_Point ) ( resource:Schwerin ) } }
[]
political territorial entity
SYSTEM
2
Q48101 Q35086
(Q1709,P1376,c(Q1048835)) (Q393878,P1376,c(Q1048835))
action count
action union
action filter_type
action find
entity Q1709
relation P1376
type Q1048835
action filter_type
action find
entity Q393878
relation P1376
type Q1048835
[ANSWER]
['Q1709', 'P1376', {'concept': 'Q1048835'}] ['Q393878', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { ?i property:P1376 ?u . VALUES ( ?i ) { ( resource:Q393878 ) ( resource:Q1709 ) } }
Schwerin District South Georgia and the South Sandwich Islands
2
action count
action union
action filter_type
action find
entity Schwerin
relation capital of
type political territorial entity
action filter_type
action find
entity King Edward Point
relation capital of
type political territorial entity
['Schwerin', 'capital of', {'concept': 'political territorial entity'}] ['King Edward Point', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { ?i property:capital_of ?u . VALUES ( ?i ) { ( resource:King_Edward_Point ) ( resource:Schwerin ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1709
P551
Q502895
USER
Who resides at Schwerin ?
(c(Q502895),P551,Q1709)
action filter_type
action find_reverse
entity Q1709
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1709']
SELECT DISTINCT ?b WHERE { ?b property:P551 resource:Q1709 . ?b rdf:type ontology:Q502895 }
Schwerin
action filter_type
action find_reverse
entity Schwerin
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Schwerin']
SELECT DISTINCT ?b WHERE { ?b property:residence resource:Schwerin . ?b rdf:type ontology:common_name }
[]
common name
Q100494
SYSTEM
Wilhelm Friedrich Loeper
Q100494
(c(Q502895),P551,Q1709)
action filter_type
action find_reverse
entity Q1709
relation P551
type Q502895
[ANSWER] resides at Schwerin
[{'concept': 'Q502895'}, 'P551', 'Q1709']
SELECT DISTINCT ?b WHERE { ?b property:P551 resource:Q1709 . ?b rdf:type ontology:Q502895 }
Wilhelm Friedrich Loeper
Wilhelm Friedrich Loeper resides at Schwerin
Wilhelm Friedrich Loeper
action filter_type
action find_reverse
entity Schwerin
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Schwerin']
SELECT DISTINCT ?b WHERE { ?b property:residence resource:Schwerin . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1709
P6
Q502895
USER
Which people have Schwerin as their heads of government ?
(Q1709,P6,c(Q502895))
action filter_type
action find
entity Q1709
relation P6
type Q502895
['Q1709', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1709 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Schwerin
action filter_type
action find
entity Schwerin
relation head of government
type common name
['Schwerin', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Schwerin property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
common name
Q534295 Q1239368 Q1616161
SYSTEM
Angelika Gramkow, Frank Grimm, Wolfram Friedersdorff
Q1239368 Q19964199 Q1616161 Q534295 Q1308741
(Q1709,P6,c(Q502895))
action filter_type
action find
entity Q1709
relation P6
type Q502895
[ANSWERS] have Schwerin as their heads of government
['Q1709', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1709 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Frank Grimm Helmut Oder Wolfram Friedersdorff Angelika Gramkow Norbert Claussen
Angelika Gramkow, Frank Grimm and Wolfram Friedersdorff have Schwerin as their heads of government
Angelika Gramkow Frank Grimm Wolfram Friedersdorff
action filter_type
action find
entity Schwerin
relation head of government
type common name
['Schwerin', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Schwerin property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q534295 Q1239368 Q1616161
P21
Q290
USER
What are the sex of those people ?
(Q534295,P21,c(Q290)) (Q1239368,P21,c(Q290)) (Q1616161,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q534295', 'P21', {'concept': 'Q290'}] ['Q1239368', 'P21', {'concept': 'Q290'}] ['Q1616161', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . VALUES ( ?n ) { ( resource:Q1239368 ) ( resource:Q19964199 ) ( resource:Q1616161 ) } . ?n property:P21 ?u }
Angelika Gramkow Frank Grimm Wolfram Friedersdorff
action filter_type
action find
entity prev_answer
relation gender
type sex
['Angelika Gramkow', 'gender', {'concept': 'sex'}] ['Frank Grimm', 'gender', {'concept': 'sex'}] ['Wolfram Friedersdorff', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . VALUES ( ?n ) { ( resource:Frank_Grimm ) ( resource:Helmut_Oder ) ( resource:Wolfram_Friedersdorff ) } . ?n property:gender ?u }
[]
sex
Q6581072 Q6581097 Q6581097
SYSTEM
male for 2nd, 3rd, female for 1st
Q6581072 Q6581097 Q6581097
(Q534295,P21,c(Q290)) (Q1239368,P21,c(Q290)) (Q1616161,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q534295', 'P21', {'concept': 'Q290'}] ['Q1239368', 'P21', {'concept': 'Q290'}] ['Q1616161', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . VALUES ( ?n ) { ( resource:Q1239368 ) ( resource:Q19964199 ) ( resource:Q1616161 ) } . ?n property:P21 ?u }
female male male
The sex of those people are female, male and male
female male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Angelika Gramkow', 'gender', {'concept': 'sex'}] ['Frank Grimm', 'gender', {'concept': 'sex'}] ['Wolfram Friedersdorff', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . VALUES ( ?n ) { ( resource:Frank_Grimm ) ( resource:Helmut_Oder ) ( resource:Wolfram_Friedersdorff ) } . ?n property:gender ?u }
[]