Simple Question (Direct)
Simple Question
Q2903318
P136
Q151885
USER
What can be considered as category for Bill Perry ?
(Q2903318,P136,c(Q151885))
action filter_type
action find
entity Q2903318
relation P136
type Q151885
['Q2903318', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q151885 . resource:Q2903318 property:P136 ?g }
Bill Perry
action filter_type
action find
entity Bill Perry
relation genre
type concept
['Bill Perry', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:concept . resource:Bill_Perry property:genre ?g }
[]
concept
Q9759
SYSTEM
blues
Q9759
(Q2903318,P136,c(Q151885))
action filter_type
action find
entity Q2903318
relation P136
type Q151885
The [ANSWER] can be considered as category for Bill Perry
['Q2903318', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q151885 . resource:Q2903318 property:P136 ?g }
blues
The blues can be considered as category for Bill Perry
blues
action filter_type
action find
entity Bill Perry
relation genre
type concept
['Bill Perry', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:concept . resource:Bill_Perry property:genre ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9759
P921
Q2342494
USER
Which collectable has that concept as its principal topic ?
(c(Q2342494),P921,Q9759)
action filter_type
action find_reverse
entity Q9759
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q9759']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2342494 . ?p property:P921 resource:Q9759 }
blues
action filter_type
action find_reverse
entity blues
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'blues']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:collectable . ?p property:main_subject resource:blues }
[]
collectable
Q26806375
SYSTEM
Encyclopedia of the Blues
Q26806375
(c(Q2342494),P921,Q9759)
action filter_type
action find_reverse
entity Q9759
relation P921
type Q2342494
[ANSWER] has that concept as its principal topic
[{'concept': 'Q2342494'}, 'P921', 'Q9759']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2342494 . ?p property:P921 resource:Q9759 }
Encyclopedia of the Blues
Encyclopedia of the Blues has that concept as its principal topic
Encyclopedia of the Blues
action filter_type
action find_reverse
entity blues
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'blues']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:collectable . ?p property:main_subject resource:blues }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q26806375 Q2247517
P291
Q56061
USER
Is Greencastle, County Donegal the publication region of that collectable ?
(Q26806375,P291,Q2247517)
action is_in
entity Q2247517
action find
entity Q26806375
relation P291
['Q26806375', 'P291', 'Q2247517']
ASK WHERE { resource:Q26806375 property:P291 resource:Q2247517 }
Encyclopedia of the Blues Greencastle, County Donegal
action is_in
entity Greencastle, County Donegal
action find
entity Encyclopedia of the Blues
relation place of publication
['Encyclopedia of the Blues', 'place of publication', 'Greencastle, County Donegal']
ASK WHERE { resource:Encyclopedia_of_the_Blues property:place_of_publication resource:Greencastle,_County_Donegal }
[]
administrative territorial entity
SYSTEM
NO
(Q26806375,P291,Q2247517)
action is_in
entity Q2247517
action find
entity Q26806375
relation P291
[ANSWER]
['Q26806375', 'P291', 'Q2247517']
ASK WHERE { resource:Q26806375 property:P291 resource:Q2247517 }
No
action is_in
entity Greencastle, County Donegal
action find
entity Encyclopedia of the Blues
relation place of publication
['Encyclopedia of the Blues', 'place of publication', 'Greencastle, County Donegal']
ASK WHERE { resource:Encyclopedia_of_the_Blues property:place_of_publication resource:Greencastle,_County_Donegal }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q14690806 Q2247517
P17
Q15617994
USER
Which administrative territories are Greencastle, County Donegal or Latham Confederate Monument located in ?
OR((Q2247517,P17,c(Q15617994)), (Q14690806,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2247517
relation P17
action find
entity Q14690806
relation P17
type Q15617994
{'OR': [['Q2247517', 'P17', {'concept': 'Q15617994'}], ['Q14690806', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { ?q property:P17 ?a . VALUES ( ?q ) { ( resource:Q2247517 ) ( resource:Q14690806 ) } } . ?a rdf:type ontology:Q15617994 }
Latham Confederate Monument Greencastle, County Donegal
action filter_type
action union
action find
entity Greencastle, County Donegal
relation country
action find
entity Latham Confederate Monument
relation country
type designation for an administrative territorial entity
{'OR': [['Greencastle, County Donegal', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Latham Confederate Monument', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?q property:country ?a . VALUES ( ?q ) { ( resource:Greencastle,_County_Donegal ) ( resource:Latham_Confederate_Monument ) } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q27
SYSTEM
United States of America, Ireland
Q30 Q27
OR((Q2247517,P17,c(Q15617994)), (Q14690806,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2247517
relation P17
action find
entity Q14690806
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q2247517', 'P17', {'concept': 'Q15617994'}], ['Q14690806', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { ?q property:P17 ?a . VALUES ( ?q ) { ( resource:Q2247517 ) ( resource:Q14690806 ) } } . ?a rdf:type ontology:Q15617994 }
United States of America Ireland
Which administrative territories are Greencastle, County Donegal or Latham Confederate Monument located in
United States of America Ireland
action filter_type
action union
action find
entity Greencastle, County Donegal
relation country
action find
entity Latham Confederate Monument
relation country
type designation for an administrative territorial entity
{'OR': [['Greencastle, County Donegal', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Latham Confederate Monument', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?q property:country ?a . VALUES ( ?q ) { ( resource:Greencastle,_County_Donegal ) ( resource:Latham_Confederate_Monument ) } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27
P840
Q838948
USER
Which works of art have their narrative set in Ireland ?
(c(Q838948),P840,Q27)
action filter_type
action find_reverse
entity Q27
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q27']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q838948 . ?k property:P840 resource:Q27 }
Ireland
action filter_type
action find_reverse
entity Ireland
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Ireland']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:work_of_art . ?k property:narrative_location resource:Ireland }
[]
work of art
Q2081750 Q5965694 Q470560
SYSTEM
Byzantium, I'll Be The Devil, The Quiet Man
Q2081750 Q5965694 Q470560
(c(Q838948),P840,Q27)
action filter_type
action find_reverse
entity Q27
relation P840
type Q838948
[ANSWERS] have their narrative set in Ireland
[{'concept': 'Q838948'}, 'P840', 'Q27']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q838948 . ?k property:P840 resource:Q27 }
Byzantium I'll Be The Devil The Quiet Man
Byzantium, I'll Be The Devil and The Quiet Man have their narrative set in Ireland
Byzantium I'll Be The Devil The Quiet Man
action filter_type
action find_reverse
entity Ireland
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Ireland']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:work_of_art . ?k property:narrative_location resource:Ireland }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2081750 Q5965694 Q470560
P840
Q15617994
USER
Which narrative locations are those works of art set in ?
(Q2081750,P840,c(Q15617994)) (Q5965694,P840,c(Q15617994)) (Q470560,P840,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P840
type Q15617994
['Q2081750', 'P840', {'concept': 'Q15617994'}] ['Q5965694', 'P840', {'concept': 'Q15617994'}] ['Q470560', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?o ) { ( resource:Q2081750 ) ( resource:Q5965694 ) ( resource:Q470560 ) } . ?o property:P840 ?j . ?j rdf:type ontology:Q15617994 }
Byzantium I'll Be The Devil The Quiet Man
action filter_type
action find
entity prev_answer
relation narrative location
type designation for an administrative territorial entity
['Byzantium', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ["I'll Be The Devil", 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['The Quiet Man', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?o ) { ( resource:Byzantium ) ( resource:I'll_Be_The_Devil ) ( resource:The_Quiet_Man ) } . ?o property:narrative_location ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q27 Q27 Q27
SYSTEM
Ireland
Q27 Q27 Q27
(Q2081750,P840,c(Q15617994)) (Q5965694,P840,c(Q15617994)) (Q470560,P840,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P840
type Q15617994
Those works of art are set in [ANSWER], [ANSWER] and [ANSWER]
['Q2081750', 'P840', {'concept': 'Q15617994'}] ['Q5965694', 'P840', {'concept': 'Q15617994'}] ['Q470560', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?o ) { ( resource:Q2081750 ) ( resource:Q5965694 ) ( resource:Q470560 ) } . ?o property:P840 ?j . ?j rdf:type ontology:Q15617994 }
Ireland Ireland Ireland
Those works of art are set in Ireland, Ireland and Ireland
Ireland Ireland Ireland
action filter_type
action find
entity prev_answer
relation narrative location
type designation for an administrative territorial entity
['Byzantium', 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ["I'll Be The Devil", 'narrative location', {'concept': 'designation for an administrative territorial entity'}] ['The Quiet Man', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?o ) { ( resource:Byzantium ) ( resource:I'll_Be_The_Devil ) ( resource:The_Quiet_Man ) } . ?o property:narrative_location ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27
P35
Q502895
USER
Which person is the head of state of that administrative territory ?
(Q27,P35,c(Q502895)) (Q27,P35,c(Q502895)) (Q27,P35,c(Q502895))
action filter_type
action find
entity Q27
relation P35
type Q502895
['Q27', 'P35', {'concept': 'Q502895'}] ['Q27', 'P35', {'concept': 'Q502895'}] ['Q27', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q27 property:P35 ?x . ?x rdf:type ontology:Q502895 }
Ireland
action filter_type
action find
entity Ireland
relation head of state
type common name
['Ireland', 'head of state', {'concept': 'common name'}] ['Ireland', 'head of state', {'concept': 'common name'}] ['Ireland', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Ireland property:head_of_state ?x . ?x rdf:type ontology:common_name }
[]
common name
Q57276
SYSTEM
Michael Higgins
Q57276
(Q27,P35,c(Q502895)) (Q27,P35,c(Q502895)) (Q27,P35,c(Q502895))
action filter_type
action find
entity Q27
relation P35
type Q502895
[ANSWER] is the head of state of that administrative territory
['Q27', 'P35', {'concept': 'Q502895'}] ['Q27', 'P35', {'concept': 'Q502895'}] ['Q27', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q27 property:P35 ?x . ?x rdf:type ontology:Q502895 }
Michael Higgins
Michael Higgins is the head of state of that administrative territory
Michael Higgins
action filter_type
action find
entity Ireland
relation head of state
type common name
['Ireland', 'head of state', {'concept': 'common name'}] ['Ireland', 'head of state', {'concept': 'common name'}] ['Ireland', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Ireland property:head_of_state ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q57276
P21
Q290
USER
Which sex does that person have ?
(Q57276,P21,c(Q290))
action filter_type
action find
entity Q57276
relation P21
type Q290
['Q57276', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q57276 property:P21 ?x . ?x rdf:type ontology:Q290 }
Michael Higgins
action filter_type
action find
entity Michael Higgins
relation gender
type sex
['Michael Higgins', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Michael_Higgins property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q57276,P21,c(Q290))
action filter_type
action find
entity Q57276
relation P21
type Q290
That person has a [ANSWER]
['Q57276', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q57276 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Michael Higgins
relation gender
type sex
['Michael Higgins', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Michael_Higgins property:gender ?x . ?x rdf:type ontology:sex }
[]