Simple Question (Direct)
Simple Question
Q469093
P800
Q2342494
USER
What are a notable work of Brian O'Nolan ?
(Q469093,P800,c(Q2342494))
action filter_type
action find
entity Q469093
relation P800
type Q2342494
['Q469093', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2342494 . resource:Q469093 property:P800 ?u }
Brian O'Nolan
action filter_type
action find
entity Brian O'Nolan
relation notable work
type collectable
["Brian O'Nolan", 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:collectable . resource:Brian_O'Nolan property:notable_work ?u }
[]
collectable
Q759330 Q7738846 Q3202294
SYSTEM
At Swim-Two-Birds, The Hard Life, The Dalkey Archive
Q7738846 Q3202294 Q3776389 Q759330 Q2483345
(Q469093,P800,c(Q2342494))
action filter_type
action find
entity Q469093
relation P800
type Q2342494
A notable work of Brian O'Nolan are [ANSWERS]
['Q469093', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2342494 . resource:Q469093 property:P800 ?u }
The Hard Life The Dalkey Archive An Béal Bocht At Swim-Two-Birds The Third Policeman
A notable work of Brian O'Nolan are At Swim-Two-Birds, The Hard Life and The Dalkey Archive
At Swim-Two-Birds The Hard Life The Dalkey Archive
action filter_type
action find
entity Brian O'Nolan
relation notable work
type collectable
["Brian O'Nolan", 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:collectable . resource:Brian_O'Nolan property:notable_work ?u }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7738846
P495
Q15617994
USER
Where did that collectable originate ?
(Q7738846,P495,c(Q15617994))
action filter_type
action find
entity Q7738846
relation P495
type Q15617994
['Q7738846', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q7738846 property:P495 ?n . ?n rdf:type ontology:Q15617994 }
The Hard Life
action filter_type
action find
entity The Hard Life
relation country of origin
type designation for an administrative territorial entity
['The Hard Life', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:The_Hard_Life property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q3202294
SYSTEM
Did you mean The Dalkey Archive ?
Q759330 Q7738846 Q3202294
(Q759330,P495,c(Q15617994)) (Q7738846,P495,c(Q15617994)) (Q3202294,P495,c(Q15617994))
[ANSWER]
['Q759330', 'P495', {'concept': 'Q15617994'}] ['Q7738846', 'P495', {'concept': 'Q15617994'}] ['Q3202294', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q7738846 property:P495 ?n . ?n rdf:type ontology:Q15617994 }
At Swim-Two-Birds The Hard Life The Dalkey Archive
Did you mean The Dalkey Archive ?
The Dalkey Archive
['At Swim-Two-Birds', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Hard Life', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Dalkey Archive', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:The_Hard_Life property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant The Hard Life. Could you tell me the answer for that?
(Q7738846,P495,c(Q15617994))
Q7738846
['Q7738846', 'P495', {'concept': 'Q15617994'}]
['The Hard Life', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q27
SYSTEM
Ireland
Q27
(Q7738846,P495,c(Q15617994))
action filter_type
action find
entity Q7738846
relation P495
type Q15617994
That collectable originated in [ANSWER]
['Q7738846', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q7738846 property:P495 ?n . ?n rdf:type ontology:Q15617994 }
Ireland
That collectable originated in Ireland
Ireland
action filter_type
action find
entity The Hard Life
relation country of origin
type designation for an administrative territorial entity
['The Hard Life', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:The_Hard_Life property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q27 Q953 Q40452
P530
Q15617994
USER
Is that administrative territory known to have diplomatic connections with Zambia and Ternate ?
(Q27,P530,Q953) (Q27,P530,Q40452)
action is_in
entity Q27
action intersection
action find_reverse
entity Q953
relation P530
action find_reverse
entity Q40452
relation P530
['Q27', 'P530', 'Q953'] ['Q27', 'P530', 'Q40452']
ASK WHERE { resource:Q27 property:P530 resource:Q953 . resource:Q27 property:P530 resource:Q40452 }
Ireland Zambia Ternate
action is_in
entity Ireland
action intersection
action find_reverse
entity Zambia
relation diplomatic relation
action find_reverse
entity Ternate
relation diplomatic relation
['Ireland', 'diplomatic relation', 'Zambia'] ['Ireland', 'diplomatic relation', 'Ternate']
ASK WHERE { resource:Ireland property:diplomatic_relation resource:Zambia . resource:Ireland property:diplomatic_relation resource:Ternate }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q27,P530,Q953) (Q27,P530,Q40452)
action is_in
entity Q27
action intersection
action find_reverse
entity Q953
relation P530
action find_reverse
entity Q40452
relation P530
[ANSWER]
['Q27', 'P530', 'Q953'] ['Q27', 'P530', 'Q40452']
ASK WHERE { resource:Q27 property:P530 resource:Q953 . resource:Q27 property:P530 resource:Q40452 }
YES and NO respectively
action is_in
entity Ireland
action intersection
action find_reverse
entity Zambia
relation diplomatic relation
action find_reverse
entity Ternate
relation diplomatic relation
['Ireland', 'diplomatic relation', 'Zambia'] ['Ireland', 'diplomatic relation', 'Ternate']
ASK WHERE { resource:Ireland property:diplomatic_relation resource:Zambia . resource:Ireland property:diplomatic_relation resource:Ternate }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q759330 Q27
P495
Q15617994
USER
Is Ireland the origin of that collectable ?
(Q759330,P495,Q27)
action is_in
entity Q27
action find
entity Q759330
relation P495
['Q759330', 'P495', 'Q27']
ASK WHERE { resource:Q759330 property:P495 resource:Q27 }
At Swim-Two-Birds Ireland
action is_in
entity Ireland
action find
entity At Swim-Two-Birds
relation country of origin
['At Swim-Two-Birds', 'country of origin', 'Ireland']
ASK WHERE { resource:At_Swim-Two-Birds property:country_of_origin resource:Ireland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q759330,P495,Q27)
action is_in
entity Q27
action find
entity Q759330
relation P495
[ANSWER]
['Q759330', 'P495', 'Q27']
ASK WHERE { resource:Q759330 property:P495 resource:Q27 }
Yes
action is_in
entity Ireland
action find
entity At Swim-Two-Birds
relation country of origin
['At Swim-Two-Birds', 'country of origin', 'Ireland']
ASK WHERE { resource:At_Swim-Two-Birds property:country_of_origin resource:Ireland }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q30 Q27
P495
Q15416
USER
Which television programs originated in Ireland but not United States of America ?
AND((c(Q15416),P495,Q27), NOT((c(Q15416),P495,Q30)))
action filter_type
action difference
action find_reverse
entity Q27
relation P495
action find_reverse
entity Q30
relation P495
type Q15416
{'AND': [[{'concept': 'Q15416'}, 'P495', 'Q27'], {'NOT': [[{'concept': 'Q15416'}, 'P495', 'Q30']]}]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15416 . MINUS { ?j property:P495 resource:Q30 } . ?j property:P495 resource:Q27 }
United States of America Ireland
action filter_type
action difference
action find_reverse
entity Ireland
relation country of origin
action find_reverse
entity United States of America
relation country of origin
type television program
{'AND': [[{'concept': 'television program'}, 'country of origin', 'Ireland'], {'NOT': [[{'concept': 'television program'}, 'country of origin', 'United States of America']]}]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:television_program . MINUS { ?j property:country_of_origin resource:United_States_of_America } . ?j property:country_of_origin resource:Ireland }
[]
television program
Q6878528 Q7535800 Q7604034 Q15030934 Q4751205 Q3398887 Q7767375 Q5281849 Q1028495 Q4659346
SYSTEM
Some of them are Mission Beach USA, Skippers, States of Fear, The Investigators, Anamnocht, Ros na Rún, The Sunday Game, Discovery, Camelot, A Scare at Bedtime
Q7785903 Q5456190 Q7723411 Q5281849 Q4659346 Q3398887 Q5611657 Q17018386 Q1192615 Q5528736 Q7775843 Q7746303 Q7757562 Q5511690 Q4751205 Q5648040 Q5180911 Q15030936 Q6785380 Q4657783 Q20819118 Q5325644 Q7763261 Q6690161 Q7767375 Q7733188 Q7033814 Q6297305 Q5656544 Q7758098 Q7096087 Q7535800 Q7737740 Q15052365 Q7457170 Q20875857 Q885302 Q6115446 Q326731 Q4631054 Q7545884 Q7718620 Q6090870 Q4852204 Q6878528 Q8058734 Q7927162 Q5291585 Q7091551 Q1028495 Q2579463 Q6807817 Q5291991 Q7602317 Q8859 Q19961306 Q5084536 Q841754 Q673790 Q4643832 Q5522148 Q7754992 Q5054444 Q20718341 Q4927846 Q11015460 Q5038608 Q18712502 Q4816229 Q4838848 Q6738882 Q7604034 Q15030934 Q15030937 Q7261116 Q5432432 Q5433126 Q7735375 Q7751847 Q6068482 Q8052751 Q7144858 Q5006224 Q7719567 Q23001909
AND((c(Q15416),P495,Q27), NOT((c(Q15416),P495,Q30)))
action filter_type
action difference
action find_reverse
entity Q27
relation P495
action find_reverse
entity Q30
relation P495
type Q15416
[ANSWERS] originated in Ireland but not United States of America
{'AND': [[{'concept': 'Q15416'}, 'P495', 'Q27'], {'NOT': [[{'concept': 'Q15416'}, 'P495', 'Q30']]}]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15416 . MINUS { ?j property:P495 resource:Q30 } . ?j property:P495 resource:Q27 }
This Is Nightlive Five Women Go Back to Work The Clinic Discovery A Scare at Bedtime Ros na Rún Growing Up Gay Quirke Skunk Fu! Gaybo Laughs Back The Works The Late Late Toy Show The Podge and Rodge Show Fíorscéal Anamnocht Hanging with Hector Craig Doyle Live Teens in the Wild Mastermind A Little Bit TV Ar An Oileán Ear to the Ground The Selection Box Love/Hate The Sunday Game The Fall Nighthawks Joy in the Hood Hardy Bucks The Pressure Cooker Open House Skippers The Great Escape When Ali Came to Ireland Seven Ages The 7 O'Clock Show Bloody Sunday Jack Taylor The Tudors 21st Century Child Smoke and Mirrors The Blizzard of Odd It's Too Late – We're On! Ballymagash Mission Beach USA Your Bad Self Victoria and Shane Grow Their Own Don't Feed the Gondolas On the Street Where You Live Camelot Vikings Meet Your Neighbours Don't Tell the Bride Stars Go Racing The Revolution Will Not Be Televised The Great Irish Bake Off Charlie Bird Explores The Informant Fair City 7 Days Garda ar Lár The Once a Week Show Caught in a Free State Puffin Rock Blood of the Irish Tubridy Tonight Cardinal Secrets Red Rock Atlantean Bachelors Walk Make 'Em Laugh States of Fear The Investigators Traffic Blues Pure Mule Fallout Family Fortunes The Frontline The Model Agent Ireland's Greatest Yes I Can Paths to Freedom C.U. Burn The Box Clean Break
Mission Beach USA, Skippers, States of Fear, The Investigators, Anamnocht, Ros na Rún, The Sunday Game, Discovery, Camelot and A Scare at Bedtime originated in Ireland but not United States of America
Mission Beach USA Skippers States of Fear The Investigators Anamnocht Ros na Rún The Sunday Game Discovery Camelot A Scare at Bedtime
action filter_type
action difference
action find_reverse
entity Ireland
relation country of origin
action find_reverse
entity United States of America
relation country of origin
type television program
{'AND': [[{'concept': 'television program'}, 'country of origin', 'Ireland'], {'NOT': [[{'concept': 'television program'}, 'country of origin', 'United States of America']]}]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:television_program . MINUS { ?j property:country_of_origin resource:United_States_of_America } . ?j property:country_of_origin resource:Ireland }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q469093
P50 P364
Q2342494
USER
Which collectables have Brian O'Nolan as their author and are known to be originally created in English language ?
AND((c(Q2342494),P50,Q469093), (c(Q2342494),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q469093
relation P50
action find_reverse
entity Q1860
relation P364
type Q2342494
{'AND': [[{'concept': 'Q2342494'}, 'P50', 'Q469093'], [{'concept': 'Q2342494'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?a WHERE { ?a property:P50 resource:Q469093 . ?a property:P364 resource:Q1860 . ?a rdf:type ontology:Q2342494 }
English Brian O'Nolan
action filter_type
action intersection
action find_reverse
entity Brian O'Nolan
relation author
action find_reverse
entity English
relation original language of work
type collectable
{'AND': [[{'concept': 'collectable'}, 'author', "Brian O'Nolan"], [{'concept': 'collectable'}, 'original language of work', 'English']]}
SELECT DISTINCT ?a WHERE { ?a property:author resource:Brian_O'Nolan . ?a property:original_language_of_work resource:English . ?a rdf:type ontology:collectable }
[]
collectable
Q7738846 Q3202294 Q759330
SYSTEM
The Hard Life, The Dalkey Archive, At Swim-Two-Birds
Q7738846 Q3202294 Q759330
AND((c(Q2342494),P50,Q469093), (c(Q2342494),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q469093
relation P50
action find_reverse
entity Q1860
relation P364
type Q2342494
[ANSWERS] have Brian O'Nolan as their author and are known to be originally created in English language
{'AND': [[{'concept': 'Q2342494'}, 'P50', 'Q469093'], [{'concept': 'Q2342494'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?a WHERE { ?a property:P50 resource:Q469093 . ?a property:P364 resource:Q1860 . ?a rdf:type ontology:Q2342494 }
The Hard Life The Dalkey Archive At Swim-Two-Birds
The Hard Life, The Dalkey Archive and At Swim-Two-Birds have Brian O'Nolan as their author and are known to be originally created in English language
The Hard Life The Dalkey Archive At Swim-Two-Birds
action filter_type
action intersection
action find_reverse
entity Brian O'Nolan
relation author
action find_reverse
entity English
relation original language of work
type collectable
{'AND': [[{'concept': 'collectable'}, 'author', "Brian O'Nolan"], [{'concept': 'collectable'}, 'original language of work', 'English']]}
SELECT DISTINCT ?a WHERE { ?a property:author resource:Brian_O'Nolan . ?a property:original_language_of_work resource:English . ?a rdf:type ontology:collectable }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P800
Q502895
USER
How many people are accredited with being the author of the notable work that collectable ?
(c(Q502895),P800,Q7738846)
[{'concept': 'Q502895'}, 'P800', 'Q7738846']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P800 resource:Q7738846 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'notable work', 'The Hard Life']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:notable_work resource:The_Hard_Life . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q759330
SYSTEM
Did you mean At Swim-Two-Birds ?
(c(Q502895),P800,Q7738846) (c(Q502895),P800,Q3202294) (c(Q502895),P800,Q759330)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q7738846'] [{'concept': 'Q502895'}, 'P800', 'Q3202294'] [{'concept': 'Q502895'}, 'P800', 'Q759330']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P800 resource:Q7738846 . ?z rdf:type ontology:Q502895 }
Did you mean At Swim-Two-Birds ?
At Swim-Two-Birds
[{'concept': 'common name'}, 'notable work', 'The Hard Life'] [{'concept': 'common name'}, 'notable work', 'The Dalkey Archive'] [{'concept': 'common name'}, 'notable work', 'At Swim-Two-Birds']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:notable_work resource:The_Hard_Life . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant The Hard Life. Could you tell me the answer for that?
(c(Q502895),P800,Q7738846)
Q7738846
[{'concept': 'Q502895'}, 'P800', 'Q7738846']
[{'concept': 'common name'}, 'notable work', 'The Hard Life']
[]
SYSTEM
1
Q469093
(c(Q502895),P800,Q7738846)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q7738846']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P800 resource:Q7738846 . ?z rdf:type ontology:Q502895 }
Brian O'Nolan
1
[{'concept': 'common name'}, 'notable work', 'The Hard Life']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:notable_work resource:The_Hard_Life . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27
P740
Q2088357
USER
Which musical ensembles originated at Ireland ?
(c(Q2088357),P740,Q27)
action filter_type
action find_reverse
entity Q27
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q27']
SELECT DISTINCT ?t WHERE { ?t property:P740 resource:Q27 . ?t rdf:type ontology:Q2088357 }
Ireland
action filter_type
action find_reverse
entity Ireland
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Ireland']
SELECT DISTINCT ?t WHERE { ?t property:location_of_formation resource:Ireland . ?t rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q7720950 Q222619
SYSTEM
The Cake Sale, Industry
Q7720950 Q222619
(c(Q2088357),P740,Q27)
action filter_type
action find_reverse
entity Q27
relation P740
type Q2088357
[ANSWERS] originated at Ireland
[{'concept': 'Q2088357'}, 'P740', 'Q27']
SELECT DISTINCT ?t WHERE { ?t property:P740 resource:Q27 . ?t rdf:type ontology:Q2088357 }
The Cake Sale Industry
The Cake Sale and Industry originated at Ireland
The Cake Sale Industry
action filter_type
action find_reverse
entity Ireland
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Ireland']
SELECT DISTINCT ?t WHERE { ?t property:location_of_formation resource:Ireland . ?t rdf:type ontology:musical_ensemble }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7720950
P175
Q2031291
USER
Which release presented The Cake Sale ?
(c(Q2031291),P175,Q7720950)
action filter_type
action find_reverse
entity Q7720950
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q7720950']
SELECT DISTINCT ?z WHERE { ?z property:P175 resource:Q7720950 . ?z rdf:type ontology:Q2031291 }
The Cake Sale
action filter_type
action find_reverse
entity The Cake Sale
relation performer
type release
[{'concept': 'release'}, 'performer', 'The Cake Sale']
SELECT DISTINCT ?z WHERE { ?z property:performer resource:The_Cake_Sale . ?z rdf:type ontology:release }
[]
release
Q7720951
SYSTEM
The Cake Sale
Q7720951
(c(Q2031291),P175,Q7720950)
action filter_type
action find_reverse
entity Q7720950
relation P175
type Q2031291
[ANSWER] presented [ANSWER]
[{'concept': 'Q2031291'}, 'P175', 'Q7720950']
SELECT DISTINCT ?z WHERE { ?z property:P175 resource:Q7720950 . ?z rdf:type ontology:Q2031291 }
The Cake Sale
The Cake Sale presented The Cake Sale
The Cake Sale
action filter_type
action find_reverse
entity The Cake Sale
relation performer
type release
[{'concept': 'release'}, 'performer', 'The Cake Sale']
SELECT DISTINCT ?z WHERE { ?z property:performer resource:The_Cake_Sale . ?z rdf:type ontology:release }
[]