Simple Question (Direct)
Simple Question
Q790071
P344
Q502895
USER
Who is the cinematographer of The Bank Job ?
(Q790071,P344,c(Q502895))
action filter_type
action find
entity Q790071
relation P344
type Q502895
['Q790071', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q790071 property:P344 ?b . ?b rdf:type ontology:Q502895 }
The Bank Job
action filter_type
action find
entity The Bank Job
relation director of photography
type common name
['The Bank Job', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Bank_Job property:director_of_photography ?b . ?b rdf:type ontology:common_name }
[]
common name
Q1273264
SYSTEM
Michael Coulter
Q1273264
(Q790071,P344,c(Q502895))
action filter_type
action find
entity Q790071
relation P344
type Q502895
The cinematographer of The Bank Job is John [ANSWER]
['Q790071', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q790071 property:P344 ?b . ?b rdf:type ontology:Q502895 }
Michael Coulter
The cinematographer of The Bank Job is John Michael Coulter
Michael Coulter
action filter_type
action find
entity The Bank Job
relation director of photography
type common name
['The Bank Job', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Bank_Job property:director_of_photography ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q790071
P57
Q502895
USER
Who was the director of that work of art ?
(Q1273264,P57,c(Q502895))
action filter_type
action find
entity Q790071
relation P57
type Q502895
['Q1273264', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q790071 property:P57 ?i }
The Bank Job
action filter_type
action find
entity The Bank Job
relation director
type common name
['Michael Coulter', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:The_Bank_Job property:director ?i }
[]
common name
Q707755
SYSTEM
Roger Donaldson
Q707755
(Q1273264,P57,c(Q502895))
action filter_type
action find
entity Q790071
relation P57
type Q502895
The director of that work of art was Sir [ANSWER]
['Q1273264', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q790071 property:P57 ?i }
Roger Donaldson
The director of that work of art was Sir Roger Donaldson
Roger Donaldson
action filter_type
action find
entity The Bank Job
relation director
type common name
['Michael Coulter', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:The_Bank_Job property:director ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q707755
P1412
Q34770
USER
Which language does that person speak in ?
(Q707755,P1412,c(Q34770))
action filter_type
action find
entity Q707755
relation P1412
type Q34770
['Q707755', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q34770 . resource:Q707755 property:P1412 ?m }
Roger Donaldson
action filter_type
action find
entity Roger Donaldson
relation languages spoken, written or signed
type language
['Roger Donaldson', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:language . resource:Roger_Donaldson property:languages_spoken,_written_or_signed ?m }
[]
language
Q1860
SYSTEM
English
Q1860
(Q707755,P1412,c(Q34770))
action filter_type
action find
entity Q707755
relation P1412
type Q34770
That person speaks the [ANSWER]
['Q707755', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q34770 . resource:Q707755 property:P1412 ?m }
English
That person speaks the English
English
action filter_type
action find
entity Roger Donaldson
relation languages spoken, written or signed
type language
['Roger Donaldson', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:language . resource:Roger_Donaldson property:languages_spoken,_written_or_signed ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P361
Q5962346
USER
Which classification schemes are that language a part of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?k WHERE { resource:Q1860 property:P361 ?k . ?k rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?k WHERE { resource:English property:part_of ?k . ?k rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
[ANSWERS] are that language a part of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?k WHERE { resource:Q1860 property:P361 ?k . ?k rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Anglic languages and Anglo-Frisian languages are that language a part of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?k WHERE { resource:English property:part_of ?k . ?k rdf:type ontology:classification_scheme }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7190042
Q5962346
USER
And also tell me about Piame language?
(Q7190042,P361,c(Q5962346))
action filter_type
action find
entity Q7190042
relation P361
type Q5962346
['Q7190042', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?g WHERE { resource:Q7190042 property:P361 ?g . ?g rdf:type ontology:Q5962346 }
Piame language
action filter_type
action find
entity Piame language
relation part of
type classification scheme
['Piame language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?g WHERE { resource:Piame_language property:part_of ?g . ?g rdf:type ontology:classification_scheme }
[]
classification scheme
Q3508772
SYSTEM
Sepik languages
Q3508772
(Q7190042,P361,c(Q5962346))
action filter_type
action find
entity Q7190042
relation P361
type Q5962346
[ANSWER]
['Q7190042', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?g WHERE { resource:Q7190042 property:P361 ?g . ?g rdf:type ontology:Q5962346 }
Sepik languages
Sepik languages
action filter_type
action find
entity Piame language
relation part of
type classification scheme
['Piame language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?g WHERE { resource:Piame_language property:part_of ?g . ?g rdf:type ontology:classification_scheme }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13466238 Q1273264
P19
Q56061
USER
Which administrative territories were Michael Coulter or Chris de Graaff born ?
OR((Q1273264,P19,c(Q56061)), (Q13466238,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1273264
relation P19
action find
entity Q13466238
relation P19
type Q56061
{'OR': [['Q1273264', 'P19', {'concept': 'Q56061'}], ['Q13466238', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . { { resource:Q1273264 property:P19 ?m } UNION { resource:Q13466238 property:P19 ?m } } }
Chris de Graaff Michael Coulter
action filter_type
action union
action find
entity Michael Coulter
relation place of birth
action find
entity Chris de Graaff
relation place of birth
type administrative territorial entity
{'OR': [['Michael Coulter', 'place of birth', {'concept': 'administrative territorial entity'}], ['Chris de Graaff', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . { { resource:Michael_Coulter property:place_of_birth ?m } UNION { resource:Chris_de_Graaff property:place_of_birth ?m } } }
[]
administrative territorial entity
Q4093 Q2766547
SYSTEM
Glasgow, 's-Hertogenbosch
Q4093 Q2766547
OR((Q1273264,P19,c(Q56061)), (Q13466238,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1273264
relation P19
action find
entity Q13466238
relation P19
type Q56061
Michael Coulter or Chris de Graaff were born in [ANSWERS]
{'OR': [['Q1273264', 'P19', {'concept': 'Q56061'}], ['Q13466238', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . { { resource:Q1273264 property:P19 ?m } UNION { resource:Q13466238 property:P19 ?m } } }
Glasgow 's-Hertogenbosch
Michael Coulter or Chris de Graaff were born in Glasgow and 's-Hertogenbosch
Glasgow 's-Hertogenbosch
action filter_type
action union
action find
entity Michael Coulter
relation place of birth
action find
entity Chris de Graaff
relation place of birth
type administrative territorial entity
{'OR': [['Michael Coulter', 'place of birth', {'concept': 'administrative territorial entity'}], ['Chris de Graaff', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . { { resource:Michael_Coulter property:place_of_birth ?m } UNION { resource:Chris_de_Graaff property:place_of_birth ?m } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12322017 Q707755
P27
Q1048835
USER
Which political territories do Roger Donaldson or Kjeld Møllgård belong to ?
OR((Q707755,P27,c(Q1048835)), (Q12322017,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q707755
relation P27
action find
entity Q12322017
relation P27
type Q1048835
{'OR': [['Q707755', 'P27', {'concept': 'Q1048835'}], ['Q12322017', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q707755 property:P27 ?f } UNION { resource:Q12322017 property:P27 ?f } } . ?f rdf:type ontology:Q1048835 }
Kjeld Møllgård Roger Donaldson
action filter_type
action union
action find
entity Roger Donaldson
relation country of citizenship
action find
entity Kjeld Møllgård
relation country of citizenship
type political territorial entity
{'OR': [['Roger Donaldson', 'country of citizenship', {'concept': 'political territorial entity'}], ['Kjeld Møllgård', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Roger_Donaldson property:country_of_citizenship ?f } UNION { resource:Kjeld_Møllgård property:country_of_citizenship ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q408 Q35
SYSTEM
New Zealand, Australia, Denmark
Q664 Q408 Q35
OR((Q707755,P27,c(Q1048835)), (Q12322017,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q707755
relation P27
action find
entity Q12322017
relation P27
type Q1048835
Roger Donaldson or Kjeld Møllgård belong to [ANSWERS]
{'OR': [['Q707755', 'P27', {'concept': 'Q1048835'}], ['Q12322017', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q707755 property:P27 ?f } UNION { resource:Q12322017 property:P27 ?f } } . ?f rdf:type ontology:Q1048835 }
New Zealand Australia Denmark
Roger Donaldson or Kjeld Møllgård belong to New Zealand, Australia and Denmark
New Zealand Australia Denmark
action filter_type
action union
action find
entity Roger Donaldson
relation country of citizenship
action find
entity Kjeld Møllgård
relation country of citizenship
type political territorial entity
{'OR': [['Roger Donaldson', 'country of citizenship', {'concept': 'political territorial entity'}], ['Kjeld Møllgård', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Roger_Donaldson property:country_of_citizenship ?f } UNION { resource:Kjeld_Møllgård property:country_of_citizenship ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2021245
P530
Q1048835
USER
Are Cariré known to have diplomatic connections with those ones ?
(Q2021245,P530,Q664) (Q2021245,P530,Q408) (Q2021245,P530,Q35)
action is_in
entity prev_answer
action find
entity Q2021245
relation P530
['Q2021245', 'P530', 'Q664'] ['Q2021245', 'P530', 'Q408'] ['Q2021245', 'P530', 'Q35']
ASK WHERE { resource:Q2021245 property:P530 ?f . VALUES ( ?f ) { ( resource:Q664 ) ( resource:Q408 ) ( resource:Q35 ) } }
Cariré
action is_in
entity prev_answer
action find
entity Cariré
relation diplomatic relation
['Cariré', 'diplomatic relation', 'New Zealand'] ['Cariré', 'diplomatic relation', 'Australia'] ['Cariré', 'diplomatic relation', 'Denmark']
ASK WHERE { resource:Cariré property:diplomatic_relation ?f . VALUES ( ?f ) { ( resource:New_Zealand ) ( resource:Australia ) ( resource:Denmark ) } }
[]
political territorial entity
SYSTEM
NO
(Q2021245,P530,Q664) (Q2021245,P530,Q408) (Q2021245,P530,Q35)
action is_in
entity prev_answer
action find
entity Q2021245
relation P530
[ANSWER]
['Q2021245', 'P530', 'Q664'] ['Q2021245', 'P530', 'Q408'] ['Q2021245', 'P530', 'Q35']
ASK WHERE { resource:Q2021245 property:P530 ?f . VALUES ( ?f ) { ( resource:Q664 ) ( resource:Q408 ) ( resource:Q35 ) } }
No
action is_in
entity prev_answer
action find
entity Cariré
relation diplomatic relation
['Cariré', 'diplomatic relation', 'New Zealand'] ['Cariré', 'diplomatic relation', 'Australia'] ['Cariré', 'diplomatic relation', 'Denmark']
ASK WHERE { resource:Cariré property:diplomatic_relation ?f . VALUES ( ?f ) { ( resource:New_Zealand ) ( resource:Australia ) ( resource:Denmark ) } }
[]