Simple Question (Direct)
Simple Question
Q3806452
P641
Q349
USER
What was the sport that Jimmy Aggrey was a part of ?
(Q3806452,P641,c(Q349))
action filter_type
action find
entity Q3806452
relation P641
type Q349
['Q3806452', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q3806452 property:P641 ?c . ?c rdf:type ontology:Q349 }
Jimmy Aggrey
action filter_type
action find
entity Jimmy Aggrey
relation sport
type sport
['Jimmy Aggrey', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Jimmy_Aggrey property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3806452,P641,c(Q349))
action filter_type
action find
entity Q3806452
relation P641
type Q349
The sport that Jimmy Aggrey was a part of was the [ANSWER]
['Q3806452', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q3806452 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
The sport that Jimmy Aggrey was a part of was the association football
association football
action filter_type
action find
entity Jimmy Aggrey
relation sport
type sport
['Jimmy Aggrey', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Jimmy_Aggrey property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3806452
P19
Q123705
USER
Where was Jimmy Aggrey born ?
(Q3806452,P19,c(Q123705))
action filter_type
action find
entity Q3806452
relation P19
type Q123705
['Q3806452', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?p WHERE { resource:Q3806452 property:P19 ?p . ?p rdf:type ontology:Q123705 }
Jimmy Aggrey
action filter_type
action find
entity Jimmy Aggrey
relation place of birth
type neighborhood
['Jimmy Aggrey', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?p WHERE { resource:Jimmy_Aggrey property:place_of_birth ?p . ?p rdf:type ontology:neighborhood }
[]
neighborhood
Q277162
SYSTEM
Hammersmith
Q277162
(Q3806452,P19,c(Q123705))
action filter_type
action find
entity Q3806452
relation P19
type Q123705
Jimmy Aggrey was born in [ANSWER]
['Q3806452', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?p WHERE { resource:Q3806452 property:P19 ?p . ?p rdf:type ontology:Q123705 }
Hammersmith
Jimmy Aggrey was born in Hammersmith
Hammersmith
action filter_type
action find
entity Jimmy Aggrey
relation place of birth
type neighborhood
['Jimmy Aggrey', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?p WHERE { resource:Jimmy_Aggrey property:place_of_birth ?p . ?p rdf:type ontology:neighborhood }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q233563
Q123705
USER
And what about Sally Hawkins?
(Q233563,P19,c(Q123705))
action filter_type
action find
entity Q233563
relation P19
type Q123705
['Q233563', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?w WHERE { resource:Q233563 property:P19 ?w . ?w rdf:type ontology:Q123705 }
Sally Hawkins
action filter_type
action find
entity Sally Hawkins
relation place of birth
type neighborhood
['Sally Hawkins', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?w WHERE { resource:Sally_Hawkins property:place_of_birth ?w . ?w rdf:type ontology:neighborhood }
[]
neighborhood
Q146766
SYSTEM
Dulwich
Q146766
(Q233563,P19,c(Q123705))
action filter_type
action find
entity Q233563
relation P19
type Q123705
[ANSWER]
['Q233563', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?w WHERE { resource:Q233563 property:P19 ?w . ?w rdf:type ontology:Q123705 }
Dulwich
Dulwich
action filter_type
action find
entity Sally Hawkins
relation place of birth
type neighborhood
['Sally Hawkins', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?w WHERE { resource:Sally_Hawkins property:place_of_birth ?w . ?w rdf:type ontology:neighborhood }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q146766 Q17699 Q694158
P17
Q15617994
USER
Is that neighborhood situated in Villaromagnano and Obererbach ?
(Q146766,P17,Q17699) (Q146766,P17,Q694158)
action is_in
entity Q146766
action intersection
action find_reverse
entity Q17699
relation P17
action find_reverse
entity Q694158
relation P17
['Q146766', 'P17', 'Q17699'] ['Q146766', 'P17', 'Q694158']
ASK WHERE { resource:Q146766 property:P17 resource:Q17699 . resource:Q146766 property:P17 resource:Q694158 }
Dulwich Villaromagnano Obererbach
action is_in
entity Dulwich
action intersection
action find_reverse
entity Villaromagnano
relation country
action find_reverse
entity Obererbach
relation country
['Dulwich', 'country', 'Villaromagnano'] ['Dulwich', 'country', 'Obererbach']
ASK WHERE { resource:Dulwich property:country resource:Villaromagnano . resource:Dulwich property:country resource:Obererbach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q146766,P17,Q17699) (Q146766,P17,Q694158)
action is_in
entity Q146766
action intersection
action find_reverse
entity Q17699
relation P17
action find_reverse
entity Q694158
relation P17
[ANSWER]
['Q146766', 'P17', 'Q17699'] ['Q146766', 'P17', 'Q694158']
ASK WHERE { resource:Q146766 property:P17 resource:Q17699 . resource:Q146766 property:P17 resource:Q694158 }
No
action is_in
entity Dulwich
action intersection
action find_reverse
entity Villaromagnano
relation country
action find_reverse
entity Obererbach
relation country
['Dulwich', 'country', 'Villaromagnano'] ['Dulwich', 'country', 'Obererbach']
ASK WHERE { resource:Dulwich property:country resource:Villaromagnano . resource:Dulwich property:country resource:Obererbach }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q277162
P937
Q502895
USER
Who has Hammersmith as their work location ?
(c(Q502895),P937,Q277162)
action filter_type
action find_reverse
entity Q277162
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q277162']
SELECT DISTINCT ?t WHERE { ?t property:P937 resource:Q277162 . ?t rdf:type ontology:Q502895 }
Hammersmith
action filter_type
action find_reverse
entity Hammersmith
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Hammersmith']
SELECT DISTINCT ?t WHERE { ?t property:work_location resource:Hammersmith . ?t rdf:type ontology:common_name }
[]
common name
Q87132
SYSTEM
Gisbert Kapp
Q87132
(c(Q502895),P937,Q277162)
action filter_type
action find_reverse
entity Q277162
relation P937
type Q502895
[ANSWER] has Hammersmith as their work location
[{'concept': 'Q502895'}, 'P937', 'Q277162']
SELECT DISTINCT ?t WHERE { ?t property:P937 resource:Q277162 . ?t rdf:type ontology:Q502895 }
Gisbert Kapp
Gisbert Kapp has Hammersmith as their work location
Gisbert Kapp
action filter_type
action find_reverse
entity Hammersmith
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Hammersmith']
SELECT DISTINCT ?t WHERE { ?t property:work_location resource:Hammersmith . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q277162
P551
Q502895
USER
Which people dwell at that neighborhood ?
(c(Q502895),P551,Q87132)
action filter_type
action find_reverse
entity Q277162
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q87132']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P551 resource:Q277162 }
Hammersmith
action filter_type
action find_reverse
entity Hammersmith
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Gisbert Kapp']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:residence resource:Hammersmith }
[]
common name
Q314504 Q24290076 Q106481
SYSTEM
James May, Henry Nathan Maynard, Alan Rickman
Q314504 Q24290076 Q106481
(c(Q502895),P551,Q87132)
action filter_type
action find_reverse
entity Q277162
relation P551
type Q502895
[ANSWERS] dwell at that neighborhood
[{'concept': 'Q502895'}, 'P551', 'Q87132']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P551 resource:Q277162 }
James May Henry Nathan Maynard Alan Rickman
James May, Henry Nathan Maynard and Alan Rickman dwell at that neighborhood
James May Henry Nathan Maynard Alan Rickman
action filter_type
action find_reverse
entity Hammersmith
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Gisbert Kapp']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:residence resource:Hammersmith }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q314504 Q24290076 Q106481
P21
Q290
USER
Which sexes do those people belong to ?
(Q314504,P21,c(Q290)) (Q24290076,P21,c(Q290)) (Q106481,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q314504', 'P21', {'concept': 'Q290'}] ['Q24290076', 'P21', {'concept': 'Q290'}] ['Q106481', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?u ) { ( resource:Q314504 ) ( resource:Q24290076 ) ( resource:Q106481 ) } . ?u property:P21 ?g . ?g rdf:type ontology:Q290 }
James May Henry Nathan Maynard Alan Rickman
action filter_type
action find
entity prev_answer
relation gender
type sex
['James May', 'gender', {'concept': 'sex'}] ['Henry Nathan Maynard', 'gender', {'concept': 'sex'}] ['Alan Rickman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?u ) { ( resource:James_May ) ( resource:Henry_Nathan_Maynard ) ( resource:Alan_Rickman ) } . ?u property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q314504,P21,c(Q290)) (Q24290076,P21,c(Q290)) (Q106481,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people belong to [ANSWER], [ANSWER] and [ANSWER]
['Q314504', 'P21', {'concept': 'Q290'}] ['Q24290076', 'P21', {'concept': 'Q290'}] ['Q106481', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?u ) { ( resource:Q314504 ) ( resource:Q24290076 ) ( resource:Q106481 ) } . ?u property:P21 ?g . ?g rdf:type ontology:Q290 }
male male male
Those people belong to male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['James May', 'gender', {'concept': 'sex'}] ['Henry Nathan Maynard', 'gender', {'concept': 'sex'}] ['Alan Rickman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?u ) { ( resource:James_May ) ( resource:Henry_Nathan_Maynard ) ( resource:Alan_Rickman ) } . ?u property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q106481
P69
Q3914
USER
Which schools are Alan Rickman an alumni of ?
(Q106481,P69,c(Q3914))
action filter_type
action find
entity Q106481
relation P69
type Q3914
['Q106481', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?z WHERE { resource:Q106481 property:P69 ?z . ?z rdf:type ontology:Q3914 }
Alan Rickman
action filter_type
action find
entity Alan Rickman
relation educated at
type school
['Alan Rickman', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?z WHERE { resource:Alan_Rickman property:educated_at ?z . ?z rdf:type ontology:school }
[]
school
Q860450 Q1753535
SYSTEM
Chelsea College of Art and Design, Royal College of Art
Q860450 Q1753535
(Q106481,P69,c(Q3914))
action filter_type
action find
entity Q106481
relation P69
type Q3914
[ANSWERS]
['Q106481', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?z WHERE { resource:Q106481 property:P69 ?z . ?z rdf:type ontology:Q3914 }
Chelsea College of Art and Design Royal College of Art
Which schools are Alan Rickman an alumni of
Chelsea College of Art and Design Royal College of Art
action filter_type
action find
entity Alan Rickman
relation educated at
type school
['Alan Rickman', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?z WHERE { resource:Alan_Rickman property:educated_at ?z . ?z rdf:type ontology:school }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q106481
Q2385804
USER
And which educational institution?
(Q106481,P69,c(Q2385804))
action filter_type
action find
entity Q106481
relation P69
type Q2385804
['Q106481', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?u WHERE { resource:Q106481 property:P69 ?u . ?u rdf:type ontology:Q2385804 }
Alan Rickman
action filter_type
action find
entity Alan Rickman
relation educated at
type educational institution
['Alan Rickman', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?u WHERE { resource:Alan_Rickman property:educated_at ?u . ?u rdf:type ontology:educational_institution }
[]
educational institution
Q6497526
SYSTEM
Latymer Upper School
Q6497526
(Q106481,P69,c(Q2385804))
action filter_type
action find
entity Q106481
relation P69
type Q2385804
[ANSWER]
['Q106481', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?u WHERE { resource:Q106481 property:P69 ?u . ?u rdf:type ontology:Q2385804 }
Latymer Upper School
Latymer Upper School
action filter_type
action find
entity Alan Rickman
relation educated at
type educational institution
['Alan Rickman', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?u WHERE { resource:Alan_Rickman property:educated_at ?u . ?u rdf:type ontology:educational_institution }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q106481
P69
Q2385804 Q3914
USER
How many educational institutions or schools were Alan Rickman educated at ?
(Q106481,P69,c(Q2385804)) (Q106481,P69,c(Q3914))
action count
action union
action filter_type
action find
entity Q106481
relation P69
type Q2385804
action filter_type
action find
entity Q106481
relation P69
type Q3914
['Q106481', 'P69', {'concept': 'Q2385804'}] ['Q106481', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { resource:Q106481 property:P69 ?p . ?p rdf:type ontology:Q2385804 } UNION { ?p rdf:type ontology:Q3914 . resource:Q106481 property:P69 ?p } }
Alan Rickman
action count
action union
action filter_type
action find
entity Alan Rickman
relation educated at
type educational institution
action filter_type
action find
entity Alan Rickman
relation educated at
type school
['Alan Rickman', 'educated at', {'concept': 'educational institution'}] ['Alan Rickman', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { resource:Alan_Rickman property:educated_at ?p . ?p rdf:type ontology:educational_institution } UNION { ?p rdf:type ontology:school . resource:Alan_Rickman property:educated_at ?p } }
[]
educational institution school
SYSTEM
3
Q6497526 Q860450 Q1753535
(Q106481,P69,c(Q2385804)) (Q106481,P69,c(Q3914))
action count
action union
action filter_type
action find
entity Q106481
relation P69
type Q2385804
action filter_type
action find
entity Q106481
relation P69
type Q3914
[ANSWER]
['Q106481', 'P69', {'concept': 'Q2385804'}] ['Q106481', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { resource:Q106481 property:P69 ?p . ?p rdf:type ontology:Q2385804 } UNION { ?p rdf:type ontology:Q3914 . resource:Q106481 property:P69 ?p } }
Latymer Upper School Chelsea College of Art and Design Royal College of Art
3
action count
action union
action filter_type
action find
entity Alan Rickman
relation educated at
type educational institution
action filter_type
action find
entity Alan Rickman
relation educated at
type school
['Alan Rickman', 'educated at', {'concept': 'educational institution'}] ['Alan Rickman', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { resource:Alan_Rickman property:educated_at ?p . ?p rdf:type ontology:educational_institution } UNION { ?p rdf:type ontology:school . resource:Alan_Rickman property:educated_at ?p } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q106481
P69
Q3914 Q2385804
USER
How many schools and educational institutions are Alan Rickman an alumni of ?
(Q106481,P69,c(Q3914)) (Q106481,P69,c(Q2385804))
action count
action union
action filter_type
action find
entity Q106481
relation P69
type Q3914
action filter_type
action find
entity Q106481
relation P69
type Q2385804
['Q106481', 'P69', {'concept': 'Q3914'}] ['Q106481', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { resource:Q106481 property:P69 ?i . ?i rdf:type ontology:Q3914 } UNION { resource:Q106481 property:P69 ?i . ?i rdf:type ontology:Q2385804 } }
Alan Rickman
action count
action union
action filter_type
action find
entity Alan Rickman
relation educated at
type school
action filter_type
action find
entity Alan Rickman
relation educated at
type educational institution
['Alan Rickman', 'educated at', {'concept': 'school'}] ['Alan Rickman', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { resource:Alan_Rickman property:educated_at ?i . ?i rdf:type ontology:school } UNION { resource:Alan_Rickman property:educated_at ?i . ?i rdf:type ontology:educational_institution } }
[]
school educational institution
SYSTEM
2 schools and 1 educational institutions
Q6497526 Q860450 Q1753535
(Q106481,P69,c(Q3914)) (Q106481,P69,c(Q2385804))
action count
action union
action filter_type
action find
entity Q106481
relation P69
type Q3914
action filter_type
action find
entity Q106481
relation P69
type Q2385804
[ANSWER]
['Q106481', 'P69', {'concept': 'Q3914'}] ['Q106481', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { resource:Q106481 property:P69 ?i . ?i rdf:type ontology:Q3914 } UNION { resource:Q106481 property:P69 ?i . ?i rdf:type ontology:Q2385804 } }
Latymer Upper School Chelsea College of Art and Design Royal College of Art
2 schools and 1 educational institutions
action count
action union
action filter_type
action find
entity Alan Rickman
relation educated at
type school
action filter_type
action find
entity Alan Rickman
relation educated at
type educational institution
['Alan Rickman', 'educated at', {'concept': 'school'}] ['Alan Rickman', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { resource:Alan_Rickman property:educated_at ?i . ?i rdf:type ontology:school } UNION { resource:Alan_Rickman property:educated_at ?i . ?i rdf:type ontology:educational_institution } }
[]