Simple Question (Direct)
Simple Question
Q5546046
P39
Q12737077
USER
Which occupation was a position for which George Washington Warren was appointed ?
(Q5546046,P39,c(Q12737077))
action filter_type
action find
entity Q5546046
relation P39
type Q12737077
['Q5546046', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5546046 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
George Washington Warren
action filter_type
action find
entity George Washington Warren
relation position held
type occupation
['George Washington Warren', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:George_Washington_Warren property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q17342542
SYSTEM
Member of the Massachusetts House of Representatives
Q17342542
(Q5546046,P39,c(Q12737077))
action filter_type
action find
entity Q5546046
relation P39
type Q12737077
The [ANSWER] was a position for which George Washington Warren was appointed
['Q5546046', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q5546046 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Member of the Massachusetts House of Representatives
The Member of the Massachusetts House of Representatives was a position for which George Washington Warren was appointed
Member of the Massachusetts House of Representatives
action filter_type
action find
entity George Washington Warren
relation position held
type occupation
['George Washington Warren', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:George_Washington_Warren property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7890618 Q17342542
P1001
Q852446
USER
Which US administrative territories come under the jurisdiction of Member of the Massachusetts House of Representatives or United States House of Representatives elections in South Carolina, 1980 ?
OR((Q17342542,P1001,c(Q852446)), (Q7890618,P1001,c(Q852446)))
action filter_type
action union
action find
entity Q17342542
relation P1001
action find
entity Q7890618
relation P1001
type Q852446
{'OR': [['Q17342542', 'P1001', {'concept': 'Q852446'}], ['Q7890618', 'P1001', {'concept': 'Q852446'}]]}
SELECT DISTINCT ?b WHERE { { ?v property:P1001 ?b . VALUES ( ?v ) { ( resource:Q17342542 ) ( resource:Q7890618 ) } } . ?b rdf:type ontology:Q852446 }
United States House of Representatives elections in South Carolina, 1980 Member of the Massachusetts House of Representatives
action filter_type
action union
action find
entity Member of the Massachusetts House of Representatives
relation applies to jurisdiction
action find
entity United States House of Representatives elections in South Carolina, 1980
relation applies to jurisdiction
type administrative territorial entity of the United States
{'OR': [['Member of the Massachusetts House of Representatives', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}], ['United States House of Representatives elections in South Carolina, 1980', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]]}
SELECT DISTINCT ?b WHERE { { ?v property:applies_to_jurisdiction ?b . VALUES ( ?v ) { ( resource:Member_of_the_Massachusetts_House_of_Representatives ) ( resource:United_States_House_of_Representatives_elections_in_South_Carolina,_1980 ) } } . ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1456 Q771
SYSTEM
South Carolina, Massachusetts
Q1456 Q771
OR((Q17342542,P1001,c(Q852446)), (Q7890618,P1001,c(Q852446)))
action filter_type
action union
action find
entity Q17342542
relation P1001
action find
entity Q7890618
relation P1001
type Q852446
[ANSWERS] come under the jurisdiction of Member of the Massachusetts House of Representatives or United States House of Representatives elections in South Carolina, 1980
{'OR': [['Q17342542', 'P1001', {'concept': 'Q852446'}], ['Q7890618', 'P1001', {'concept': 'Q852446'}]]}
SELECT DISTINCT ?b WHERE { { ?v property:P1001 ?b . VALUES ( ?v ) { ( resource:Q17342542 ) ( resource:Q7890618 ) } } . ?b rdf:type ontology:Q852446 }
South Carolina Massachusetts
South Carolina and Massachusetts come under the jurisdiction of Member of the Massachusetts House of Representatives or United States House of Representatives elections in South Carolina, 1980
South Carolina Massachusetts
action filter_type
action union
action find
entity Member of the Massachusetts House of Representatives
relation applies to jurisdiction
action find
entity United States House of Representatives elections in South Carolina, 1980
relation applies to jurisdiction
type administrative territorial entity of the United States
{'OR': [['Member of the Massachusetts House of Representatives', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}], ['United States House of Representatives elections in South Carolina, 1980', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]]}
SELECT DISTINCT ?b WHERE { { ?v property:applies_to_jurisdiction ?b . VALUES ( ?v ) { ( resource:Member_of_the_Massachusetts_House_of_Representatives ) ( resource:United_States_House_of_Representatives_elections_in_South_Carolina,_1980 ) } } . ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P840
Q852446 Q2342494 Q15416
USER
How many US administrative territories are the narrative locations of around the same number of collectables or television programs as that US administrative territory ?
(c(Q2342494)|c(Q15416),P840,c(Q852446))
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P840 ?y } UNION { ?x property:P840 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q852446 . ?x rdf:type ontology:Q15416 }
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:narrative_location ?y } UNION { ?x property:narrative_location ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?x rdf:type ontology:television_program }
[]
administrative territorial entity of the United States collectable television program
Comparative|Count over More/Less|Mult. entity type|Clarification
Q771
SYSTEM
Did you mean Massachusetts ?
(c(Q2342494)|c(Q15416),P840,c(Q852446))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P840 ?y } UNION { ?x property:P840 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q852446 . ?x rdf:type ontology:Q15416 }
Did you mean Massachusetts ?
Massachusetts
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:narrative_location ?y } UNION { ?x property:narrative_location ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2342494)|c(Q15416),P840,c(Q852446))
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
[]
SYSTEM
47
Q1397 Q43421 Q829 Q1603 Q1391 Q7886863 Q5000330 Q724 Q1581 Q1537 Q1370 Q1439 Q1612 Q1454 Q1384 Q3474463 Q1415 Q782 Q1527 Q1546 Q1204 Q1522 Q824 Q1227 Q1223 Q1166 Q816 Q771 Q1207 Q1509 Q1371 Q1261 Q779 Q1428 Q38555 Q759 Q1558 Q14710458 Q1588 Q173 Q523606 Q797 Q4705487 Q1212 Q1553 Q1211 Q16551
(c(Q2342494)|c(Q15416),P840,c(Q852446))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P840 ?y } UNION { ?x property:P840 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q852446 . ?x rdf:type ontology:Q15416 }
Ohio Richmond Utah Kentucky Maryland Unionville Burr Oak, Iowa Maine Missouri Wisconsin Virginia Texas Arkansas North Carolina New York South Troy Indiana Hawaii Minnesota Iowa Illinois New Mexico Oregon Nevada Washington Michigan Arizona Massachusetts North Dakota Tennessee West Virginia Colorado Connecticut Georgia Santa Fe New Hampshire Kansas Esperanza Louisiana Alabama Langley Alaska Aladdin, Wyoming Montana Nebraska South Dakota Vermont
47
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:narrative_location ?y } UNION { ?x property:narrative_location ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?x rdf:type ontology:television_program }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3455786 Q7890618
P17
Q15617994
USER
Which administrative territories are United States House of Representatives elections in South Carolina, 1980 or Pilka situated in ?
OR((Q7890618,P17,c(Q15617994)), (Q3455786,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7890618
relation P17
action find
entity Q3455786
relation P17
type Q15617994
{'OR': [['Q7890618', 'P17', {'concept': 'Q15617994'}], ['Q3455786', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q3455786 property:P17 ?e } UNION { resource:Q7890618 property:P17 ?e } } . ?e rdf:type ontology:Q15617994 }
Pilka United States House of Representatives elections in South Carolina, 1980
action filter_type
action union
action find
entity United States House of Representatives elections in South Carolina, 1980
relation country
action find
entity Pilka
relation country
type designation for an administrative territorial entity
{'OR': [['United States House of Representatives elections in South Carolina, 1980', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pilka', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Pilka property:country ?e } UNION { resource:United_States_House_of_Representatives_elections_in_South_Carolina,_1980 property:country ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q191 Q30
SYSTEM
Estonia, United States of America
Q191 Q30
OR((Q7890618,P17,c(Q15617994)), (Q3455786,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7890618
relation P17
action find
entity Q3455786
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q7890618', 'P17', {'concept': 'Q15617994'}], ['Q3455786', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q3455786 property:P17 ?e } UNION { resource:Q7890618 property:P17 ?e } } . ?e rdf:type ontology:Q15617994 }
Estonia United States of America
Which administrative territories are United States House of Representatives elections in South Carolina, 1980 or Pilka situated in
Estonia United States of America
action filter_type
action union
action find
entity United States House of Representatives elections in South Carolina, 1980
relation country
action find
entity Pilka
relation country
type designation for an administrative territorial entity
{'OR': [['United States House of Representatives elections in South Carolina, 1980', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pilka', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Pilka property:country ?e } UNION { resource:United_States_House_of_Representatives_elections_in_South_Carolina,_1980 property:country ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q191 Q30
P47
Q15617994
USER
Which administrative territories share border with those ones ?
(Q191,P47,c(Q15617994)) (Q30,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
['Q191', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?g property:P47 ?f . ?f rdf:type ontology:Q15617994 . VALUES ( ?g ) { ( resource:Q191 ) ( resource:Q30 ) } }
Estonia United States of America
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Estonia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?g property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?g ) { ( resource:Estonia ) ( resource:United_States_of_America ) } }
[]
designation for an administrative territorial entity
Q159 Q159 Q17
SYSTEM
Japan for 3rd, Russia for 1st, 2nd
Q211 Q159 Q702 Q804 Q159 Q683 Q96 Q786 Q241 Q17 Q710 Q717 Q678 Q790
(Q191,P47,c(Q15617994)) (Q30,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS]
['Q191', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?g property:P47 ?f . ?f rdf:type ontology:Q15617994 . VALUES ( ?g ) { ( resource:Q191 ) ( resource:Q30 ) } }
Latvia Russia Federated States of Micronesia Panama Russia Samoa Mexico Dominican Republic Cuba Japan Kiribati Venezuela Tonga Haiti
Russia, Russia and Japan share border with those ones
Russia Russia Japan
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Estonia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?g property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?g ) { ( resource:Estonia ) ( resource:United_States_of_America ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P159
Q28640
USER
Which professions have headquarters located at Japan ?
(c(Q28640),P159,Q17)
action filter_type
action find_reverse
entity Q17
relation P159
type Q28640
[{'concept': 'Q28640'}, 'P159', 'Q17']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q28640 . ?x property:P159 resource:Q17 }
Japan
action filter_type
action find_reverse
entity Japan
relation headquarters location
type profession
[{'concept': 'profession'}, 'headquarters location', 'Japan']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:profession . ?x property:headquarters_location resource:Japan }
[]
profession
Q1584831 Q20505844 Q601299
SYSTEM
Mistwalker, Smilebit, Video System
Q3576010 Q20505844 Q601299 Q5329176 Q4807758 Q1172213 Q2291232 Q1045037 Q6522253 Q8024279 Q339565 Q932631 Q2668532 Q2408214 Q24188 Q6030727 Q1584831 Q161223 Q4051736 Q5521793 Q1054754 Q5473011 Q5359622 Q7663606 Q4047460 Q5038922 Q2633052 Q7196883 Q5942495 Q11332510 Q383538 Q4696605 Q6886758 Q871504 Q1102774 Q864258 Q3052263
(c(Q28640),P159,Q17)
action filter_type
action find_reverse
entity Q17
relation P159
type Q28640
[ANSWERS] have headquarters located at Japan
[{'concept': 'Q28640'}, 'P159', 'Q17']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q28640 . ?x property:P159 resource:Q17 }
Zoo Corporation Smilebit Video System East Point Software Aspect Co. Data East Toaplan AliceSoft Lenar Windmill Sega Wow Team Ico Nintendo Research & Development 2 Human Entertainment Sega Sports R&D Information Global Service Mistwalker 07th Expansion Triangle Service Gaps Type-Moon Fortyfive Quin Rose SystemSoft Alpha Prope Career Soft Nintendo Research & Development 1 Pionesoft HuneX Fill-in-Cafe Compile Aicom Mobile21 Giga Clover Studio Akabeisoft2 Omega Force
Mistwalker, Smilebit and Video System have headquarters located at Japan
Mistwalker Smilebit Video System
action filter_type
action find_reverse
entity Japan
relation headquarters location
type profession
[{'concept': 'profession'}, 'headquarters location', 'Japan']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:profession . ?x property:headquarters_location resource:Japan }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20505844
P452
Q268592
USER
What industry does that profession belong to ?
(Q20505844,P452,c(Q268592))
action filter_type
action find
entity Q20505844
relation P452
type Q268592
['Q20505844', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?v WHERE { resource:Q20505844 property:P452 ?v . ?v rdf:type ontology:Q268592 }
Smilebit
action filter_type
action find
entity Smilebit
relation industry
type economic branch
['Smilebit', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?v WHERE { resource:Smilebit property:industry ?v . ?v rdf:type ontology:economic_branch }
[]
economic branch
Clarification for simple ques.
Q1584831
SYSTEM
Did you mean Mistwalker ?
Q1584831 Q20505844 Q601299
(Q1584831,P452,c(Q268592)) (Q20505844,P452,c(Q268592)) (Q601299,P452,c(Q268592))
[ANSWER]
['Q1584831', 'P452', {'concept': 'Q268592'}] ['Q20505844', 'P452', {'concept': 'Q268592'}] ['Q601299', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?v WHERE { resource:Q20505844 property:P452 ?v . ?v rdf:type ontology:Q268592 }
Mistwalker Smilebit Video System
Did you mean Mistwalker ?
Mistwalker
['Mistwalker', 'industry', {'concept': 'economic branch'}] ['Smilebit', 'industry', {'concept': 'economic branch'}] ['Video System', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?v WHERE { resource:Smilebit property:industry ?v . ?v rdf:type ontology:economic_branch }
[]
Simple Question (Coreferenced)
USER
No, I meant Smilebit. Could you tell me the answer for that?
(Q20505844,P452,c(Q268592))
Q20505844
['Q20505844', 'P452', {'concept': 'Q268592'}]
['Smilebit', 'industry', {'concept': 'economic branch'}]
[]
Q941594
SYSTEM
video game industry
Q941594
(Q20505844,P452,c(Q268592))
action filter_type
action find
entity Q20505844
relation P452
type Q268592
That profession belongs to [ANSWER]
['Q20505844', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?v WHERE { resource:Q20505844 property:P452 ?v . ?v rdf:type ontology:Q268592 }
video game industry
That profession belongs to video game industry
video game industry
action filter_type
action find
entity Smilebit
relation industry
type economic branch
['Smilebit', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?v WHERE { resource:Smilebit property:industry ?v . ?v rdf:type ontology:economic_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20505844
P127
Q28640
USER
Who owns Smilebit ?
(Q20505844,P127,c(Q28640))
action filter_type
action find
entity Q20505844
relation P127
type Q28640
['Q20505844', 'P127', {'concept': 'Q28640'}]
SELECT DISTINCT ?v WHERE { resource:Q20505844 property:P127 ?v . ?v rdf:type ontology:Q28640 }
Smilebit
action filter_type
action find
entity Smilebit
relation owned by
type profession
['Smilebit', 'owned by', {'concept': 'profession'}]
SELECT DISTINCT ?v WHERE { resource:Smilebit property:owned_by ?v . ?v rdf:type ontology:profession }
[]
profession
Q122741
SYSTEM
Sega
Q122741
(Q20505844,P127,c(Q28640))
action filter_type
action find
entity Q20505844
relation P127
type Q28640
[ANSWER] owns Smilebit
['Q20505844', 'P127', {'concept': 'Q28640'}]
SELECT DISTINCT ?v WHERE { resource:Q20505844 property:P127 ?v . ?v rdf:type ontology:Q28640 }
Sega
Sega owns Smilebit
Sega
action filter_type
action find
entity Smilebit
relation owned by
type profession
['Smilebit', 'owned by', {'concept': 'profession'}]
SELECT DISTINCT ?v WHERE { resource:Smilebit property:owned_by ?v . ?v rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q122741
P355
Q28640
USER
Which profession is an auxiliary of that one ?
(Q122741,P355,c(Q28640))
action filter_type
action find
entity Q122741
relation P355
type Q28640
['Q122741', 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?p WHERE { resource:Q122741 property:P355 ?p . ?p rdf:type ontology:Q28640 }
Sega
action filter_type
action find
entity Sega
relation subsidiary
type profession
['Sega', 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?p WHERE { resource:Sega property:subsidiary ?p . ?p rdf:type ontology:profession }
[]
profession
Q611508
SYSTEM
Creative Assembly
Q611508
(Q122741,P355,c(Q28640))
action filter_type
action find
entity Q122741
relation P355
type Q28640
Assembly [ANSWER] is an auxiliary of that one
['Q122741', 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?p WHERE { resource:Q122741 property:P355 ?p . ?p rdf:type ontology:Q28640 }
Creative Assembly
Assembly Creative Assembly is an auxiliary of that one
Creative Assembly
action filter_type
action find
entity Sega
relation subsidiary
type profession
['Sega', 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?p WHERE { resource:Sega property:subsidiary ?p . ?p rdf:type ontology:profession }
[]