Simple Question (Direct)
Simple Question
Q7177344
P607
Q198
USER
What was the war that Peter Tomich took part in
(Q7177344,P607,c(Q198))
action filter_type
action find
entity Q7177344
relation P607
type Q198
['Q7177344', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?t WHERE { resource:Q7177344 property:P607 ?t . ?t rdf:type ontology:Q198 }
Peter Tomich
action filter_type
action find
entity Peter Tomich
relation conflict
type war
['Peter Tomich', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?t WHERE { resource:Peter_Tomich property:conflict ?t . ?t rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q7177344,P607,c(Q198))
action filter_type
action find
entity Q7177344
relation P607
type Q198
The war that Peter Tomich took part in was in [ANSWER]
['Q7177344', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?t WHERE { resource:Q7177344 property:P607 ?t . ?t rdf:type ontology:Q198 }
World War I
The war that Peter Tomich took part in was in World War I
World War I
action filter_type
action find
entity Peter Tomich
relation conflict
type war
['Peter Tomich', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?t WHERE { resource:Peter_Tomich property:conflict ?t . ?t rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7177344
P138
Q2235308
USER
Which ship type has Peter Tomich as its namesake ?
(c(Q2235308),P138,Q7177344)
action filter_type
action find_reverse
entity Q7177344
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q7177344']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2235308 . ?e property:P138 resource:Q7177344 }
Peter Tomich
action filter_type
action find_reverse
entity Peter Tomich
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Peter Tomich']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:ship_type . ?e property:named_after resource:Peter_Tomich }
[]
ship type
Q7874805
SYSTEM
USS Tomich
Q7874805
(c(Q2235308),P138,Q7177344)
action filter_type
action find_reverse
entity Q7177344
relation P138
type Q2235308
[ANSWER] has Peter Tomich as its namesake
[{'concept': 'Q2235308'}, 'P138', 'Q7177344']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2235308 . ?e property:P138 resource:Q7177344 }
USS Tomich
USS Tomich has Peter Tomich as its namesake
USS Tomich
action filter_type
action find_reverse
entity Peter Tomich
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Peter Tomich']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:ship_type . ?e property:named_after resource:Peter_Tomich }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7177344
P241
Q781132
USER
Which military branches contain that person as their part ?
(Q7874805,P241,c(Q781132))
action filter_type
action find
entity Q7177344
relation P241
type Q781132
['Q7874805', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?v WHERE { resource:Q7177344 property:P241 ?v . ?v rdf:type ontology:Q781132 }
Peter Tomich
action filter_type
action find
entity Peter Tomich
relation military branch
type military branch
['USS Tomich', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?v WHERE { resource:Peter_Tomich property:military_branch ?v . ?v rdf:type ontology:military_branch }
[]
military branch
Q9212 Q11220
SYSTEM
United States Army, United States Navy
Q9212 Q11220
(Q7874805,P241,c(Q781132))
action filter_type
action find
entity Q7177344
relation P241
type Q781132
[ANSWERS] contain that person as their part
['Q7874805', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?v WHERE { resource:Q7177344 property:P241 ?v . ?v rdf:type ontology:Q781132 }
United States Army United States Navy
United States Army and United States Navy contain that person as their part
United States Army United States Navy
action filter_type
action find
entity Peter Tomich
relation military branch
type military branch
['USS Tomich', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?v WHERE { resource:Peter_Tomich property:military_branch ?v . ?v rdf:type ontology:military_branch }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7627306
P241
Q502895
USER
Does Stub Allison belong to the military branch named those ones ?
(Q7627306,P241,Q9212) (Q7627306,P241,Q11220)
action is_in
entity prev_answer
action find
entity Q7627306
relation P241
['Q7627306', 'P241', 'Q9212'] ['Q7627306', 'P241', 'Q11220']
ASK WHERE { VALUES ( ?k ) { ( resource:Q9212 ) ( resource:Q11220 ) } . resource:Q7627306 property:P241 ?k }
Stub Allison
action is_in
entity prev_answer
action find
entity Stub Allison
relation military branch
['Stub Allison', 'military branch', 'United States Army'] ['Stub Allison', 'military branch', 'United States Navy']
ASK WHERE { VALUES ( ?k ) { ( resource:United_States_Army ) ( resource:United_States_Navy ) } . resource:Stub_Allison property:military_branch ?k }
[]
common name
SYSTEM
YES
(Q7627306,P241,Q9212) (Q7627306,P241,Q11220)
action is_in
entity prev_answer
action find
entity Q7627306
relation P241
[ANSWER]
['Q7627306', 'P241', 'Q9212'] ['Q7627306', 'P241', 'Q11220']
ASK WHERE { VALUES ( ?k ) { ( resource:Q9212 ) ( resource:Q11220 ) } . resource:Q7627306 property:P241 ?k }
Yes
action is_in
entity prev_answer
action find
entity Stub Allison
relation military branch
['Stub Allison', 'military branch', 'United States Army'] ['Stub Allison', 'military branch', 'United States Navy']
ASK WHERE { VALUES ( ?k ) { ( resource:United_States_Army ) ( resource:United_States_Navy ) } . resource:Stub_Allison property:military_branch ?k }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q588089
P137
Q781132 Q811979 Q5962346
USER
How many military branches can manage approximately the same number of architectural structures or classification schemes as Portuguese Navy ?
(c(Q811979)|c(Q5962346),P137,c(Q781132))
action count
action approx
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q811979
action find_reverse_tuple_counts
relation P137
type Q781132
type Q5962346
action count
action filter_multi_types
action find_reverse
entity Q588089
relation P137
type Q811979
type Q5962346
[[{'concept': 'Q811979'}, {'concept': 'Q5962346'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:P137 resource:Q588089 . { { ?r rdf:type ontology:Q811979 } UNION { ?r rdf:type ontology:Q5962346 } } } } . FILTER ( ?p = ?x ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:Q811979 ) ( ontology:Q5962346 ) } . ?m rdf:type ?q } GROUP BY ?j } }
Portuguese Navy
action count
action approx
action union
action find_reverse_tuple_counts
relation operator
type military branch
type architectural structure
action find_reverse_tuple_counts
relation operator
type military branch
type classification scheme
action count
action filter_multi_types
action find_reverse
entity Portuguese Navy
relation operator
type architectural structure
type classification scheme
[[{'concept': 'architectural structure'}, {'concept': 'classification scheme'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:operator resource:Portuguese_Navy . { { ?r rdf:type ontology:architectural_structure } UNION { ?r rdf:type ontology:classification_scheme } } } } . FILTER ( ?p = ?x ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:architectural_structure ) ( ontology:classification_scheme ) } . ?m rdf:type ?q } GROUP BY ?j } }
[]
military branch architectural structure classification scheme
SYSTEM
118
Q222595 Q2427907 Q169025 Q704397 Q6648444 Q3510333 Q676404 Q246813 Q2705826 Q702430 Q356359 Q376676 Q1652708 Q2505986 Q1113589 Q3293231 Q1076619 Q741691 Q19562444 Q11322507 Q2384177 Q643834 Q1370337 Q931281 Q3958034 Q2531890 Q932840 Q3848121 Q897614 Q1815399 Q4419309 Q2387294 Q56018 Q2067603 Q2258261 Q56015 Q2055634 Q19344622 Q952444 Q488756 Q16408580 Q2071948 Q1285655 Q1188381 Q2537847 Q1774585 Q25436 Q2630039 Q6479134 Q4114459 Q2370391 Q2292358 Q11218 Q3546162 Q5334371 Q355771 Q2074039 Q267167 Q702116 Q2349884 Q583941 Q1322103 Q15705369 Q781360 Q2408298 Q1129369 Q4115107 Q16151032 Q1038047 Q833040 Q4114435 Q2575188 Q889751 Q2704661 Q898671 Q2566387 Q1944482 Q1750688 Q4855270 Q7032867 Q208711 Q2083573 Q1324290 Q2301347 Q9212 Q861530 Q1046947 Q731647 Q2526431 Q2594652 Q792296 Q3274075 Q17404781 Q2745472 Q1062125 Q2742227 Q2006452 Q3277832 Q2528358 Q4939559 Q3848018 Q1311627 Q2749588 Q1777326 Q2665572 Q25387 Q1370395 Q1366319 Q3293295 Q2492012 Q796411 Q588089 Q2383264 Q510534 Q1124986 Q4303265 Q575932 Q569328
(c(Q811979)|c(Q5962346),P137,c(Q781132))
action count
action approx
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q811979
action find_reverse_tuple_counts
relation P137
type Q781132
type Q5962346
action count
action filter_multi_types
action find_reverse
entity Q588089
relation P137
type Q811979
type Q5962346
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q5962346'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:P137 resource:Q588089 . { { ?r rdf:type ontology:Q811979 } UNION { ?r rdf:type ontology:Q5962346 } } } } . FILTER ( ?p = ?x ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:Q811979 ) ( ontology:Q5962346 ) } . ?m rdf:type ?q } GROUP BY ?j } }
British Army Royal Thai Navy National Navy of Uruguay Republic of China Army Lithuanian Army Nigerian Navy Spanish Navy Luxembourg Army Free French Naval Forces Beiyang Fleet Indian Navy Albanian Naval Force South African Navy National Army of Venezuela Saudi Arabian Army Bangladesh Navy French Army Royal Australian Navy Danish-Norwegian navy German Army Norwegian Army German Navy Estonian Navy Royal Netherlands Navy Argentine Army Aviation Republic of Singapore Navy Ukrainian Navy United Arab Emirates Navy Iraqi Army South African Army Kazakh Air and Air Defence Forces Romanian Naval Forces Joint Medical Service Royal Indian Navy Pakistan Navy German Navy Royal Bahrain Naval Force naval reserve force Peruvian Navy Republic of Korea Navy Eesti Merevägi Finnish Navy Royal Yugoslav Navy Bulgarian Navy Latvian Naval Forces Swedish Amphibious Corps Canadian Army New Zealand Army Egyptian Army Eritrean Navy Royal Bhutan Army Brazilian Army United States Marine Corps Philippine Navy Ecuadorian Army Indian Army Latvian Land Forces Polish Navy Republic of China Navy Croatian Navy Imperial Russian Navy Spanish Army Tudor navy Australian Army Islamic Republic of Iran Navy Hellenic Navy National Army of Colombia Dano-Norwegian Navy Irish Army Italian Navy Royal Naval Force Royal Danish Army Japan Ground Self-Defense Force Indonesian Navy Iraqi Navy Yugoslav Navy Mongolian People's Army Brazilian Navy Bangladesh Army Nigerian Army Chilean Navy Royal Norwegian Navy Vietnam People's Navy Argentine Army United States Army Royal Malaysian Navy Royal Marines Japan Maritime Self-Defense Force National Navy of Colombia Naval Service Belgian Naval Component Sri Lanka Navy Afghan Special Mission Wing Chilean Army Ottoman Navy Royal Saudi Navy Royal Danish Navy Hungarian Ground Forces Mexican Navy Bolivian Army Italian Co-Belligerent Navy Syrian Navy Royal Thai Army Argentine Navy Algerian National Navy Royal Canadian Navy Estonian Land Forces Libyan Navy Turkish Navy Swedish Army Italian Army Portuguese Navy Finnish Army Israeli Navy Confederate States Navy Argentine Marines Royal New Zealand Navy Air Force and Anti-Air Defence Brigade
118
action count
action approx
action union
action find_reverse_tuple_counts
relation operator
type military branch
type architectural structure
action find_reverse_tuple_counts
relation operator
type military branch
type classification scheme
action count
action filter_multi_types
action find_reverse
entity Portuguese Navy
relation operator
type architectural structure
type classification scheme
[[{'concept': 'architectural structure'}, {'concept': 'classification scheme'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:operator resource:Portuguese_Navy . { { ?r rdf:type ontology:architectural_structure } UNION { ?r rdf:type ontology:classification_scheme } } } } . FILTER ( ?p = ?x ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:architectural_structure ) ( ontology:classification_scheme ) } . ?m rdf:type ?q } GROUP BY ?j } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q792296
P137
Q781132 Q811979 Q5962346
USER
And what about Belgian Naval Component?
(c(Q811979)|c(Q5962346),P137,c(Q781132))
action count
action approx
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q811979
action find_reverse_tuple_counts
relation P137
type Q781132
type Q5962346
action count
action filter_multi_types
action find_reverse
entity Q792296
relation P137
type Q811979
type Q5962346
[[{'concept': 'Q811979'}, {'concept': 'Q5962346'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ?r . VALUES ( ?r ) { ( ontology:Q811979 ) ( ontology:Q5962346 ) } } GROUP BY ?w } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:P137 resource:Q792296 . { { ?p rdf:type ontology:Q811979 } UNION { ?p rdf:type ontology:Q5962346 } } } } }
Belgian Naval Component
action count
action approx
action union
action find_reverse_tuple_counts
relation operator
type military branch
type architectural structure
action find_reverse_tuple_counts
relation operator
type military branch
type classification scheme
action count
action filter_multi_types
action find_reverse
entity Belgian Naval Component
relation operator
type architectural structure
type classification scheme
[[{'concept': 'architectural structure'}, {'concept': 'classification scheme'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ?r . VALUES ( ?r ) { ( ontology:architectural_structure ) ( ontology:classification_scheme ) } } GROUP BY ?w } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:operator resource:Belgian_Naval_Component . { { ?p rdf:type ontology:architectural_structure } UNION { ?p rdf:type ontology:classification_scheme } } } } }
[]
military branch architectural structure classification scheme
SYSTEM
118
Q222595 Q2427907 Q169025 Q704397 Q6648444 Q3510333 Q676404 Q246813 Q2705826 Q702430 Q356359 Q376676 Q1652708 Q2505986 Q1113589 Q3293231 Q1076619 Q741691 Q19562444 Q11322507 Q2384177 Q643834 Q1370337 Q931281 Q3958034 Q2531890 Q932840 Q3848121 Q897614 Q1815399 Q4419309 Q2387294 Q56018 Q2067603 Q2258261 Q56015 Q2055634 Q19344622 Q952444 Q488756 Q16408580 Q2071948 Q1285655 Q1188381 Q2537847 Q1774585 Q25436 Q2630039 Q6479134 Q4114459 Q2370391 Q2292358 Q11218 Q3546162 Q5334371 Q355771 Q2074039 Q267167 Q702116 Q2349884 Q583941 Q1322103 Q15705369 Q781360 Q2408298 Q1129369 Q4115107 Q16151032 Q1038047 Q833040 Q4114435 Q2575188 Q889751 Q2704661 Q898671 Q2566387 Q1944482 Q1750688 Q4855270 Q7032867 Q208711 Q2083573 Q1324290 Q2301347 Q9212 Q861530 Q1046947 Q731647 Q2526431 Q2594652 Q792296 Q3274075 Q17404781 Q2745472 Q1062125 Q2742227 Q2006452 Q3277832 Q2528358 Q4939559 Q3848018 Q1311627 Q2749588 Q1777326 Q2665572 Q25387 Q1370395 Q1366319 Q3293295 Q2492012 Q796411 Q588089 Q2383264 Q510534 Q1124986 Q4303265 Q575932 Q569328
(c(Q811979)|c(Q5962346),P137,c(Q781132))
action count
action approx
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q811979
action find_reverse_tuple_counts
relation P137
type Q781132
type Q5962346
action count
action filter_multi_types
action find_reverse
entity Q792296
relation P137
type Q811979
type Q5962346
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q5962346'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ?r . VALUES ( ?r ) { ( ontology:Q811979 ) ( ontology:Q5962346 ) } } GROUP BY ?w } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:P137 resource:Q792296 . { { ?p rdf:type ontology:Q811979 } UNION { ?p rdf:type ontology:Q5962346 } } } } }
British Army Royal Thai Navy National Navy of Uruguay Republic of China Army Lithuanian Army Nigerian Navy Spanish Navy Luxembourg Army Free French Naval Forces Beiyang Fleet Indian Navy Albanian Naval Force South African Navy National Army of Venezuela Saudi Arabian Army Bangladesh Navy French Army Royal Australian Navy Danish-Norwegian navy German Army Norwegian Army German Navy Estonian Navy Royal Netherlands Navy Argentine Army Aviation Republic of Singapore Navy Ukrainian Navy United Arab Emirates Navy Iraqi Army South African Army Kazakh Air and Air Defence Forces Romanian Naval Forces Joint Medical Service Royal Indian Navy Pakistan Navy German Navy Royal Bahrain Naval Force naval reserve force Peruvian Navy Republic of Korea Navy Eesti Merevägi Finnish Navy Royal Yugoslav Navy Bulgarian Navy Latvian Naval Forces Swedish Amphibious Corps Canadian Army New Zealand Army Egyptian Army Eritrean Navy Royal Bhutan Army Brazilian Army United States Marine Corps Philippine Navy Ecuadorian Army Indian Army Latvian Land Forces Polish Navy Republic of China Navy Croatian Navy Imperial Russian Navy Spanish Army Tudor navy Australian Army Islamic Republic of Iran Navy Hellenic Navy National Army of Colombia Dano-Norwegian Navy Irish Army Italian Navy Royal Naval Force Royal Danish Army Japan Ground Self-Defense Force Indonesian Navy Iraqi Navy Yugoslav Navy Mongolian People's Army Brazilian Navy Bangladesh Army Nigerian Army Chilean Navy Royal Norwegian Navy Vietnam People's Navy Argentine Army United States Army Royal Malaysian Navy Royal Marines Japan Maritime Self-Defense Force National Navy of Colombia Naval Service Belgian Naval Component Sri Lanka Navy Afghan Special Mission Wing Chilean Army Ottoman Navy Royal Saudi Navy Royal Danish Navy Hungarian Ground Forces Mexican Navy Bolivian Army Italian Co-Belligerent Navy Syrian Navy Royal Thai Army Argentine Navy Algerian National Navy Royal Canadian Navy Estonian Land Forces Libyan Navy Turkish Navy Swedish Army Italian Army Portuguese Navy Finnish Army Israeli Navy Confederate States Navy Argentine Marines Royal New Zealand Navy Air Force and Anti-Air Defence Brigade
118
action count
action approx
action union
action find_reverse_tuple_counts
relation operator
type military branch
type architectural structure
action find_reverse_tuple_counts
relation operator
type military branch
type classification scheme
action count
action filter_multi_types
action find_reverse
entity Belgian Naval Component
relation operator
type architectural structure
type classification scheme
[[{'concept': 'architectural structure'}, {'concept': 'classification scheme'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?l ) WHERE { ?o rdf:type ?r . VALUES ( ?r ) { ( ontology:architectural_structure ) ( ontology:classification_scheme ) } } GROUP BY ?w } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:operator resource:Belgian_Naval_Component . { { ?p rdf:type ontology:architectural_structure } UNION { ?p rdf:type ontology:classification_scheme } } } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3874550 Q9212
P27 P17
Q15617994
USER
Which administrative territories are United States Army located in or do Nemanja Jaramaz belong to ?
OR((Q9212,P17,c(Q15617994)), (Q3874550,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q9212
relation P17
action find
entity Q3874550
relation P27
type Q15617994
{'OR': [['Q9212', 'P17', {'concept': 'Q15617994'}], ['Q3874550', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q9212 property:P17 ?k } UNION { resource:Q3874550 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Nemanja Jaramaz United States Army
action filter_type
action union
action find
entity United States Army
relation country
action find
entity Nemanja Jaramaz
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States Army', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nemanja Jaramaz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:United_States_Army property:country ?k } UNION { resource:Nemanja_Jaramaz property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403 Q30
SYSTEM
Serbia, United States of America
Q403 Q30
OR((Q9212,P17,c(Q15617994)), (Q3874550,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q9212
relation P17
action find
entity Q3874550
relation P27
type Q15617994
United States Army are located in belong to [ANSWERS]
{'OR': [['Q9212', 'P17', {'concept': 'Q15617994'}], ['Q3874550', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q9212 property:P17 ?k } UNION { resource:Q3874550 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Serbia United States of America
United States Army are located in belong to Serbia and United States of America
Serbia United States of America
action filter_type
action union
action find
entity United States Army
relation country
action find
entity Nemanja Jaramaz
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States Army', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nemanja Jaramaz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:United_States_Army property:country ?k } UNION { resource:Nemanja_Jaramaz property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q18161408
P27
Q502895
USER
Are Hughie Reed a native of those administrative territories ?
(Q18161408,P27,Q403) (Q18161408,P27,Q30)
action is_in
entity prev_answer
action find
entity Q18161408
relation P27
['Q18161408', 'P27', 'Q403'] ['Q18161408', 'P27', 'Q30']
ASK WHERE { VALUES ( ?d ) { ( resource:Q403 ) ( resource:Q30 ) } . resource:Q18161408 property:P27 ?d }
Hughie Reed
action is_in
entity prev_answer
action find
entity Hughie Reed
relation country of citizenship
['Hughie Reed', 'country of citizenship', 'Serbia'] ['Hughie Reed', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?d ) { ( resource:Serbia ) ( resource:United_States_of_America ) } . resource:Hughie_Reed property:country_of_citizenship ?d }
[]
common name
SYSTEM
NO
(Q18161408,P27,Q403) (Q18161408,P27,Q30)
action is_in
entity prev_answer
action find
entity Q18161408
relation P27
[ANSWER]
['Q18161408', 'P27', 'Q403'] ['Q18161408', 'P27', 'Q30']
ASK WHERE { VALUES ( ?d ) { ( resource:Q403 ) ( resource:Q30 ) } . resource:Q18161408 property:P27 ?d }
No
action is_in
entity prev_answer
action find
entity Hughie Reed
relation country of citizenship
['Hughie Reed', 'country of citizenship', 'Serbia'] ['Hughie Reed', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?d ) { ( resource:Serbia ) ( resource:United_States_of_America ) } . resource:Hughie_Reed property:country_of_citizenship ?d }
[]