Simple Question (Direct)
Simple Question
Q1996659
P937
Q56061
USER
What is the work location of Norbert Baunach ?
(Q1996659,P937,c(Q56061))
action filter_type
action find
entity Q1996659
relation P937
type Q56061
['Q1996659', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1996659 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Norbert Baunach
action filter_type
action find
entity Norbert Baunach
relation work location
type administrative territorial entity
['Norbert Baunach', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Norbert_Baunach property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1709
SYSTEM
Schwerin
Q1709
(Q1996659,P937,c(Q56061))
action filter_type
action find
entity Q1996659
relation P937
type Q56061
The work location of Norbert Baunach is in [ANSWER]
['Q1996659', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1996659 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Schwerin
The work location of Norbert Baunach is in Schwerin
Schwerin
action filter_type
action find
entity Norbert Baunach
relation work location
type administrative territorial entity
['Norbert Baunach', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Norbert_Baunach property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1709
P159
Q484652
USER
Which international organization has HQ at that administrative territory ?
(c(Q484652),P159,Q1709)
action filter_type
action find_reverse
entity Q1709
relation P159
type Q484652
[{'concept': 'Q484652'}, 'P159', 'Q1709']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q484652 . ?f property:P159 resource:Q1709 }
Schwerin
action filter_type
action find_reverse
entity Schwerin
relation headquarters location
type international organization
[{'concept': 'international organization'}, 'headquarters location', 'Schwerin']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:international_organization . ?f property:headquarters_location resource:Schwerin }
[]
international organization
Q15837827
SYSTEM
Baltic Sea Parliamentary Conference
Q15837827
(c(Q484652),P159,Q1709)
action filter_type
action find_reverse
entity Q1709
relation P159
type Q484652
[ANSWER] has HQ at that administrative territory
[{'concept': 'Q484652'}, 'P159', 'Q1709']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q484652 . ?f property:P159 resource:Q1709 }
Baltic Sea Parliamentary Conference
Baltic Sea Parliamentary Conference has HQ at that administrative territory
Baltic Sea Parliamentary Conference
action filter_type
action find_reverse
entity Schwerin
relation headquarters location
type international organization
[{'concept': 'international organization'}, 'headquarters location', 'Schwerin']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:international_organization . ?f property:headquarters_location resource:Schwerin }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15837827
P463
Q1752346
USER
Which assembly is a part of that international organization ?
(c(Q1752346),P463,Q15837827)
action filter_type
action find_reverse
entity Q15837827
relation P463
type Q1752346
[{'concept': 'Q1752346'}, 'P463', 'Q15837827']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1752346 . ?f property:P463 resource:Q15837827 }
Baltic Sea Parliamentary Conference
action filter_type
action find_reverse
entity Baltic Sea Parliamentary Conference
relation member of
type assembly
[{'concept': 'assembly'}, 'member of', 'Baltic Sea Parliamentary Conference']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:assembly . ?f property:member_of resource:Baltic_Sea_Parliamentary_Conference }
[]
assembly
Q882738
SYSTEM
Landtag of Mecklenburg-Vorpommern
Q882738
(c(Q1752346),P463,Q15837827)
action filter_type
action find_reverse
entity Q15837827
relation P463
type Q1752346
[ANSWER] is a part of that international organization
[{'concept': 'Q1752346'}, 'P463', 'Q15837827']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1752346 . ?f property:P463 resource:Q15837827 }
Landtag of Mecklenburg-Vorpommern
Landtag of Mecklenburg-Vorpommern is a part of that international organization
Landtag of Mecklenburg-Vorpommern
action filter_type
action find_reverse
entity Baltic Sea Parliamentary Conference
relation member of
type assembly
[{'concept': 'assembly'}, 'member of', 'Baltic Sea Parliamentary Conference']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:assembly . ?f property:member_of resource:Baltic_Sea_Parliamentary_Conference }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q882738
P21 P108
Q502895
USER
Which people are working for Landtag of Mecklenburg-Vorpommern and have the gender as male ?
AND((c(Q502895),P108,Q882738), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q882738
relation P108
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P108', 'Q882738'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?o WHERE { ?o property:P108 resource:Q882738 . ?o property:P21 resource:Q6581097 . ?o rdf:type ontology:Q502895 }
male Landtag of Mecklenburg-Vorpommern
action filter_type
action intersection
action find_reverse
entity Landtag of Mecklenburg-Vorpommern
relation employer
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'employer', 'Landtag of Mecklenburg-Vorpommern'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?o WHERE { ?o property:employer resource:Landtag_of_Mecklenburg-Vorpommern . ?o property:gender resource:male . ?o rdf:type ontology:common_name }
[]
common name
Q2654813
SYSTEM
Armin Tebben
Q2654813
AND((c(Q502895),P108,Q882738), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q882738
relation P108
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is working for Landtag of Mecklenburg-Vorpommern and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P108', 'Q882738'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?o WHERE { ?o property:P108 resource:Q882738 . ?o property:P21 resource:Q6581097 . ?o rdf:type ontology:Q502895 }
Armin Tebben
Armin Tebben is working for Landtag of Mecklenburg-Vorpommern and have the gender as male
Armin Tebben
action filter_type
action intersection
action find_reverse
entity Landtag of Mecklenburg-Vorpommern
relation employer
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'employer', 'Landtag of Mecklenburg-Vorpommern'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?o WHERE { ?o property:employer resource:Landtag_of_Mecklenburg-Vorpommern . ?o property:gender resource:male . ?o rdf:type ontology:common_name }
[]