Simple Question (Direct)
Simple Question
Q1652018
P512
Q849697
USER
Which doctoral degree does Matthäus Bacmeister hold ?
(Q1652018,P512,c(Q849697))
action filter_type
action find
entity Q1652018
relation P512
type Q849697
['Q1652018', 'P512', {'concept': 'Q849697'}]
SELECT DISTINCT ?m WHERE { resource:Q1652018 property:P512 ?m . ?m rdf:type ontology:Q849697 }
Matthäus Bacmeister
action filter_type
action find
entity Matthäus Bacmeister
relation academic degree
type doctoral degree
['Matthäus Bacmeister', 'academic degree', {'concept': 'doctoral degree'}]
SELECT DISTINCT ?m WHERE { resource:Matthäus_Bacmeister property:academic_degree ?m . ?m rdf:type ontology:doctoral_degree }
[]
doctoral degree
Q913404
SYSTEM
Doctor of Medicine
Q913404
(Q1652018,P512,c(Q849697))
action filter_type
action find
entity Q1652018
relation P512
type Q849697
Matthäus Bacmeister holds a [ANSWER]
['Q1652018', 'P512', {'concept': 'Q849697'}]
SELECT DISTINCT ?m WHERE { resource:Q1652018 property:P512 ?m . ?m rdf:type ontology:Q849697 }
Doctor of Medicine
Matthäus Bacmeister holds a Doctor of Medicine
Doctor of Medicine
action filter_type
action find
entity Matthäus Bacmeister
relation academic degree
type doctoral degree
['Matthäus Bacmeister', 'academic degree', {'concept': 'doctoral degree'}]
SELECT DISTINCT ?m WHERE { resource:Matthäus_Bacmeister property:academic_degree ?m . ?m rdf:type ontology:doctoral_degree }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1652018
P937
Q56061
USER
Which are the work locations of that person ?
(Q913404,P937,c(Q56061))
action filter_type
action find
entity Q1652018
relation P937
type Q56061
['Q913404', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q1652018 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Matthäus Bacmeister
action filter_type
action find
entity Matthäus Bacmeister
relation work location
type administrative territorial entity
['Doctor of Medicine', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Matthäus_Bacmeister property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2861 Q1707
SYSTEM
Rostock, Kiel
Q2861 Q1707
(Q913404,P937,c(Q56061))
action filter_type
action find
entity Q1652018
relation P937
type Q56061
The work locations of that person are in [ANSWERS]
['Q913404', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q1652018 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Rostock Kiel
The work locations of that person are in Rostock and Kiel
Rostock Kiel
action filter_type
action find
entity Matthäus Bacmeister
relation work location
type administrative territorial entity
['Doctor of Medicine', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Matthäus_Bacmeister property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2861 Q1707
P47
Q1048835
USER
Who share the border with Rostock and Kiel ?
(Q2861,P47,c(Q1048835)) (Q1707,P47,c(Q1048835))
action union
action filter_type
action find
entity Q2861
relation P47
type Q1048835
action filter_type
action find
entity Q1707
relation P47
type Q1048835
['Q2861', 'P47', {'concept': 'Q1048835'}] ['Q1707', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:Q1048835 . resource:Q1707 property:P47 ?t } UNION { resource:Q2861 property:P47 ?t . ?t rdf:type ontology:Q1048835 } }
Rostock Kiel
action union
action filter_type
action find
entity Rostock
relation shares border with
type political territorial entity
action filter_type
action find
entity Kiel
relation shares border with
type political territorial entity
['Rostock', 'shares border with', {'concept': 'political territorial entity'}] ['Kiel', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:political_territorial_entity . resource:Kiel property:shares_border_with ?t } UNION { resource:Rostock property:shares_border_with ?t . ?t rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
Q2898 Q2967 Q2970
SYSTEM
Rostock District, Rendsburg-Eckernförde, Plön
Q2898 Q2967 Q2970
(Q2861,P47,c(Q1048835)) (Q1707,P47,c(Q1048835))
action union
action filter_type
action find
entity Q2861
relation P47
type Q1048835
action filter_type
action find
entity Q1707
relation P47
type Q1048835
[ANSWERS] share the border with Rostock and Kiel
['Q2861', 'P47', {'concept': 'Q1048835'}] ['Q1707', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:Q1048835 . resource:Q1707 property:P47 ?t } UNION { resource:Q2861 property:P47 ?t . ?t rdf:type ontology:Q1048835 } }
Rostock District Rendsburg-Eckernförde Plön
Rostock District, Rendsburg-Eckernförde and Plön share the border with Rostock and Kiel
Rostock District Rendsburg-Eckernförde Plön
action union
action filter_type
action find
entity Rostock
relation shares border with
type political territorial entity
action filter_type
action find
entity Kiel
relation shares border with
type political territorial entity
['Rostock', 'shares border with', {'concept': 'political territorial entity'}] ['Kiel', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:political_territorial_entity . resource:Kiel property:shares_border_with ?t } UNION { resource:Rostock property:shares_border_with ?t . ?t rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2898
P17
Q1048835
USER
Which political territory is Rostock District present in ?
(Q2898,P17,c(Q1048835))
action filter_type
action find
entity Q2898
relation P17
type Q1048835
['Q2898', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q2898 property:P17 ?v . ?v rdf:type ontology:Q1048835 }
Rostock District
action filter_type
action find
entity Rostock District
relation country
type political territorial entity
['Rostock District', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Rostock_District property:country ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q2898,P17,c(Q1048835))
action filter_type
action find
entity Q2898
relation P17
type Q1048835
Rostock District is in [ANSWER]
['Q2898', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q2898 property:P17 ?v . ?v rdf:type ontology:Q1048835 }
Germany
Rostock District is in Germany
Germany
action filter_type
action find
entity Rostock District
relation country
type political territorial entity
['Rostock District', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Rostock_District property:country ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q183 Q9015926
P27
Q502895
USER
Is Juan Ramón Viles a native of that political territory ?
(Q9015926,P27,Q183)
action is_in
entity Q9015926
action find
entity Q183
relation P27
['Q9015926', 'P27', 'Q183']
ASK WHERE { resource:Q183 property:P27 resource:Q9015926 }
Germany Juan Ramón Viles
action is_in
entity Juan Ramón Viles
action find
entity Germany
relation country of citizenship
['Juan Ramón Viles', 'country of citizenship', 'Germany']
ASK WHERE { resource:Germany property:country_of_citizenship resource:Juan_Ramón_Viles }
[]
common name
SYSTEM
NO
(Q9015926,P27,Q183)
action is_in
entity Q9015926
action find
entity Q183
relation P27
[ANSWER]
['Q9015926', 'P27', 'Q183']
ASK WHERE { resource:Q183 property:P27 resource:Q9015926 }
No
action is_in
entity Juan Ramón Viles
action find
entity Germany
relation country of citizenship
['Juan Ramón Viles', 'country of citizenship', 'Germany']
ASK WHERE { resource:Germany property:country_of_citizenship resource:Juan_Ramón_Viles }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2970 Q984867
P17
Q1048835
USER
Does Plön belong to Obanos ?
(Q2970,P17,Q984867)
action is_in
entity Q984867
action find
entity Q2970
relation P17
['Q2970', 'P17', 'Q984867']
ASK WHERE { resource:Q2970 property:P17 resource:Q984867 }
Plön Obanos
action is_in
entity Obanos
action find
entity Plön
relation country
['Plön', 'country', 'Obanos']
ASK WHERE { resource:Plön property:country resource:Obanos }
[]
political territorial entity
SYSTEM
NO
(Q2970,P17,Q984867)
action is_in
entity Q984867
action find
entity Q2970
relation P17
[ANSWER]
['Q2970', 'P17', 'Q984867']
ASK WHERE { resource:Q2970 property:P17 resource:Q984867 }
No
action is_in
entity Obanos
action find
entity Plön
relation country
['Plön', 'country', 'Obanos']
ASK WHERE { resource:Plön property:country resource:Obanos }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q183 Q2898
P47 P17
Q56061
USER
Which administrative territories have an adjacent border with Rostock District and are present in Germany ?
AND((c(Q56061),P47,Q2898), (c(Q56061),P17,Q183))
action filter_type
action intersection
action find_reverse
entity Q2898
relation P47
action find_reverse
entity Q183
relation P17
type Q56061
{'AND': [[{'concept': 'Q56061'}, 'P47', 'Q2898'], [{'concept': 'Q56061'}, 'P17', 'Q183']]}
SELECT DISTINCT ?s WHERE { ?s property:P47 resource:Q2898 . ?s property:P17 resource:Q183 . ?s rdf:type ontology:Q56061 }
Germany Rostock District
action filter_type
action intersection
action find_reverse
entity Rostock District
relation shares border with
action find_reverse
entity Germany
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'shares border with', 'Rostock District'], [{'concept': 'administrative territorial entity'}, 'country', 'Germany']]}
SELECT DISTINCT ?s WHERE { ?s property:shares_border_with resource:Rostock_District . ?s property:country resource:Germany . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2861
SYSTEM
Rostock
Q2861
AND((c(Q56061),P47,Q2898), (c(Q56061),P17,Q183))
action filter_type
action intersection
action find_reverse
entity Q2898
relation P47
action find_reverse
entity Q183
relation P17
type Q56061
[ANSWER] have an adjacent border with [ANSWER] District and are present in Germany
{'AND': [[{'concept': 'Q56061'}, 'P47', 'Q2898'], [{'concept': 'Q56061'}, 'P17', 'Q183']]}
SELECT DISTINCT ?s WHERE { ?s property:P47 resource:Q2898 . ?s property:P17 resource:Q183 . ?s rdf:type ontology:Q56061 }
Rostock
Rostock have an adjacent border with Rostock District and are present in Germany
Rostock
action filter_type
action intersection
action find_reverse
entity Rostock District
relation shares border with
action find_reverse
entity Germany
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'shares border with', 'Rostock District'], [{'concept': 'administrative territorial entity'}, 'country', 'Germany']]}
SELECT DISTINCT ?s WHERE { ?s property:shares_border_with resource:Rostock_District . ?s property:country resource:Germany . ?s rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2861 Q43864
P19
Q502895
USER
Does Joesi Prokopetz have location of birth at that administrative territory ?
(Q43864,P19,Q2861)
action is_in
entity Q43864
action find
entity Q2861
relation P19
['Q43864', 'P19', 'Q2861']
ASK WHERE { resource:Q2861 property:P19 resource:Q43864 }
Rostock Joesi Prokopetz
action is_in
entity Joesi Prokopetz
action find
entity Rostock
relation place of birth
['Joesi Prokopetz', 'place of birth', 'Rostock']
ASK WHERE { resource:Rostock property:place_of_birth resource:Joesi_Prokopetz }
[]
common name
SYSTEM
NO
(Q43864,P19,Q2861)
action is_in
entity Q43864
action find
entity Q2861
relation P19
[ANSWER]
['Q43864', 'P19', 'Q2861']
ASK WHERE { resource:Q2861 property:P19 resource:Q43864 }
No
action is_in
entity Joesi Prokopetz
action find
entity Rostock
relation place of birth
['Joesi Prokopetz', 'place of birth', 'Rostock']
ASK WHERE { resource:Rostock property:place_of_birth resource:Joesi_Prokopetz }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q458
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Germany and European Union ?
(Q183,P530,c(Q15617994)) (Q458,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q183
relation P530
type Q15617994
action filter_type
action find
entity Q458
relation P530
type Q15617994
['Q183', 'P530', {'concept': 'Q15617994'}] ['Q458', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Q183 property:P530 ?t . ?t rdf:type ontology:Q15617994 . resource:Q458 property:P530 ?t . ?t rdf:type ontology:Q15617994 }
Germany European Union
action count
action intersection
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity European Union
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['European Union', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Germany property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:European_Union property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q155 Q184
(Q183,P530,c(Q15617994)) (Q458,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q183
relation P530
type Q15617994
action filter_type
action find
entity Q458
relation P530
type Q15617994
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}] ['Q458', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Q183 property:P530 ?t . ?t rdf:type ontology:Q15617994 . resource:Q458 property:P530 ?t . ?t rdf:type ontology:Q15617994 }
Brazil Belarus
2
action count
action intersection
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity European Union
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['European Union', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Germany property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:European_Union property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]