Simple Question (Direct)
Simple Question
Q586719
P20
Q56061
USER
Where did David von Krafft expire ?
(Q586719,P20,c(Q56061))
action filter_type
action find
entity Q586719
relation P20
type Q56061
['Q586719', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q586719 property:P20 ?r . ?r rdf:type ontology:Q56061 }
David von Krafft
action filter_type
action find
entity David von Krafft
relation place of death
type administrative territorial entity
['David von Krafft', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:David_von_Krafft property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1754
SYSTEM
Stockholm
Q1754
(Q586719,P20,c(Q56061))
action filter_type
action find
entity Q586719
relation P20
type Q56061
David von Krafft expired in [ANSWER]
['Q586719', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q586719 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Stockholm
David von Krafft expired in Stockholm
Stockholm
action filter_type
action find
entity David von Krafft
relation place of death
type administrative territorial entity
['David von Krafft', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:David_von_Krafft property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1754
P1376
Q7275
USER
Which state has that administrative territory as its county seat ?
(Q1754,P1376,c(Q7275))
action filter_type
action find
entity Q1754
relation P1376
type Q7275
['Q1754', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q1754 property:P1376 ?h . ?h rdf:type ontology:Q7275 }
Stockholm
action filter_type
action find
entity Stockholm
relation capital of
type state
['Stockholm', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:Stockholm property:capital_of ?h . ?h rdf:type ontology:state }
[]
state
Q62589
SYSTEM
Union between Sweden and Norway
Q62589
(Q1754,P1376,c(Q7275))
action filter_type
action find
entity Q1754
relation P1376
type Q7275
[ANSWER] has that administrative territory as its county seat
['Q1754', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q1754 property:P1376 ?h . ?h rdf:type ontology:Q7275 }
Union between Sweden and Norway
Union between Sweden and Norway has that administrative territory as its county seat
Union between Sweden and Norway
action filter_type
action find
entity Stockholm
relation capital of
type state
['Stockholm', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:Stockholm property:capital_of ?h . ?h rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q62589
P710
Q180684
USER
What event was that state a participant of ?
(c(Q180684),P710,Q62589)
action filter_type
action find_reverse
entity Q62589
relation P710
type Q180684
[{'concept': 'Q180684'}, 'P710', 'Q62589']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q180684 . ?n property:P710 resource:Q62589 }
Union between Sweden and Norway
action filter_type
action find_reverse
entity Union between Sweden and Norway
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'Union between Sweden and Norway']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:conflict . ?n property:participant resource:Union_between_Sweden_and_Norway }
[]
conflict
Q10432014
SYSTEM
Bodø affair
Q10432014
(c(Q180684),P710,Q62589)
action filter_type
action find_reverse
entity Q62589
relation P710
type Q180684
That state was the [ANSWER]
[{'concept': 'Q180684'}, 'P710', 'Q62589']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q180684 . ?n property:P710 resource:Q62589 }
Bodø affair
That state was the Bodø affair
Bodø affair
action filter_type
action find_reverse
entity Union between Sweden and Norway
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'Union between Sweden and Norway']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:conflict . ?n property:participant resource:Union_between_Sweden_and_Norway }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q62589
P27
Q502895
USER
Which people are civilians of that state ?
(c(Q502895),P27,Q10432014)
action filter_type
action find_reverse
entity Q62589
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q10432014']
SELECT DISTINCT ?w WHERE { ?w property:P27 resource:Q62589 . ?w rdf:type ontology:Q502895 }
Union between Sweden and Norway
action filter_type
action find_reverse
entity Union between Sweden and Norway
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Bodø affair']
SELECT DISTINCT ?w WHERE { ?w property:country_of_citizenship resource:Union_between_Sweden_and_Norway . ?w rdf:type ontology:common_name }
[]
common name
Q1111078 Q2094472 Q924143
SYSTEM
Robert Collett, Wilhelm Lilljeborg, Johan August Wahlberg
Q4499539 Q924143 Q1111078 Q2094472
(c(Q502895),P27,Q10432014)
action filter_type
action find_reverse
entity Q62589
relation P27
type Q502895
[ANSWERS] are civilians of that state
[{'concept': 'Q502895'}, 'P27', 'Q10432014']
SELECT DISTINCT ?w WHERE { ?w property:P27 resource:Q62589 . ?w rdf:type ontology:Q502895 }
Carl Holtermann Johan August Wahlberg Robert Collett Wilhelm Lilljeborg
Robert Collett, Wilhelm Lilljeborg and Johan August Wahlberg are civilians of that state
Robert Collett Wilhelm Lilljeborg Johan August Wahlberg
action filter_type
action find_reverse
entity Union between Sweden and Norway
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Bodø affair']
SELECT DISTINCT ?w WHERE { ?w property:country_of_citizenship resource:Union_between_Sweden_and_Norway . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q62589
P17
Q56061
USER
Which administrative territories are present in that state ?
(c(Q56061),P17,Q1111078) (c(Q56061),P17,Q2094472) (c(Q56061),P17,Q924143)
action filter_type
action find_reverse
entity Q62589
relation P17
type Q56061
[{'concept': 'Q56061'}, 'P17', 'Q1111078'] [{'concept': 'Q56061'}, 'P17', 'Q2094472'] [{'concept': 'Q56061'}, 'P17', 'Q924143']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . ?d property:P17 resource:Q62589 }
Union between Sweden and Norway
action filter_type
action find_reverse
entity Union between Sweden and Norway
relation country
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'country', 'Robert Collett'] [{'concept': 'administrative territorial entity'}, 'country', 'Wilhelm Lilljeborg'] [{'concept': 'administrative territorial entity'}, 'country', 'Johan August Wahlberg']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . ?d property:country resource:Union_between_Sweden_and_Norway }
[]
administrative territorial entity
Q585 Q25416 Q2272
SYSTEM
Oslo, Stavanger, Skien
Q23915191 Q25416 Q585 Q21711493 Q26793 Q2272
(c(Q56061),P17,Q1111078) (c(Q56061),P17,Q2094472) (c(Q56061),P17,Q924143)
action filter_type
action find_reverse
entity Q62589
relation P17
type Q56061
[ANSWERS] are present in that state
[{'concept': 'Q56061'}, 'P17', 'Q1111078'] [{'concept': 'Q56061'}, 'P17', 'Q2094472'] [{'concept': 'Q56061'}, 'P17', 'Q924143']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . ?d property:P17 resource:Q62589 }
Fredrikshald Stavanger Oslo Christiania Bergen Skien
Oslo, Stavanger and Skien are present in that state
Oslo Stavanger Skien
action filter_type
action find_reverse
entity Union between Sweden and Norway
relation country
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'country', 'Robert Collett'] [{'concept': 'administrative territorial entity'}, 'country', 'Wilhelm Lilljeborg'] [{'concept': 'administrative territorial entity'}, 'country', 'Johan August Wahlberg']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . ?d property:country resource:Union_between_Sweden_and_Norway }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q585 Q25416 Q2272
P551
Q502895
USER
Which people dwell at Oslo, Stavanger and Skien ?
(c(Q502895),P551,Q585) (c(Q502895),P551,Q25416) (c(Q502895),P551,Q2272)
action union
action filter_type
action find_reverse
entity Q585
relation P551
type Q502895
action filter_type
action find_reverse
entity Q25416
relation P551
type Q502895
action filter_type
action find_reverse
entity Q2272
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q585'] [{'concept': 'Q502895'}, 'P551', 'Q25416'] [{'concept': 'Q502895'}, 'P551', 'Q2272']
SELECT DISTINCT ?m WHERE { { ?m property:P551 resource:Q585 . ?m rdf:type ontology:Q502895 } UNION { ?m rdf:type ontology:Q502895 . ?m property:P551 resource:Q25416 } }
Oslo Stavanger Skien
action union
action filter_type
action find_reverse
entity Oslo
relation residence
type common name
action filter_type
action find_reverse
entity Stavanger
relation residence
type common name
action filter_type
action find_reverse
entity Skien
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Oslo'] [{'concept': 'common name'}, 'residence', 'Stavanger'] [{'concept': 'common name'}, 'residence', 'Skien']
SELECT DISTINCT ?m WHERE { { ?m property:residence resource:Oslo . ?m rdf:type ontology:common_name } UNION { ?m rdf:type ontology:common_name . ?m property:residence resource:Stavanger } }
[]
common name
Q2567 Q107405 Q36661
SYSTEM
Richard von Weizsäcker, Lars Onsager, Henrik Ibsen
Q1618183 Q12000522 Q107405 Q22978422 Q24250266 Q2567 Q4724776 Q18392988 Q41406 Q20801590 Q18643319 Q15650900 Q24756 Q14552524 Q1081654 Q236103 Q36661
(c(Q502895),P551,Q585) (c(Q502895),P551,Q25416) (c(Q502895),P551,Q2272)
action union
action filter_type
action find_reverse
entity Q585
relation P551
type Q502895
action filter_type
action find_reverse
entity Q25416
relation P551
type Q502895
action filter_type
action find_reverse
entity Q2272
relation P551
type Q502895
[ANSWERS] dwell at Oslo, Stavanger and Skien
[{'concept': 'Q502895'}, 'P551', 'Q585'] [{'concept': 'Q502895'}, 'P551', 'Q25416'] [{'concept': 'Q502895'}, 'P551', 'Q2272']
SELECT DISTINCT ?m WHERE { { ?m property:P551 resource:Q585 . ?m rdf:type ontology:Q502895 } UNION { ?m rdf:type ontology:Q502895 . ?m property:P551 resource:Q25416 } }
Ulrikke Eikeri Simeon Thoresen Lars Onsager Esben Holmboe Bang Gitte Brunstad Richard von Weizsäcker Ali Esbati Stefan Kutzsche Edvard Munch Didrik Hermansen Yvonne Dåbakk Gunnar Tjomlid Knut Johannesen Marte Michelet Christian Ruud Liv Kristine Henrik Ibsen
Richard von Weizsäcker, Lars Onsager and Henrik Ibsen dwell at Oslo, Stavanger and Skien
Richard von Weizsäcker Lars Onsager Henrik Ibsen
action union
action filter_type
action find_reverse
entity Oslo
relation residence
type common name
action filter_type
action find_reverse
entity Stavanger
relation residence
type common name
action filter_type
action find_reverse
entity Skien
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Oslo'] [{'concept': 'common name'}, 'residence', 'Stavanger'] [{'concept': 'common name'}, 'residence', 'Skien']
SELECT DISTINCT ?m WHERE { { ?m property:residence resource:Oslo . ?m rdf:type ontology:common_name } UNION { ?m rdf:type ontology:common_name . ?m property:residence resource:Stavanger } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q107405
P21
Q290
USER
Which sex does that person belong to ?
(Q107405,P21,c(Q290))
action filter_type
action find
entity Q107405
relation P21
type Q290
['Q107405', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q107405 property:P21 ?l . ?l rdf:type ontology:Q290 }
Lars Onsager
action filter_type
action find
entity Lars Onsager
relation gender
type sex
['Lars Onsager', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Lars_Onsager property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q36661
SYSTEM
Did you mean Henrik Ibsen ?
Q2567 Q107405 Q36661
(Q2567,P21,c(Q290)) (Q107405,P21,c(Q290)) (Q36661,P21,c(Q290))
[ANSWER]
['Q2567', 'P21', {'concept': 'Q290'}] ['Q107405', 'P21', {'concept': 'Q290'}] ['Q36661', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q107405 property:P21 ?l . ?l rdf:type ontology:Q290 }
Richard von Weizsäcker Lars Onsager Henrik Ibsen
Did you mean Henrik Ibsen ?
Henrik Ibsen
['Richard von Weizsäcker', 'gender', {'concept': 'sex'}] ['Lars Onsager', 'gender', {'concept': 'sex'}] ['Henrik Ibsen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Lars_Onsager property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Lars Onsager. Could you tell me the answer for that?
(Q107405,P21,c(Q290))
Q107405
['Q107405', 'P21', {'concept': 'Q290'}]
['Lars Onsager', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q107405,P21,c(Q290))
action filter_type
action find
entity Q107405
relation P21
type Q290
That person belongs to [ANSWER]
['Q107405', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q107405 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Lars Onsager
relation gender
type sex
['Lars Onsager', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Lars_Onsager property:gender ?l . ?l rdf:type ontology:sex }
[]