Simple Question (Direct)
Simple Question
Q1584809
P102
Q7278
USER
Which political party is Harald Weinberg a member of ?
(Q1584809,P102,c(Q7278))
action filter_type
action find
entity Q1584809
relation P102
type Q7278
['Q1584809', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?k WHERE { resource:Q1584809 property:P102 ?k . ?k rdf:type ontology:Q7278 }
Harald Weinberg
action filter_type
action find
entity Harald Weinberg
relation member of political party
type political party
['Harald Weinberg', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?k WHERE { resource:Harald_Weinberg property:member_of_political_party ?k . ?k rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q1584809,P102,c(Q7278))
action filter_type
action find
entity Q1584809
relation P102
type Q7278
Party [ANSWER] is Harald Weinberg a member of
['Q1584809', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?k WHERE { resource:Q1584809 property:P102 ?k . ?k rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Party Social Democratic Party of Germany is Harald Weinberg a member of
Social Democratic Party of Germany
action filter_type
action find
entity Harald Weinberg
relation member of political party
type political party
['Harald Weinberg', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?k WHERE { resource:Harald_Weinberg property:member_of_political_party ?k . ?k rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49768
P159
Q41176
USER
Which building is the headquarter location of that political party ?
(Q49768,P159,c(Q41176))
action filter_type
action find
entity Q49768
relation P159
type Q41176
['Q49768', 'P159', {'concept': 'Q41176'}]
SELECT DISTINCT ?f WHERE { resource:Q49768 property:P159 ?f . ?f rdf:type ontology:Q41176 }
Social Democratic Party of Germany
action filter_type
action find
entity Social Democratic Party of Germany
relation headquarters location
type building
['Social Democratic Party of Germany', 'headquarters location', {'concept': 'building'}]
SELECT DISTINCT ?f WHERE { resource:Social_Democratic_Party_of_Germany property:headquarters_location ?f . ?f rdf:type ontology:building }
[]
building
Q878763
SYSTEM
Willy-Brandt-Haus
Q878763
(Q49768,P159,c(Q41176))
action filter_type
action find
entity Q49768
relation P159
type Q41176
[ANSWER] is the headquarter location of that political party
['Q49768', 'P159', {'concept': 'Q41176'}]
SELECT DISTINCT ?f WHERE { resource:Q49768 property:P159 ?f . ?f rdf:type ontology:Q41176 }
Willy-Brandt-Haus
Willy-Brandt-Haus is the headquarter location of that political party
Willy-Brandt-Haus
action filter_type
action find
entity Social Democratic Party of Germany
relation headquarters location
type building
['Social Democratic Party of Germany', 'headquarters location', {'concept': 'building'}]
SELECT DISTINCT ?f WHERE { resource:Social_Democratic_Party_of_Germany property:headquarters_location ?f . ?f rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q878763
P800
Q502895
USER
Whose notable work was that building ?
(c(Q502895),P800,Q878763)
action filter_type
action find_reverse
entity Q878763
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q878763']
SELECT DISTINCT ?y WHERE { ?y property:P800 resource:Q878763 . ?y rdf:type ontology:Q502895 }
Willy-Brandt-Haus
action filter_type
action find_reverse
entity Willy-Brandt-Haus
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Willy-Brandt-Haus']
SELECT DISTINCT ?y WHERE { ?y property:notable_work resource:Willy-Brandt-Haus . ?y rdf:type ontology:common_name }
[]
common name
Q1602355
SYSTEM
Helge Bofinger
Q1602355
(c(Q502895),P800,Q878763)
action filter_type
action find_reverse
entity Q878763
relation P800
type Q502895
[ANSWER] was that building
[{'concept': 'Q502895'}, 'P800', 'Q878763']
SELECT DISTINCT ?y WHERE { ?y property:P800 resource:Q878763 . ?y rdf:type ontology:Q502895 }
Helge Bofinger
Helge Bofinger was that building
Helge Bofinger
action filter_type
action find_reverse
entity Willy-Brandt-Haus
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Willy-Brandt-Haus']
SELECT DISTINCT ?y WHERE { ?y property:notable_work resource:Willy-Brandt-Haus . ?y rdf:type ontology:common_name }
[]