Simple Question (Direct)
Simple Question
Q102077
P607
Q198
USER
What was was Gerhard Buhtz a part of ?
(Q102077,P607,c(Q198))
action filter_type
action find
entity Q102077
relation P607
type Q198
['Q102077', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { resource:Q102077 property:P607 ?c . ?c rdf:type ontology:Q198 }
Gerhard Buhtz
action filter_type
action find
entity Gerhard Buhtz
relation conflict
type war
['Gerhard Buhtz', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { resource:Gerhard_Buhtz property:conflict ?c . ?c rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q102077,P607,c(Q198))
action filter_type
action find
entity Q102077
relation P607
type Q198
Gerhard Buhtz was a part of [ANSWER]
['Q102077', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { resource:Q102077 property:P607 ?c . ?c rdf:type ontology:Q198 }
World War I
Gerhard Buhtz was a part of World War I
World War I
action filter_type
action find
entity Gerhard Buhtz
relation conflict
type war
['Gerhard Buhtz', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { resource:Gerhard_Buhtz property:conflict ?c . ?c rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q102077
P21
Q290
USER
Which sex does that person possess ?
(Q361,P21,c(Q290))
action filter_type
action find
entity Q102077
relation P21
type Q290
['Q361', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q102077 property:P21 ?y . ?y rdf:type ontology:Q290 }
Gerhard Buhtz
action filter_type
action find
entity Gerhard Buhtz
relation gender
type sex
['World War I', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Gerhard_Buhtz property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q361,P21,c(Q290))
action filter_type
action find
entity Q102077
relation P21
type Q290
That person possesses a [ANSWER]
['Q361', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q102077 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Gerhard Buhtz
relation gender
type sex
['World War I', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Gerhard_Buhtz property:gender ?y . ?y rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q19309967
P21
Q502895
USER
Does Theodoro Henrique Maurer have that sex as the sex ?
(Q19309967,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q19309967
relation P21
['Q19309967', 'P21', 'Q6581097']
ASK WHERE { resource:Q19309967 property:P21 resource:Q6581097 }
male Theodoro Henrique Maurer
action is_in
entity male
action find
entity Theodoro Henrique Maurer
relation gender
['Theodoro Henrique Maurer', 'gender', 'male']
ASK WHERE { resource:Theodoro_Henrique_Maurer property:gender resource:male }
[]
common name
SYSTEM
YES
(Q19309967,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q19309967
relation P21
[ANSWER]
['Q19309967', 'P21', 'Q6581097']
ASK WHERE { resource:Q19309967 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Theodoro Henrique Maurer
relation gender
['Theodoro Henrique Maurer', 'gender', 'male']
ASK WHERE { resource:Theodoro_Henrique_Maurer property:gender resource:male }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q10859
P921
Q198 Q2342494 Q838948
USER
Which wars were discussed in approximately the same number of collectables and works of art as Spanish Civil War ?
(c(Q2342494)|c(Q838948),P921,c(Q198))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q10859
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?l ) WHERE { { ?i property:P921 ?c . ?c rdf:type ontology:Q198 . ?i rdf:type ontology:Q2342494 } UNION { ?c rdf:type ontology:Q198 . ?i rdf:type ontology:Q838948 . ?i property:P921 ?c } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:P921 resource:Q10859 . { { ?p rdf:type ontology:Q2342494 } UNION { ?p rdf:type ontology:Q838948 } } } } . FILTER ( ?l = ?b ) }
Spanish Civil War
action approx
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action count
action filter_multi_types
action find_reverse
entity Spanish Civil War
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?l ) WHERE { { ?i property:main_subject ?c . ?c rdf:type ontology:war . ?i rdf:type ontology:collectable } UNION { ?c rdf:type ontology:war . ?i rdf:type ontology:work_of_art . ?i property:main_subject ?c } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:main_subject resource:Spanish_Civil_War . { { ?p rdf:type ontology:collectable } UNION { ?p rdf:type ontology:work_of_art } } } } . FILTER ( ?l = ?b ) }
[]
war collectable work of art
Q545449 Q361 Q8676
SYSTEM
Iraq War, World War I, American Civil War
Q8683 Q81545 Q211855 Q8676 Q633862 Q188972 Q129053 Q1049945 Q10859 Q209297 Q242352 Q201424 Q142529 Q361 Q75984 Q178810 Q545449 Q243620
(c(Q2342494)|c(Q838948),P921,c(Q198))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q10859
relation P921
type Q2342494
type Q838948
[ANSWERS] were discussed in approximately the same number of collectables and works of art as Spanish Civil War
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?l ) WHERE { { ?i property:P921 ?c . ?c rdf:type ontology:Q198 . ?i rdf:type ontology:Q2342494 } UNION { ?c rdf:type ontology:Q198 . ?i rdf:type ontology:Q838948 . ?i property:P921 ?c } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:P921 resource:Q10859 . { { ?p rdf:type ontology:Q2342494 } UNION { ?p rdf:type ontology:Q838948 } } } } . FILTER ( ?l = ?b ) }
Cold War 2011 Libyan Civil War Finnish Civil War American Civil War Cold War Greek Civil War partition of India Jacobite rising of 1745 Spanish Civil War Farroupilha Revolution Yugoslav Wars nuclear war Algerian Civil War World War I Dirty War Syrian Civil War Iraq War Somali Civil War
Iraq War, World War I and American Civil War were discussed in approximately the same number of collectables and works of art as Spanish Civil War
Iraq War World War I American Civil War
action approx
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action count
action filter_multi_types
action find_reverse
entity Spanish Civil War
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?l ) WHERE { { ?i property:main_subject ?c . ?c rdf:type ontology:war . ?i rdf:type ontology:collectable } UNION { ?c rdf:type ontology:war . ?i rdf:type ontology:work_of_art . ?i property:main_subject ?c } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:main_subject resource:Spanish_Civil_War . { { ?p rdf:type ontology:collectable } UNION { ?p rdf:type ontology:work_of_art } } } } . FILTER ( ?l = ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q142529
P921
Q198 Q2342494 Q838948
USER
And what about Algerian Civil War?
(c(Q2342494)|c(Q838948),P921,c(Q198))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q142529
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P921 resource:Q142529 . { { ?e rdf:type ontology:Q2342494 } UNION { ?e rdf:type ontology:Q838948 } } } } . FILTER ( ?g = ?d ) . { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?g ) WHERE { { ?t property:P921 ?x . ?t rdf:type ontology:Q2342494 . ?x rdf:type ontology:Q198 } UNION { ?x rdf:type ontology:Q198 . ?t rdf:type ontology:Q838948 . ?t property:P921 ?x } } GROUP BY ?x } }
Algerian Civil War
action approx
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action count
action filter_multi_types
action find_reverse
entity Algerian Civil War
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:main_subject resource:Algerian_Civil_War . { { ?e rdf:type ontology:collectable } UNION { ?e rdf:type ontology:work_of_art } } } } . FILTER ( ?g = ?d ) . { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?g ) WHERE { { ?t property:main_subject ?x . ?t rdf:type ontology:collectable . ?x rdf:type ontology:war } UNION { ?x rdf:type ontology:war . ?t rdf:type ontology:work_of_art . ?t property:main_subject ?x } } GROUP BY ?x } }
[]
war collectable work of art
Q545449 Q361 Q8676
SYSTEM
Iraq War, World War I, American Civil War
Q8683 Q81545 Q211855 Q8676 Q633862 Q188972 Q129053 Q1049945 Q10859 Q209297 Q242352 Q201424 Q142529 Q361 Q75984 Q178810 Q545449 Q243620
(c(Q2342494)|c(Q838948),P921,c(Q198))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q142529
relation P921
type Q2342494
type Q838948
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:P921 resource:Q142529 . { { ?e rdf:type ontology:Q2342494 } UNION { ?e rdf:type ontology:Q838948 } } } } . FILTER ( ?g = ?d ) . { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?g ) WHERE { { ?t property:P921 ?x . ?t rdf:type ontology:Q2342494 . ?x rdf:type ontology:Q198 } UNION { ?x rdf:type ontology:Q198 . ?t rdf:type ontology:Q838948 . ?t property:P921 ?x } } GROUP BY ?x } }
Cold War 2011 Libyan Civil War Finnish Civil War American Civil War Cold War Greek Civil War partition of India Jacobite rising of 1745 Spanish Civil War Farroupilha Revolution Yugoslav Wars nuclear war Algerian Civil War World War I Dirty War Syrian Civil War Iraq War Somali Civil War
Iraq War World War I American Civil War
action approx
action union
action find_reverse_tuple_counts
relation main subject
type war
type collectable
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action count
action filter_multi_types
action find_reverse
entity Algerian Civil War
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { ?e property:main_subject resource:Algerian_Civil_War . { { ?e rdf:type ontology:collectable } UNION { ?e rdf:type ontology:work_of_art } } } } . FILTER ( ?g = ?d ) . { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?g ) WHERE { { ?t property:main_subject ?x . ?t rdf:type ontology:collectable . ?x rdf:type ontology:war } UNION { ?x rdf:type ontology:war . ?t rdf:type ontology:work_of_art . ?t property:main_subject ?x } } GROUP BY ?x } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P361
Q198 Q12737077 Q1190554
USER
Which wars are approximately the same number of occupations or events a component of as that war ?
(c(Q12737077)|c(Q1190554),P361,c(Q198))
[[{'concept': 'Q12737077'}, {'concept': 'Q1190554'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?n ) { ( ?z ) ( ?x ) } . ?n property:P361 ?y } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q26883397 . ?x rdf:type ontology:Q5416694 }
[[{'concept': 'occupation'}, {'concept': 'event'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?n ) { ( ?z ) ( ?x ) } . ?n property:part_of ?y } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:war . ?x rdf:type ontology:event }
[]
war occupation event
Comparative|More/Less|Mult. entity type|Clarification
Q545449
SYSTEM
Did you mean Iraq War ?
(c(Q12737077)|c(Q1190554),P361,c(Q198))
[ANSWER]
[[{'concept': 'Q12737077'}, {'concept': 'Q1190554'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?n ) { ( ?z ) ( ?x ) } . ?n property:P361 ?y } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q26883397 . ?x rdf:type ontology:Q5416694 }
Did you mean Iraq War ?
Iraq War
[[{'concept': 'occupation'}, {'concept': 'event'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?n ) { ( ?z ) ( ?x ) } . ?n property:part_of ?y } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:war . ?x rdf:type ontology:event }
[]
Comparative Reasoning (All)
USER
No, I meant American Civil War. Could you tell me the answer for that?
(c(Q12737077)|c(Q1190554),P361,c(Q198))
Q8676
[[{'concept': 'Q12737077'}, {'concept': 'Q1190554'}], 'P361', {'concept': 'Q198'}]
[[{'concept': 'occupation'}, {'concept': 'event'}], 'part of', {'concept': 'war'}]
[]
Q8676
SYSTEM
American Civil War
Q8676
(c(Q12737077)|c(Q1190554),P361,c(Q198))
[ANSWER] is approximately the same number of occupations or events a component of as that war
[[{'concept': 'Q12737077'}, {'concept': 'Q1190554'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P361 ?y } UNION { ?x property:P361 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q26883397 . ?x rdf:type ontology:Q5416694 }
American Civil War
American Civil War is approximately the same number of occupations or events a component of as that war
American Civil War
[[{'concept': 'occupation'}, {'concept': 'event'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ?y WHERE { { { ?z property:part_of ?y } UNION { ?x property:part_of ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:war . ?x rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8676
P1344
Q781132
USER
Which military branch participated in that war ?
(c(Q781132),P1344,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P1344
type Q781132
[{'concept': 'Q781132'}, 'P1344', 'Q8676']
SELECT DISTINCT ?f WHERE { ?f property:P1344 resource:Q8676 . ?f rdf:type ontology:Q781132 }
American Civil War
action filter_type
action find_reverse
entity American Civil War
relation participant of
type military branch
[{'concept': 'military branch'}, 'participant of', 'American Civil War']
SELECT DISTINCT ?f WHERE { ?f property:participant_of resource:American_Civil_War . ?f rdf:type ontology:military_branch }
[]
military branch
Q1125021
SYSTEM
Confederate States Army
Q1125021
(c(Q781132),P1344,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P1344
type Q781132
The [ANSWER] participated in that war
[{'concept': 'Q781132'}, 'P1344', 'Q8676']
SELECT DISTINCT ?f WHERE { ?f property:P1344 resource:Q8676 . ?f rdf:type ontology:Q781132 }
Confederate States Army
The Confederate States Army participated in that war
Confederate States Army
action filter_type
action find_reverse
entity American Civil War
relation participant of
type military branch
[{'concept': 'military branch'}, 'participant of', 'American Civil War']
SELECT DISTINCT ?f WHERE { ?f property:participant_of resource:American_Civil_War . ?f rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8676
P17
Q15617994
USER
Which administrative territory is American Civil War a part of ?
(Q8676,P17,c(Q15617994))
action filter_type
action find
entity Q8676
relation P17
type Q15617994
['Q8676', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q8676 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
American Civil War
action filter_type
action find
entity American Civil War
relation country
type designation for an administrative territorial entity
['American Civil War', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:American_Civil_War property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q8676,P17,c(Q15617994))
action filter_type
action find
entity Q8676
relation P17
type Q15617994
[ANSWER] is American Civil War a part of
['Q8676', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q8676 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
United States of America
United States of America is American Civil War a part of
United States of America
action filter_type
action find
entity American Civil War
relation country
type designation for an administrative territorial entity
['American Civil War', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:American_Civil_War property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q4888364
P495
Q838948
USER
Does Benjamin C. Grenup Monument originate at that administrative territory ?
(Q4888364,P495,Q30)
action is_in
entity Q4888364
action find
entity Q30
relation P495
['Q4888364', 'P495', 'Q30']
ASK WHERE { resource:Q30 property:P495 resource:Q4888364 }
United States of America Benjamin C. Grenup Monument
action is_in
entity Benjamin C. Grenup Monument
action find
entity United States of America
relation country of origin
['Benjamin C. Grenup Monument', 'country of origin', 'United States of America']
ASK WHERE { resource:United_States_of_America property:country_of_origin resource:Benjamin_C._Grenup_Monument }
[]
work of art
SYSTEM
NO
(Q4888364,P495,Q30)
action is_in
entity Q4888364
action find
entity Q30
relation P495
[ANSWER]
['Q4888364', 'P495', 'Q30']
ASK WHERE { resource:Q30 property:P495 resource:Q4888364 }
No
action is_in
entity Benjamin C. Grenup Monument
action find
entity United States of America
relation country of origin
['Benjamin C. Grenup Monument', 'country of origin', 'United States of America']
ASK WHERE { resource:United_States_of_America property:country_of_origin resource:Benjamin_C._Grenup_Monument }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1309633 Q10859
P921
Q838948
USER
Which works of art were mainly based on Spanish Civil War or immigration to the United States ?
OR((c(Q838948),P921,Q10859), (c(Q838948),P921,Q1309633))
action filter_type
action union
action find_reverse
entity Q10859
relation P921
action find_reverse
entity Q1309633
relation P921
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P921', 'Q10859'], [{'concept': 'Q838948'}, 'P921', 'Q1309633']]}
SELECT DISTINCT ?a WHERE { { { ?a property:P921 resource:Q10859 } UNION { ?a property:P921 resource:Q1309633 } } . ?a rdf:type ontology:Q838948 }
immigration to the United States Spanish Civil War
action filter_type
action union
action find_reverse
entity Spanish Civil War
relation main subject
action find_reverse
entity immigration to the United States
relation main subject
type work of art
{'OR': [[{'concept': 'work of art'}, 'main subject', 'Spanish Civil War'], [{'concept': 'work of art'}, 'main subject', 'immigration to the United States']]}
SELECT DISTINCT ?a WHERE { { { ?a property:main_subject resource:Spanish_Civil_War } UNION { ?a property:main_subject resource:immigration_to_the_United_States } } . ?a rdf:type ontology:work_of_art }
[]
work of art
Q3281757 Q384998 Q3822402 Q917910 Q7284504 Q6827048 Q6004939 Q7747532 Q4944625 Q890132
SYSTEM
Some of them are The Fallen Sparrow, Las 13 rosas, The End of a Mystery, The Blind Sunflowers, Rain in a Dry Land, Mi calle, Immigrant Nation! The Battle for the Dream, The List, Border War: The Battle Over Illegal Immigration, The War Is Over
Q18788457 Q5469734 Q3825062 Q5469366 Q766770 Q653336 Q12126244 Q216006 Q6142015 Q1481691 Q1411748 Q531043 Q3281757 Q7572891 Q9064993 Q3222191 Q4645990 Q2275442 Q12132402 Q4983871 Q3822402 Q917910 Q3015495 Q1229160 Q5654302 Q5122589 Q3281101 Q16253789 Q2290517 Q763351 Q384998 Q7717390 Q6894971 Q3696462 Q6673324 Q890132 Q1390900 Q5917555 Q3576800 Q643805 Q619282 Q7284504 Q3208869 Q5054399 Q1675466 Q805535 Q4944625 Q6466429 Q2913249 Q5227902 Q1198387 Q7783673 Q1380986 Q1350521 Q15825500 Q7773301 Q3819396 Q2266283 Q17068498 Q12125946 Q8066803 Q6827985 Q4705066 Q7012742 Q7316905 Q884677 Q2719268 Q683957 Q2447932 Q5244645 Q4004488 Q2984637 Q7771424 Q1510064 Q4944524 Q5692423 Q6827048 Q1146126 Q6004939 Q5827055 Q4691057 Q7811204 Q4660145 Q3054010 Q5351442 Q2889152 Q7785018 Q1402826 Q3518630 Q2464930 Q954299 Q11510316 Q7747532 Q3312577 Q2566717 Q3326142 Q1558443 Q3561417 Q3794489 Q4645633 Q5193444 Q2390416 Q1765922 Q1154167 Q4812024 Q515572
OR((c(Q838948),P921,Q10859), (c(Q838948),P921,Q1309633))
action filter_type
action union
action find_reverse
entity Q10859
relation P921
action find_reverse
entity Q1309633
relation P921
type Q838948
The Fallen Sparrow, Las 13 rosas, The End of a Mystery, The Blind Sunflowers, Rain in a Dry Land, Mi calle, Immigrant Nation! The Battle for the Dream, The List, Border War: The Battle Over Illegal Immigration and The War is Over were mainly based on Spanish Civil War or immigration to the United States
{'OR': [[{'concept': 'Q838948'}, 'P921', 'Q10859'], [{'concept': 'Q838948'}, 'P921', 'Q1309633']]}
SELECT DISTINCT ?a WHERE { { { ?a property:P921 resource:Q10859 } UNION { ?a property:P921 resource:Q1309633 } } . ?a rdf:type ontology:Q838948 }
Painless Forgotten Ellis Island Life in Shadows Forever Activists The Girl of Your Dreams Head in the Clouds Monkey Dance Pan's Labyrinth The Disappearance of Garcia Lorca Five Cartridges Fiesta There Be Dragons The Fallen Sparrow Spain in Flames Pájaros de papel The Last Train from Madrid 9500 Liberty Sewing Woman Well-Founded Fear The Flight of the Dove The End of a Mystery The Blind Sunflowers Dans le silence, je sens rouler la terre Libertarias The Legion Like Women Citizen USA: A 50 State Road Trip Soldiers of Salamina Odysseus' Gambit The Spirit of the Beehive Behold a Pale Horse Las 13 rosas The Betrayal – Nerakhoon Mojados: Through the Night La prima Angélica Long Vacations of 36 The War Is Over Arise, My Love How Democracy Works Now: Twelve Stories And the Pursuit of Happiness Land and Freedom Bicycles Are for the Summer Rain in a Dry Land Papapapá Caudillo Belle Époque Balseros Border War: The Battle Over Illegal Immigration La sombra del iceberg Swedes in America Daughter from Danang The Last Circus They Came for Good As Long as You Live The Devil's Backbone Legion Condor The Wall Franco, ese hombre The Angel Wore Red La Americana Made in L.A. Zaritsas: Russian Women in New York Mich dürstet Al otro lado New Year Baby Retrato de Familia Blockade ¡Ay Carmela! The Snows of Kilimanjaro Vacas De Nadie A Sold Life The Sea The Undocumented Black Bread Border Heart of the Forest Mi calle Vivir la Utopia Immigrant Nation! The Battle for the Dream Carol's Journey Against Wind and Tide: A Cuban Odyssey To an Unknown God A Time for Defiance La vaquilla El Inmigrante If They Tell You I Fell Third World California La colmena The Spanish Earth Butterfly's Tongue Confidential Agent Love Under Fire The List Raza Which Way Home To Die in Madrid L'espoir Viva la Muerte The Long Winter 90 Miles Culture Clash in AmeriCCa Talk of Angels The Anarchist's Wife The Siege of the Alcazar Asylum For Whom the Bell Tolls
The Fallen Sparrow, Las 13 rosas, The End of a Mystery, The Blind Sunflowers, Rain in a Dry Land, Mi calle, Immigrant Nation! The Battle for the Dream, The List, Border War: The Battle Over Illegal Immigration and The War is Over were mainly based on Spanish Civil War or immigration to the United States
The Fallen Sparrow Las 13 rosas The End of a Mystery The Blind Sunflowers Rain in a Dry Land Mi calle Immigrant Nation! The Battle for the Dream The List Border War: The Battle Over Illegal Immigration The War Is Over
action filter_type
action union
action find_reverse
entity Spanish Civil War
relation main subject
action find_reverse
entity immigration to the United States
relation main subject
type work of art
{'OR': [[{'concept': 'work of art'}, 'main subject', 'Spanish Civil War'], [{'concept': 'work of art'}, 'main subject', 'immigration to the United States']]}
SELECT DISTINCT ?a WHERE { { { ?a property:main_subject resource:Spanish_Civil_War } UNION { ?a property:main_subject resource:immigration_to_the_United_States } } . ?a rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q781132 Q811979 Q2235308
USER
How many military branches are around 2 architectural structures or ship types a part of ?
(c(Q811979)|c(Q2235308),P361,c(Q781132))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q811979
action find_reverse_tuple_counts
relation P361
type Q781132
type Q2235308
value 2
[[{'concept': 'Q811979'}, {'concept': 'Q2235308'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?v WHERE { VALUES ( ?e ) { ( ontology:Q811979 ) ( ontology:Q2235308 ) } . ?g rdf:type ?e } GROUP BY ?v } . FILTER ( ?p = 2 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type military branch
type architectural structure
action find_reverse_tuple_counts
relation part of
type military branch
type ship type
value 2
[[{'concept': 'architectural structure'}, {'concept': 'ship type'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?v WHERE { VALUES ( ?e ) { ( ontology:architectural_structure ) ( ontology:ship_type ) } . ?g rdf:type ?e } GROUP BY ?v } . FILTER ( ?p = 2 ) }
[]
military branch architectural structure ship type
SYSTEM
5
Q56015 Q9160892 Q156649 Q151701 Q1124986
(c(Q811979)|c(Q2235308),P361,c(Q781132))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q811979
action find_reverse_tuple_counts
relation P361
type Q781132
type Q2235308
value 2
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q2235308'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?v WHERE { VALUES ( ?e ) { ( ontology:Q811979 ) ( ontology:Q2235308 ) } . ?g rdf:type ?e } GROUP BY ?v } . FILTER ( ?p = 2 ) }
German Navy fortress artillery Imperial German Navy Kriegsmarine Confederate States Navy
5
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type military branch
type architectural structure
action find_reverse_tuple_counts
relation part of
type military branch
type ship type
value 2
[[{'concept': 'architectural structure'}, {'concept': 'ship type'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?v WHERE { VALUES ( ?e ) { ( ontology:architectural_structure ) ( ontology:ship_type ) } . ?g rdf:type ?e } GROUP BY ?v } . FILTER ( ?p = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4764568 Q6827048
P19 P495
Q15617994
USER
Which administrative territories are the countries of origin of Mi calle or are the birthplace of Aniello Panariello ?
OR((Q6827048,P495,c(Q15617994)), (Q4764568,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q6827048
relation P495
action find
entity Q4764568
relation P19
type Q15617994
{'OR': [['Q6827048', 'P495', {'concept': 'Q15617994'}], ['Q4764568', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q6827048 property:P495 ?z } UNION { resource:Q4764568 property:P19 ?z } } . ?z rdf:type ontology:Q15617994 }
Aniello Panariello Mi calle
action filter_type
action union
action find
entity Mi calle
relation country of origin
action find
entity Aniello Panariello
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Mi calle', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Aniello Panariello', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Mi_calle property:country_of_origin ?z } UNION { resource:Aniello_Panariello property:place_of_birth ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q72719
SYSTEM
Spain, Torre del Greco
Q29 Q72719
OR((Q6827048,P495,c(Q15617994)), (Q4764568,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q6827048
relation P495
action find
entity Q4764568
relation P19
type Q15617994
[ANSWERS] are the countries of origin of Mi calle or are the birthplace of Aniello Panariello
{'OR': [['Q6827048', 'P495', {'concept': 'Q15617994'}], ['Q4764568', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q6827048 property:P495 ?z } UNION { resource:Q4764568 property:P19 ?z } } . ?z rdf:type ontology:Q15617994 }
Spain Torre del Greco
Spain and Torre del Greco are the countries of origin of Mi calle or are the birthplace of Aniello Panariello
Spain Torre del Greco
action filter_type
action union
action find
entity Mi calle
relation country of origin
action find
entity Aniello Panariello
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Mi calle', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Aniello Panariello', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Mi_calle property:country_of_origin ?z } UNION { resource:Aniello_Panariello property:place_of_birth ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]