Simple Question (Direct)
Simple Question
Q1707314
P69
Q1055028
USER
Which college of the University of Cambridge is Joseph Jackson Lister an alumni of ?
(Q1707314,P69,c(Q1055028))
action filter_type
action find
entity Q1707314
relation P69
type Q1055028
['Q1707314', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1055028 . resource:Q1707314 property:P69 ?p }
Joseph Jackson Lister
action filter_type
action find
entity Joseph Jackson Lister
relation educated at
type college of the University of Cambridge
['Joseph Jackson Lister', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:college_of_the_University_of_Cambridge . resource:Joseph_Jackson_Lister property:educated_at ?p }
[]
college of the University of Cambridge
Q691283
SYSTEM
St John's College
Q691283
(Q1707314,P69,c(Q1055028))
action filter_type
action find
entity Q1707314
relation P69
type Q1055028
[ANSWER] is Joseph Jackson Lister an alumni of
['Q1707314', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1055028 . resource:Q1707314 property:P69 ?p }
St John's College
St John's College is Joseph Jackson Lister an alumni of
St John's College
action filter_type
action find
entity Joseph Jackson Lister
relation educated at
type college of the University of Cambridge
['Joseph Jackson Lister', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:college_of_the_University_of_Cambridge . resource:Joseph_Jackson_Lister property:educated_at ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1707314
P166
Q24016972
USER
Which type of distinction was that person awarded with ?
(Q691283,P166,c(Q24016972))
action filter_type
action find
entity Q1707314
relation P166
type Q24016972
['Q691283', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q24016972 . resource:Q1707314 property:P166 ?x }
Joseph Jackson Lister
action filter_type
action find
entity Joseph Jackson Lister
relation award received
type type of distinction
["St John's College", 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:type_of_distinction . resource:Joseph_Jackson_Lister property:award_received ?x }
[]
type of distinction
Q15631401
SYSTEM
Fellow of the Royal Society
Q15631401
(Q691283,P166,c(Q24016972))
action filter_type
action find
entity Q1707314
relation P166
type Q24016972
That person was awarded a [ANSWER]
['Q691283', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q24016972 . resource:Q1707314 property:P166 ?x }
Fellow of the Royal Society
That person was awarded a Fellow of the Royal Society
Fellow of the Royal Society
action filter_type
action find
entity Joseph Jackson Lister
relation award received
type type of distinction
["St John's College", 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:type_of_distinction . resource:Joseph_Jackson_Lister property:award_received ?x }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3725781 Q1707314
P27
Q15617994
USER
Which administrative territories are Joseph Jackson Lister or Enrico Ganni a civilian of ?
OR((Q1707314,P27,c(Q15617994)), (Q3725781,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1707314
relation P27
action find
entity Q3725781
relation P27
type Q15617994
{'OR': [['Q1707314', 'P27', {'concept': 'Q15617994'}], ['Q3725781', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { ?o property:P27 ?f . VALUES ( ?o ) { ( resource:Q1707314 ) ( resource:Q3725781 ) } } . ?f rdf:type ontology:Q15617994 }
Enrico Ganni Joseph Jackson Lister
action filter_type
action union
action find
entity Joseph Jackson Lister
relation country of citizenship
action find
entity Enrico Ganni
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Joseph Jackson Lister', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Enrico Ganni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { ?o property:country_of_citizenship ?f . VALUES ( ?o ) { ( resource:Joseph_Jackson_Lister ) ( resource:Enrico_Ganni ) } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q145
SYSTEM
Italy, United Kingdom
Q38 Q145
OR((Q1707314,P27,c(Q15617994)), (Q3725781,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1707314
relation P27
action find
entity Q3725781
relation P27
type Q15617994
[ANSWERS] are Joseph Jackson Lister or Enrico Ganni a civilian of
{'OR': [['Q1707314', 'P27', {'concept': 'Q15617994'}], ['Q3725781', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { ?o property:P27 ?f . VALUES ( ?o ) { ( resource:Q1707314 ) ( resource:Q3725781 ) } } . ?f rdf:type ontology:Q15617994 }
Italy United Kingdom
Italy and United Kingdom are Joseph Jackson Lister or Enrico Ganni a civilian of
Italy United Kingdom
action filter_type
action union
action find
entity Joseph Jackson Lister
relation country of citizenship
action find
entity Enrico Ganni
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Joseph Jackson Lister', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Enrico Ganni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { ?o property:country_of_citizenship ?f . VALUES ( ?o ) { ( resource:Joseph_Jackson_Lister ) ( resource:Enrico_Ganni ) } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3148518
P495
Q838948
USER
Do The Stone Merchant have those administrative territories as their place of origin ?
(Q3148518,P495,Q38) (Q3148518,P495,Q145)
action is_in
entity prev_answer
action find
entity Q3148518
relation P495
['Q3148518', 'P495', 'Q38'] ['Q3148518', 'P495', 'Q145']
ASK WHERE { resource:Q3148518 property:P495 ?b . VALUES ( ?b ) { ( resource:Q38 ) ( resource:Q145 ) } }
The Stone Merchant
action is_in
entity prev_answer
action find
entity The Stone Merchant
relation country of origin
['The Stone Merchant', 'country of origin', 'Italy'] ['The Stone Merchant', 'country of origin', 'United Kingdom']
ASK WHERE { resource:The_Stone_Merchant property:country_of_origin ?b . VALUES ( ?b ) { ( resource:Italy ) ( resource:United_Kingdom ) } }
[]
work of art
SYSTEM
YES
(Q3148518,P495,Q38) (Q3148518,P495,Q145)
action is_in
entity prev_answer
action find
entity Q3148518
relation P495
[ANSWER]
['Q3148518', 'P495', 'Q38'] ['Q3148518', 'P495', 'Q145']
ASK WHERE { resource:Q3148518 property:P495 ?b . VALUES ( ?b ) { ( resource:Q38 ) ( resource:Q145 ) } }
Yes
action is_in
entity prev_answer
action find
entity The Stone Merchant
relation country of origin
['The Stone Merchant', 'country of origin', 'Italy'] ['The Stone Merchant', 'country of origin', 'United Kingdom']
ASK WHERE { resource:The_Stone_Merchant property:country_of_origin ?b . VALUES ( ?b ) { ( resource:Italy ) ( resource:United_Kingdom ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3725781
P106
Q12737077
USER
What does Enrico Ganni do for a living ?
(Q3725781,P106,c(Q12737077))
action filter_type
action find
entity Q3725781
relation P106
type Q12737077
['Q3725781', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q3725781 property:P106 ?p }
Enrico Ganni
action filter_type
action find
entity Enrico Ganni
relation occupation
type occupation
['Enrico Ganni', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Enrico_Ganni property:occupation ?p }
[]
occupation
Q333634
SYSTEM
translator
Q333634
(Q3725781,P106,c(Q12737077))
action filter_type
action find
entity Q3725781
relation P106
type Q12737077
Enrico Ganni does for a living as [ANSWER]
['Q3725781', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q3725781 property:P106 ?p }
translator
Enrico Ganni does for a living as translator
translator
action filter_type
action find
entity Enrico Ganni
relation occupation
type occupation
['Enrico Ganni', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Enrico_Ganni property:occupation ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6108391
Q12737077
USER
And also tell me about Ricardo Ortiz de Zevallos y Tagle?
(Q6108391,P106,c(Q12737077))
action filter_type
action find
entity Q6108391
relation P106
type Q12737077
['Q6108391', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q6108391 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Ricardo Ortiz de Zevallos y Tagle
action filter_type
action find
entity Ricardo Ortiz de Zevallos y Tagle
relation occupation
type occupation
['Ricardo Ortiz de Zevallos y Tagle', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Ricardo_Ortiz_de_Zevallos_y_Tagle property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q6108391,P106,c(Q12737077))
action filter_type
action find
entity Q6108391
relation P106
type Q12737077
[ANSWER]
['Q6108391', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q6108391 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity Ricardo Ortiz de Zevallos y Tagle
relation occupation
type occupation
['Ricardo Ortiz de Zevallos y Tagle', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Ricardo_Ortiz_de_Zevallos_y_Tagle property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q82955 Q6129223
P106
Q502895
USER
Does James Bagnall have a job as that occupation ?
(Q6129223,P106,Q82955)
action is_in
entity Q6129223
action find
entity Q82955
relation P106
['Q6129223', 'P106', 'Q82955']
ASK WHERE { resource:Q82955 property:P106 resource:Q6129223 }
politician James Bagnall
action is_in
entity James Bagnall
action find
entity politician
relation occupation
['James Bagnall', 'occupation', 'politician']
ASK WHERE { resource:politician property:occupation resource:James_Bagnall }
[]
common name
SYSTEM
NO
(Q6129223,P106,Q82955)
action is_in
entity Q6129223
action find
entity Q82955
relation P106
[ANSWER]
['Q6129223', 'P106', 'Q82955']
ASK WHERE { resource:Q82955 property:P106 resource:Q6129223 }
No
action is_in
entity James Bagnall
action find
entity politician
relation occupation
['James Bagnall', 'occupation', 'politician']
ASK WHERE { resource:politician property:occupation resource:James_Bagnall }
[]