Simple Question (Direct)
Simple Question
Q4813065
P26
Q502895
USER
Which person is the life partner of Magdalena of Sweden ?
(Q4813065,P26,c(Q502895))
action filter_type
action find
entity Q4813065
relation P26
type Q502895
['Q4813065', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q4813065 property:P26 ?u }
Magdalena of Sweden
action filter_type
action find
entity Magdalena of Sweden
relation spouse
type common name
['Magdalena of Sweden', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Magdalena_of_Sweden property:spouse ?u }
[]
common name
Q4406288
SYSTEM
Ivar Axelsson
Q4406288
(Q4813065,P26,c(Q502895))
action filter_type
action find
entity Q4813065
relation P26
type Q502895
[ANSWER] is the life partner of Magdalena of Sweden
['Q4813065', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q4813065 property:P26 ?u }
Ivar Axelsson
Ivar Axelsson is the life partner of Magdalena of Sweden
Ivar Axelsson
action filter_type
action find
entity Magdalena of Sweden
relation spouse
type common name
['Magdalena of Sweden', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Magdalena_of_Sweden property:spouse ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4813065
P40
Q502895
USER
Who have Magdalena of Sweden as an offspring ?
(c(Q502895),P40,Q4813065)
action filter_type
action find_reverse
entity Q4813065
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q4813065']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P40 resource:Q4813065 }
Magdalena of Sweden
action filter_type
action find_reverse
entity Magdalena of Sweden
relation child
type common name
[{'concept': 'common name'}, 'child', 'Magdalena of Sweden']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:child resource:Magdalena_of_Sweden }
[]
common name
Q2305403 Q310433
SYSTEM
Catherine of Bjurum, Charles VIII of Sweden
Q2305403 Q310433
(c(Q502895),P40,Q4813065)
action filter_type
action find_reverse
entity Q4813065
relation P40
type Q502895
[ANSWERS] have Magdalena of Sweden as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q4813065']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P40 resource:Q4813065 }
Catherine of Bjurum Charles VIII of Sweden
Catherine of Bjurum and Charles VIII of Sweden have Magdalena of Sweden as an offspring
Catherine of Bjurum Charles VIII of Sweden
action filter_type
action find_reverse
entity Magdalena of Sweden
relation child
type common name
[{'concept': 'common name'}, 'child', 'Magdalena of Sweden']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:child resource:Magdalena_of_Sweden }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q310433
P9
Q502895
USER
Which person is the sister of Charles VIII of Sweden ?
(Q310433,P9,c(Q502895))
action filter_type
action find
entity Q310433
relation P9
type Q502895
['Q310433', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q310433 property:P9 ?o }
Charles VIII of Sweden
action filter_type
action find
entity Charles VIII of Sweden
relation sister
type common name
['Charles VIII of Sweden', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Charles_VIII_of_Sweden property:sister ?o }
[]
common name
Q4980360
SYSTEM
Birgitta Stensdotter
Q4980360
(Q310433,P9,c(Q502895))
action filter_type
action find
entity Q310433
relation P9
type Q502895
[ANSWER] is the sister of Charles VIII of Sweden
['Q310433', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q310433 property:P9 ?o }
Birgitta Stensdotter
Birgitta Stensdotter is the sister of Charles VIII of Sweden
Birgitta Stensdotter
action filter_type
action find
entity Charles VIII of Sweden
relation sister
type common name
['Charles VIII of Sweden', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Charles_VIII_of_Sweden property:sister ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4980360
P25
Q502895
USER
Which people have that one as mother ?
(c(Q502895),P25,Q4980360)
action filter_type
action find_reverse
entity Q4980360
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q4980360']
SELECT DISTINCT ?p WHERE { ?p property:P25 resource:Q4980360 . ?p rdf:type ontology:Q502895 }
Birgitta Stensdotter
action filter_type
action find_reverse
entity Birgitta Stensdotter
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Birgitta Stensdotter']
SELECT DISTINCT ?p WHERE { ?p property:mother resource:Birgitta_Stensdotter . ?p rdf:type ontology:common_name }
[]
common name
Q452506 Q4939100
SYSTEM
Sten Sture the Elder, Birgitta Gustavsdotter
Q452506 Q4939100
(c(Q502895),P25,Q4980360)
action filter_type
action find_reverse
entity Q4980360
relation P25
type Q502895
[ANSWERS] have that one as mother
[{'concept': 'Q502895'}, 'P25', 'Q4980360']
SELECT DISTINCT ?p WHERE { ?p property:P25 resource:Q4980360 . ?p rdf:type ontology:Q502895 }
Sten Sture the Elder Birgitta Gustavsdotter
Sten Sture the Elder and Birgitta Gustavsdotter have that one as mother
Sten Sture the Elder Birgitta Gustavsdotter
action filter_type
action find_reverse
entity Birgitta Stensdotter
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Birgitta Stensdotter']
SELECT DISTINCT ?p WHERE { ?p property:mother resource:Birgitta_Stensdotter . ?p rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q12409492
P40
Q502895
USER
Do Mordekhai Gimpel Yafeh have those ones as an offspring ?
(Q12409492,P40,Q452506) (Q12409492,P40,Q4939100)
action is_in
entity prev_answer
action find
entity Q12409492
relation P40
['Q12409492', 'P40', 'Q452506'] ['Q12409492', 'P40', 'Q4939100']
ASK WHERE { resource:Q12409492 property:P40 ?x . VALUES ( ?x ) { ( resource:Q452506 ) ( resource:Q4939100 ) } }
Mordekhai Gimpel Yafeh
action is_in
entity prev_answer
action find
entity Mordekhai Gimpel Yafeh
relation child
['Mordekhai Gimpel Yafeh', 'child', 'Sten Sture the Elder'] ['Mordekhai Gimpel Yafeh', 'child', 'Birgitta Gustavsdotter']
ASK WHERE { resource:Mordekhai_Gimpel_Yafeh property:child ?x . VALUES ( ?x ) { ( resource:Sten_Sture_the_Elder ) ( resource:Birgitta_Gustavsdotter ) } }
[]
common name
SYSTEM
NO
(Q12409492,P40,Q452506) (Q12409492,P40,Q4939100)
action is_in
entity prev_answer
action find
entity Q12409492
relation P40
[ANSWER]
['Q12409492', 'P40', 'Q452506'] ['Q12409492', 'P40', 'Q4939100']
ASK WHERE { resource:Q12409492 property:P40 ?x . VALUES ( ?x ) { ( resource:Q452506 ) ( resource:Q4939100 ) } }
No
action is_in
entity prev_answer
action find
entity Mordekhai Gimpel Yafeh
relation child
['Mordekhai Gimpel Yafeh', 'child', 'Sten Sture the Elder'] ['Mordekhai Gimpel Yafeh', 'child', 'Birgitta Gustavsdotter']
ASK WHERE { resource:Mordekhai_Gimpel_Yafeh property:child ?x . VALUES ( ?x ) { ( resource:Sten_Sture_the_Elder ) ( resource:Birgitta_Gustavsdotter ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do atleast 2030 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2030
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P1303 ?p . ?u rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } . FILTER ( ?w >= 2030 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2030
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:instrument ?p . ?u rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } . FILTER ( ?w >= 2030 ) }
[]
musical instrument common name
Q5994 Q8355 Q1444
SYSTEM
piano, violin, organ
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2030
Atleast 2030 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P1303 ?p . ?u rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } . FILTER ( ?w >= 2030 ) }
piano violin organ drum kit
Atleast 2030 people know about piano, violin and organ
piano violin organ
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2030
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:instrument ?p . ?u rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } . FILTER ( ?w >= 2030 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19968662
P1303
Q502895
USER
Does Reto Keller know to play those musical instruments ?
(Q19968662,P1303,Q5994) (Q19968662,P1303,Q8355) (Q19968662,P1303,Q1444)
action is_in
entity prev_answer
action find
entity Q19968662
relation P1303
['Q19968662', 'P1303', 'Q5994'] ['Q19968662', 'P1303', 'Q8355'] ['Q19968662', 'P1303', 'Q1444']
ASK WHERE { resource:Q19968662 property:P1303 ?f . VALUES ( ?f ) { ( resource:Q5994 ) ( resource:Q8355 ) ( resource:Q1444 ) } }
Reto Keller
action is_in
entity prev_answer
action find
entity Reto Keller
relation instrument
['Reto Keller', 'instrument', 'piano'] ['Reto Keller', 'instrument', 'violin'] ['Reto Keller', 'instrument', 'organ']
ASK WHERE { resource:Reto_Keller property:instrument ?f . VALUES ( ?f ) { ( resource:piano ) ( resource:violin ) ( resource:organ ) } }
[]
common name
SYSTEM
NO
(Q19968662,P1303,Q5994) (Q19968662,P1303,Q8355) (Q19968662,P1303,Q1444)
action is_in
entity prev_answer
action find
entity Q19968662
relation P1303
[ANSWER]
['Q19968662', 'P1303', 'Q5994'] ['Q19968662', 'P1303', 'Q8355'] ['Q19968662', 'P1303', 'Q1444']
ASK WHERE { resource:Q19968662 property:P1303 ?f . VALUES ( ?f ) { ( resource:Q5994 ) ( resource:Q8355 ) ( resource:Q1444 ) } }
No
action is_in
entity prev_answer
action find
entity Reto Keller
relation instrument
['Reto Keller', 'instrument', 'piano'] ['Reto Keller', 'instrument', 'violin'] ['Reto Keller', 'instrument', 'organ']
ASK WHERE { resource:Reto_Keller property:instrument ?f . VALUES ( ?f ) { ( resource:piano ) ( resource:violin ) ( resource:organ ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q452506 Q4980360
P25
Q502895
USER
Was Birgitta Stensdotter the mother of that one ?
(Q452506,P25,Q4980360)
action is_in
entity Q4980360
action find
entity Q452506
relation P25
['Q452506', 'P25', 'Q4980360']
ASK WHERE { resource:Q452506 property:P25 resource:Q4980360 }
Sten Sture the Elder Birgitta Stensdotter
action is_in
entity Birgitta Stensdotter
action find
entity Sten Sture the Elder
relation mother
['Sten Sture the Elder', 'mother', 'Birgitta Stensdotter']
ASK WHERE { resource:Sten_Sture_the_Elder property:mother resource:Birgitta_Stensdotter }
[]
common name
SYSTEM
YES
(Q452506,P25,Q4980360)
action is_in
entity Q4980360
action find
entity Q452506
relation P25
[ANSWER]
['Q452506', 'P25', 'Q4980360']
ASK WHERE { resource:Q452506 property:P25 resource:Q4980360 }
Yes
action is_in
entity Birgitta Stensdotter
action find
entity Sten Sture the Elder
relation mother
['Sten Sture the Elder', 'mother', 'Birgitta Stensdotter']
ASK WHERE { resource:Sten_Sture_the_Elder property:mother resource:Birgitta_Stensdotter }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2305403 Q310433
P26
Q502895
USER
Is Charles VIII of Sweden the life partner of Catherine of Bjurum ?
(Q2305403,P26,Q310433)
action is_in
entity Q310433
action find
entity Q2305403
relation P26
['Q2305403', 'P26', 'Q310433']
ASK WHERE { resource:Q2305403 property:P26 resource:Q310433 }
Catherine of Bjurum Charles VIII of Sweden
action is_in
entity Charles VIII of Sweden
action find
entity Catherine of Bjurum
relation spouse
['Catherine of Bjurum', 'spouse', 'Charles VIII of Sweden']
ASK WHERE { resource:Catherine_of_Bjurum property:spouse resource:Charles_VIII_of_Sweden }
[]
common name
SYSTEM
YES
(Q2305403,P26,Q310433)
action is_in
entity Q310433
action find
entity Q2305403
relation P26
[ANSWER]
['Q2305403', 'P26', 'Q310433']
ASK WHERE { resource:Q2305403 property:P26 resource:Q310433 }
Yes
action is_in
entity Charles VIII of Sweden
action find
entity Catherine of Bjurum
relation spouse
['Catherine of Bjurum', 'spouse', 'Charles VIII of Sweden']
ASK WHERE { resource:Catherine_of_Bjurum property:spouse resource:Charles_VIII_of_Sweden }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q452506
P138
Q22698
USER
Which park comes from Sten Sture the Elder ?
(c(Q22698),P138,Q452506)
action filter_type
action find_reverse
entity Q452506
relation P138
type Q22698
[{'concept': 'Q22698'}, 'P138', 'Q452506']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q452506 . ?l rdf:type ontology:Q22698 }
Sten Sture the Elder
action filter_type
action find_reverse
entity Sten Sture the Elder
relation named after
type park
[{'concept': 'park'}, 'named after', 'Sten Sture the Elder']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Sten_Sture_the_Elder . ?l rdf:type ontology:park }
[]
park
Q1698824
SYSTEM
Stureparken
Q1698824
(c(Q22698),P138,Q452506)
action filter_type
action find_reverse
entity Q452506
relation P138
type Q22698
[ANSWER] comes from Sten Sture the Elder
[{'concept': 'Q22698'}, 'P138', 'Q452506']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q452506 . ?l rdf:type ontology:Q22698 }
Stureparken
Stureparken comes from Sten Sture the Elder
Stureparken
action filter_type
action find_reverse
entity Sten Sture the Elder
relation named after
type park
[{'concept': 'park'}, 'named after', 'Sten Sture the Elder']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Sten_Sture_the_Elder . ?l rdf:type ontology:park }
[]