Simple Question (Direct)
Simple Question
Q5669492
P641
Q349
USER
What did Harry Hargreaves participate in ?
(Q5669492,P641,c(Q349))
action filter_type
action find
entity Q5669492
relation P641
type Q349
['Q5669492', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q5669492 property:P641 ?j . ?j rdf:type ontology:Q349 }
Harry Hargreaves
action filter_type
action find
entity Harry Hargreaves
relation sport
type sport
['Harry Hargreaves', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Harry_Hargreaves property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5669492,P641,c(Q349))
action filter_type
action find
entity Q5669492
relation P641
type Q349
Harry Hargreaves participated in [ANSWER]
['Q5669492', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q5669492 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
Harry Hargreaves participated in association football
association football
action filter_type
action find
entity Harry Hargreaves
relation sport
type sport
['Harry Hargreaves', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Harry_Hargreaves property:sport ?j . ?j rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5669492
P106
Q12737077
USER
Which occupation is the profession of Harry Hargreaves ?
(Q5669492,P106,c(Q12737077))
action filter_type
action find
entity Q5669492
relation P106
type Q12737077
['Q5669492', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q5669492 property:P106 ?l }
Harry Hargreaves
action filter_type
action find
entity Harry Hargreaves
relation occupation
type occupation
['Harry Hargreaves', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Harry_Hargreaves property:occupation ?l }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5669492,P106,c(Q12737077))
action filter_type
action find
entity Q5669492
relation P106
type Q12737077
The [ANSWER] is the profession of Harry Hargreaves
['Q5669492', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q5669492 property:P106 ?l }
association football player
The association football player is the profession of Harry Hargreaves
association football player
action filter_type
action find
entity Harry Hargreaves
relation occupation
type occupation
['Harry Hargreaves', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Harry_Hargreaves property:occupation ?l }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q605914
Q12737077
USER
And how about Francesc Micó?
(Q605914,P106,c(Q12737077))
action filter_type
action find
entity Q605914
relation P106
type Q12737077
['Q605914', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q605914 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Francesc Micó
action filter_type
action find
entity Francesc Micó
relation occupation
type occupation
['Francesc Micó', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Francesc_Micó property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q105186 Q2374149
SYSTEM
pharmacist, botanist
Q105186 Q2374149
(Q605914,P106,c(Q12737077))
action filter_type
action find
entity Q605914
relation P106
type Q12737077
[ANSWERS]
['Q605914', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q605914 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
pharmacist botanist
pharmacist botanist
action filter_type
action find
entity Francesc Micó
relation occupation
type occupation
['Francesc Micó', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Francesc_Micó property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q105186 Q2374149
P425
Q1047113
USER
Who have pharmacist and botanist as the associated fields of occupation ?
(Q105186,P425,c(Q1047113)) (Q2374149,P425,c(Q1047113))
action union
action filter_type
action find
entity Q105186
relation P425
type Q1047113
action filter_type
action find
entity Q2374149
relation P425
type Q1047113
['Q105186', 'P425', {'concept': 'Q1047113'}] ['Q2374149', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?n ) { ( resource:Q105186 ) ( resource:Q2374149 ) } . ?n property:P425 ?p }
pharmacist botanist
action union
action filter_type
action find
entity pharmacist
relation field of this occupation
type special field
action filter_type
action find
entity botanist
relation field of this occupation
type special field
['pharmacist', 'field of this occupation', {'concept': 'special field'}] ['botanist', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?n ) { ( resource:pharmacist ) ( resource:botanist ) } . ?n property:field_of_this_occupation ?p }
[]
special field
Q614304 Q441
SYSTEM
pharmacy, botany
Q614304 Q441
(Q105186,P425,c(Q1047113)) (Q2374149,P425,c(Q1047113))
action union
action filter_type
action find
entity Q105186
relation P425
type Q1047113
action filter_type
action find
entity Q2374149
relation P425
type Q1047113
[ANSWERS] have pharmacist and botanist as the associated fields of occupation
['Q105186', 'P425', {'concept': 'Q1047113'}] ['Q2374149', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?n ) { ( resource:Q105186 ) ( resource:Q2374149 ) } . ?n property:P425 ?p }
pharmacy botany
Pharmacy and botany have pharmacist and botanist as the associated fields of occupation
pharmacy botany
action union
action filter_type
action find
entity pharmacist
relation field of this occupation
type special field
action filter_type
action find
entity botanist
relation field of this occupation
type special field
['pharmacist', 'field of this occupation', {'concept': 'special field'}] ['botanist', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?n ) { ( resource:pharmacist ) ( resource:botanist ) } . ?n property:field_of_this_occupation ?p }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q614304 Q441
P101
Q21114848
USER
Which magazine genres have his/her area as those special fields ?
(c(Q21114848),P101,Q614304) (c(Q21114848),P101,Q441)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q21114848
[{'concept': 'Q21114848'}, 'P101', 'Q614304'] [{'concept': 'Q21114848'}, 'P101', 'Q441']
SELECT DISTINCT ?p WHERE { VALUES ( ?m ) { ( resource:Q614304 ) ( resource:Q441 ) } . ?p property:P101 ?m . ?p rdf:type ontology:Q21114848 }
pharmacy botany
action filter_type
action find_reverse
entity prev_answer
relation field of work
type magazine genre
[{'concept': 'magazine genre'}, 'field of work', 'pharmacy'] [{'concept': 'magazine genre'}, 'field of work', 'botany']
SELECT DISTINCT ?p WHERE { VALUES ( ?m ) { ( resource:pharmacy ) ( resource:botany ) } . ?p property:field_of_work ?m . ?p rdf:type ontology:magazine_genre }
[]
magazine genre
Q15708868 Q15753553 Q5655751
SYSTEM
The American Journal of Pharmaceutical Education, Journal of Clinical Pharmacy and Therapeutics, Novosti Sistematiki Vysshikh Rastenii
Q15760233 Q15708868 Q15753553 Q5655751
(c(Q21114848),P101,Q614304) (c(Q21114848),P101,Q441)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q21114848
[ANSWERS] have his/her area as those special fields
[{'concept': 'Q21114848'}, 'P101', 'Q614304'] [{'concept': 'Q21114848'}, 'P101', 'Q441']
SELECT DISTINCT ?p WHERE { VALUES ( ?m ) { ( resource:Q614304 ) ( resource:Q441 ) } . ?p property:P101 ?m . ?p rdf:type ontology:Q21114848 }
Journal of Pharmacy and Pharmaceutical Sciences The American Journal of Pharmaceutical Education Journal of Clinical Pharmacy and Therapeutics Novosti Sistematiki Vysshikh Rastenii
The American Journal of Pharmaceutical Education, Journal of Clinical Pharmacy and Therapeutics and Novosti Sistematiki Vysshikh Rastenii have his/her area as those special fields
The American Journal of Pharmaceutical Education Journal of Clinical Pharmacy and Therapeutics Novosti Sistematiki Vysshikh Rastenii
action filter_type
action find_reverse
entity prev_answer
relation field of work
type magazine genre
[{'concept': 'magazine genre'}, 'field of work', 'pharmacy'] [{'concept': 'magazine genre'}, 'field of work', 'botany']
SELECT DISTINCT ?p WHERE { VALUES ( ?m ) { ( resource:pharmacy ) ( resource:botany ) } . ?p property:field_of_work ?m . ?p rdf:type ontology:magazine_genre }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q15708868 Q15753553 Q5655751
P101
Q1047113
USER
Which special fields are the area of The American Journal of Pharmaceutical Education, Journal of Clinical Pharmacy and Therapeutics and Novosti Sistematiki Vysshikh Rastenii ?
(Q15708868,P101,c(Q1047113)) (Q15753553,P101,c(Q1047113)) (Q5655751,P101,c(Q1047113))
action union
action filter_type
action find
entity Q15708868
relation P101
type Q1047113
action filter_type
action find
entity Q15753553
relation P101
type Q1047113
action filter_type
action find
entity Q5655751
relation P101
type Q1047113
['Q15708868', 'P101', {'concept': 'Q1047113'}] ['Q15753553', 'P101', {'concept': 'Q1047113'}] ['Q5655751', 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ?x WHERE { { resource:Q15708868 property:P101 ?x . ?x rdf:type ontology:Q1047113 } UNION { resource:Q15753553 property:P101 ?x . ?x rdf:type ontology:Q1047113 } }
The American Journal of Pharmaceutical Education Journal of Clinical Pharmacy and Therapeutics Novosti Sistematiki Vysshikh Rastenii
action union
action filter_type
action find
entity The American Journal of Pharmaceutical Education
relation field of work
type special field
action filter_type
action find
entity Journal of Clinical Pharmacy and Therapeutics
relation field of work
type special field
action filter_type
action find
entity Novosti Sistematiki Vysshikh Rastenii
relation field of work
type special field
['The American Journal of Pharmaceutical Education', 'field of work', {'concept': 'special field'}] ['Journal of Clinical Pharmacy and Therapeutics', 'field of work', {'concept': 'special field'}] ['Novosti Sistematiki Vysshikh Rastenii', 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ?x WHERE { { resource:The_American_Journal_of_Pharmaceutical_Education property:field_of_work ?x . ?x rdf:type ontology:special_field } UNION { resource:Journal_of_Clinical_Pharmacy_and_Therapeutics property:field_of_work ?x . ?x rdf:type ontology:special_field } }
[]
special field
Q614304 Q614304 Q128406
SYSTEM
pharmacology for 3rd, pharmacy for 1st, 2nd
Q128406 Q614304 Q614304 Q441
(Q15708868,P101,c(Q1047113)) (Q15753553,P101,c(Q1047113)) (Q5655751,P101,c(Q1047113))
action union
action filter_type
action find
entity Q15708868
relation P101
type Q1047113
action filter_type
action find
entity Q15753553
relation P101
type Q1047113
action filter_type
action find
entity Q5655751
relation P101
type Q1047113
[ANSWERS]
['Q15708868', 'P101', {'concept': 'Q1047113'}] ['Q15753553', 'P101', {'concept': 'Q1047113'}] ['Q5655751', 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ?x WHERE { { resource:Q15708868 property:P101 ?x . ?x rdf:type ontology:Q1047113 } UNION { resource:Q15753553 property:P101 ?x . ?x rdf:type ontology:Q1047113 } }
pharmacology pharmacy pharmacy botany
Pharmacy, pharmacy and pharmacology are the area of The American Journal of Pharmaceutical Education, Journal of Clinical Pharmacy and Therapeutics and Novosti Sistematiki Vysshikh Rastenii
pharmacy pharmacy pharmacology
action union
action filter_type
action find
entity The American Journal of Pharmaceutical Education
relation field of work
type special field
action filter_type
action find
entity Journal of Clinical Pharmacy and Therapeutics
relation field of work
type special field
action filter_type
action find
entity Novosti Sistematiki Vysshikh Rastenii
relation field of work
type special field
['The American Journal of Pharmaceutical Education', 'field of work', {'concept': 'special field'}] ['Journal of Clinical Pharmacy and Therapeutics', 'field of work', {'concept': 'special field'}] ['Novosti Sistematiki Vysshikh Rastenii', 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ?x WHERE { { resource:The_American_Journal_of_Pharmaceutical_Education property:field_of_work ?x . ?x rdf:type ontology:special_field } UNION { resource:Journal_of_Clinical_Pharmacy_and_Therapeutics property:field_of_work ?x . ?x rdf:type ontology:special_field } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q614304
P361
Q336
USER
Which sciences are pharmacy a portion of ?
(Q614304,P361,c(Q336))
action filter_type
action find
entity Q614304
relation P361
type Q336
['Q614304', 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q336 . resource:Q614304 property:P361 ?n }
pharmacy
action filter_type
action find
entity pharmacy
relation part of
type science
['pharmacy', 'part of', {'concept': 'science'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:science . resource:pharmacy property:part_of ?n }
[]
science
Q11190 Q2329
SYSTEM
medicine, chemistry
Q11190 Q2329
(Q614304,P361,c(Q336))
action filter_type
action find
entity Q614304
relation P361
type Q336
And [ANSWERS] are pharmacy a portion of
['Q614304', 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q336 . resource:Q614304 property:P361 ?n }
medicine chemistry
And medicine and chemistry are pharmacy a portion of
medicine chemistry
action filter_type
action find
entity pharmacy
relation part of
type science
['pharmacy', 'part of', {'concept': 'science'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:science . resource:pharmacy property:part_of ?n }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q81392
Q336
USER
And what about fractal?
(Q81392,P361,c(Q336))
action filter_type
action find
entity Q81392
relation P361
type Q336
['Q81392', 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q336 . resource:Q81392 property:P361 ?m }
fractal
action filter_type
action find
entity fractal
relation part of
type science
['fractal', 'part of', {'concept': 'science'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:science . resource:fractal property:part_of ?m }
[]
science
Q395
SYSTEM
mathematics
Q395
(Q81392,P361,c(Q336))
action filter_type
action find
entity Q81392
relation P361
type Q336
[ANSWER]
['Q81392', 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q336 . resource:Q81392 property:P361 ?m }
mathematics
mathematics
action filter_type
action find
entity fractal
relation part of
type science
['fractal', 'part of', {'concept': 'science'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:science . resource:fractal property:part_of ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q395 Q11647255
P101
Q502895
USER
Does Toshirō Kanamori have specialisation in that science ?
(Q11647255,P101,Q395)
action is_in
entity Q11647255
action find
entity Q395
relation P101
['Q11647255', 'P101', 'Q395']
ASK WHERE { resource:Q395 property:P101 resource:Q11647255 }
mathematics Toshirō Kanamori
action is_in
entity Toshirō Kanamori
action find
entity mathematics
relation field of work
['Toshirō Kanamori', 'field of work', 'mathematics']
ASK WHERE { resource:mathematics property:field_of_work resource:Toshirō_Kanamori }
[]
common name
SYSTEM
NO
(Q11647255,P101,Q395)
action is_in
entity Q11647255
action find
entity Q395
relation P101
[ANSWER]
['Q11647255', 'P101', 'Q395']
ASK WHERE { resource:Q395 property:P101 resource:Q11647255 }
No
action is_in
entity Toshirō Kanamori
action find
entity mathematics
relation field of work
['Toshirō Kanamori', 'field of work', 'mathematics']
ASK WHERE { resource:mathematics property:field_of_work resource:Toshirō_Kanamori }
[]