Simple Question (Direct)
Simple Question
Q7290116
P21
Q290
USER
Which sex does Ramsay Anderson belong to ?
(Q7290116,P21,c(Q290))
action filter_type
action find
entity Q7290116
relation P21
type Q290
['Q7290116', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q7290116 property:P21 ?a . ?a rdf:type ontology:Q290 }
Ramsay Anderson
action filter_type
action find
entity Ramsay Anderson
relation gender
type sex
['Ramsay Anderson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Ramsay_Anderson property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7290116,P21,c(Q290))
action filter_type
action find
entity Q7290116
relation P21
type Q290
Ramsay Anderson belongs to [ANSWER]
['Q7290116', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q7290116 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Ramsay Anderson belongs to male
male
action filter_type
action find
entity Ramsay Anderson
relation gender
type sex
['Ramsay Anderson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Ramsay_Anderson property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7290116
P19
Q56061
USER
Where was that person born ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q7290116
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q7290116 property:P19 ?w }
Ramsay Anderson
action filter_type
action find
entity Ramsay Anderson
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Ramsay_Anderson property:place_of_birth ?w }
[]
administrative territorial entity
Q23436
SYSTEM
Edinburgh
Q23436
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q7290116
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q7290116 property:P19 ?w }
Edinburgh
That person was born in Edinburgh
Edinburgh
action filter_type
action find
entity Ramsay Anderson
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Ramsay_Anderson property:place_of_birth ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23436
P551
Q502895
USER
Which people have residence at that administrative territory ?
(c(Q502895),P551,Q23436)
action filter_type
action find_reverse
entity Q23436
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q23436']
SELECT DISTINCT ?c WHERE { ?c property:P551 resource:Q23436 . ?c rdf:type ontology:Q502895 }
Edinburgh
action filter_type
action find_reverse
entity Edinburgh
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Edinburgh']
SELECT DISTINCT ?c WHERE { ?c property:residence resource:Edinburgh . ?c rdf:type ontology:common_name }
[]
common name
Q4573 Q364901 Q16888398
SYSTEM
Sean Connery, Alexander McCall Smith, Mary Ann Paton
Q450298 Q5770736 Q272622 Q2915480 Q511948 Q6530643 Q24249593 Q4573 Q6369944 Q364901 Q16888398 Q177194 Q21546729 Q7172391
(c(Q502895),P551,Q23436)
action filter_type
action find_reverse
entity Q23436
relation P551
type Q502895
[ANSWERS] have residence at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q23436']
SELECT DISTINCT ?c WHERE { ?c property:P551 resource:Q23436 . ?c rdf:type ontology:Q502895 }
Alyn Smith William Gregory Kate Atkinson Sophia Dussek Marsha Hunt Leslie Benzies William Banks Sean Connery Karen Paterson Alexander McCall Smith Mary Ann Paton James Paterson William James Miller Peter, 5th Count de Salis-Soglio
Sean Connery, Alexander McCall Smith and Mary Ann Paton have residence at that administrative territory
Sean Connery Alexander McCall Smith Mary Ann Paton
action filter_type
action find_reverse
entity Edinburgh
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Edinburgh']
SELECT DISTINCT ?c WHERE { ?c property:residence resource:Edinburgh . ?c rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4573
P26
Q502895
USER
Which people are married to that one ?
(Q4573,P26,c(Q502895))
action filter_type
action find
entity Q4573
relation P26
type Q502895
['Q4573', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q4573 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Sean Connery
action filter_type
action find
entity Sean Connery
relation spouse
type common name
['Sean Connery', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Sean_Connery property:spouse ?c . ?c rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q16888398
SYSTEM
Did you mean Mary Ann Paton ?
Q4573 Q364901 Q16888398
(Q4573,P26,c(Q502895)) (Q364901,P26,c(Q502895)) (Q16888398,P26,c(Q502895))
[ANSWER]
['Q4573', 'P26', {'concept': 'Q502895'}] ['Q364901', 'P26', {'concept': 'Q502895'}] ['Q16888398', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q4573 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Sean Connery Alexander McCall Smith Mary Ann Paton
Did you mean Mary Ann Paton ?
Mary Ann Paton
['Sean Connery', 'spouse', {'concept': 'common name'}] ['Alexander McCall Smith', 'spouse', {'concept': 'common name'}] ['Mary Ann Paton', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Sean_Connery property:spouse ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Sean Connery. Could you tell me the answer for that?
(Q4573,P26,c(Q502895))
Q4573
['Q4573', 'P26', {'concept': 'Q502895'}]
['Sean Connery', 'spouse', {'concept': 'common name'}]
[]
Q27431355 Q238871
SYSTEM
Micheline Roquebrune, Diane Cilento
Q27431355 Q238871
(Q4573,P26,c(Q502895))
action filter_type
action find
entity Q4573
relation P26
type Q502895
[ANSWERS] are married to that one
['Q4573', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q4573 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Micheline Roquebrune Diane Cilento
Micheline Roquebrune and Diane Cilento are married to that one
Micheline Roquebrune Diane Cilento
action filter_type
action find
entity Sean Connery
relation spouse
type common name
['Sean Connery', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Sean_Connery property:spouse ?c . ?c rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4573
P26
Q502895
USER
Are Sean Connery the life partner of those ones ?
(Q4573,P26,Q27431355) (Q4573,P26,Q238871)
action is_in
entity prev_answer
action find
entity Q4573
relation P26
['Q4573', 'P26', 'Q27431355'] ['Q4573', 'P26', 'Q238871']
ASK WHERE { resource:Q4573 property:P26 ?m . VALUES ( ?m ) { ( resource:Q27431355 ) ( resource:Q238871 ) } }
Sean Connery
action is_in
entity prev_answer
action find
entity Sean Connery
relation spouse
['Sean Connery', 'spouse', 'Micheline Roquebrune'] ['Sean Connery', 'spouse', 'Diane Cilento']
ASK WHERE { resource:Sean_Connery property:spouse ?m . VALUES ( ?m ) { ( resource:Micheline_Roquebrune ) ( resource:Diane_Cilento ) } }
[]
common name
SYSTEM
YES
(Q4573,P26,Q27431355) (Q4573,P26,Q238871)
action is_in
entity prev_answer
action find
entity Q4573
relation P26
[ANSWER]
['Q4573', 'P26', 'Q27431355'] ['Q4573', 'P26', 'Q238871']
ASK WHERE { resource:Q4573 property:P26 ?m . VALUES ( ?m ) { ( resource:Q27431355 ) ( resource:Q238871 ) } }
Yes
action is_in
entity prev_answer
action find
entity Sean Connery
relation spouse
['Sean Connery', 'spouse', 'Micheline Roquebrune'] ['Sean Connery', 'spouse', 'Diane Cilento']
ASK WHERE { resource:Sean_Connery property:spouse ?m . VALUES ( ?m ) { ( resource:Micheline_Roquebrune ) ( resource:Diane_Cilento ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4573
P161
Q838948
USER
Which works of art do Sean Connery star in ?
(c(Q838948),P161,Q4573)
action filter_type
action find_reverse
entity Q4573
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q4573']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q838948 . ?n property:P161 resource:Q4573 }
Sean Connery
action filter_type
action find_reverse
entity Sean Connery
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sean Connery']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:work_of_art . ?n property:cast_member resource:Sean_Connery }
[]
work of art
Q468484 Q106571 Q106440
SYSTEM
The Longest Day, From Russia with Love, Goldfinger
Q1426984 Q102754 Q1659511 Q129895 Q2714901 Q296732 Q2037780 Q107724 Q7091354 Q1384594 Q333971 Q1198096 Q185658 Q2476250 Q467053 Q2039391 Q330612 Q4352302 Q147845 Q567577 Q4656758 Q2625085 Q1753894 Q1115213 Q2366200 Q1423767 Q1756022 Q1192193 Q1756571 Q2574700 Q156539 Q1920111 Q1168073 Q106440 Q468484 Q7805033 Q155018 Q1217573 Q494985 Q1140439 Q507994 Q1263875 Q1028499 Q485841 Q2247896 Q617874 Q3241699 Q216720 Q20002144 Q586154 Q107914 Q633614 Q3563361 Q300423 Q3190085 Q1042931 Q1426318 Q108525 Q239794 Q930071 Q180279 Q1529877 Q546471 Q486822 Q7526129 Q106571 Q1395374 Q578873 Q1632217 Q771408 Q107761 Q2704636
(c(Q838948),P161,Q4573)
action filter_type
action find_reverse
entity Q4573
relation P161
type Q838948
Sean Connery star [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q4573']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q838948 . ?n property:P161 resource:Q4573 }
Wrong Is Right Dr. No Just Cause Marnie The Red Tent The Next Man The Offence Thunderball On the Fiddle Cuba First Knight The Wind and the Lion Indiana Jones and the Last Crusade No Road Back A Bridge Too Far The Frightened City Dragonheart Action of the Tiger Zardoz The League of Extraordinary Gentlemen A Fine Madness Five Days One Summer Shalako G'olé! Ransom Playing by Heart The Presidio The Anderson Tapes Un monde nouveau Tarzan's Greatest Adventure Highlander Memories of Me Darby O'Gill and the Little People Goldfinger The Longest Day Time Lock The Name of the Rose Rising Sun The Avengers Finding Forrester The Hunt for Red October Hell Drivers Sword of the Valiant Woman of Straw The Molly Maguires The Hill Murder on the Orient Express The Rock Macbeth The Russia House Diamonds Are Forever A Night to Remember Lilacs in the Spring A Good Man in Africa Junket Whore The Man Who Would Be King Time Bandits The Untouchables Outland Robin and Marian Never Say Never Again Meteor The First Great Train Robbery Robin Hood: Prince of Thieves Sir Billi From Russia with Love Family Business Entrapment Medicine Man Highlander II: The Quickening You Only Live Twice Another Time, Another Place
Sean Connery star The Longest Day, From Russia with Love and Goldfinger
The Longest Day From Russia with Love Goldfinger
action filter_type
action find_reverse
entity Sean Connery
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sean Connery']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:work_of_art . ?n property:cast_member resource:Sean_Connery }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q468484 Q106571 Q106440
P495
Q15617994
USER
Where did those works of art originate ?
(Q468484,P495,c(Q15617994)) (Q106571,P495,c(Q15617994)) (Q106440,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
['Q468484', 'P495', {'concept': 'Q15617994'}] ['Q106571', 'P495', {'concept': 'Q15617994'}] ['Q106440', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . ?l property:P495 ?w . VALUES ( ?l ) { ( resource:Q1426984 ) ( resource:Q102754 ) ( resource:Q1659511 ) } }
The Longest Day From Russia with Love Goldfinger
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['The Longest Day', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['From Russia with Love', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Goldfinger', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:country_of_origin ?w . VALUES ( ?l ) { ( resource:Wrong_Is_Right ) ( resource:Dr._No ) ( resource:Just_Cause ) } }
[]
designation for an administrative territorial entity
Q30 Q30 Q145
SYSTEM
United States of America for 1st, 2nd, United Kingdom for 3rd
Q30 Q145 Q30 Q145
(Q468484,P495,c(Q15617994)) (Q106571,P495,c(Q15617994)) (Q106440,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
[ANSWERS]
['Q468484', 'P495', {'concept': 'Q15617994'}] ['Q106571', 'P495', {'concept': 'Q15617994'}] ['Q106440', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . ?l property:P495 ?w . VALUES ( ?l ) { ( resource:Q1426984 ) ( resource:Q102754 ) ( resource:Q1659511 ) } }
United States of America United Kingdom United States of America United Kingdom
Those works of art originated the United States of America, United States of America and United Kingdom
United States of America United States of America United Kingdom
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['The Longest Day', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['From Russia with Love', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Goldfinger', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:country_of_origin ?w . VALUES ( ?l ) { ( resource:Wrong_Is_Right ) ( resource:Dr._No ) ( resource:Just_Cause ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q468484
P57
Q502895
USER
Who were that work of art directed by ?
(Q468484,P57,c(Q502895))
action filter_type
action find
entity Q468484
relation P57
type Q502895
['Q468484', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q468484 property:P57 ?w }
The Longest Day
action filter_type
action find
entity The Longest Day
relation director
type common name
['The Longest Day', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:The_Longest_Day property:director ?w }
[]
common name
Clarification for simple ques.
Q468484
SYSTEM
Did you mean The Longest Day ?
Q30 Q30 Q145
(Q30,P57,c(Q502895)) (Q30,P57,c(Q502895)) (Q145,P57,c(Q502895))
[ANSWER]
['Q30', 'P57', {'concept': 'Q502895'}] ['Q30', 'P57', {'concept': 'Q502895'}] ['Q145', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q468484 property:P57 ?w }
United States of America United States of America United Kingdom
Did you mean The Longest Day ?
The Longest Day
['United States of America', 'director', {'concept': 'common name'}] ['United States of America', 'director', {'concept': 'common name'}] ['United Kingdom', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:The_Longest_Day property:director ?w }
[]
Simple Question (Coreferenced)
USER
Yes
(Q468484,P57,c(Q502895))
['Q468484', 'P57', {'concept': 'Q502895'}]
['The Longest Day', 'director', {'concept': 'common name'}]
[]
Q364342 Q78924 Q316957
SYSTEM
Darryl F. Zanuck, Bernhard Wicki, Gerd Oswald
Q364342 Q78924 Q470818 Q316957 Q506183
(Q468484,P57,c(Q502895))
action filter_type
action find
entity Q468484
relation P57
type Q502895
By that work of art directed were by [ANSWERS]
['Q468484', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q468484 property:P57 ?w }
Darryl F. Zanuck Bernhard Wicki Ken Annakin Gerd Oswald Andrew Marton
By that work of art directed were by Darryl F. Zanuck, Bernhard Wicki and Gerd Oswald
Darryl F. Zanuck Bernhard Wicki Gerd Oswald
action filter_type
action find
entity The Longest Day
relation director
type common name
['The Longest Day', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:The_Longest_Day property:director ?w }
[]
Clarification
Simple Question|Single Entity|Indirect
Q78924
P734
Q82799
USER
Who has the surname that person ?
(Q78924,P734,c(Q82799))
action filter_type
action find
entity Q78924
relation P734
type Q82799
['Q78924', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q78924 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Bernhard Wicki
action filter_type
action find
entity Bernhard Wicki
relation family name
type name
['Bernhard Wicki', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Bernhard_Wicki property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q316957
SYSTEM
Did you mean Gerd Oswald ?
Q364342 Q78924 Q316957
(Q364342,P734,c(Q82799)) (Q78924,P734,c(Q82799)) (Q316957,P734,c(Q82799))
[ANSWER]
['Q364342', 'P734', {'concept': 'Q82799'}] ['Q78924', 'P734', {'concept': 'Q82799'}] ['Q316957', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q78924 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Darryl F. Zanuck Bernhard Wicki Gerd Oswald
Did you mean Gerd Oswald ?
Gerd Oswald
['Darryl F. Zanuck', 'family name', {'concept': 'name'}] ['Bernhard Wicki', 'family name', {'concept': 'name'}] ['Gerd Oswald', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Bernhard_Wicki property:family_name ?j . ?j rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
No, I meant Bernhard Wicki. Could you tell me the answer for that?
(Q78924,P734,c(Q82799))
Q78924
['Q78924', 'P734', {'concept': 'Q82799'}]
['Bernhard Wicki', 'family name', {'concept': 'name'}]
[]
Q27589664
SYSTEM
Wicki
Q27589664
(Q78924,P734,c(Q82799))
action filter_type
action find
entity Q78924
relation P734
type Q82799
[ANSWER] has the surname that person
['Q78924', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q78924 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Wicki
Wicki has the surname that person
Wicki
action filter_type
action find
entity Bernhard Wicki
relation family name
type name
['Bernhard Wicki', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Bernhard_Wicki property:family_name ?j . ?j rdf:type ontology:name }
[]