Simple Question (Direct)
Simple Question
Q11623137
P9
Q502895
USER
Who are the sisters of Fujiwara no Kishi ?
(Q11623137,P9,c(Q502895))
action filter_type
action find
entity Q11623137
relation P9
type Q502895
['Q11623137', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q11623137 property:P9 ?v . ?v rdf:type ontology:Q502895 }
Fujiwara no Kishi
action filter_type
action find
entity Fujiwara no Kishi
relation sister
type common name
['Fujiwara no Kishi', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Fujiwara_no_Kishi property:sister ?v . ?v rdf:type ontology:common_name }
[]
common name
Q5507516 Q15838925 Q901949
SYSTEM
Fujiwara no Ishi, Fujiwara no Sonshi, Fujiwara no Shōshi
Q15645727 Q901949 Q5507516 Q5507521 Q15838925
(Q11623137,P9,c(Q502895))
action filter_type
action find
entity Q11623137
relation P9
type Q502895
The sisters of Fujiwara no Kishi are named [ANSWERS]
['Q11623137', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q11623137 property:P9 ?v . ?v rdf:type ontology:Q502895 }
Fujiwara no Kanshi Fujiwara no Shōshi Fujiwara no Ishi Fujiwara no Kenshi Fujiwara no Sonshi
The sisters of Fujiwara no Kishi are named Fujiwara no Ishi, Fujiwara no Sonshi and Fujiwara no Shōshi
Fujiwara no Ishi Fujiwara no Sonshi Fujiwara no Shōshi
action filter_type
action find
entity Fujiwara no Kishi
relation sister
type common name
['Fujiwara no Kishi', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Fujiwara_no_Kishi property:sister ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11623137
P25
Q502895
USER
Which person was the mother of Fujiwara no Kishi ?
(Q11623137,P25,c(Q502895))
action filter_type
action find
entity Q11623137
relation P25
type Q502895
['Q11623137', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q11623137 property:P25 ?a . ?a rdf:type ontology:Q502895 }
Fujiwara no Kishi
action filter_type
action find
entity Fujiwara no Kishi
relation mother
type common name
['Fujiwara no Kishi', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Fujiwara_no_Kishi property:mother ?a . ?a rdf:type ontology:common_name }
[]
common name
Q11563997
SYSTEM
Minamoto no Rinshi
Q11563997
(Q11623137,P25,c(Q502895))
action filter_type
action find
entity Q11623137
relation P25
type Q502895
[ANSWER] was the mother of Fujiwara no Kishi
['Q11623137', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q11623137 property:P25 ?a . ?a rdf:type ontology:Q502895 }
Minamoto no Rinshi
Minamoto no Rinshi was the mother of Fujiwara no Kishi
Minamoto no Rinshi
action filter_type
action find
entity Fujiwara no Kishi
relation mother
type common name
['Fujiwara no Kishi', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Fujiwara_no_Kishi property:mother ?a . ?a rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q11563997 Q17160717 Q5507516
P40
Q502895
USER
Does that person have Kunika Takeda and Fujiwara no Ishi as an offspring ?
(Q11563997,P40,Q17160717) (Q11563997,P40,Q5507516)
action is_in
entity Q11563997
action intersection
action find_reverse
entity Q17160717
relation P40
action find_reverse
entity Q5507516
relation P40
['Q11563997', 'P40', 'Q17160717'] ['Q11563997', 'P40', 'Q5507516']
ASK WHERE { resource:Q11563997 property:P40 resource:Q17160717 . resource:Q11563997 property:P40 resource:Q5507516 }
Minamoto no Rinshi Kunika Takeda Fujiwara no Ishi
action is_in
entity Minamoto no Rinshi
action intersection
action find_reverse
entity Kunika Takeda
relation child
action find_reverse
entity Fujiwara no Ishi
relation child
['Minamoto no Rinshi', 'child', 'Kunika Takeda'] ['Minamoto no Rinshi', 'child', 'Fujiwara no Ishi']
ASK WHERE { resource:Minamoto_no_Rinshi property:child resource:Kunika_Takeda . resource:Minamoto_no_Rinshi property:child resource:Fujiwara_no_Ishi }
[]
common name
SYSTEM
NO and YES respectively
(Q11563997,P40,Q17160717) (Q11563997,P40,Q5507516)
action is_in
entity Q11563997
action intersection
action find_reverse
entity Q17160717
relation P40
action find_reverse
entity Q5507516
relation P40
[ANSWER]
['Q11563997', 'P40', 'Q17160717'] ['Q11563997', 'P40', 'Q5507516']
ASK WHERE { resource:Q11563997 property:P40 resource:Q17160717 . resource:Q11563997 property:P40 resource:Q5507516 }
NO and YES respectively
action is_in
entity Minamoto no Rinshi
action intersection
action find_reverse
entity Kunika Takeda
relation child
action find_reverse
entity Fujiwara no Ishi
relation child
['Minamoto no Rinshi', 'child', 'Kunika Takeda'] ['Minamoto no Rinshi', 'child', 'Fujiwara no Ishi']
ASK WHERE { resource:Minamoto_no_Rinshi property:child resource:Kunika_Takeda . resource:Minamoto_no_Rinshi property:child resource:Fujiwara_no_Ishi }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q11623137 Q433133
P22
Q502895
USER
Was Fujiwara no Michinaga the father of Fujiwara no Kishi ?
(Q11623137,P22,Q433133)
action is_in
entity Q433133
action find
entity Q11623137
relation P22
['Q11623137', 'P22', 'Q433133']
ASK WHERE { resource:Q11623137 property:P22 resource:Q433133 }
Fujiwara no Kishi Fujiwara no Michinaga
action is_in
entity Fujiwara no Michinaga
action find
entity Fujiwara no Kishi
relation father
['Fujiwara no Kishi', 'father', 'Fujiwara no Michinaga']
ASK WHERE { resource:Fujiwara_no_Kishi property:father resource:Fujiwara_no_Michinaga }
[]
common name
SYSTEM
YES
(Q11623137,P22,Q433133)
action is_in
entity Q433133
action find
entity Q11623137
relation P22
[ANSWER]
['Q11623137', 'P22', 'Q433133']
ASK WHERE { resource:Q11623137 property:P22 resource:Q433133 }
Yes
action is_in
entity Fujiwara no Michinaga
action find
entity Fujiwara no Kishi
relation father
['Fujiwara no Kishi', 'father', 'Fujiwara no Michinaga']
ASK WHERE { resource:Fujiwara_no_Kishi property:father resource:Fujiwara_no_Michinaga }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q15838925 Q11564069 Q11678268
P26
Q502895
USER
Is Fujiwara no Sonshi married to Minamoto no Morofusa and Atsunobu Kurokawa ?
(Q15838925,P26,Q11564069) (Q15838925,P26,Q11678268)
action is_in
entity Q15838925
action intersection
action find_reverse
entity Q11564069
relation P26
action find_reverse
entity Q11678268
relation P26
['Q15838925', 'P26', 'Q11564069'] ['Q15838925', 'P26', 'Q11678268']
ASK WHERE { resource:Q15838925 property:P26 resource:Q11564069 . resource:Q15838925 property:P26 resource:Q11678268 }
Fujiwara no Sonshi Minamoto no Morofusa Atsunobu Kurokawa
action is_in
entity Fujiwara no Sonshi
action intersection
action find_reverse
entity Minamoto no Morofusa
relation spouse
action find_reverse
entity Atsunobu Kurokawa
relation spouse
['Fujiwara no Sonshi', 'spouse', 'Minamoto no Morofusa'] ['Fujiwara no Sonshi', 'spouse', 'Atsunobu Kurokawa']
ASK WHERE { resource:Fujiwara_no_Sonshi property:spouse resource:Minamoto_no_Morofusa . resource:Fujiwara_no_Sonshi property:spouse resource:Atsunobu_Kurokawa }
[]
common name
SYSTEM
YES and NO respectively
(Q15838925,P26,Q11564069) (Q15838925,P26,Q11678268)
action is_in
entity Q15838925
action intersection
action find_reverse
entity Q11564069
relation P26
action find_reverse
entity Q11678268
relation P26
[ANSWER]
['Q15838925', 'P26', 'Q11564069'] ['Q15838925', 'P26', 'Q11678268']
ASK WHERE { resource:Q15838925 property:P26 resource:Q11564069 . resource:Q15838925 property:P26 resource:Q11678268 }
YES and NO respectively
action is_in
entity Fujiwara no Sonshi
action intersection
action find_reverse
entity Minamoto no Morofusa
relation spouse
action find_reverse
entity Atsunobu Kurokawa
relation spouse
['Fujiwara no Sonshi', 'spouse', 'Minamoto no Morofusa'] ['Fujiwara no Sonshi', 'spouse', 'Atsunobu Kurokawa']
ASK WHERE { resource:Fujiwara_no_Sonshi property:spouse resource:Minamoto_no_Morofusa . resource:Fujiwara_no_Sonshi property:spouse resource:Atsunobu_Kurokawa }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5507516 Q15838925 Q3499894
P9
Q502895
USER
Did Fujiwara no Ishi have Fujiwara no Sonshi and Andrea Šerić as sister ?
(Q5507516,P9,Q15838925) (Q5507516,P9,Q3499894)
action is_in
entity Q5507516
action intersection
action find_reverse
entity Q15838925
relation P9
action find_reverse
entity Q3499894
relation P9
['Q5507516', 'P9', 'Q15838925'] ['Q5507516', 'P9', 'Q3499894']
ASK WHERE { resource:Q5507516 property:P9 resource:Q15838925 . resource:Q5507516 property:P9 resource:Q3499894 }
Fujiwara no Ishi Fujiwara no Sonshi Andrea Šerić
action is_in
entity Fujiwara no Ishi
action intersection
action find_reverse
entity Fujiwara no Sonshi
relation sister
action find_reverse
entity Andrea Šerić
relation sister
['Fujiwara no Ishi', 'sister', 'Fujiwara no Sonshi'] ['Fujiwara no Ishi', 'sister', 'Andrea Šerić']
ASK WHERE { resource:Fujiwara_no_Ishi property:sister resource:Fujiwara_no_Sonshi . resource:Fujiwara_no_Ishi property:sister resource:Andrea_Šerić }
[]
common name
SYSTEM
YES and NO respectively
(Q5507516,P9,Q15838925) (Q5507516,P9,Q3499894)
action is_in
entity Q5507516
action intersection
action find_reverse
entity Q15838925
relation P9
action find_reverse
entity Q3499894
relation P9
[ANSWER]
['Q5507516', 'P9', 'Q15838925'] ['Q5507516', 'P9', 'Q3499894']
ASK WHERE { resource:Q5507516 property:P9 resource:Q15838925 . resource:Q5507516 property:P9 resource:Q3499894 }
YES and NO respectively
action is_in
entity Fujiwara no Ishi
action intersection
action find_reverse
entity Fujiwara no Sonshi
relation sister
action find_reverse
entity Andrea Šerić
relation sister
['Fujiwara no Ishi', 'sister', 'Fujiwara no Sonshi'] ['Fujiwara no Ishi', 'sister', 'Andrea Šerić']
ASK WHERE { resource:Fujiwara_no_Ishi property:sister resource:Fujiwara_no_Sonshi . resource:Fujiwara_no_Ishi property:sister resource:Andrea_Šerić }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q537212 Q3499894
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Andrea Šerić or Oja Kodar ?
OR((Q3499894,P27,c(Q15617994)), (Q537212,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3499894
relation P27
action find
entity Q537212
relation P27
type Q15617994
{'OR': [['Q3499894', 'P27', {'concept': 'Q15617994'}], ['Q537212', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3499894 property:P27 ?p } UNION { resource:Q537212 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Oja Kodar Andrea Šerić
action filter_type
action union
action find
entity Andrea Šerić
relation country of citizenship
action find
entity Oja Kodar
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Andrea Šerić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Oja Kodar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Andrea_Šerić property:country_of_citizenship ?p } UNION { resource:Oja_Kodar property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q224
SYSTEM
Croatia
Q224
OR((Q3499894,P27,c(Q15617994)), (Q537212,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3499894
relation P27
action find
entity Q537212
relation P27
type Q15617994
[ANSWER] is the countries of citizenship of Andrea Šerić or Oja Kodar
{'OR': [['Q3499894', 'P27', {'concept': 'Q15617994'}], ['Q537212', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3499894 property:P27 ?p } UNION { resource:Q537212 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Croatia
Croatia is the countries of citizenship of Andrea Šerić or Oja Kodar
Croatia
action filter_type
action union
action find
entity Andrea Šerić
relation country of citizenship
action find
entity Oja Kodar
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Andrea Šerić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Oja Kodar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Andrea_Šerić property:country_of_citizenship ?p } UNION { resource:Oja_Kodar property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]