Simple Question (Direct)
Simple Question
Q650188
P241
Q781132
USER
Which military branch is Richard B. Garnett associated with ?
(Q650188,P241,c(Q781132))
action filter_type
action find
entity Q650188
relation P241
type Q781132
['Q650188', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?a WHERE { resource:Q650188 property:P241 ?a . ?a rdf:type ontology:Q781132 }
Richard B. Garnett
action filter_type
action find
entity Richard B. Garnett
relation military branch
type military branch
['Richard B. Garnett', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?a WHERE { resource:Richard_B._Garnett property:military_branch ?a . ?a rdf:type ontology:military_branch }
[]
military branch
Q1125021
SYSTEM
Confederate States Army
Q1125021
(Q650188,P241,c(Q781132))
action filter_type
action find
entity Q650188
relation P241
type Q781132
Richard B. Garnett is associated with [ANSWER]
['Q650188', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?a WHERE { resource:Q650188 property:P241 ?a . ?a rdf:type ontology:Q781132 }
Confederate States Army
Richard B. Garnett is associated with Confederate States Army
Confederate States Army
action filter_type
action find
entity Richard B. Garnett
relation military branch
type military branch
['Richard B. Garnett', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?a WHERE { resource:Richard_B._Garnett property:military_branch ?a . ?a rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1125021
P1344
Q198
USER
Which war did that military branch compete in ?
(Q1125021,P1344,c(Q198))
action filter_type
action find
entity Q1125021
relation P1344
type Q198
['Q1125021', 'P1344', {'concept': 'Q198'}]
SELECT DISTINCT ?r WHERE { resource:Q1125021 property:P1344 ?r . ?r rdf:type ontology:Q198 }
Confederate States Army
action filter_type
action find
entity Confederate States Army
relation participant of
type war
['Confederate States Army', 'participant of', {'concept': 'war'}]
SELECT DISTINCT ?r WHERE { resource:Confederate_States_Army property:participant_of ?r . ?r rdf:type ontology:war }
[]
war
Q8676
SYSTEM
American Civil War
Q8676
(Q1125021,P1344,c(Q198))
action filter_type
action find
entity Q1125021
relation P1344
type Q198
That military branch competed in [ANSWER]
['Q1125021', 'P1344', {'concept': 'Q198'}]
SELECT DISTINCT ?r WHERE { resource:Q1125021 property:P1344 ?r . ?r rdf:type ontology:Q198 }
American Civil War
That military branch competed in American Civil War
American Civil War
action filter_type
action find
entity Confederate States Army
relation participant of
type war
['Confederate States Army', 'participant of', {'concept': 'war'}]
SELECT DISTINCT ?r WHERE { resource:Confederate_States_Army property:participant_of ?r . ?r rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1125021
P17
Q15617994
USER
Which administrative territory is Confederate States Army situated in ?
(Q1125021,P17,c(Q15617994))
action filter_type
action find
entity Q1125021
relation P17
type Q15617994
['Q1125021', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q1125021 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Confederate States Army
action filter_type
action find
entity Confederate States Army
relation country
type designation for an administrative territorial entity
['Confederate States Army', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Confederate_States_Army property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1125021,P17,c(Q15617994))
action filter_type
action find
entity Q1125021
relation P17
type Q15617994
Which administrative territory is Confederate States Army situated in
['Q1125021', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q1125021 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
United States of America
Which administrative territory is Confederate States Army situated in
United States of America
action filter_type
action find
entity Confederate States Army
relation country
type designation for an administrative territorial entity
['Confederate States Army', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Confederate_States_Army property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q341441
Q15617994
USER
And how about Black Mountain, Slovakia?
(Q341441,P17,c(Q15617994))
action filter_type
action find
entity Q341441
relation P17
type Q15617994
['Q341441', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q341441 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Black Mountain, Slovakia
action filter_type
action find
entity Black Mountain, Slovakia
relation country
type designation for an administrative territorial entity
['Black Mountain, Slovakia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Black_Mountain,_Slovakia property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q214
SYSTEM
Slovakia
Q214
(Q341441,P17,c(Q15617994))
action filter_type
action find
entity Q341441
relation P17
type Q15617994
[ANSWER]
['Q341441', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q341441 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Slovakia
Slovakia
action filter_type
action find
entity Black Mountain, Slovakia
relation country
type designation for an administrative territorial entity
['Black Mountain, Slovakia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Black_Mountain,_Slovakia property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1811797 Q30
P161 P6
Q502895
USER
Which people are the head of government of United States of America or starred in Tenebrae ?
OR((Q30,P6,c(Q502895)), (Q1811797,P161,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q1811797
relation P161
type Q502895
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q1811797', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q30 property:P6 ?o } UNION { resource:Q1811797 property:P161 ?o } } . ?o rdf:type ontology:Q502895 }
Tenebrae United States of America
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Tenebrae
relation cast member
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Tenebrae', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { { resource:United_States_of_America property:head_of_government ?o } UNION { resource:Tenebrae property:cast_member ?o } } . ?o rdf:type ontology:common_name }
[]
common name
Q76 Q8612 Q11896 Q1124 Q11613 Q12306 Q35171 Q35678 Q35686 Q207
SYSTEM
Some of them are Barack Obama, Andrew Johnson, Zachary Taylor, Bill Clinton, Harry S. Truman, Millard Fillmore, Grover Cleveland, Benjamin Harrison, Rutherford B. Hayes, George W. Bush
Q35171 Q11815 Q11816 Q11817 Q9588 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q23505 Q35498 Q443454 Q35686 Q358360 Q9582 Q1701816 Q9696 Q696306 Q268099 Q207 Q11813 Q35236 Q23685 Q3725484 Q3858812 Q22686 Q34597 Q36023 Q11881 Q3660524 Q12312 Q11806 Q3848206 Q2525440 Q35286 Q987976 Q9640 Q3754308 Q11820 Q35678 Q35041 Q11869 Q2245540 Q470591 Q8007 Q2408038 Q1648016 Q34296 Q76 Q8612 Q34836 Q3762483 Q53011 Q23 Q1124 Q11613 Q11896 Q9916 Q9960 Q11891 Q463944
OR((Q30,P6,c(Q502895)), (Q1811797,P161,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q1811797
relation P161
type Q502895
[ANSWERS] are the head of government of United States of America or starred in Tenebrae
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q1811797', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q30 property:P6 ?o } UNION { resource:Q1811797 property:P161 ?o } } . ?o rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Richard Nixon Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft George H. W. Bush Chester A. Arthur Lara Wendel Rutherford B. Hayes Anthony Franciosa Gerald Ford John Steiner John F. Kennedy Daria Nicolodi Veronica Lario George W. Bush James Madison Herbert Hoover Jimmy Carter Ennio Girolami Mirella Banti Donald Trump James A. Garfield Calvin Coolidge John Tyler Carola Stagnaro Franklin Pierce John Adams Marino Masé Michele Soavi Warren G. Harding Lamberto Bava Lyndon B. Johnson Fulvio Mingozzi Martin Van Buren Benjamin Harrison William McKinley William Henry Harrison Eva Robin's John Saxon Franklin Delano Roosevelt Ania Pieroni Mirella D'Angelo Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant Giampaolo Saccarola Dario Argento George Washington Bill Clinton Harry S. Truman Zachary Taylor Dwight D. Eisenhower Ronald Reagan James K. Polk Giuliano Gemma
Barack Obama, Andrew Johnson, Zachary Taylor, Bill Clinton, Harry S. Truman, Millard Fillmore, Grover Cleveland, Benjamin Harrison, Rutherford B. Hayes and George W. Bush are the head of government of United States of America or starred in Tenebrae
Barack Obama Andrew Johnson Zachary Taylor Bill Clinton Harry S. Truman Millard Fillmore Grover Cleveland Benjamin Harrison Rutherford B. Hayes George W. Bush
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Tenebrae
relation cast member
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Tenebrae', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { { resource:United_States_of_America property:head_of_government ?o } UNION { resource:Tenebrae property:cast_member ?o } } . ?o rdf:type ontology:common_name }
[]