Simple Question (Direct)
Simple Question
Q1387349
P937
Q56061
USER
What are the locations where Johann Meerfeld worked ?
(Q1387349,P937,c(Q56061))
action filter_type
action find
entity Q1387349
relation P937
type Q56061
['Q1387349', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1387349 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Johann Meerfeld
action filter_type
action find
entity Johann Meerfeld
relation work location
type administrative territorial entity
['Johann Meerfeld', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Johann_Meerfeld property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q365
SYSTEM
Berlin, Cologne
Q64 Q365
(Q1387349,P937,c(Q56061))
action filter_type
action find
entity Q1387349
relation P937
type Q56061
The locations Johann Meerfeld worked are in [ANSWERS]
['Q1387349', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1387349 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Berlin Cologne
The locations Johann Meerfeld worked are in Berlin and Cologne
Berlin Cologne
action filter_type
action find
entity Johann Meerfeld
relation work location
type administrative territorial entity
['Johann Meerfeld', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Johann_Meerfeld property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q64 Q365
P17
Q15617994
USER
Which administrative territories are those administrative territories a part of ?
(Q64,P17,c(Q15617994)) (Q365,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q64', 'P17', {'concept': 'Q15617994'}] ['Q365', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . VALUES ( ?c ) { ( resource:Q64 ) ( resource:Q365 ) } . ?c property:P17 ?e }
Berlin Cologne
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Berlin', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cologne', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?c ) { ( resource:Berlin ) ( resource:Cologne ) } . ?c property:country ?e }
[]
designation for an administrative territorial entity
Q148499 Q142
SYSTEM
Margraviate of Brandenburg, France
Q148499 Q142
(Q64,P17,c(Q15617994)) (Q365,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS] are those administrative territories a part of
['Q64', 'P17', {'concept': 'Q15617994'}] ['Q365', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . VALUES ( ?c ) { ( resource:Q64 ) ( resource:Q365 ) } . ?c property:P17 ?e }
Margraviate of Brandenburg France
Margraviate of Brandenburg and France are those administrative territories a part of
Margraviate of Brandenburg France
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Berlin', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cologne', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?c ) { ( resource:Berlin ) ( resource:Cologne ) } . ?c property:country ?e }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q148499 Q142
P710
Q1190554
USER
What event were Margraviate of Brandenburg and France a participant of ?
(c(Q1190554),P710,Q148499) (c(Q1190554),P710,Q142)
action union
action filter_type
action find_reverse
entity Q148499
relation P710
type Q1190554
action filter_type
action find_reverse
entity Q142
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q148499'] [{'concept': 'Q1190554'}, 'P710', 'Q142']
SELECT DISTINCT ?e WHERE { { ?e property:P710 resource:Q148499 . ?e rdf:type ontology:Q1190554 } UNION { ?e property:P710 resource:Q142 . ?e rdf:type ontology:Q1190554 } }
Margraviate of Brandenburg France
action union
action filter_type
action find_reverse
entity Margraviate of Brandenburg
relation participant
type event
action filter_type
action find_reverse
entity France
relation participant
type event
[{'concept': 'event'}, 'participant', 'Margraviate of Brandenburg'] [{'concept': 'event'}, 'participant', 'France']
SELECT DISTINCT ?e WHERE { { ?e property:participant resource:Margraviate_of_Brandenburg . ?e rdf:type ontology:event } UNION { ?e property:participant resource:France . ?e rdf:type ontology:event } }
[]
event
Q51654 Q13435464 Q838704
SYSTEM
Second Crusade, Invasion of Luxembourg, Battle of Durazzo
Q51654 Q300738 Q3486058 Q13435464 Q838704
(c(Q1190554),P710,Q148499) (c(Q1190554),P710,Q142)
action union
action filter_type
action find_reverse
entity Q148499
relation P710
type Q1190554
action filter_type
action find_reverse
entity Q142
relation P710
type Q1190554
Margraviate of Brandenburg and France were the [ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q148499'] [{'concept': 'Q1190554'}, 'P710', 'Q142']
SELECT DISTINCT ?e WHERE { { ?e property:P710 resource:Q148499 . ?e rdf:type ontology:Q1190554 } UNION { ?e property:P710 resource:Q142 . ?e rdf:type ontology:Q1190554 } }
Second Crusade Congress of Aix-la-Chapelle (1818) Battle of Crête-à-Pierrot Invasion of Luxembourg Battle of Durazzo
Margraviate of Brandenburg and France were the Second Crusade, Invasion of Luxembourg and Battle of Durazzo
Second Crusade Invasion of Luxembourg Battle of Durazzo
action union
action filter_type
action find_reverse
entity Margraviate of Brandenburg
relation participant
type event
action filter_type
action find_reverse
entity France
relation participant
type event
[{'concept': 'event'}, 'participant', 'Margraviate of Brandenburg'] [{'concept': 'event'}, 'participant', 'France']
SELECT DISTINCT ?e WHERE { { ?e property:participant resource:Margraviate_of_Brandenburg . ?e rdf:type ontology:event } UNION { ?e property:participant resource:France . ?e rdf:type ontology:event } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P127
Q3077461
USER
Which vegetation zone belongs to France ?
(c(Q3077461),P127,Q142)
action filter_type
action find_reverse
entity Q142
relation P127
type Q3077461
[{'concept': 'Q3077461'}, 'P127', 'Q142']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q3077461 . ?b property:P127 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation owned by
type vegetation zone
[{'concept': 'vegetation zone'}, 'owned by', 'France']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:vegetation_zone . ?b property:owned_by resource:France }
[]
vegetation zone
Q3079027
SYSTEM
National Forest
Q3079027
(c(Q3077461),P127,Q142)
action filter_type
action find_reverse
entity Q142
relation P127
type Q3077461
The [ANSWER] belongs to France
[{'concept': 'Q3077461'}, 'P127', 'Q142']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q3077461 . ?b property:P127 resource:Q142 }
National Forest
The National Forest belongs to France
National Forest
action filter_type
action find_reverse
entity France
relation owned by
type vegetation zone
[{'concept': 'vegetation zone'}, 'owned by', 'France']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:vegetation_zone . ?b property:owned_by resource:France }
[]