Simple Question (Direct)
Simple Question
Q1453729
P102
Q7210356
USER
Which party is Heinz Meyer affiliated with ?
(Q1453729,P102,c(Q7210356))
action filter_type
action find
entity Q1453729
relation P102
type Q7210356
['Q1453729', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q1453729 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Heinz Meyer
action filter_type
action find
entity Heinz Meyer
relation member of political party
type political organization
['Heinz Meyer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:Heinz_Meyer property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
political organization
Q328195
SYSTEM
German Democratic Party
Q328195
(Q1453729,P102,c(Q7210356))
action filter_type
action find
entity Q1453729
relation P102
type Q7210356
Heinz Meyer is affiliated with [ANSWER]
['Q1453729', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q1453729 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
German Democratic Party
Heinz Meyer is affiliated with German Democratic Party
German Democratic Party
action filter_type
action find
entity Heinz Meyer
relation member of political party
type political organization
['Heinz Meyer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:Heinz_Meyer property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1453729
P734
Q82799
USER
Who is associated with that person ?
(Q328195,P734,c(Q82799))
action filter_type
action find
entity Q1453729
relation P734
type Q82799
['Q328195', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q1453729 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Heinz Meyer
action filter_type
action find
entity Heinz Meyer
relation family name
type name
['German Democratic Party', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Heinz_Meyer property:family_name ?m . ?m rdf:type ontology:name }
[]
name
Q46767
SYSTEM
Meyer
Q46767
(Q328195,P734,c(Q82799))
action filter_type
action find
entity Q1453729
relation P734
type Q82799
[ANSWER] is associated with that person
['Q328195', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q1453729 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Meyer
Meyer is associated with that person
Meyer
action filter_type
action find
entity Heinz Meyer
relation family name
type name
['German Democratic Party', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Heinz_Meyer property:family_name ?m . ?m rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q46767 Q478818 Q2104808
P495
Q1048835
USER
Does that name have São José dos Pinhais and Nossa Senhora dos Remédios as its place of origin ?
(Q46767,P495,Q478818) (Q46767,P495,Q2104808)
action is_in
entity Q46767
action intersection
action find_reverse
entity Q478818
relation P495
action find_reverse
entity Q2104808
relation P495
['Q46767', 'P495', 'Q478818'] ['Q46767', 'P495', 'Q2104808']
ASK WHERE { resource:Q46767 property:P495 resource:Q478818 . resource:Q46767 property:P495 resource:Q2104808 }
Meyer São José dos Pinhais Nossa Senhora dos Remédios
action is_in
entity Meyer
action intersection
action find_reverse
entity São José dos Pinhais
relation country of origin
action find_reverse
entity Nossa Senhora dos Remédios
relation country of origin
['Meyer', 'country of origin', 'São José dos Pinhais'] ['Meyer', 'country of origin', 'Nossa Senhora dos Remédios']
ASK WHERE { resource:Meyer property:country_of_origin resource:São_José_dos_Pinhais . resource:Meyer property:country_of_origin resource:Nossa_Senhora_dos_Remédios }
[]
political territorial entity
SYSTEM
NO
(Q46767,P495,Q478818) (Q46767,P495,Q2104808)
action is_in
entity Q46767
action intersection
action find_reverse
entity Q478818
relation P495
action find_reverse
entity Q2104808
relation P495
[ANSWER]
['Q46767', 'P495', 'Q478818'] ['Q46767', 'P495', 'Q2104808']
ASK WHERE { resource:Q46767 property:P495 resource:Q478818 . resource:Q46767 property:P495 resource:Q2104808 }
No
action is_in
entity Meyer
action intersection
action find_reverse
entity São José dos Pinhais
relation country of origin
action find_reverse
entity Nossa Senhora dos Remédios
relation country of origin
['Meyer', 'country of origin', 'São José dos Pinhais'] ['Meyer', 'country of origin', 'Nossa Senhora dos Remédios']
ASK WHERE { resource:Meyer property:country_of_origin resource:São_José_dos_Pinhais . resource:Meyer property:country_of_origin resource:Nossa_Senhora_dos_Remédios }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5538444 Q1453729
P39
Q12737077
USER
Which occupations were a position held by Heinz Meyer or George Day ?
OR((Q1453729,P39,c(Q12737077)), (Q5538444,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q1453729
relation P39
action find
entity Q5538444
relation P39
type Q12737077
{'OR': [['Q1453729', 'P39', {'concept': 'Q12737077'}], ['Q5538444', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?l ) { ( resource:Q1453729 ) ( resource:Q5538444 ) } . ?l property:P39 ?b } . ?b rdf:type ontology:Q12737077 }
George Day Heinz Meyer
action filter_type
action union
action find
entity Heinz Meyer
relation position held
action find
entity George Day
relation position held
type occupation
{'OR': [['Heinz Meyer', 'position held', {'concept': 'occupation'}], ['George Day', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?l ) { ( resource:Heinz_Meyer ) ( resource:George_Day ) } . ?l property:position_held ?b } . ?b rdf:type ontology:occupation }
[]
occupation
Q17441472 Q19202748 Q1939555
SYSTEM
member of the Bürgerschaft of Bremen, Member of the New South Wales Legislative Assembly, member of the German Bundestag
Q17441472 Q19202748 Q1939555
OR((Q1453729,P39,c(Q12737077)), (Q5538444,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q1453729
relation P39
action find
entity Q5538444
relation P39
type Q12737077
[ANSWERS] were a position held by Heinz Meyer or George Day
{'OR': [['Q1453729', 'P39', {'concept': 'Q12737077'}], ['Q5538444', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?l ) { ( resource:Q1453729 ) ( resource:Q5538444 ) } . ?l property:P39 ?b } . ?b rdf:type ontology:Q12737077 }
member of the Bürgerschaft of Bremen Member of the New South Wales Legislative Assembly member of the German Bundestag
Member of the Bürgerschaft of Bremen, Member of the New South Wales Legislative Assembly and member of the German Bundestag were a position held by Heinz Meyer or George Day
member of the Bürgerschaft of Bremen Member of the New South Wales Legislative Assembly member of the German Bundestag
action filter_type
action union
action find
entity Heinz Meyer
relation position held
action find
entity George Day
relation position held
type occupation
{'OR': [['Heinz Meyer', 'position held', {'concept': 'occupation'}], ['George Day', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?l ) { ( resource:Heinz_Meyer ) ( resource:George_Day ) } . ?l property:position_held ?b } . ?b rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3428189 Q1453729
P27 P495
Q1048835
USER
Which political territories are the native countriesof Heinz Meyer and are the origins of Lilly the Witch: The Journey to Mandolan ?
AND((Q1453729,P27,c(Q1048835)), (Q3428189,P495,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1453729
relation P27
action find
entity Q3428189
relation P495
type Q1048835
{'AND': [['Q1453729', 'P27', {'concept': 'Q1048835'}], ['Q3428189', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { resource:Q3428189 property:P495 ?b . resource:Q1453729 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Lilly the Witch: The Journey to Mandolan Heinz Meyer
action filter_type
action intersection
action find
entity Heinz Meyer
relation country of citizenship
action find
entity Lilly the Witch: The Journey to Mandolan
relation country of origin
type political territorial entity
{'AND': [['Heinz Meyer', 'country of citizenship', {'concept': 'political territorial entity'}], ['Lilly the Witch: The Journey to Mandolan', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Lilly_the_Witch:_The_Journey_to_Mandolan property:country_of_origin ?b . resource:Heinz_Meyer property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q1453729,P27,c(Q1048835)), (Q3428189,P495,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1453729
relation P27
action find
entity Q3428189
relation P495
type Q1048835
[ANSWER] is the native countriesof Heinz Meyer and is the origins of Lilly the Witch: The Journey to Mandolan
{'AND': [['Q1453729', 'P27', {'concept': 'Q1048835'}], ['Q3428189', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { resource:Q3428189 property:P495 ?b . resource:Q1453729 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Germany
Germany is the native countriesof Heinz Meyer and is the origins of Lilly the Witch: The Journey to Mandolan
Germany
action filter_type
action intersection
action find
entity Heinz Meyer
relation country of citizenship
action find
entity Lilly the Witch: The Journey to Mandolan
relation country of origin
type political territorial entity
{'AND': [['Heinz Meyer', 'country of citizenship', {'concept': 'political territorial entity'}], ['Lilly the Witch: The Journey to Mandolan', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Lilly_the_Witch:_The_Journey_to_Mandolan property:country_of_origin ?b . resource:Heinz_Meyer property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q1048835 Q7275
USER
How many political territories or states are adjacent to that political territory ?
(Q183,P47,c(Q1048835)) (Q183,P47,c(Q7275)) (Q183,P47,c(Q1048835)) (Q183,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q183
relation P47
type Q1048835
action filter_type
action find
entity Q183
relation P47
type Q7275
['Q183', 'P47', {'concept': 'Q1048835'}] ['Q183', 'P47', {'concept': 'Q7275'}] ['Q183', 'P47', {'concept': 'Q1048835'}] ['Q183', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { VALUES ( ?w ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } . ?c rdf:type ?w }
action count
action union
action filter_type
action find
entity Germany
relation shares border with
type political territorial entity
action filter_type
action find
entity Germany
relation shares border with
type state
['Germany', 'shares border with', {'concept': 'political territorial entity'}] ['Germany', 'shares border with', {'concept': 'state'}] ['Germany', 'shares border with', {'concept': 'political territorial entity'}] ['Germany', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { VALUES ( ?w ) { ( ontology:political_territorial_entity ) ( ontology:state ) } . ?c rdf:type ?w }
[]
political territorial entity state
SYSTEM
5
Q33946 Q16957 Q310293 Q35 Q40
(Q183,P47,c(Q1048835)) (Q183,P47,c(Q7275)) (Q183,P47,c(Q1048835)) (Q183,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q183
relation P47
type Q1048835
action filter_type
action find
entity Q183
relation P47
type Q7275
[ANSWER]
['Q183', 'P47', {'concept': 'Q1048835'}] ['Q183', 'P47', {'concept': 'Q7275'}] ['Q183', 'P47', {'concept': 'Q1048835'}] ['Q183', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { VALUES ( ?w ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } . ?c rdf:type ?w }
Czechoslovakia East Germany Saar Protectorate Denmark Austria
5
action count
action union
action filter_type
action find
entity Germany
relation shares border with
type political territorial entity
action filter_type
action find
entity Germany
relation shares border with
type state
['Germany', 'shares border with', {'concept': 'political territorial entity'}] ['Germany', 'shares border with', {'concept': 'state'}] ['Germany', 'shares border with', {'concept': 'political territorial entity'}] ['Germany', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { VALUES ( ?w ) { ( ontology:political_territorial_entity ) ( ontology:state ) } . ?c rdf:type ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1939555
P361
Q1752346
USER
What is member of the German Bundestag a component of ?
(Q1939555,P361,c(Q1752346))
action filter_type
action find
entity Q1939555
relation P361
type Q1752346
['Q1939555', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?q WHERE { resource:Q1939555 property:P361 ?q . ?q rdf:type ontology:Q1752346 }
member of the German Bundestag
action filter_type
action find
entity member of the German Bundestag
relation part of
type assembly
['member of the German Bundestag', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?q WHERE { resource:member_of_the_German_Bundestag property:part_of ?q . ?q rdf:type ontology:assembly }
[]
assembly
Q154797
SYSTEM
Bundestag of Germany
Q154797
(Q1939555,P361,c(Q1752346))
action filter_type
action find
entity Q1939555
relation P361
type Q1752346
Germany [ANSWER] is member of the German Bundestag a component of
['Q1939555', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?q WHERE { resource:Q1939555 property:P361 ?q . ?q rdf:type ontology:Q1752346 }
Bundestag of Germany
Germany Bundestag of Germany is member of the German Bundestag a component of
Bundestag of Germany
action filter_type
action find
entity member of the German Bundestag
relation part of
type assembly
['member of the German Bundestag', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?q WHERE { resource:member_of_the_German_Bundestag property:part_of ?q . ?q rdf:type ontology:assembly }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q154797 Q78425
P488
Q502895
USER
Did Hermann Ehlers chair that assembly ?
(Q154797,P488,Q78425)
action is_in
entity Q78425
action find
entity Q154797
relation P488
['Q154797', 'P488', 'Q78425']
ASK WHERE { resource:Q154797 property:P488 resource:Q78425 }
Bundestag of Germany Hermann Ehlers
action is_in
entity Hermann Ehlers
action find
entity Bundestag of Germany
relation chairperson
['Bundestag of Germany', 'chairperson', 'Hermann Ehlers']
ASK WHERE { resource:Bundestag_of_Germany property:chairperson resource:Hermann_Ehlers }
[]
common name
SYSTEM
YES
(Q154797,P488,Q78425)
action is_in
entity Q78425
action find
entity Q154797
relation P488
[ANSWER]
['Q154797', 'P488', 'Q78425']
ASK WHERE { resource:Q154797 property:P488 resource:Q78425 }
Yes
action is_in
entity Hermann Ehlers
action find
entity Bundestag of Germany
relation chairperson
['Bundestag of Germany', 'chairperson', 'Hermann Ehlers']
ASK WHERE { resource:Bundestag_of_Germany property:chairperson resource:Hermann_Ehlers }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q154797
P937
Q56061
USER
Where did that assembly work ?
action filter_type
action find
entity Q154797
relation P937
type Q56061
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q154797 property:P937 ?p }
Bundestag of Germany
action filter_type
action find
entity Bundestag of Germany
relation work location
type administrative territorial entity
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Bundestag_of_Germany property:work_location ?p }
[]
administrative territorial entity
Q586
SYSTEM
Bonn
Q586
action filter_type
action find
entity Q154797
relation P937
type Q56061
That assembly worked in [ANSWER]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q154797 property:P937 ?p }
Bonn
That assembly worked in Bonn
Bonn
action filter_type
action find
entity Bundestag of Germany
relation work location
type administrative territorial entity
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Bundestag_of_Germany property:work_location ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q586
P88
Q838948
USER
What were commisioned by that administrative territory ?
(c(Q838948),P88,Q586)
action filter_type
action find_reverse
entity Q586
relation P88
type Q838948
[{'concept': 'Q838948'}, 'P88', 'Q586']
SELECT DISTINCT ?h WHERE { ?h property:P88 resource:Q586 . ?h rdf:type ontology:Q838948 }
Bonn
action filter_type
action find_reverse
entity Bonn
relation commissioned by
type work of art
[{'concept': 'work of art'}, 'commissioned by', 'Bonn']
SELECT DISTINCT ?h WHERE { ?h property:commissioned_by resource:Bonn . ?h rdf:type ontology:work_of_art }
[]
work of art
Q19730417 Q19693349 Q19681517
SYSTEM
Spiegelfaltung, Begegnung, Wasserlichtfeldspiegel
Q19730417 Q19693349 Q19681517
(c(Q838948),P88,Q586)
action filter_type
action find_reverse
entity Q586
relation P88
type Q838948
[ANSWERS] were commisioned by that administrative territory
[{'concept': 'Q838948'}, 'P88', 'Q586']
SELECT DISTINCT ?h WHERE { ?h property:P88 resource:Q586 . ?h rdf:type ontology:Q838948 }
Spiegelfaltung Begegnung Wasserlichtfeldspiegel
Spiegelfaltung, Begegnung and Wasserlichtfeldspiegel were commisioned by that administrative territory
Spiegelfaltung Begegnung Wasserlichtfeldspiegel
action filter_type
action find_reverse
entity Bonn
relation commissioned by
type work of art
[{'concept': 'work of art'}, 'commissioned by', 'Bonn']
SELECT DISTINCT ?h WHERE { ?h property:commissioned_by resource:Bonn . ?h rdf:type ontology:work_of_art }
[]