Simple Question (Direct)
Simple Question
Q15458420
P20
Q56061
USER
Where did the demise of Frank Cordell occur ?
(Q15458420,P20,c(Q56061))
action filter_type
action find
entity Q15458420
relation P20
type Q56061
['Q15458420', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q15458420 property:P20 ?i }
Frank Cordell
action filter_type
action find
entity Frank Cordell
relation place of death
type administrative territorial entity
['Frank Cordell', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Frank_Cordell property:place_of_death ?i }
[]
administrative territorial entity
Q29245
SYSTEM
Hastings
Q29245
(Q15458420,P20,c(Q56061))
action filter_type
action find
entity Q15458420
relation P20
type Q56061
The demise of Frank Cordell occurred at [ANSWER]
['Q15458420', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q15458420 property:P20 ?i }
Hastings
The demise of Frank Cordell occurred at Hastings
Hastings
action filter_type
action find
entity Frank Cordell
relation place of death
type administrative territorial entity
['Frank Cordell', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Frank_Cordell property:place_of_death ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15458420
P86
Q838948
USER
Which works of art have that person as the melodist ?
(c(Q838948),P86,Q29245)
action filter_type
action find_reverse
entity Q15458420
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q29245']
SELECT DISTINCT ?q WHERE { ?q property:P86 resource:Q15458420 . ?q rdf:type ontology:Q838948 }
Frank Cordell
action filter_type
action find_reverse
entity Frank Cordell
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Hastings']
SELECT DISTINCT ?q WHERE { ?q property:composer resource:Frank_Cordell . ?q rdf:type ontology:work_of_art }
[]
work of art
Q1140881 Q1740603 Q25506
SYSTEM
Cromwell, Khartoum, Flight from Ashiya
Q7773035 Q7334782 Q7715638 Q3129807 Q1740603 Q3283327 Q7004193 Q25506 Q776256 Q1140881 Q3012116 Q7759740 Q971638
(c(Q838948),P86,Q29245)
action filter_type
action find_reverse
entity Q15458420
relation P86
type Q838948
[ANSWERS] have that person as the melodist
[{'concept': 'Q838948'}, 'P86', 'Q29245']
SELECT DISTINCT ?q WHERE { ?q property:P86 resource:Q15458420 . ?q rdf:type ontology:Q838948 }
The Voice of Merrill Ring of Bright Water The Bargee Hell Boats Khartoum God Told Me To Never Put It in Writing Flight from Ashiya Trial by Combat Cromwell The Captain's Table The Rebel Mosquito Squadron
Cromwell, Khartoum and Flight from Ashiya have that person as the melodist
Cromwell Khartoum Flight from Ashiya
action filter_type
action find_reverse
entity Frank Cordell
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Hastings']
SELECT DISTINCT ?q WHERE { ?q property:composer resource:Frank_Cordell . ?q rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29245
P47
Q56061
USER
Which administrative territory is adjacent to Hastings ?
(Q29245,P47,c(Q56061))
action filter_type
action find
entity Q29245
relation P47
type Q56061
['Q29245', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q29245 property:P47 ?i }
Hastings
action filter_type
action find
entity Hastings
relation shares border with
type administrative territorial entity
['Hastings', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Hastings property:shares_border_with ?i }
[]
administrative territorial entity
Q737593
SYSTEM
Battle
Q737593
(Q29245,P47,c(Q56061))
action filter_type
action find
entity Q29245
relation P47
type Q56061
[ANSWER] is adjacent to Hastings
['Q29245', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q29245 property:P47 ?i }
Battle
Battle is adjacent to Hastings
Battle
action filter_type
action find
entity Hastings
relation shares border with
type administrative territorial entity
['Hastings', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Hastings property:shares_border_with ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29245
P937
Q502895
USER
Who are an people who works at Hastings ?
(c(Q502895),P937,Q29245)
action filter_type
action find_reverse
entity Q29245
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q29245']
SELECT DISTINCT ?q WHERE { ?q property:P937 resource:Q29245 . ?q rdf:type ontology:Q502895 }
Hastings
action filter_type
action find_reverse
entity Hastings
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Hastings']
SELECT DISTINCT ?q WHERE { ?q property:work_location resource:Hastings . ?q rdf:type ontology:common_name }
[]
common name
Q23978540 Q1815038
SYSTEM
Thomas Smith Cafe, Leigh Kennedy
Q23978540 Q1815038
(c(Q502895),P937,Q29245)
action filter_type
action find_reverse
entity Q29245
relation P937
type Q502895
An people works at Hastings are the [ANSWERS]
[{'concept': 'Q502895'}, 'P937', 'Q29245']
SELECT DISTINCT ?q WHERE { ?q property:P937 resource:Q29245 . ?q rdf:type ontology:Q502895 }
Thomas Smith Cafe Leigh Kennedy
An people works at Hastings are the Thomas Smith Cafe and Leigh Kennedy
Thomas Smith Cafe Leigh Kennedy
action filter_type
action find_reverse
entity Hastings
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Hastings']
SELECT DISTINCT ?q WHERE { ?q property:work_location resource:Hastings . ?q rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23978540
P21
Q290
USER
Which sex does that person possess ?
(Q23978540,P21,c(Q290))
action filter_type
action find
entity Q23978540
relation P21
type Q290
['Q23978540', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q23978540 property:P21 ?h . ?h rdf:type ontology:Q290 }
Thomas Smith Cafe
action filter_type
action find
entity Thomas Smith Cafe
relation gender
type sex
['Thomas Smith Cafe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Thomas_Smith_Cafe property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q1815038
SYSTEM
Did you mean Leigh Kennedy ?
Q23978540 Q1815038
(Q23978540,P21,c(Q290)) (Q1815038,P21,c(Q290))
[ANSWER]
['Q23978540', 'P21', {'concept': 'Q290'}] ['Q1815038', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q23978540 property:P21 ?h . ?h rdf:type ontology:Q290 }
Thomas Smith Cafe Leigh Kennedy
Did you mean Leigh Kennedy ?
Leigh Kennedy
['Thomas Smith Cafe', 'gender', {'concept': 'sex'}] ['Leigh Kennedy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Thomas_Smith_Cafe property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Thomas Smith Cafe. Could you tell me the answer for that?
(Q23978540,P21,c(Q290))
Q23978540
['Q23978540', 'P21', {'concept': 'Q290'}]
['Thomas Smith Cafe', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q23978540,P21,c(Q290))
action filter_type
action find
entity Q23978540
relation P21
type Q290
That person possesses a [ANSWER]
['Q23978540', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q23978540 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Thomas Smith Cafe
relation gender
type sex
['Thomas Smith Cafe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Thomas_Smith_Cafe property:gender ?h . ?h rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q7690058
P21
Q502895
USER
Does Taylor McKenzie have the gender as that sex ?
(Q7690058,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q7690058
relation P21
['Q7690058', 'P21', 'Q6581097']
ASK WHERE { resource:Q7690058 property:P21 resource:Q6581097 }
male Taylor McKenzie
action is_in
entity male
action find
entity Taylor McKenzie
relation gender
['Taylor McKenzie', 'gender', 'male']
ASK WHERE { resource:Taylor_McKenzie property:gender resource:male }
[]
common name
SYSTEM
YES
(Q7690058,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q7690058
relation P21
[ANSWER]
['Q7690058', 'P21', 'Q6581097']
ASK WHERE { resource:Q7690058 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Taylor McKenzie
relation gender
['Taylor McKenzie', 'gender', 'male']
ASK WHERE { resource:Taylor_McKenzie property:gender resource:male }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11986481 Q1140881
P495
Q15617994
USER
Which administrative territories are the countries of origin of Cromwell or Little Ida ?
OR((Q1140881,P495,c(Q15617994)), (Q11986481,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1140881
relation P495
action find
entity Q11986481
relation P495
type Q15617994
{'OR': [['Q1140881', 'P495', {'concept': 'Q15617994'}], ['Q11986481', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1140881 property:P495 ?f } UNION { resource:Q11986481 property:P495 ?f } } . ?f rdf:type ontology:Q15617994 }
Little Ida Cromwell
action filter_type
action union
action find
entity Cromwell
relation country of origin
action find
entity Little Ida
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Cromwell', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Little Ida', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Cromwell property:country_of_origin ?f } UNION { resource:Little_Ida property:country_of_origin ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q145 Q30 Q34
SYSTEM
Norway, United Kingdom, United States of America, Sweden
Q20 Q145 Q30 Q34
OR((Q1140881,P495,c(Q15617994)), (Q11986481,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1140881
relation P495
action find
entity Q11986481
relation P495
type Q15617994
[ANSWERS] are the countries of origin of Cromwell or Little Ida
{'OR': [['Q1140881', 'P495', {'concept': 'Q15617994'}], ['Q11986481', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1140881 property:P495 ?f } UNION { resource:Q11986481 property:P495 ?f } } . ?f rdf:type ontology:Q15617994 }
Norway United Kingdom United States of America Sweden
Norway, United Kingdom, United States of America and Sweden are the countries of origin of Cromwell or Little Ida
Norway United Kingdom United States of America Sweden
action filter_type
action union
action find
entity Cromwell
relation country of origin
action find
entity Little Ida
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Cromwell', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Little Ida', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Cromwell property:country_of_origin ?f } UNION { resource:Little_Ida property:country_of_origin ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4323550
P530
Q1048835
USER
Are Novodanylivka known to have diplomatic connections with those administrative territories ?
(Q4323550,P530,Q20) (Q4323550,P530,Q145) (Q4323550,P530,Q30) (Q4323550,P530,Q34)
action is_in
entity prev_answer
action find
entity Q4323550
relation P530
['Q4323550', 'P530', 'Q20'] ['Q4323550', 'P530', 'Q145'] ['Q4323550', 'P530', 'Q30'] ['Q4323550', 'P530', 'Q34']
ASK WHERE { resource:Q4323550 property:P530 ?w . VALUES ( ?w ) { ( resource:Q20 ) ( resource:Q145 ) ( resource:Q30 ) } }
Novodanylivka
action is_in
entity prev_answer
action find
entity Novodanylivka
relation diplomatic relation
['Novodanylivka', 'diplomatic relation', 'Norway'] ['Novodanylivka', 'diplomatic relation', 'United Kingdom'] ['Novodanylivka', 'diplomatic relation', 'United States of America'] ['Novodanylivka', 'diplomatic relation', 'Sweden']
ASK WHERE { resource:Novodanylivka property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:Norway ) ( resource:United_Kingdom ) ( resource:United_States_of_America ) } }
[]
political territorial entity
SYSTEM
NO
(Q4323550,P530,Q20) (Q4323550,P530,Q145) (Q4323550,P530,Q30) (Q4323550,P530,Q34)
action is_in
entity prev_answer
action find
entity Q4323550
relation P530
[ANSWER]
['Q4323550', 'P530', 'Q20'] ['Q4323550', 'P530', 'Q145'] ['Q4323550', 'P530', 'Q30'] ['Q4323550', 'P530', 'Q34']
ASK WHERE { resource:Q4323550 property:P530 ?w . VALUES ( ?w ) { ( resource:Q20 ) ( resource:Q145 ) ( resource:Q30 ) } }
No
action is_in
entity prev_answer
action find
entity Novodanylivka
relation diplomatic relation
['Novodanylivka', 'diplomatic relation', 'Norway'] ['Novodanylivka', 'diplomatic relation', 'United Kingdom'] ['Novodanylivka', 'diplomatic relation', 'United States of America'] ['Novodanylivka', 'diplomatic relation', 'Sweden']
ASK WHERE { resource:Novodanylivka property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:Norway ) ( resource:United_Kingdom ) ( resource:United_States_of_America ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q463313 Q11986481
P161
Q502895
USER
Which people were casted in Little Ida or Romeo + Juliet ?
OR((Q11986481,P161,c(Q502895)), (Q463313,P161,c(Q502895)))
action filter_type
action union
action find
entity Q11986481
relation P161
action find
entity Q463313
relation P161
type Q502895
{'OR': [['Q11986481', 'P161', {'concept': 'Q502895'}], ['Q463313', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?m ) { ( resource:Q463313 ) ( resource:Q11986481 ) } . ?m property:P161 ?r } . ?r rdf:type ontology:Q502895 }
Romeo + Juliet Little Ida
action filter_type
action union
action find
entity Little Ida
relation cast member
action find
entity Romeo + Juliet
relation cast member
type common name
{'OR': [['Little Ida', 'cast member', {'concept': 'common name'}], ['Romeo + Juliet', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?m ) { ( resource:Romeo_+_Juliet ) ( resource:Little_Ida ) } . ?m property:cast_member ?r } . ?r rdf:type ontology:common_name }
[]
common name
Q313545 Q238117 Q447892 Q276525 Q234128 Q270622 Q498420 Q31293 Q553932 Q162554
SYSTEM
Some of them are Brian Dennehy, Christina Pickles, Paul Sorvino, Paul Rudd, Miriam Margolyes, Harriet Sansom Harris, M. Emmet Walsh, Vondie Curtis-Hall, Arne Lindtner Næss, Diane Venora
Q867813 Q1779434 Q2919454 Q238117 Q234128 Q313545 Q310551 Q162554 Q38111 Q4585283 Q274711 Q461238 Q447892 Q11973317 Q355133 Q295233 Q31293 Q4982013 Q217137 Q276525 Q7386721 Q498420 Q553932 Q1189169 Q1171858 Q270622
OR((Q11986481,P161,c(Q502895)), (Q463313,P161,c(Q502895)))
action filter_type
action union
action find
entity Q11986481
relation P161
action find
entity Q463313
relation P161
type Q502895
[ANSWERS] were casted in Little Ida or Romeo + Juliet
{'OR': [['Q11986481', 'P161', {'concept': 'Q502895'}], ['Q463313', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?m ) { ( resource:Q463313 ) ( resource:Q11986481 ) } . ?m property:P161 ?r } . ?r rdf:type ontology:Q502895 }
Claire Danes Lise Fjeldstad Zak Orth Christina Pickles Miriam Margolyes Brian Dennehy Harold Perrineau Diane Venora Leonardo DiCaprio Erik Hivju Minken Fosheim Jesse Bradford Paul Sorvino Gunnar Olram Jamie Kennedy John Leguizamo Vondie Curtis-Hall Anne-Lise Tangstad Pete Postlethwaite Paul Rudd Rønnaug Alten M. Emmet Walsh Arne Lindtner Næss Vincent Laresca Dash Mihok Harriet Sansom Harris
Brian Dennehy, Christina Pickles, Paul Sorvino, Paul Rudd, Miriam Margolyes, Harriet Sansom Harris, M. Emmet Walsh, Vondie Curtis-Hall, Arne Lindtner Næss and Diane Venora were casted in Little Ida or Romeo + Juliet
Brian Dennehy Christina Pickles Paul Sorvino Paul Rudd Miriam Margolyes Harriet Sansom Harris M. Emmet Walsh Vondie Curtis-Hall Arne Lindtner Næss Diane Venora
action filter_type
action union
action find
entity Little Ida
relation cast member
action find
entity Romeo + Juliet
relation cast member
type common name
{'OR': [['Little Ida', 'cast member', {'concept': 'common name'}], ['Romeo + Juliet', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?m ) { ( resource:Romeo_+_Juliet ) ( resource:Little_Ida ) } . ?m property:cast_member ?r } . ?r rdf:type ontology:common_name }
[]