Simple Question (Direct)
Simple Question
Q325155
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Yuichiro Miura ?
(Q325155,P27,c(Q15617994))
action filter_type
action find
entity Q325155
relation P27
type Q15617994
['Q325155', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q325155 property:P27 ?l }
Yuichiro Miura
action filter_type
action find
entity Yuichiro Miura
relation country of citizenship
type designation for an administrative territorial entity
['Yuichiro Miura', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Yuichiro_Miura property:country_of_citizenship ?l }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q325155,P27,c(Q15617994))
action filter_type
action find
entity Q325155
relation P27
type Q15617994
Of [ANSWER] is the country of citizenship of Yuichiro Miura
['Q325155', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q325155 property:P27 ?l }
Japan
Of Japan is the country of citizenship of Yuichiro Miura
Japan
action filter_type
action find
entity Yuichiro Miura
relation country of citizenship
type designation for an administrative territorial entity
['Yuichiro Miura', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Yuichiro_Miura property:country_of_citizenship ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q325155
P641
Q349
USER
Which sport did that person participate in ?
(Q17,P641,c(Q349))
action filter_type
action find
entity Q325155
relation P641
type Q349
['Q17', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q325155 property:P641 ?g . ?g rdf:type ontology:Q349 }
Yuichiro Miura
action filter_type
action find
entity Yuichiro Miura
relation sport
type sport
['Japan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Yuichiro_Miura property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q130949
SYSTEM
skiing
Q130949
(Q17,P641,c(Q349))
action filter_type
action find
entity Q325155
relation P641
type Q349
That person participated in [ANSWER]
['Q17', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q325155 property:P641 ?g . ?g rdf:type ontology:Q349 }
skiing
That person participated in skiing
skiing
action filter_type
action find
entity Yuichiro Miura
relation sport
type sport
['Japan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Yuichiro_Miura property:sport ?g . ?g rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q17 Q2271402
P6
Q502895
USER
How many people are Japan or National Council for the Defense of Democracy–Forces for the Defense of Democracy the head of goverment of ?
(Q17,P6,c(Q502895)) (Q2271402,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q17
relation P6
type Q502895
action filter_type
action find
entity Q2271402
relation P6
type Q502895
['Q17', 'P6', {'concept': 'Q502895'}] ['Q2271402', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { resource:Q17 property:P6 ?n . ?n rdf:type ontology:Q502895 } UNION { resource:Q2271402 property:P6 ?n . ?n rdf:type ontology:Q502895 } }
Japan National Council for the Defense of Democracy–Forces for the Defense of Democracy
action count
action union
action filter_type
action find
entity Japan
relation head of government
type common name
action filter_type
action find
entity National Council for the Defense of Democracy–Forces for the Defense of Democracy
relation head of government
type common name
['Japan', 'head of government', {'concept': 'common name'}] ['National Council for the Defense of Democracy–Forces for the Defense of Democracy', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { resource:Japan property:head_of_government ?n . ?n rdf:type ontology:common_name } UNION { resource:National_Council_for_the_Defense_of_Democracy–Forces_for_the_Defense_of_Democracy property:head_of_government ?n . ?n rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q27329764 Q132345
(Q17,P6,c(Q502895)) (Q2271402,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q17
relation P6
type Q502895
action filter_type
action find
entity Q2271402
relation P6
type Q502895
[ANSWER]
['Q17', 'P6', {'concept': 'Q502895'}] ['Q2271402', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { resource:Q17 property:P6 ?n . ?n rdf:type ontology:Q502895 } UNION { resource:Q2271402 property:P6 ?n . ?n rdf:type ontology:Q502895 } }
Évariste Ndayishimiye Shinzō Abe
2
action count
action union
action filter_type
action find
entity Japan
relation head of government
type common name
action filter_type
action find
entity National Council for the Defense of Democracy–Forces for the Defense of Democracy
relation head of government
type common name
['Japan', 'head of government', {'concept': 'common name'}] ['National Council for the Defense of Democracy–Forces for the Defense of Democracy', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { resource:Japan property:head_of_government ?n . ?n rdf:type ontology:common_name } UNION { resource:National_Council_for_the_Defense_of_Democracy–Forces_for_the_Defense_of_Democracy property:head_of_government ?n . ?n rdf:type ontology:common_name } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q206989
P366
Q349 Q6671777 Q2235308
USER
How many sports are considered as the main functionality of more number of structures and ship types than shooting sport ?
(c(Q6671777)|c(Q2235308),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q206989
relation P366
type Q6671777
type Q2235308
[[{'concept': 'Q6671777'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) ?m WHERE { { ?t property:P366 ?m . ?t rdf:type ontology:Q6671777 . ?m rdf:type ontology:Q349 } UNION { ?m rdf:type ontology:Q349 . ?t rdf:type ontology:Q2235308 . ?t property:P366 ?m } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P366 resource:Q206989 . { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:Q6671777 ) ( ontology:Q2235308 ) } } } } . FILTER ( ?p > ?g ) }
shooting sport
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity shooting sport
relation use
type structure
type ship type
[[{'concept': 'structure'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) ?m WHERE { { ?t property:use ?m . ?t rdf:type ontology:structure . ?m rdf:type ontology:sport } UNION { ?m rdf:type ontology:sport . ?t rdf:type ontology:ship_type . ?t property:use ?m } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:use resource:shooting_sport . { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:structure ) ( ontology:ship_type ) } } } } . FILTER ( ?p > ?g ) }
[]
sport structure ship type
SYSTEM
3
Q36908 Q61065 Q22857
(c(Q6671777)|c(Q2235308),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q206989
relation P366
type Q6671777
type Q2235308
[ANSWER]
[[{'concept': 'Q6671777'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) ?m WHERE { { ?t property:P366 ?m . ?t rdf:type ontology:Q6671777 . ?m rdf:type ontology:Q349 } UNION { ?m rdf:type ontology:Q349 . ?t rdf:type ontology:Q2235308 . ?t property:P366 ?m } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P366 resource:Q206989 . { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:Q6671777 ) ( ontology:Q2235308 ) } } } } . FILTER ( ?p > ?g ) }
mountaineering water sport climbing
3
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity shooting sport
relation use
type structure
type ship type
[[{'concept': 'structure'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) ?m WHERE { { ?t property:use ?m . ?t rdf:type ontology:structure . ?m rdf:type ontology:sport } UNION { ?m rdf:type ontology:sport . ?t rdf:type ontology:ship_type . ?t property:use ?m } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:use resource:shooting_sport . { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:structure ) ( ontology:ship_type ) } } } } . FILTER ( ?p > ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2736
P366
Q349 Q6671777 Q2235308
USER
And how about association football?
(c(Q6671777)|c(Q2235308),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P366
type Q6671777
type Q2235308
[[{'concept': 'Q6671777'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ontology:Q6671777 ) ( ontology:Q2235308 ) } . ?f rdf:type ?e } . ?f property:P366 resource:Q2736 } } . FILTER ( ?j > ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?z WHERE { { ?z rdf:type ontology:Q349 . ?i rdf:type ontology:Q6671777 . ?i property:P366 ?z } UNION { ?i property:P366 ?z . ?z rdf:type ontology:Q349 . ?i rdf:type ontology:Q2235308 } } GROUP BY ?z } }
association football
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity association football
relation use
type structure
type ship type
[[{'concept': 'structure'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ontology:structure ) ( ontology:ship_type ) } . ?f rdf:type ?e } . ?f property:use resource:association_football } } . FILTER ( ?j > ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?z WHERE { { ?z rdf:type ontology:sport . ?i rdf:type ontology:structure . ?i property:use ?z } UNION { ?i property:use ?z . ?z rdf:type ontology:sport . ?i rdf:type ontology:ship_type } } GROUP BY ?z } }
[]
sport structure ship type
SYSTEM
3
Q36908 Q61065 Q22857
(c(Q6671777)|c(Q2235308),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P366
type Q6671777
type Q2235308
[ANSWER]
[[{'concept': 'Q6671777'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ontology:Q6671777 ) ( ontology:Q2235308 ) } . ?f rdf:type ?e } . ?f property:P366 resource:Q2736 } } . FILTER ( ?j > ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?z WHERE { { ?z rdf:type ontology:Q349 . ?i rdf:type ontology:Q6671777 . ?i property:P366 ?z } UNION { ?i property:P366 ?z . ?z rdf:type ontology:Q349 . ?i rdf:type ontology:Q2235308 } } GROUP BY ?z } }
mountaineering water sport climbing
3
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity association football
relation use
type structure
type ship type
[[{'concept': 'structure'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ontology:structure ) ( ontology:ship_type ) } . ?f rdf:type ?e } . ?f property:use resource:association_football } } . FILTER ( ?j > ?w ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?z WHERE { { ?z rdf:type ontology:sport . ?i rdf:type ontology:structure . ?i property:use ?z } UNION { ?i property:use ?z . ?z rdf:type ontology:sport . ?i rdf:type ontology:ship_type } } GROUP BY ?z } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q575879 Q325155
P161
Q838948
USER
Which works of art have Yuichiro Miura or Ivan Sergei in their star cast ?
OR((c(Q838948),P161,Q325155), (c(Q838948),P161,Q575879))
action filter_type
action union
action find_reverse
entity Q325155
relation P161
action find_reverse
entity Q575879
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q325155'], [{'concept': 'Q838948'}, 'P161', 'Q575879']]}
SELECT DISTINCT ?e WHERE { { { ?e property:P161 resource:Q325155 } UNION { ?e property:P161 resource:Q575879 } } . ?e rdf:type ontology:Q838948 }
Ivan Sergei Yuichiro Miura
action filter_type
action union
action find_reverse
entity Yuichiro Miura
relation cast member
action find_reverse
entity Ivan Sergei
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Yuichiro Miura'], [{'concept': 'work of art'}, 'cast member', 'Ivan Sergei']]}
SELECT DISTINCT ?e WHERE { { { ?e property:cast_member resource:Yuichiro_Miura } UNION { ?e property:cast_member resource:Ivan_Sergei } } . ?e rdf:type ontology:work_of_art }
[]
work of art
Q2116797 Q579359 Q6190232 Q4028223 Q833566 Q3521745
SYSTEM
The Opposite of Sex, Dangerous Minds, Jewtopia, Playing Mona Lisa, The Break-Up, The Man Who Skied Down Everest
Q2116797 Q579359 Q6190232 Q4028223 Q833566 Q3521745
OR((c(Q838948),P161,Q325155), (c(Q838948),P161,Q575879))
action filter_type
action union
action find_reverse
entity Q325155
relation P161
action find_reverse
entity Q575879
relation P161
type Q838948
[ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q325155'], [{'concept': 'Q838948'}, 'P161', 'Q575879']]}
SELECT DISTINCT ?e WHERE { { { ?e property:P161 resource:Q325155 } UNION { ?e property:P161 resource:Q575879 } } . ?e rdf:type ontology:Q838948 }
The Opposite of Sex Dangerous Minds Jewtopia Playing Mona Lisa The Break-Up The Man Who Skied Down Everest
Playing Mona Lisa, The Break-Up and The Man Who Skied Down Everest have Yuichiro Miura or Ivan Sergei in their star cast
The Opposite of Sex Dangerous Minds Jewtopia Playing Mona Lisa The Break-Up The Man Who Skied Down Everest
action filter_type
action union
action find_reverse
entity Yuichiro Miura
relation cast member
action find_reverse
entity Ivan Sergei
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Yuichiro Miura'], [{'concept': 'work of art'}, 'cast member', 'Ivan Sergei']]}
SELECT DISTINCT ?e WHERE { { { ?e property:cast_member resource:Yuichiro_Miura } UNION { ?e property:cast_member resource:Ivan_Sergei } } . ?e rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2116797
P58
Q502895
USER
Who was the screenwriter for that work of art ?
(Q2116797,P58,c(Q502895))
action filter_type
action find
entity Q2116797
relation P58
type Q502895
['Q2116797', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q2116797 property:P58 ?h . ?h rdf:type ontology:Q502895 }
The Opposite of Sex
action filter_type
action find
entity The Opposite of Sex
relation screenwriter
type common name
['The Opposite of Sex', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:The_Opposite_of_Sex property:screenwriter ?h . ?h rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2116797
SYSTEM
Did you mean The Opposite of Sex ?
Q2116797 Q579359 Q6190232 Q4028223 Q833566 Q3521745
(Q2116797,P58,c(Q502895)) (Q579359,P58,c(Q502895)) (Q6190232,P58,c(Q502895)) (Q4028223,P58,c(Q502895)) (Q833566,P58,c(Q502895)) (Q3521745,P58,c(Q502895))
[ANSWER]
['Q2116797', 'P58', {'concept': 'Q502895'}] ['Q579359', 'P58', {'concept': 'Q502895'}] ['Q6190232', 'P58', {'concept': 'Q502895'}] ['Q4028223', 'P58', {'concept': 'Q502895'}] ['Q833566', 'P58', {'concept': 'Q502895'}] ['Q3521745', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q2116797 property:P58 ?h . ?h rdf:type ontology:Q502895 }
The Opposite of Sex Dangerous Minds Jewtopia Playing Mona Lisa The Break-Up The Man Who Skied Down Everest
Did you mean The Opposite of Sex ?
The Opposite of Sex
['The Opposite of Sex', 'screenwriter', {'concept': 'common name'}] ['Dangerous Minds', 'screenwriter', {'concept': 'common name'}] ['Jewtopia', 'screenwriter', {'concept': 'common name'}] ['Playing Mona Lisa', 'screenwriter', {'concept': 'common name'}] ['The Break-Up', 'screenwriter', {'concept': 'common name'}] ['The Man Who Skied Down Everest', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:The_Opposite_of_Sex property:screenwriter ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2116797,P58,c(Q502895))
['Q2116797', 'P58', {'concept': 'Q502895'}]
['The Opposite of Sex', 'screenwriter', {'concept': 'common name'}]
[]
Q3035907
SYSTEM
Don Roos
Q3035907
(Q2116797,P58,c(Q502895))
action filter_type
action find
entity Q2116797
relation P58
type Q502895
The screenwriter for that work of art was [ANSWER]
['Q2116797', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q2116797 property:P58 ?h . ?h rdf:type ontology:Q502895 }
Don Roos
The screenwriter for that work of art was Don Roos
Don Roos
action filter_type
action find
entity The Opposite of Sex
relation screenwriter
type common name
['The Opposite of Sex', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:The_Opposite_of_Sex property:screenwriter ?h . ?h rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3035907 Q7939728
P58
Q838948
USER
Did that person do the screenwriting for Voices of the Children ?
(Q7939728,P58,Q3035907)
action is_in
entity Q7939728
action find
entity Q3035907
relation P58
['Q7939728', 'P58', 'Q3035907']
ASK WHERE { resource:Q3035907 property:P58 resource:Q7939728 }
Don Roos Voices of the Children
action is_in
entity Voices of the Children
action find
entity Don Roos
relation screenwriter
['Voices of the Children', 'screenwriter', 'Don Roos']
ASK WHERE { resource:Don_Roos property:screenwriter resource:Voices_of_the_Children }
[]
work of art
SYSTEM
NO
(Q7939728,P58,Q3035907)
action is_in
entity Q7939728
action find
entity Q3035907
relation P58
[ANSWER]
['Q7939728', 'P58', 'Q3035907']
ASK WHERE { resource:Q3035907 property:P58 resource:Q7939728 }
No
action is_in
entity Voices of the Children
action find
entity Don Roos
relation screenwriter
['Voices of the Children', 'screenwriter', 'Don Roos']
ASK WHERE { resource:Don_Roos property:screenwriter resource:Voices_of_the_Children }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7273655 Q7939728
P607 P921
Q198
USER
Which wars were the main subjects of Voices of the Children 's work or did R. Gordon Hoxie take part in ?
OR((Q7939728,P921,c(Q198)), (Q7273655,P607,c(Q198)))
action filter_type
action union
action find
entity Q7939728
relation P921
action find
entity Q7273655
relation P607
type Q198
{'OR': [['Q7939728', 'P921', {'concept': 'Q198'}], ['Q7273655', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q7939728 property:P921 ?s } UNION { resource:Q7273655 property:P607 ?s } } . ?s rdf:type ontology:Q198 }
R. Gordon Hoxie Voices of the Children
action filter_type
action union
action find
entity Voices of the Children
relation main subject
action find
entity R. Gordon Hoxie
relation conflict
type war
{'OR': [['Voices of the Children', 'main subject', {'concept': 'war'}], ['R. Gordon Hoxie', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Voices_of_the_Children property:main_subject ?s } UNION { resource:R._Gordon_Hoxie property:conflict ?s } } . ?s rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
OR((Q7939728,P921,c(Q198)), (Q7273655,P607,c(Q198)))
action filter_type
action union
action find
entity Q7939728
relation P921
action find
entity Q7273655
relation P607
type Q198
[ANSWER] was the main subjects of Voices of the Children 's work or did R. Gordon Hoxie take part in
{'OR': [['Q7939728', 'P921', {'concept': 'Q198'}], ['Q7273655', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q7939728 property:P921 ?s } UNION { resource:Q7273655 property:P607 ?s } } . ?s rdf:type ontology:Q198 }
World War II
World War II was the main subjects of Voices of the Children 's work or did R. Gordon Hoxie take part in
World War II
action filter_type
action union
action find
entity Voices of the Children
relation main subject
action find
entity R. Gordon Hoxie
relation conflict
type war
{'OR': [['Voices of the Children', 'main subject', {'concept': 'war'}], ['R. Gordon Hoxie', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Voices_of_the_Children property:main_subject ?s } UNION { resource:R._Gordon_Hoxie property:conflict ?s } } . ?s rdf:type ontology:war }
[]