Simple Question (Direct)
Simple Question
Q1365026
P1412
Q34770
USER
Which language can James F. Conant read ?
(Q1365026,P1412,c(Q34770))
action filter_type
action find
entity Q1365026
relation P1412
type Q34770
['Q1365026', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q1365026 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
James F. Conant
action filter_type
action find
entity James F. Conant
relation languages spoken, written or signed
type language
['James F. Conant', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:James_F._Conant property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1365026,P1412,c(Q34770))
action filter_type
action find
entity Q1365026
relation P1412
type Q34770
James F. Conant can read in [ANSWER]
['Q1365026', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q1365026 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
English
James F. Conant can read in English
English
action filter_type
action find
entity James F. Conant
relation languages spoken, written or signed
type language
['James F. Conant', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:James_F._Conant property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1365026
P69
Q163740
USER
Where was James F. Conant educated ?
(Q1365026,P69,c(Q163740))
action filter_type
action find
entity Q1365026
relation P69
type Q163740
['Q1365026', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q163740 . resource:Q1365026 property:P69 ?i }
James F. Conant
action filter_type
action find
entity James F. Conant
relation educated at
type nonprofit organization
['James F. Conant', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:nonprofit_organization . resource:James_F._Conant property:educated_at ?i }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
(Q1365026,P69,c(Q163740))
action filter_type
action find
entity Q1365026
relation P69
type Q163740
James F. Conant was educated at [ANSWER]
['Q1365026', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q163740 . resource:Q1365026 property:P69 ?i }
Harvard University
James F. Conant was educated at Harvard University
Harvard University
action filter_type
action find
entity James F. Conant
relation educated at
type nonprofit organization
['James F. Conant', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:nonprofit_organization . resource:James_F._Conant property:educated_at ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q733724
Q163740
USER
And how about Bob Miller?
(Q733724,P69,c(Q163740))
action filter_type
action find
entity Q733724
relation P69
type Q163740
['Q733724', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?m WHERE { resource:Q733724 property:P69 ?m . ?m rdf:type ontology:Q163740 }
Bob Miller
action filter_type
action find
entity Bob Miller
relation educated at
type nonprofit organization
['Bob Miller', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?m WHERE { resource:Bob_Miller property:educated_at ?m . ?m rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q992830
SYSTEM
Santa Clara University
Q992830
(Q733724,P69,c(Q163740))
action filter_type
action find
entity Q733724
relation P69
type Q163740
[ANSWER]
['Q733724', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?m WHERE { resource:Q733724 property:P69 ?m . ?m rdf:type ontology:Q163740 }
Santa Clara University
Santa Clara University
action filter_type
action find
entity Bob Miller
relation educated at
type nonprofit organization
['Bob Miller', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?m WHERE { resource:Bob_Miller property:educated_at ?m . ?m rdf:type ontology:nonprofit_organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19678196 Q1365026
P27 P17
Q15617994
USER
Which administrative territories do James F. Conant belong to or are Nong O situated in ?
OR((Q1365026,P27,c(Q15617994)), (Q19678196,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1365026
relation P27
action find
entity Q19678196
relation P17
type Q15617994
{'OR': [['Q1365026', 'P27', {'concept': 'Q15617994'}], ['Q19678196', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1365026 property:P27 ?n } UNION { resource:Q19678196 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
Nong O James F. Conant
action filter_type
action union
action find
entity James F. Conant
relation country of citizenship
action find
entity Nong O
relation country
type designation for an administrative territorial entity
{'OR': [['James F. Conant', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nong O', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:James_F._Conant property:country_of_citizenship ?n } UNION { resource:Nong_O property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q869 Q30
SYSTEM
Thailand, United States of America
Q869 Q30
OR((Q1365026,P27,c(Q15617994)), (Q19678196,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1365026
relation P27
action find
entity Q19678196
relation P17
type Q15617994
[ANSWERS] do James F. Conant belong to or are Nong O situated in
{'OR': [['Q1365026', 'P27', {'concept': 'Q15617994'}], ['Q19678196', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1365026 property:P27 ?n } UNION { resource:Q19678196 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
Thailand United States of America
Thailand and United States of America do James F. Conant belong to or are Nong O situated in
Thailand United States of America
action filter_type
action union
action find
entity James F. Conant
relation country of citizenship
action find
entity Nong O
relation country
type designation for an administrative territorial entity
{'OR': [['James F. Conant', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nong O', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:James_F._Conant property:country_of_citizenship ?n } UNION { resource:Nong_O property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q31307
P710
Q350604
USER
Were those administrative territories a participant of Burmese–Siamese War ?
(Q31307,P710,Q869) (Q31307,P710,Q30)
action is_in
entity prev_answer
action find
entity Q31307
relation P710
['Q31307', 'P710', 'Q869'] ['Q31307', 'P710', 'Q30']
ASK WHERE { resource:Q31307 property:P710 ?n . VALUES ( ?n ) { ( resource:Q869 ) ( resource:Q30 ) } }
Burmese–Siamese War
action is_in
entity prev_answer
action find
entity Burmese–Siamese War
relation participant
['Burmese–Siamese War', 'participant', 'Thailand'] ['Burmese–Siamese War', 'participant', 'United States of America']
ASK WHERE { resource:Burmese–Siamese_War property:participant ?n . VALUES ( ?n ) { ( resource:Thailand ) ( resource:United_States_of_America ) } }
[]
armed conflict
SYSTEM
NO
(Q31307,P710,Q869) (Q31307,P710,Q30)
action is_in
entity prev_answer
action find
entity Q31307
relation P710
[ANSWER]
['Q31307', 'P710', 'Q869'] ['Q31307', 'P710', 'Q30']
ASK WHERE { resource:Q31307 property:P710 ?n . VALUES ( ?n ) { ( resource:Q869 ) ( resource:Q30 ) } }
No
action is_in
entity prev_answer
action find
entity Burmese–Siamese War
relation participant
['Burmese–Siamese War', 'participant', 'Thailand'] ['Burmese–Siamese War', 'participant', 'United States of America']
ASK WHERE { resource:Burmese–Siamese_War property:participant ?n . VALUES ( ?n ) { ( resource:Thailand ) ( resource:United_States_of_America ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q733724
P21
Q290
USER
Which sex does Bob Miller belong to ?
(Q733724,P21,c(Q290))
action filter_type
action find
entity Q733724
relation P21
type Q290
['Q733724', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q733724 property:P21 ?y . ?y rdf:type ontology:Q290 }
Bob Miller
action filter_type
action find
entity Bob Miller
relation gender
type sex
['Bob Miller', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Bob_Miller property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q733724,P21,c(Q290))
action filter_type
action find
entity Q733724
relation P21
type Q290
Bob Miller belongs to [ANSWER]
['Q733724', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q733724 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
Bob Miller belongs to male
male
action filter_type
action find
entity Bob Miller
relation gender
type sex
['Bob Miller', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Bob_Miller property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12792913
Q290
USER
And what about Jože Zorn?
(Q12792913,P21,c(Q290))
action filter_type
action find
entity Q12792913
relation P21
type Q290
['Q12792913', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q12792913 property:P21 ?z . ?z rdf:type ontology:Q290 }
Jože Zorn
action filter_type
action find
entity Jože Zorn
relation gender
type sex
['Jože Zorn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Jože_Zorn property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q12792913,P21,c(Q290))
action filter_type
action find
entity Q12792913
relation P21
type Q290
[ANSWER]
['Q12792913', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q12792913 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Jože Zorn
relation gender
type sex
['Jože Zorn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Jože_Zorn property:gender ?z . ?z rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q6072684
P21
Q502895
USER
Does Perla Suez have the gender as that sex ?
(Q6072684,P21,Q6581097)
action is_in
entity Q6072684
action find
entity Q6581097
relation P21
['Q6072684', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q6072684 }
male Perla Suez
action is_in
entity Perla Suez
action find
entity male
relation gender
['Perla Suez', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Perla_Suez }
[]
common name
SYSTEM
NO
(Q6072684,P21,Q6581097)
action is_in
entity Q6072684
action find
entity Q6581097
relation P21
[ANSWER]
['Q6072684', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q6072684 }
No
action is_in
entity Perla Suez
action find
entity male
relation gender
['Perla Suez', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Perla_Suez }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q21
P840
Q838948
USER
How many works of art have their setting located at United States of America and England ?
(c(Q838948),P840,Q30) (c(Q838948),P840,Q21)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P840
type Q838948
action filter_type
action find_reverse
entity Q21
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q30'] [{'concept': 'Q838948'}, 'P840', 'Q21']
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P840 resource:Q21 . ?n rdf:type ontology:Q838948 . ?n property:P840 resource:Q30 . ?n rdf:type ontology:Q838948 }
United States of America England
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation narrative location
type work of art
action filter_type
action find_reverse
entity England
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'United States of America'] [{'concept': 'work of art'}, 'narrative location', 'England']
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:narrative_location resource:England . ?n rdf:type ontology:work_of_art . ?n property:narrative_location resource:United_States_of_America . ?n rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
4
Q2251564 Q1382283 Q157044 Q3182263
(c(Q838948),P840,Q30) (c(Q838948),P840,Q21)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P840
type Q838948
action filter_type
action find_reverse
entity Q21
relation P840
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P840', 'Q30'] [{'concept': 'Q838948'}, 'P840', 'Q21']
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P840 resource:Q21 . ?n rdf:type ontology:Q838948 . ?n property:P840 resource:Q30 . ?n rdf:type ontology:Q838948 }
In una notte di chiaro di luna Everyone Stares The Hours John Paul Jones
4
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation narrative location
type work of art
action filter_type
action find_reverse
entity England
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'United States of America'] [{'concept': 'work of art'}, 'narrative location', 'England']
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:narrative_location resource:England . ?n rdf:type ontology:work_of_art . ?n property:narrative_location resource:United_States_of_America . ?n rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P6
Q502895
USER
What people are that administrative territory the head of goverment of ?
action filter_type
action find
entity Q30
relation P6
type Q502895
SELECT DISTINCT ?b WHERE { resource:Q30 property:P6 ?b . ?b rdf:type ontology:Q502895 }
United States of America
action filter_type
action find
entity United States of America
relation head of government
type common name
SELECT DISTINCT ?b WHERE { resource:United_States_of_America property:head_of_government ?b . ?b rdf:type ontology:common_name }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q35236 Q12325 Q33866 Q35648 Q9588 Q9582 Q35041 Q207 Q11813 Q91 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q11869 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
action filter_type
action find
entity Q30
relation P6
type Q502895
[ANSWERS] are that administrative territory the head of goverment of
SELECT DISTINCT ?b WHERE { resource:Q30 property:P6 ?b . ?b rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Herbert Hoover James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William McKinley George W. Bush James Madison Abraham Lincoln Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William Henry Harrison Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
Barack Obama, Dwight D. Eisenhower and Donald Trump are that administrative territory the head of goverment of
Barack Obama Dwight D. Eisenhower Donald Trump
action filter_type
action find
entity United States of America
relation head of government
type common name
SELECT DISTINCT ?b WHERE { resource:United_States_of_America property:head_of_government ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P30
Q2221906
USER
Which geographic locations are United States of America located in ?
(Q30,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { resource:Q30 property:P30 ?t . ?t rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { resource:United_States_of_America property:continent ?t . ?t rdf:type ontology:geographic_location }
[]
geographic location
Q49 Q538
SYSTEM
North America, Oceania
Q49 Q538
(Q30,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
United States of America are located in [ANSWERS]
['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { resource:Q30 property:P30 ?t . ?t rdf:type ontology:Q2221906 }
North America Oceania
United States of America are located in North America and Oceania
North America Oceania
action filter_type
action find
entity United States of America
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { resource:United_States_of_America property:continent ?t . ?t rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7780166
Q2221906
USER
And also tell me about Three Sisters Cones?
(Q7780166,P30,c(Q2221906))
action filter_type
action find
entity Q7780166
relation P30
type Q2221906
['Q7780166', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2221906 . resource:Q7780166 property:P30 ?l }
Three Sisters Cones
action filter_type
action find
entity Three Sisters Cones
relation continent
type geographic location
['Three Sisters Cones', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:geographic_location . resource:Three_Sisters_Cones property:continent ?l }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q7780166,P30,c(Q2221906))
action filter_type
action find
entity Q7780166
relation P30
type Q2221906
[ANSWER]
['Q7780166', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2221906 . resource:Q7780166 property:P30 ?l }
Antarctica
Antarctica
action filter_type
action find
entity Three Sisters Cones
relation continent
type geographic location
['Three Sisters Cones', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:geographic_location . resource:Three_Sisters_Cones property:continent ?l }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q82794 Q2221906
USER
Which geographic regions are atleast 1 geographic location located on ?
(c(Q2221906),P706,c(Q82794))
action atleast
action find_reverse_tuple_counts
relation P706
type Q82794
type Q2221906
value 1
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?u >= 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?u ) WHERE { ?w property:P706 ?t . ?t rdf:type ontology:Q82794 . ?w rdf:type ontology:Q2221906 } GROUP BY ?t } }
action atleast
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?u >= 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?u ) WHERE { ?w property:located_on_terrain_feature ?t . ?t rdf:type ontology:geographic_region . ?w rdf:type ontology:geographic_location } GROUP BY ?t } }
[]
geographic region geographic location
Q39061 Q170526
SYSTEM
Northern Hemisphere, Fertile Crescent
Q39061 Q170526
(c(Q2221906),P706,c(Q82794))
action atleast
action find_reverse_tuple_counts
relation P706
type Q82794
type Q2221906
value 1
[ANSWERS]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?u >= 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?u ) WHERE { ?w property:P706 ?t . ?t rdf:type ontology:Q82794 . ?w rdf:type ontology:Q2221906 } GROUP BY ?t } }
Northern Hemisphere Fertile Crescent
Northern Hemisphere Fertile Crescent
action atleast
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?u >= 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?u ) WHERE { ?w property:located_on_terrain_feature ?t . ?t rdf:type ontology:geographic_region . ?w rdf:type ontology:geographic_location } GROUP BY ?t } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q539386 Q12792913
P47 P20
Q56061
USER
Which administrative territories did Jože Zorn die or have a shared border with Rheinau ?
OR((Q12792913,P20,c(Q56061)), (Q539386,P47,c(Q56061)))
action filter_type
action union
action find
entity Q12792913
relation P20
action find
entity Q539386
relation P47
type Q56061
{'OR': [['Q12792913', 'P20', {'concept': 'Q56061'}], ['Q539386', 'P47', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q12792913 property:P20 ?q } UNION { resource:Q539386 property:P47 ?q } } . ?q rdf:type ontology:Q56061 }
Rheinau Jože Zorn
action filter_type
action union
action find
entity Jože Zorn
relation place of death
action find
entity Rheinau
relation shares border with
type administrative territorial entity
{'OR': [['Jože Zorn', 'place of death', {'concept': 'administrative territorial entity'}], ['Rheinau', 'shares border with', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Jože_Zorn property:place_of_death ?q } UNION { resource:Rheinau property:shares_border_with ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q437 Q15979
SYSTEM
Ljubljana, Kehl
Q437 Q15979
OR((Q12792913,P20,c(Q56061)), (Q539386,P47,c(Q56061)))
action filter_type
action union
action find
entity Q12792913
relation P20
action find
entity Q539386
relation P47
type Q56061
Jože Zorn died in [ANSWERS]
{'OR': [['Q12792913', 'P20', {'concept': 'Q56061'}], ['Q539386', 'P47', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q12792913 property:P20 ?q } UNION { resource:Q539386 property:P47 ?q } } . ?q rdf:type ontology:Q56061 }
Ljubljana Kehl
Jože Zorn died in Ljubljana and Kehl
Ljubljana Kehl
action filter_type
action union
action find
entity Jože Zorn
relation place of death
action find
entity Rheinau
relation shares border with
type administrative territorial entity
{'OR': [['Jože Zorn', 'place of death', {'concept': 'administrative territorial entity'}], ['Rheinau', 'shares border with', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Jože_Zorn property:place_of_death ?q } UNION { resource:Rheinau property:shares_border_with ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]