Simple Question (Direct)
Simple Question
Q2832397
P175
Q502895
USER
What were presented by Alec Trevelyan ?
(Q2832397,P175,c(Q502895))
action filter_type
action find
entity Q2832397
relation P175
type Q502895
['Q2832397', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q2832397 property:P175 ?p . ?p rdf:type ontology:Q502895 }
Alec Trevelyan
action filter_type
action find
entity Alec Trevelyan
relation performer
type common name
['Alec Trevelyan', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Alec_Trevelyan property:performer ?p . ?p rdf:type ontology:common_name }
[]
common name
Q966282 Q191104
SYSTEM
Elliot Cowan, Sean Bean
Q966282 Q191104
(Q2832397,P175,c(Q502895))
action filter_type
action find
entity Q2832397
relation P175
type Q502895
The [ANSWERS] were presented by Alec Trevelyan
['Q2832397', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q2832397 property:P175 ?p . ?p rdf:type ontology:Q502895 }
Elliot Cowan Sean Bean
The Elliot Cowan and Sean Bean were presented by Alec Trevelyan
Elliot Cowan Sean Bean
action filter_type
action find
entity Alec Trevelyan
relation performer
type common name
['Alec Trevelyan', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Alec_Trevelyan property:performer ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q191104
P1346
Q618779
USER
Which awards were Sean Bean decalred as a victor of ?
(c(Q618779),P1346,Q191104)
action filter_type
action find_reverse
entity Q191104
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q191104']
SELECT DISTINCT ?z WHERE { ?z property:P1346 resource:Q191104 . ?z rdf:type ontology:Q618779 }
Sean Bean
action filter_type
action find_reverse
entity Sean Bean
relation winner
type award
[{'concept': 'award'}, 'winner', 'Sean Bean']
SELECT DISTINCT ?z WHERE { ?z property:winner resource:Sean_Bean . ?z rdf:type ontology:award }
[]
award
Q518675 Q922396
SYSTEM
Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture, Broadcast Film Critics Association Award for Best Cast
Q518675 Q922396
(c(Q618779),P1346,Q191104)
action filter_type
action find_reverse
entity Q191104
relation P1346
type Q618779
Sean Bean were decalred as a victor of the [ANSWERS]
[{'concept': 'Q618779'}, 'P1346', 'Q191104']
SELECT DISTINCT ?z WHERE { ?z property:P1346 resource:Q191104 . ?z rdf:type ontology:Q618779 }
Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture Broadcast Film Critics Association Award for Best Cast
Sean Bean were decalred as a victor of the Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture and Broadcast Film Critics Association Award for Best Cast
Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture Broadcast Film Critics Association Award for Best Cast
action filter_type
action find_reverse
entity Sean Bean
relation winner
type award
[{'concept': 'award'}, 'winner', 'Sean Bean']
SELECT DISTINCT ?z WHERE { ?z property:winner resource:Sean_Bean . ?z rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2832397
P108
Q6619679
USER
What are the name of fictional humanoids who works for Alec Trevelyan ?
(c(Q6619679),P108,Q2832397)
action filter_type
action find_reverse
entity Q2832397
relation P108
type Q6619679
[{'concept': 'Q6619679'}, 'P108', 'Q2832397']
SELECT DISTINCT ?s WHERE { ?s property:P108 resource:Q2832397 . ?s rdf:type ontology:Q6619679 }
Alec Trevelyan
action filter_type
action find_reverse
entity Alec Trevelyan
relation employer
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'employer', 'Alec Trevelyan']
SELECT DISTINCT ?s WHERE { ?s property:employer resource:Alec_Trevelyan . ?s rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q2461109 Q18238849
SYSTEM
General Ourumov, Boris Grishenko
Q2461109 Q18238849
(c(Q6619679),P108,Q2832397)
action filter_type
action find_reverse
entity Q2832397
relation P108
type Q6619679
The name of fictional humanoids works for Alec Trevelyan are the [ANSWERS]
[{'concept': 'Q6619679'}, 'P108', 'Q2832397']
SELECT DISTINCT ?s WHERE { ?s property:P108 resource:Q2832397 . ?s rdf:type ontology:Q6619679 }
General Ourumov Boris Grishenko
The name of fictional humanoids works for Alec Trevelyan are the General Ourumov and Boris Grishenko
General Ourumov Boris Grishenko
action filter_type
action find_reverse
entity Alec Trevelyan
relation employer
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'employer', 'Alec Trevelyan']
SELECT DISTINCT ?s WHERE { ?s property:employer resource:Alec_Trevelyan . ?s rdf:type ontology:fictional_humanoid }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2461109 Q18238849
P106
Q12737077
USER
Which occupations have General Ourumov and Boris Grishenko as his/her 's career ?
(Q2461109,P106,c(Q12737077)) (Q18238849,P106,c(Q12737077))
action union
action filter_type
action find
entity Q2461109
relation P106
type Q12737077
action filter_type
action find
entity Q18238849
relation P106
type Q12737077
['Q2461109', 'P106', {'concept': 'Q12737077'}] ['Q18238849', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { resource:Q2461109 property:P106 ?r . ?r rdf:type ontology:Q12737077 } UNION { resource:Q18238849 property:P106 ?r . ?r rdf:type ontology:Q12737077 } }
General Ourumov Boris Grishenko
action union
action filter_type
action find
entity General Ourumov
relation occupation
type occupation
action filter_type
action find
entity Boris Grishenko
relation occupation
type occupation
['General Ourumov', 'occupation', {'concept': 'occupation'}] ['Boris Grishenko', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { resource:General_Ourumov property:occupation ?r . ?r rdf:type ontology:occupation } UNION { resource:Boris_Grishenko property:occupation ?r . ?r rdf:type ontology:occupation } }
[]
occupation
Q4991371 Q5482740
SYSTEM
soldier, programmer
Q4991371 Q5482740
(Q2461109,P106,c(Q12737077)) (Q18238849,P106,c(Q12737077))
action union
action filter_type
action find
entity Q2461109
relation P106
type Q12737077
action filter_type
action find
entity Q18238849
relation P106
type Q12737077
The [ANSWERS] have General Ourumov and Boris Grishenko as his/her 's career
['Q2461109', 'P106', {'concept': 'Q12737077'}] ['Q18238849', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { resource:Q2461109 property:P106 ?r . ?r rdf:type ontology:Q12737077 } UNION { resource:Q18238849 property:P106 ?r . ?r rdf:type ontology:Q12737077 } }
soldier programmer
The soldier and programmer have General Ourumov and Boris Grishenko as his/her 's career
soldier programmer
action union
action filter_type
action find
entity General Ourumov
relation occupation
type occupation
action filter_type
action find
entity Boris Grishenko
relation occupation
type occupation
['General Ourumov', 'occupation', {'concept': 'occupation'}] ['Boris Grishenko', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { resource:General_Ourumov property:occupation ?r . ?r rdf:type ontology:occupation } UNION { resource:Boris_Grishenko property:occupation ?r . ?r rdf:type ontology:occupation } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4991371
P417
Q502895
USER
What are the names of the patron saint of that occupation ?
(Q4991371,P417,c(Q502895))
action filter_type
action find
entity Q4991371
relation P417
type Q502895
['Q4991371', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q4991371 property:P417 ?s }
soldier
action filter_type
action find
entity soldier
relation patron saint
type common name
['soldier', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:soldier property:patron_saint ?s }
[]
common name
Clarification for simple ques.
Q4991371
SYSTEM
Did you mean soldier ?
Q4991371 Q5482740
(Q4991371,P417,c(Q502895)) (Q5482740,P417,c(Q502895))
[ANSWER]
['Q4991371', 'P417', {'concept': 'Q502895'}] ['Q5482740', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q4991371 property:P417 ?s }
soldier programmer
Did you mean soldier ?
soldier
['soldier', 'patron saint', {'concept': 'common name'}] ['programmer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:soldier property:patron_saint ?s }
[]
Simple Question (Coreferenced)
USER
Yes
(Q4991371,P417,c(Q502895))
['Q4991371', 'P417', {'concept': 'Q502895'}]
['soldier', 'patron saint', {'concept': 'common name'}]
[]
Q48438 Q192816 Q44281
SYSTEM
Saint George, Saint Barbara, Ignatius of Loyola
Q48438 Q192816 Q44281
(Q4991371,P417,c(Q502895))
action filter_type
action find
entity Q4991371
relation P417
type Q502895
The names of the patron saint of that occupation are [ANSWERS]
['Q4991371', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q4991371 property:P417 ?s }
Saint George Saint Barbara Ignatius of Loyola
The names of the patron saint of that occupation are Saint George, Saint Barbara and Ignatius of Loyola
Saint George Saint Barbara Ignatius of Loyola
action filter_type
action find
entity soldier
relation patron saint
type common name
['soldier', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:soldier property:patron_saint ?s }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q9073 Q18238849
P47 P27
Q15617994
USER
Which administrative territories are the native countriesof Boris Grishenko or are adjacent to Bosconero ?
OR((Q18238849,P27,c(Q15617994)), (Q9073,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q18238849
relation P27
action find
entity Q9073
relation P47
type Q15617994
{'OR': [['Q18238849', 'P27', {'concept': 'Q15617994'}], ['Q9073', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q18238849 property:P27 ?y } UNION { resource:Q9073 property:P47 ?y } } . ?y rdf:type ontology:Q15617994 }
Bosconero Boris Grishenko
action filter_type
action union
action find
entity Boris Grishenko
relation country of citizenship
action find
entity Bosconero
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Boris Grishenko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bosconero', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Boris_Grishenko property:country_of_citizenship ?y } UNION { resource:Bosconero property:shares_border_with ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q10272 Q159 Q9360 Q9346 Q9431 Q10226 Q10256
SYSTEM
San Giusto Canavese, Russia, Foglizzo, Feletto, Lombardore, Rivarolo Canavese, San Benigno Canavese
Q10272 Q159 Q9360 Q9346 Q9431 Q10226 Q10256
OR((Q18238849,P27,c(Q15617994)), (Q9073,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q18238849
relation P27
action find
entity Q9073
relation P47
type Q15617994
[ANSWERS] are the native countriesof Boris Grishenko or are adjacent to Bosconero
{'OR': [['Q18238849', 'P27', {'concept': 'Q15617994'}], ['Q9073', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q18238849 property:P27 ?y } UNION { resource:Q9073 property:P47 ?y } } . ?y rdf:type ontology:Q15617994 }
San Giusto Canavese Russia Foglizzo Feletto Lombardore Rivarolo Canavese San Benigno Canavese
San Giusto Canavese, Russia, Foglizzo, Feletto, Lombardore, Rivarolo Canavese and San Benigno Canavese are the native countriesof Boris Grishenko or are adjacent to Bosconero
San Giusto Canavese Russia Foglizzo Feletto Lombardore Rivarolo Canavese San Benigno Canavese
action filter_type
action union
action find
entity Boris Grishenko
relation country of citizenship
action find
entity Bosconero
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Boris Grishenko', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bosconero', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Boris_Grishenko property:country_of_citizenship ?y } UNION { resource:Bosconero property:shares_border_with ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]