Simple Question (Direct)
Simple Question
Q232801
P7
Q502895
USER
Who is the brother of Anne of France ?
(Q232801,P7,c(Q502895))
action filter_type
action find
entity Q232801
relation P7
type Q502895
['Q232801', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q232801 property:P7 ?t . ?t rdf:type ontology:Q502895 }
Anne of France
action filter_type
action find
entity Anne of France
relation brother
type common name
['Anne of France', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Anne_of_France property:brother ?t . ?t rdf:type ontology:common_name }
[]
common name
Q134452
SYSTEM
Charles VIII of France
Q134452
(Q232801,P7,c(Q502895))
action filter_type
action find
entity Q232801
relation P7
type Q502895
The brother of Anne of France is king [ANSWER]
['Q232801', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q232801 property:P7 ?t . ?t rdf:type ontology:Q502895 }
Charles VIII of France
The brother of Anne of France is king Charles VIII of France
Charles VIII of France
action filter_type
action find
entity Anne of France
relation brother
type common name
['Anne of France', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Anne_of_France property:brother ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q134452
P26
Q502895
USER
Who is married to that one ?
(Q134452,P26,c(Q502895))
action filter_type
action find
entity Q134452
relation P26
type Q502895
['Q134452', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q134452 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Charles VIII of France
action filter_type
action find
entity Charles VIII of France
relation spouse
type common name
['Charles VIII of France', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Charles_VIII_of_France property:spouse ?u . ?u rdf:type ontology:common_name }
[]
common name
Q201143
SYSTEM
Anne of Brittany
Q201143
(Q134452,P26,c(Q502895))
action filter_type
action find
entity Q134452
relation P26
type Q502895
[ANSWER] is married to that one
['Q134452', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q134452 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Anne of Brittany
Anne of Brittany is married to that one
Anne of Brittany
action filter_type
action find
entity Charles VIII of France
relation spouse
type common name
['Charles VIII of France', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Charles_VIII_of_France property:spouse ?u . ?u rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q201143 Q2958270 Q3090287
P40
Q502895
USER
Does that person have Charles Orlando, Dauphin of France and Frédéric Zago as an offspring ?
(Q201143,P40,Q2958270) (Q201143,P40,Q3090287)
action is_in
entity Q201143
action intersection
action find_reverse
entity Q2958270
relation P40
action find_reverse
entity Q3090287
relation P40
['Q201143', 'P40', 'Q2958270'] ['Q201143', 'P40', 'Q3090287']
ASK WHERE { resource:Q201143 property:P40 resource:Q2958270 . resource:Q201143 property:P40 resource:Q3090287 }
Anne of Brittany Charles Orlando, Dauphin of France Frédéric Zago
action is_in
entity Anne of Brittany
action intersection
action find_reverse
entity Charles Orlando, Dauphin of France
relation child
action find_reverse
entity Frédéric Zago
relation child
['Anne of Brittany', 'child', 'Charles Orlando, Dauphin of France'] ['Anne of Brittany', 'child', 'Frédéric Zago']
ASK WHERE { resource:Anne_of_Brittany property:child resource:Charles_Orlando,_Dauphin_of_France . resource:Anne_of_Brittany property:child resource:Frédéric_Zago }
[]
common name
SYSTEM
YES and NO respectively
(Q201143,P40,Q2958270) (Q201143,P40,Q3090287)
action is_in
entity Q201143
action intersection
action find_reverse
entity Q2958270
relation P40
action find_reverse
entity Q3090287
relation P40
[ANSWER]
['Q201143', 'P40', 'Q2958270'] ['Q201143', 'P40', 'Q3090287']
ASK WHERE { resource:Q201143 property:P40 resource:Q2958270 . resource:Q201143 property:P40 resource:Q3090287 }
YES and NO respectively
action is_in
entity Anne of Brittany
action intersection
action find_reverse
entity Charles Orlando, Dauphin of France
relation child
action find_reverse
entity Frédéric Zago
relation child
['Anne of Brittany', 'child', 'Charles Orlando, Dauphin of France'] ['Anne of Brittany', 'child', 'Frédéric Zago']
ASK WHERE { resource:Anne_of_Brittany property:child resource:Charles_Orlando,_Dauphin_of_France . resource:Anne_of_Brittany property:child resource:Frédéric_Zago }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q201143
P9
Q502895
USER
Who is Anne of Brittany a sister of ?
(c(Q502895),P9,Q201143)
action filter_type
action find
entity Q201143
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q201143']
SELECT DISTINCT ?e WHERE { resource:Q201143 property:P9 ?e . ?e rdf:type ontology:Q502895 }
Anne of Brittany
action filter_type
action find
entity Anne of Brittany
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Anne of Brittany']
SELECT DISTINCT ?e WHERE { resource:Anne_of_Brittany property:sister ?e . ?e rdf:type ontology:common_name }
[]
common name
Q3025974
SYSTEM
Isabeau of Brittany
Q3025974
(c(Q502895),P9,Q201143)
action filter_type
action find
entity Q201143
relation P9
type Q502895
[ANSWER] is Anne of Brittany a sister of
[{'concept': 'Q502895'}, 'P9', 'Q201143']
SELECT DISTINCT ?e WHERE { resource:Q201143 property:P9 ?e . ?e rdf:type ontology:Q502895 }
Isabeau of Brittany
Isabeau of Brittany is Anne of Brittany a sister of
Isabeau of Brittany
action filter_type
action find
entity Anne of Brittany
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Anne of Brittany']
SELECT DISTINCT ?e WHERE { resource:Anne_of_Brittany property:sister ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q201143
P97
Q4164871
USER
What was the title held by Anne of Brittany ?
(Q201143,P97,c(Q4164871))
action filter_type
action find
entity Q201143
relation P97
type Q4164871
['Q201143', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?t WHERE { resource:Q201143 property:P97 ?t . ?t rdf:type ontology:Q4164871 }
Anne of Brittany
action filter_type
action find
entity Anne of Brittany
relation noble title
type position
['Anne of Brittany', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?t WHERE { resource:Anne_of_Brittany property:noble_title ?t . ?t rdf:type ontology:position }
[]
position
Q166886
SYSTEM
duke
Q166886
(Q201143,P97,c(Q4164871))
action filter_type
action find
entity Q201143
relation P97
type Q4164871
The title held by Anne of Brittany was the [ANSWER]
['Q201143', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?t WHERE { resource:Q201143 property:P97 ?t . ?t rdf:type ontology:Q4164871 }
duke
The title held by Anne of Brittany was the duke
duke
action filter_type
action find
entity Anne of Brittany
relation noble title
type position
['Anne of Brittany', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?t WHERE { resource:Anne_of_Brittany property:noble_title ?t . ?t rdf:type ontology:position }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q166886 Q1819170 Q154547
P1001
Q15617994
USER
Does that position have jurisdiction over Honthem and duchy ?
(Q166886,P1001,Q1819170) (Q166886,P1001,Q154547)
action is_in
entity Q166886
action intersection
action find_reverse
entity Q1819170
relation P1001
action find_reverse
entity Q154547
relation P1001
['Q166886', 'P1001', 'Q1819170'] ['Q166886', 'P1001', 'Q154547']
ASK WHERE { resource:Q166886 property:P1001 resource:Q154547 . resource:Q166886 property:P1001 resource:Q1819170 }
duke Honthem duchy
action is_in
entity duke
action intersection
action find_reverse
entity Honthem
relation applies to jurisdiction
action find_reverse
entity duchy
relation applies to jurisdiction
['duke', 'applies to jurisdiction', 'Honthem'] ['duke', 'applies to jurisdiction', 'duchy']
ASK WHERE { resource:duke property:applies_to_jurisdiction resource:duchy . resource:duke property:applies_to_jurisdiction resource:Honthem }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q166886,P1001,Q1819170) (Q166886,P1001,Q154547)
action is_in
entity Q166886
action intersection
action find_reverse
entity Q1819170
relation P1001
action find_reverse
entity Q154547
relation P1001
[ANSWER]
['Q166886', 'P1001', 'Q1819170'] ['Q166886', 'P1001', 'Q154547']
ASK WHERE { resource:Q166886 property:P1001 resource:Q154547 . resource:Q166886 property:P1001 resource:Q1819170 }
NO and YES respectively
action is_in
entity duke
action intersection
action find_reverse
entity Honthem
relation applies to jurisdiction
action find_reverse
entity duchy
relation applies to jurisdiction
['duke', 'applies to jurisdiction', 'Honthem'] ['duke', 'applies to jurisdiction', 'duchy']
ASK WHERE { resource:duke property:applies_to_jurisdiction resource:duchy . resource:duke property:applies_to_jurisdiction resource:Honthem }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q389538 Q201143
P61 P1038
Q502895
USER
Which people are relatives of Anne of Brittany or discovered or invented 24981 Shigekimurakami ?
OR((Q201143,P1038,c(Q502895)), (Q389538,P61,c(Q502895)))
action filter_type
action union
action find
entity Q201143
relation P1038
action find
entity Q389538
relation P61
type Q502895
{'OR': [['Q201143', 'P1038', {'concept': 'Q502895'}], ['Q389538', 'P61', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q389538 property:P61 ?y } UNION { resource:Q201143 property:P1038 ?y } } . ?y rdf:type ontology:Q502895 }
24981 Shigekimurakami Anne of Brittany
action filter_type
action union
action find
entity Anne of Brittany
relation relative
action find
entity 24981 Shigekimurakami
relation discoverer or inventor
type common name
{'OR': [['Anne of Brittany', 'relative', {'concept': 'common name'}], ['24981 Shigekimurakami', 'discoverer or inventor', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { { { resource:24981_Shigekimurakami property:discoverer_or_inventor ?y } UNION { resource:Anne_of_Brittany property:relative ?y } } . ?y rdf:type ontology:common_name }
[]
common name
Q236889 Q236902 Q236896 Q231126 Q418427
SYSTEM
Eleanor of Navarre, Germaine of Foix, Catherine of Navarre, Anne of Foix-Candale, Akimasa Nakamura
Q236889 Q236902 Q236896 Q231126 Q418427
OR((Q201143,P1038,c(Q502895)), (Q389538,P61,c(Q502895)))
action filter_type
action union
action find
entity Q201143
relation P1038
action find
entity Q389538
relation P61
type Q502895
[ANSWERS] are relatives of Anne of Brittany or discovered or invented 24981 Shigekimurakami
{'OR': [['Q201143', 'P1038', {'concept': 'Q502895'}], ['Q389538', 'P61', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q389538 property:P61 ?y } UNION { resource:Q201143 property:P1038 ?y } } . ?y rdf:type ontology:Q502895 }
Eleanor of Navarre Germaine of Foix Catherine of Navarre Anne of Foix-Candale Akimasa Nakamura
Eleanor of Navarre, Germaine of Foix, Catherine of Navarre, Anne of Foix-Candale and Akimasa Nakamura are relatives of Anne of Brittany or discovered or invented 24981 Shigekimurakami
Eleanor of Navarre Germaine of Foix Catherine of Navarre Anne of Foix-Candale Akimasa Nakamura
action filter_type
action union
action find
entity Anne of Brittany
relation relative
action find
entity 24981 Shigekimurakami
relation discoverer or inventor
type common name
{'OR': [['Anne of Brittany', 'relative', {'concept': 'common name'}], ['24981 Shigekimurakami', 'discoverer or inventor', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { { { resource:24981_Shigekimurakami property:discoverer_or_inventor ?y } UNION { resource:Anne_of_Brittany property:relative ?y } } . ?y rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P61
Q17444909
USER
How many astronomical object types are the astronomical object types that that person invented ?
(c(Q17444909),P61,Q418427)
[{'concept': 'Q17444909'}, 'P61', 'Q418427']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P61 resource:Q418427 . ?z rdf:type ontology:Q17444909 }
[{'concept': 'astronomical object type'}, 'discoverer or inventor', 'Akimasa Nakamura']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:discoverer_or_inventor resource:Akimasa_Nakamura . ?z rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Quantitative|Count|Single entity type|Clarification
Q231126
SYSTEM
Did you mean Anne of Foix-Candale ?
(c(Q17444909),P61,Q236889) (c(Q17444909),P61,Q236902) (c(Q17444909),P61,Q236896) (c(Q17444909),P61,Q231126) (c(Q17444909),P61,Q418427)
[ANSWER]
[{'concept': 'Q17444909'}, 'P61', 'Q236889'] [{'concept': 'Q17444909'}, 'P61', 'Q236902'] [{'concept': 'Q17444909'}, 'P61', 'Q236896'] [{'concept': 'Q17444909'}, 'P61', 'Q231126'] [{'concept': 'Q17444909'}, 'P61', 'Q418427']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P61 resource:Q418427 . ?z rdf:type ontology:Q17444909 }
Did you mean Anne of Foix-Candale ?
Anne of Foix-Candale
[{'concept': 'astronomical object type'}, 'discoverer or inventor', 'Eleanor of Navarre'] [{'concept': 'astronomical object type'}, 'discoverer or inventor', 'Germaine of Foix'] [{'concept': 'astronomical object type'}, 'discoverer or inventor', 'Catherine of Navarre'] [{'concept': 'astronomical object type'}, 'discoverer or inventor', 'Anne of Foix-Candale'] [{'concept': 'astronomical object type'}, 'discoverer or inventor', 'Akimasa Nakamura']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:discoverer_or_inventor resource:Akimasa_Nakamura . ?z rdf:type ontology:astronomical_object_type }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Akimasa Nakamura. Could you tell me the answer for that?
(c(Q17444909),P61,Q418427)
Q418427
[{'concept': 'Q17444909'}, 'P61', 'Q418427']
[{'concept': 'astronomical object type'}, 'discoverer or inventor', 'Akimasa Nakamura']
[]
SYSTEM
102
Q3597623 Q3597629 Q2473255 Q2641067 Q2471669 Q3597419 Q612053 Q539121 Q2710582 Q2473202 Q1058846 Q2710855 Q529952 Q3597611 Q2710260 Q3597474 Q2610986 Q1369758 Q3597463 Q3597580 Q2710038 Q3596889 Q781424 Q389538 Q2709430 Q985641 Q3600184 Q2705693 Q3597529 Q2709835 Q3596863 Q3597508 Q647185 Q2612991 Q659787 Q3596815 Q2710490 Q2610560 Q3600137 Q3600134 Q2619605 Q2473163 Q2710766 Q2705606 Q3600149 Q3600147 Q3599907 Q2611036 Q2016097 Q2710303 Q3599918 Q3596983 Q2615392 Q2611408 Q2624105 Q2622148 Q2016050 Q2523800 Q2016037 Q2610250 Q2610774 Q3596912 Q3596919 Q2612756 Q2625434 Q3600206 Q2610557 Q2710361 Q3600227 Q2471774 Q1128395 Q737816 Q1079180 Q3597280 Q2612437 Q696536 Q727991 Q2471738 Q606419 Q631446 Q1190861 Q2708979 Q555794 Q2473521 Q616256 Q3597123 Q3597712 Q1191247 Q597979 Q3599995 Q221508 Q2629854 Q2621111 Q16513085 Q2623896 Q1333313 Q3599776 Q2627914 Q148810 Q3597631 Q770749 Q2624575
(c(Q17444909),P61,Q418427)
[ANSWER]
[{'concept': 'Q17444909'}, 'P61', 'Q418427']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P61 resource:Q418427 . ?z rdf:type ontology:Q17444909 }
162035 Jirotakahashi 162755 Spacesora 15415 Rika 100309 Misuzukaneko 67853 Iwamura 140038 Kurushima 26937 Makimiyamoto 6804 Maruseppu 52421 Daihoji 15841 Yamaguchi 7678 Onoda 58707 Kyoshi 8720 Takamizawa 160903 Shiokaze 47077 Yuji 147971 Nametoko 46737 Anpanman 7484 Dogo Onsen 145732 Kanmon 158241 Yutonagatomo 39635 Kusatao 10609 Hirai 10163 Onomichi 24981 Shigekimurakami 31671 Masatoshi 7438 Misakatouge 94356 Naruto 79254 Tsuda 152657 Yukifumi 47293 Masamitsu 105675 Kamiukena 150129 Besshi 54237 Hiroshimanabe 22489 Yanaka 8432 Tamakasuga 100675 Chuyanakahara 58466 Santoka 46643 Yanase 91395 Sakanouenokumo 91213 Botchan 16807 Terasako 15370 Kanchi 49440 Kenzotange 79333 Yusaku 92097 Aidai 91907 Shiho 80184 Hekigoto 29737 Norihiro 129561 Chuhachi 52601 Iwayaji 80984 Santomurakami 11115 Kariya 20151 Utsunomiya 27003 Katoizumi 13221 Nao 14939 Norikura 110743 Hirobumi 27396 Shuji 110742 Tetuokudo 44711 Carp 29986 Shunsuke 107805 Saibi 108720 Kamikuroiwa 22402 Goshi 12408 Fujioka 96254 Hoyo 48736 Ehime 48575 Hawaii 97582 Hijikawa 100266 Sadamisaki 7716 Ube 10375 Michiokuga 8552 Hyoichi 125473 Keisaku 24962 Kenjitoba 6800 Saragamine 9235 Shimanamikaido 65775 Reikotosa 15921 Kintaikyo 7206 Shiki 9658 Imabari 31061 Tamao 6255 Kuma 12796 Kamenrider 16759 Furuyama 11612 Obu 173936 Yuribo 9076 Shinsaku 7905 Juzoitami 85308 Atsushimori 9081 Hideakianno 10601 Hiwatashi 15868 Akiyoshidai 200234 Kumashiro 13239 Kana 8306 Shoko 75308 Shoin 10850 Denso 23644 Yamaneko 163153 Takuyaonishi 7788 Tsukuba 13207 Tamagawa
102
[{'concept': 'astronomical object type'}, 'discoverer or inventor', 'Akimasa Nakamura']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:discoverer_or_inventor resource:Akimasa_Nakamura . ?z rdf:type ontology:astronomical_object_type }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q43115 Q134452
P411 P7
Q502895
USER
Which people have Charles VIII of France as their sibling and have canonization status of saint ?
AND((c(Q502895),P7,Q134452), (c(Q502895),P411,Q43115))
action filter_type
action intersection
action find_reverse
entity Q134452
relation P7
action find_reverse
entity Q43115
relation P411
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q134452'], [{'concept': 'Q502895'}, 'P411', 'Q43115']]}
SELECT DISTINCT ?p WHERE { ?p property:P7 resource:Q134452 . ?p property:P411 resource:Q43115 . ?p rdf:type ontology:Q502895 }
saint Charles VIII of France
action filter_type
action intersection
action find_reverse
entity Charles VIII of France
relation brother
action find_reverse
entity saint
relation canonization status
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Charles VIII of France'], [{'concept': 'common name'}, 'canonization status', 'saint']]}
SELECT DISTINCT ?p WHERE { ?p property:brother resource:Charles_VIII_of_France . ?p property:canonization_status resource:saint . ?p rdf:type ontology:common_name }
[]
common name
Q236220
SYSTEM
Joan of France, Duchess of Berry
Q236220
AND((c(Q502895),P7,Q134452), (c(Q502895),P411,Q43115))
action filter_type
action intersection
action find_reverse
entity Q134452
relation P7
action find_reverse
entity Q43115
relation P411
type Q502895
[ANSWER] have Charles VIII of France as their sibling and have canonization status of saint
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q134452'], [{'concept': 'Q502895'}, 'P411', 'Q43115']]}
SELECT DISTINCT ?p WHERE { ?p property:P7 resource:Q134452 . ?p property:P411 resource:Q43115 . ?p rdf:type ontology:Q502895 }
Joan of France, Duchess of Berry
Joan of France, Duchess of Berry have Charles VIII of France as their sibling and have canonization status of saint
Joan of France, Duchess of Berry
action filter_type
action intersection
action find_reverse
entity Charles VIII of France
relation brother
action find_reverse
entity saint
relation canonization status
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Charles VIII of France'], [{'concept': 'common name'}, 'canonization status', 'saint']]}
SELECT DISTINCT ?p WHERE { ?p property:brother resource:Charles_VIII_of_France . ?p property:canonization_status resource:saint . ?p rdf:type ontology:common_name }
[]