Simple Question (Direct)
Simple Question
Q1774093
P22
Q502895
USER
Who was the father of Jacob Aall Bonnevie ?
(Q1774093,P22,c(Q502895))
action filter_type
action find
entity Q1774093
relation P22
type Q502895
['Q1774093', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1774093 property:P22 ?t . ?t rdf:type ontology:Q502895 }
Jacob Aall Bonnevie
action filter_type
action find
entity Jacob Aall Bonnevie
relation father
type common name
['Jacob Aall Bonnevie', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Jacob_Aall_Bonnevie property:father ?t . ?t rdf:type ontology:common_name }
[]
common name
Q3378050
SYSTEM
Honoratus Bonnevie
Q3378050
(Q1774093,P22,c(Q502895))
action filter_type
action find
entity Q1774093
relation P22
type Q502895
The father of Jacob Aall Bonnevie was born [ANSWER]
['Q1774093', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1774093 property:P22 ?t . ?t rdf:type ontology:Q502895 }
Honoratus Bonnevie
The father of Jacob Aall Bonnevie was born Honoratus Bonnevie
Honoratus Bonnevie
action filter_type
action find
entity Jacob Aall Bonnevie
relation father
type common name
['Jacob Aall Bonnevie', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Jacob_Aall_Bonnevie property:father ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3378050
P40
Q502895
USER
Which people are a successors of that one ?
(Q3378050,P40,c(Q502895))
action filter_type
action find
entity Q3378050
relation P40
type Q502895
['Q3378050', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q3378050 property:P40 ?e . ?e rdf:type ontology:Q502895 }
Honoratus Bonnevie
action filter_type
action find
entity Honoratus Bonnevie
relation child
type common name
['Honoratus Bonnevie', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Honoratus_Bonnevie property:child ?e . ?e rdf:type ontology:common_name }
[]
common name
Q1774093 Q11978845
SYSTEM
Jacob Aall Bonnevie, Johanne Mathilde Dietrichson
Q1774093 Q11978845
(Q3378050,P40,c(Q502895))
action filter_type
action find
entity Q3378050
relation P40
type Q502895
[ANSWERS] are a successors of that one
['Q3378050', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q3378050 property:P40 ?e . ?e rdf:type ontology:Q502895 }
Jacob Aall Bonnevie Johanne Mathilde Dietrichson
Jacob Aall Bonnevie and Johanne Mathilde Dietrichson are a successors of that one
Jacob Aall Bonnevie Johanne Mathilde Dietrichson
action filter_type
action find
entity Honoratus Bonnevie
relation child
type common name
['Honoratus Bonnevie', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Honoratus_Bonnevie property:child ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1774093 Q11978845
P40
Q502895
USER
Which people have those ones as a child ?
(c(Q502895),P40,Q1774093) (c(Q502895),P40,Q11978845)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1774093'] [{'concept': 'Q502895'}, 'P40', 'Q11978845']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P40 ?g . VALUES ( ?g ) { ( resource:Q1774093 ) ( resource:Q11978845 ) } }
Jacob Aall Bonnevie Johanne Mathilde Dietrichson
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jacob Aall Bonnevie'] [{'concept': 'common name'}, 'child', 'Johanne Mathilde Dietrichson']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:child ?g . VALUES ( ?g ) { ( resource:Jacob_Aall_Bonnevie ) ( resource:Johanne_Mathilde_Dietrichson ) } }
[]
common name
Q3378050
SYSTEM
Honoratus Bonnevie
Q3378050
(c(Q502895),P40,Q1774093) (c(Q502895),P40,Q11978845)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWER] have those ones as a child
[{'concept': 'Q502895'}, 'P40', 'Q1774093'] [{'concept': 'Q502895'}, 'P40', 'Q11978845']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P40 ?g . VALUES ( ?g ) { ( resource:Q1774093 ) ( resource:Q11978845 ) } }
Honoratus Bonnevie
Honoratus Bonnevie have those ones as a child
Honoratus Bonnevie
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jacob Aall Bonnevie'] [{'concept': 'common name'}, 'child', 'Johanne Mathilde Dietrichson']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:child ?g . VALUES ( ?g ) { ( resource:Jacob_Aall_Bonnevie ) ( resource:Johanne_Mathilde_Dietrichson ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11978845
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Johanne Mathilde Dietrichson ?
(Q11978845,P27,c(Q15617994))
action filter_type
action find
entity Q11978845
relation P27
type Q15617994
['Q11978845', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q11978845 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Johanne Mathilde Dietrichson
action filter_type
action find
entity Johanne Mathilde Dietrichson
relation country of citizenship
type designation for an administrative territorial entity
['Johanne Mathilde Dietrichson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Johanne_Mathilde_Dietrichson property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q11978845,P27,c(Q15617994))
action filter_type
action find
entity Q11978845
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Johanne Mathilde Dietrichson
['Q11978845', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q11978845 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Norway
Norway is the country of citizenship of Johanne Mathilde Dietrichson
Norway
action filter_type
action find
entity Johanne Mathilde Dietrichson
relation country of citizenship
type designation for an administrative territorial entity
['Johanne Mathilde Dietrichson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Johanne_Mathilde_Dietrichson property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16104537
Q15617994
USER
And how about Hari Punja?
(Q16104537,P27,c(Q15617994))
action filter_type
action find
entity Q16104537
relation P27
type Q15617994
['Q16104537', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q16104537 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Hari Punja
action filter_type
action find
entity Hari Punja
relation country of citizenship
type designation for an administrative territorial entity
['Hari Punja', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Hari_Punja property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q712
SYSTEM
Fiji
Q712
(Q16104537,P27,c(Q15617994))
action filter_type
action find
entity Q16104537
relation P27
type Q15617994
[ANSWER]
['Q16104537', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q16104537 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Fiji
Fiji
action filter_type
action find
entity Hari Punja
relation country of citizenship
type designation for an administrative territorial entity
['Hari Punja', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Hari_Punja property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q712 Q408 Q251350
P530
Q1048835
USER
Is that administrative territory known to have diplomatic connections with Australia and Chorozinho ?
(Q712,P530,Q408) (Q712,P530,Q251350)
action is_in
entity Q712
action intersection
action find_reverse
entity Q408
relation P530
action find_reverse
entity Q251350
relation P530
['Q712', 'P530', 'Q408'] ['Q712', 'P530', 'Q251350']
ASK WHERE { resource:Q712 property:P530 resource:Q251350 . resource:Q712 property:P530 resource:Q408 }
Fiji Australia Chorozinho
action is_in
entity Fiji
action intersection
action find_reverse
entity Australia
relation diplomatic relation
action find_reverse
entity Chorozinho
relation diplomatic relation
['Fiji', 'diplomatic relation', 'Australia'] ['Fiji', 'diplomatic relation', 'Chorozinho']
ASK WHERE { resource:Fiji property:diplomatic_relation resource:Chorozinho . resource:Fiji property:diplomatic_relation resource:Australia }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q712,P530,Q408) (Q712,P530,Q251350)
action is_in
entity Q712
action intersection
action find_reverse
entity Q408
relation P530
action find_reverse
entity Q251350
relation P530
[ANSWER]
['Q712', 'P530', 'Q408'] ['Q712', 'P530', 'Q251350']
ASK WHERE { resource:Q712 property:P530 resource:Q251350 . resource:Q712 property:P530 resource:Q408 }
YES and NO respectively
action is_in
entity Fiji
action intersection
action find_reverse
entity Australia
relation diplomatic relation
action find_reverse
entity Chorozinho
relation diplomatic relation
['Fiji', 'diplomatic relation', 'Australia'] ['Fiji', 'diplomatic relation', 'Chorozinho']
ASK WHERE { resource:Fiji property:diplomatic_relation resource:Chorozinho . resource:Fiji property:diplomatic_relation resource:Australia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q712
P840
Q2342494
USER
Which collectables have their narrative set in that administrative territory ?
action filter_type
action find_reverse
entity Q712
relation P840
type Q2342494
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2342494 . ?h property:P840 resource:Q712 }
Fiji
action filter_type
action find_reverse
entity Fiji
relation narrative location
type collectable
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:collectable . ?h property:narrative_location resource:Fiji }
[]
collectable
Q22671022 Q4003795
SYSTEM
Fregatten Eugenies resa omkring jorden ären 1851-1853, Un dramma nell'Oceano Pacifico
Q22671022 Q4003795
action filter_type
action find_reverse
entity Q712
relation P840
type Q2342494
[ANSWERS] have their narrative set in that administrative territory
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2342494 . ?h property:P840 resource:Q712 }
Fregatten Eugenies resa omkring jorden ären 1851-1853 Un dramma nell'Oceano Pacifico
Fregatten Eugenies resa omkring jorden ären 1851-1853 and Un dramma nell'Oceano Pacifico have their narrative set in that administrative territory
Fregatten Eugenies resa omkring jorden ären 1851-1853 Un dramma nell'Oceano Pacifico
action filter_type
action find_reverse
entity Fiji
relation narrative location
type collectable
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:collectable . ?h property:narrative_location resource:Fiji }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6392270 Q4003795
P50
Q502895
USER
Which people penned Un dramma nell'Oceano Pacifico or Kentucky Ham ?
OR((Q4003795,P50,c(Q502895)), (Q6392270,P50,c(Q502895)))
action filter_type
action union
action find
entity Q4003795
relation P50
action find
entity Q6392270
relation P50
type Q502895
{'OR': [['Q4003795', 'P50', {'concept': 'Q502895'}], ['Q6392270', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?j ) { ( resource:Q6392270 ) ( resource:Q4003795 ) } . ?j property:P50 ?t } . ?t rdf:type ontology:Q502895 }
Kentucky Ham Un dramma nell'Oceano Pacifico
action filter_type
action union
action find
entity Un dramma nell'Oceano Pacifico
relation author
action find
entity Kentucky Ham
relation author
type common name
{'OR': [["Un dramma nell'Oceano Pacifico", 'author', {'concept': 'common name'}], ['Kentucky Ham', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?j ) { ( resource:Kentucky_Ham ) ( resource:Un_dramma_nell'Oceano_Pacifico ) } . ?j property:author ?t } . ?t rdf:type ontology:common_name }
[]
common name
Q908648 Q309786
SYSTEM
William S. Burroughs, Jr., Emilio Salgari
Q908648 Q309786
OR((Q4003795,P50,c(Q502895)), (Q6392270,P50,c(Q502895)))
action filter_type
action union
action find
entity Q4003795
relation P50
action find
entity Q6392270
relation P50
type Q502895
[ANSWERS] penned Un dramma nell'Oceano Pacifico or Kentucky Ham
{'OR': [['Q4003795', 'P50', {'concept': 'Q502895'}], ['Q6392270', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?j ) { ( resource:Q6392270 ) ( resource:Q4003795 ) } . ?j property:P50 ?t } . ?t rdf:type ontology:Q502895 }
William S. Burroughs, Jr. Emilio Salgari
William S. Burroughs, Jr. and Emilio Salgari penned Un dramma nell'Oceano Pacifico or Kentucky Ham
William S. Burroughs, Jr. Emilio Salgari
action filter_type
action union
action find
entity Un dramma nell'Oceano Pacifico
relation author
action find
entity Kentucky Ham
relation author
type common name
{'OR': [["Un dramma nell'Oceano Pacifico", 'author', {'concept': 'common name'}], ['Kentucky Ham', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?j ) { ( resource:Kentucky_Ham ) ( resource:Un_dramma_nell'Oceano_Pacifico ) } . ?j property:author ?t } . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q908648 Q309786
P50
Q2342494
USER
Which collectables are written by William S. Burroughs, Jr. and Emilio Salgari ?
(c(Q2342494),P50,Q908648) (c(Q2342494),P50,Q309786)
action union
action filter_type
action find_reverse
entity Q908648
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q309786
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q908648'] [{'concept': 'Q2342494'}, 'P50', 'Q309786']
SELECT DISTINCT ?f WHERE { ?f property:P50 ?d . VALUES ( ?d ) { ( resource:Q908648 ) ( resource:Q309786 ) } }
William S. Burroughs, Jr. Emilio Salgari
action union
action filter_type
action find_reverse
entity William S. Burroughs, Jr.
relation author
type collectable
action filter_type
action find_reverse
entity Emilio Salgari
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'William S. Burroughs, Jr.'] [{'concept': 'collectable'}, 'author', 'Emilio Salgari']
SELECT DISTINCT ?f WHERE { ?f property:author ?d . VALUES ( ?d ) { ( resource:William_S._Burroughs,_Jr. ) ( resource:Emilio_Salgari ) } }
[]
collectable
Q17062354 Q1149750 Q3792900
SYSTEM
Speed, The Two Tigers, The King of the Sea
Q6392270 Q17062354 Q7718288 Q635918 Q1149750 Q3823857 Q3792900 Q3612268 Q1248151 Q3793955 Q8212205 Q17600903 Q4003795 Q3791032
(c(Q2342494),P50,Q908648) (c(Q2342494),P50,Q309786)
action union
action filter_type
action find_reverse
entity Q908648
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q309786
relation P50
type Q2342494
[ANSWERS] are written by William S. Burroughs, Jr. and Emilio Salgari
[{'concept': 'Q2342494'}, 'P50', 'Q908648'] [{'concept': 'Q2342494'}, 'P50', 'Q309786']
SELECT DISTINCT ?f WHERE { ?f property:P50 ?d . VALUES ( ?d ) { ( resource:Q908648 ) ( resource:Q309786 ) } }
Kentucky Ham Speed The Black Corsair The Pirates of Malaysia The Two Tigers The Queen of the Caribbean The King of the Sea Quest for a Throne The Tigers of Mompracem Son of the Red Corsair Le Aquile della steppa Children of the Air Un dramma nell'Oceano Pacifico The Mystery of the Black Jungle
Speed, The Two Tigers and The King of the Sea are written by William S. Burroughs, Jr. and Emilio Salgari
Speed The Two Tigers The King of the Sea
action union
action filter_type
action find_reverse
entity William S. Burroughs, Jr.
relation author
type collectable
action filter_type
action find_reverse
entity Emilio Salgari
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'William S. Burroughs, Jr.'] [{'concept': 'collectable'}, 'author', 'Emilio Salgari']
SELECT DISTINCT ?f WHERE { ?f property:author ?d . VALUES ( ?d ) { ( resource:William_S._Burroughs,_Jr. ) ( resource:Emilio_Salgari ) } }
[]