Simple Question (Direct)
Simple Question
Q6131133
P241
Q781132
USER
Which military branch was James Cassels a part of ?
(Q6131133,P241,c(Q781132))
action filter_type
action find
entity Q6131133
relation P241
type Q781132
['Q6131133', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?x WHERE { resource:Q6131133 property:P241 ?x . ?x rdf:type ontology:Q781132 }
James Cassels
action filter_type
action find
entity James Cassels
relation military branch
type military branch
['James Cassels', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?x WHERE { resource:James_Cassels property:military_branch ?x . ?x rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q6131133,P241,c(Q781132))
action filter_type
action find
entity Q6131133
relation P241
type Q781132
The [ANSWER] was James Cassels a part of
['Q6131133', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?x WHERE { resource:Q6131133 property:P241 ?x . ?x rdf:type ontology:Q781132 }
British Army
The British Army was James Cassels a part of
British Army
action filter_type
action find
entity James Cassels
relation military branch
type military branch
['James Cassels', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?x WHERE { resource:James_Cassels property:military_branch ?x . ?x rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6131133
P1412
Q34770
USER
Which language does that person speak in ?
(Q222595,P1412,c(Q34770))
action filter_type
action find
entity Q6131133
relation P1412
type Q34770
['Q222595', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q6131133 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
James Cassels
action filter_type
action find
entity James Cassels
relation languages spoken, written or signed
type language
['British Army', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:James_Cassels property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q222595,P1412,c(Q34770))
action filter_type
action find
entity Q6131133
relation P1412
type Q34770
That person speaks the [ANSWER]
['Q222595', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q6131133 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
English
That person speaks the English
English
action filter_type
action find
entity James Cassels
relation languages spoken, written or signed
type language
['British Army', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:James_Cassels property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1860 Q4001382
P361
Q5962346
USER
Is that language a part of German Type U 151 submarine ?
(Q1860,P361,Q4001382)
action is_in
entity Q4001382
action find
entity Q1860
relation P361
['Q1860', 'P361', 'Q4001382']
ASK WHERE { resource:Q1860 property:P361 resource:Q4001382 }
English German Type U 151 submarine
action is_in
entity German Type U 151 submarine
action find
entity English
relation part of
['English', 'part of', 'German Type U 151 submarine']
ASK WHERE { resource:English property:part_of resource:German_Type_U_151_submarine }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q4001382)
action is_in
entity Q4001382
action find
entity Q1860
relation P361
[ANSWER]
['Q1860', 'P361', 'Q4001382']
ASK WHERE { resource:Q1860 property:P361 resource:Q4001382 }
No
action is_in
entity German Type U 151 submarine
action find
entity English
relation part of
['English', 'part of', 'German Type U 151 submarine']
ASK WHERE { resource:English property:part_of resource:German_Type_U_151_submarine }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6131133 Q3357
P27
Q15617994
USER
Is Dordogne the native country of James Cassels ?
(Q6131133,P27,Q3357)
action is_in
entity Q3357
action find
entity Q6131133
relation P27
['Q6131133', 'P27', 'Q3357']
ASK WHERE { resource:Q6131133 property:P27 resource:Q3357 }
James Cassels Dordogne
action is_in
entity Dordogne
action find
entity James Cassels
relation country of citizenship
['James Cassels', 'country of citizenship', 'Dordogne']
ASK WHERE { resource:James_Cassels property:country_of_citizenship resource:Dordogne }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q6131133,P27,Q3357)
action is_in
entity Q3357
action find
entity Q6131133
relation P27
[ANSWER]
['Q6131133', 'P27', 'Q3357']
ASK WHERE { resource:Q6131133 property:P27 resource:Q3357 }
No
action is_in
entity Dordogne
action find
entity James Cassels
relation country of citizenship
['James Cassels', 'country of citizenship', 'Dordogne']
ASK WHERE { resource:James_Cassels property:country_of_citizenship resource:Dordogne }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6131133
P39
Q12737077
USER
What was the position for which that person was appointed ?
action filter_type
action find
entity Q6131133
relation P39
type Q12737077
SELECT DISTINCT ?u WHERE { resource:Q6131133 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
James Cassels
action filter_type
action find
entity James Cassels
relation position held
type occupation
SELECT DISTINCT ?u WHERE { resource:James_Cassels property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
action filter_type
action find
entity Q6131133
relation P39
type Q12737077
Kingdom [ANSWER]
SELECT DISTINCT ?u WHERE { resource:Q6131133 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
Kingdom Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom
action filter_type
action find
entity James Cassels
relation position held
type occupation
SELECT DISTINCT ?u WHERE { resource:James_Cassels property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2163736 Q6131133
P39 P106
Q12737077
USER
Which occupations were the positions for which James Cassels were appointed or do Rolf Reiner Maria Borchard do for a living ?
OR((Q6131133,P39,c(Q12737077)), (Q2163736,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q6131133
relation P39
action find
entity Q2163736
relation P106
type Q12737077
{'OR': [['Q6131133', 'P39', {'concept': 'Q12737077'}], ['Q2163736', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q6131133 property:P39 ?u } UNION { resource:Q2163736 property:P106 ?u } } . ?u rdf:type ontology:Q12737077 }
Rolf Reiner Maria Borchard James Cassels
action filter_type
action union
action find
entity James Cassels
relation position held
action find
entity Rolf Reiner Maria Borchard
relation occupation
type occupation
{'OR': [['James Cassels', 'position held', {'concept': 'occupation'}], ['Rolf Reiner Maria Borchard', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { { { resource:James_Cassels property:position_held ?u } UNION { resource:Rolf_Reiner_Maria_Borchard property:occupation ?u } } . ?u rdf:type ontology:occupation }
[]
occupation
Q42973 Q1622272 Q16707842
SYSTEM
architect, university teacher, Member of Parliament in the United Kingdom
Q42973 Q1622272 Q16707842
OR((Q6131133,P39,c(Q12737077)), (Q2163736,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q6131133
relation P39
action find
entity Q2163736
relation P106
type Q12737077
[ANSWERS] were the positions for which James Cassels were appointed or do Rolf Reiner Maria Borchard do for a living
{'OR': [['Q6131133', 'P39', {'concept': 'Q12737077'}], ['Q2163736', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q6131133 property:P39 ?u } UNION { resource:Q2163736 property:P106 ?u } } . ?u rdf:type ontology:Q12737077 }
architect university teacher Member of Parliament in the United Kingdom
Architect, university teacher and Member of Parliament in the United Kingdom were the positions for which James Cassels were appointed or do Rolf Reiner Maria Borchard do for a living
architect university teacher Member of Parliament in the United Kingdom
action filter_type
action union
action find
entity James Cassels
relation position held
action find
entity Rolf Reiner Maria Borchard
relation occupation
type occupation
{'OR': [['James Cassels', 'position held', {'concept': 'occupation'}], ['Rolf Reiner Maria Borchard', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { { { resource:James_Cassels property:position_held ?u } UNION { resource:Rolf_Reiner_Maria_Borchard property:occupation ?u } } . ?u rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5287 Q1860
P1412
Q502895
USER
Which people talks in English and Japanese ?
AND((c(Q502895),P1412,Q1860), (c(Q502895),P1412,Q5287))
action filter_type
action intersection
action find_reverse
entity Q1860
relation P1412
action find_reverse
entity Q5287
relation P1412
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1412', 'Q1860'], [{'concept': 'Q502895'}, 'P1412', 'Q5287']]}
SELECT DISTINCT ?r WHERE { ?r property:P1412 resource:Q1860 . ?r property:P1412 resource:Q5287 . ?r rdf:type ontology:Q502895 }
Japanese English
action filter_type
action intersection
action find_reverse
entity English
relation languages spoken, written or signed
action find_reverse
entity Japanese
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'languages spoken, written or signed', 'English'], [{'concept': 'common name'}, 'languages spoken, written or signed', 'Japanese']]}
SELECT DISTINCT ?r WHERE { ?r property:languages_spoken,_written_or_signed resource:English . ?r property:languages_spoken,_written_or_signed resource:Japanese . ?r rdf:type ontology:common_name }
[]
common name
Q3324145 Q11335024 Q11422756 Q472147 Q24238518 Q535167 Q22813583 Q545875 Q18988765 Q21253491
SYSTEM
Some of them are Moriyama Einosuke, Blake Crawford, Junji Kunishige, Charles Berlitz, Masumi Harada, Masa Nakayama, Mariusz Wróblewski, Monte Melkonian, Katy Qiao, Angela Schottenhammer
Q237345 Q17302115 Q11412949 Q11349333 Q2619494 Q3850648 Q472147 Q22704784 Q22678023 Q7076820 Q5321818 Q10890967 Q3127999 Q2015324 Q223354 Q16523711 Q1240040 Q467941 Q501930 Q711869 Q24284285 Q8273313 Q24238518 Q11239604 Q11323946 Q21074842 Q20751451 Q232449 Q11335024 Q12729016 Q22813583 Q21253491 Q18988765 Q21680740 Q21074748 Q23114 Q15076225 Q3324145 Q3133118 Q861241 Q1892472 Q5675663 Q297462 Q17680881 Q545875 Q11226901 Q21855452 Q11422756 Q1427613 Q1070261 Q21015392 Q535167
AND((c(Q502895),P1412,Q1860), (c(Q502895),P1412,Q5287))
action filter_type
action intersection
action find_reverse
entity Q1860
relation P1412
action find_reverse
entity Q5287
relation P1412
type Q502895
[ANSWERS] talk in English and Japanese
{'AND': [[{'concept': 'Q502895'}, 'P1412', 'Q1860'], [{'concept': 'Q502895'}, 'P1412', 'Q5287']]}
SELECT DISTINCT ?r WHERE { ?r property:P1412 resource:Q1860 . ?r property:P1412 resource:Q5287 . ?r rdf:type ontology:Q502895 }
Crystal Kay Sio Yūichi Yoshikawa Rachel Walzer Branko Vukelić Masaharu Anesaki Charles Berlitz Richard Caspar Rudolph Benjamin Boas Octavio Novaro E. Dale Saunders Wolfgang Kroll Haruchika Noguchi Yoshitomo Nara Eli Cohen Judit Vihar Donald Keene Yana Gupta Takamitsu Muraoka Arthur Waley Judit Hidasi Fang Chih Masumi Harada Pile Nano Edward DeRuiter Bonjour Suzuki BoA Blake Crawford George T. Sipos Mariusz Wróblewski Angela Schottenhammer Katy Qiao Jordi Fibla Max Gordon Oidtmann Lu Xun Elya Chavez Moriyama Einosuke Oscar Oiwa Fukuchi Genichiro Ikezawa Natsuki Haruka Abe Marty Friedman Gwenvred Latimier-Kervella Monte Melkonian Jenya Tomonori Honda Junji Kunishige Miloš Kirschner Himeka Kaori Sawada Masa Nakayama
Moriyama Einosuke, Blake Crawford, Junji Kunishige, Charles Berlitz, Masumi Harada, Masa Nakayama, Mariusz Wróblewski, Monte Melkonian, Katy Qiao and Angela Schottenhammer talk in English and Japanese
Moriyama Einosuke Blake Crawford Junji Kunishige Charles Berlitz Masumi Harada Masa Nakayama Mariusz Wróblewski Monte Melkonian Katy Qiao Angela Schottenhammer
action filter_type
action intersection
action find_reverse
entity English
relation languages spoken, written or signed
action find_reverse
entity Japanese
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'languages spoken, written or signed', 'English'], [{'concept': 'common name'}, 'languages spoken, written or signed', 'Japanese']]}
SELECT DISTINCT ?r WHERE { ?r property:languages_spoken,_written_or_signed resource:English . ?r property:languages_spoken,_written_or_signed resource:Japanese . ?r rdf:type ontology:common_name }
[]