Simple Question (Direct)
Simple Question
Q430667
P27
Q15617994
USER
Which administrative territory does Astrid Sampe belong to ?
(Q430667,P27,c(Q15617994))
action filter_type
action find
entity Q430667
relation P27
type Q15617994
['Q430667', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q430667 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Astrid Sampe
action filter_type
action find
entity Astrid Sampe
relation country of citizenship
type designation for an administrative territorial entity
['Astrid Sampe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Astrid_Sampe property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q430667,P27,c(Q15617994))
action filter_type
action find
entity Q430667
relation P27
type Q15617994
Astrid Sampe belongs to [ANSWER]
['Q430667', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q430667 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Sweden
Astrid Sampe belongs to Sweden
Sweden
action filter_type
action find
entity Astrid Sampe
relation country of citizenship
type designation for an administrative territorial entity
['Astrid Sampe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Astrid_Sampe property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q430667
P20
Q56061
USER
Where did the demise of that person occur ?
(Q34,P20,c(Q56061))
action filter_type
action find
entity Q430667
relation P20
type Q56061
['Q34', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q430667 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Astrid Sampe
action filter_type
action find
entity Astrid Sampe
relation place of death
type administrative territorial entity
['Sweden', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Astrid_Sampe property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1754
SYSTEM
Stockholm
Q1754
(Q34,P20,c(Q56061))
action filter_type
action find
entity Q430667
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q34', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q430667 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Stockholm
The demise of that person occurred in Stockholm
Stockholm
action filter_type
action find
entity Astrid Sampe
relation place of death
type administrative territorial entity
['Sweden', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Astrid_Sampe property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1754 Q585
P190
Q56061
USER
Is Oslo twin town of that one ?
(Q1754,P190,Q585)
action is_in
entity Q585
action find
entity Q1754
relation P190
['Q1754', 'P190', 'Q585']
ASK WHERE { resource:Q1754 property:P190 resource:Q585 }
Stockholm Oslo
action is_in
entity Oslo
action find
entity Stockholm
relation sister city
['Stockholm', 'sister city', 'Oslo']
ASK WHERE { resource:Stockholm property:sister_city resource:Oslo }
[]
administrative territorial entity
SYSTEM
YES
(Q1754,P190,Q585)
action is_in
entity Q585
action find
entity Q1754
relation P190
[ANSWER]
['Q1754', 'P190', 'Q585']
ASK WHERE { resource:Q1754 property:P190 resource:Q585 }
Yes
action is_in
entity Oslo
action find
entity Stockholm
relation sister city
['Stockholm', 'sister city', 'Oslo']
ASK WHERE { resource:Stockholm property:sister_city resource:Oslo }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q430667 Q6927348 Q1754
P19
Q56061
USER
Was Astrid Sampe born at Mowtowr-e 22 Bahman and Stockholm ?
(Q430667,P19,Q6927348) (Q430667,P19,Q1754)
action is_in
entity Q430667
action intersection
action find_reverse
entity Q6927348
relation P19
action find_reverse
entity Q1754
relation P19
['Q430667', 'P19', 'Q6927348'] ['Q430667', 'P19', 'Q1754']
ASK WHERE { resource:Q430667 property:P19 resource:Q1754 . resource:Q430667 property:P19 resource:Q6927348 }
Astrid Sampe Mowtowr-e 22 Bahman Stockholm
action is_in
entity Astrid Sampe
action intersection
action find_reverse
entity Mowtowr-e 22 Bahman
relation place of birth
action find_reverse
entity Stockholm
relation place of birth
['Astrid Sampe', 'place of birth', 'Mowtowr-e 22 Bahman'] ['Astrid Sampe', 'place of birth', 'Stockholm']
ASK WHERE { resource:Astrid_Sampe property:place_of_birth resource:Stockholm . resource:Astrid_Sampe property:place_of_birth resource:Mowtowr-e_22_Bahman }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q430667,P19,Q6927348) (Q430667,P19,Q1754)
action is_in
entity Q430667
action intersection
action find_reverse
entity Q6927348
relation P19
action find_reverse
entity Q1754
relation P19
[ANSWER]
['Q430667', 'P19', 'Q6927348'] ['Q430667', 'P19', 'Q1754']
ASK WHERE { resource:Q430667 property:P19 resource:Q1754 . resource:Q430667 property:P19 resource:Q6927348 }
NO and YES respectively
action is_in
entity Astrid Sampe
action intersection
action find_reverse
entity Mowtowr-e 22 Bahman
relation place of birth
action find_reverse
entity Stockholm
relation place of birth
['Astrid Sampe', 'place of birth', 'Mowtowr-e 22 Bahman'] ['Astrid Sampe', 'place of birth', 'Stockholm']
ASK WHERE { resource:Astrid_Sampe property:place_of_birth resource:Stockholm . resource:Astrid_Sampe property:place_of_birth resource:Mowtowr-e_22_Bahman }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6155246 Q430667
P69
Q3914
USER
Which schools were Astrid Sampe and Jannuzzi Smith educated ?
AND((Q430667,P69,c(Q3914)), (Q6155246,P69,c(Q3914)))
action filter_type
action intersection
action find
entity Q430667
relation P69
action find
entity Q6155246
relation P69
type Q3914
{'AND': [['Q430667', 'P69', {'concept': 'Q3914'}], ['Q6155246', 'P69', {'concept': 'Q3914'}]]}
SELECT DISTINCT ?k WHERE { resource:Q430667 property:P69 ?k . resource:Q6155246 property:P69 ?k . ?k rdf:type ontology:Q3914 }
Jannuzzi Smith Astrid Sampe
action filter_type
action intersection
action find
entity Astrid Sampe
relation educated at
action find
entity Jannuzzi Smith
relation educated at
type school
{'AND': [['Astrid Sampe', 'educated at', {'concept': 'school'}], ['Jannuzzi Smith', 'educated at', {'concept': 'school'}]]}
SELECT DISTINCT ?k WHERE { resource:Astrid_Sampe property:educated_at ?k . resource:Jannuzzi_Smith property:educated_at ?k . ?k rdf:type ontology:school }
[]
school
Q1753535
SYSTEM
Royal College of Art
Q1753535
AND((Q430667,P69,c(Q3914)), (Q6155246,P69,c(Q3914)))
action filter_type
action intersection
action find
entity Q430667
relation P69
action find
entity Q6155246
relation P69
type Q3914
Astrid Sampe and Jannuzzi Smith were educated at [ANSWER]
{'AND': [['Q430667', 'P69', {'concept': 'Q3914'}], ['Q6155246', 'P69', {'concept': 'Q3914'}]]}
SELECT DISTINCT ?k WHERE { resource:Q430667 property:P69 ?k . resource:Q6155246 property:P69 ?k . ?k rdf:type ontology:Q3914 }
Royal College of Art
Astrid Sampe and Jannuzzi Smith were educated at Royal College of Art
Royal College of Art
action filter_type
action intersection
action find
entity Astrid Sampe
relation educated at
action find
entity Jannuzzi Smith
relation educated at
type school
{'AND': [['Astrid Sampe', 'educated at', {'concept': 'school'}], ['Jannuzzi Smith', 'educated at', {'concept': 'school'}]]}
SELECT DISTINCT ?k WHERE { resource:Astrid_Sampe property:educated_at ?k . resource:Jannuzzi_Smith property:educated_at ?k . ?k rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6155246
P452
Q5962346
USER
Which industry does that organization belong to ?
(Q1753535,P452,c(Q5962346))
action filter_type
action find
entity Q6155246
relation P452
type Q5962346
['Q1753535', 'P452', {'concept': 'Q5962346'}]
SELECT DISTINCT ?b WHERE { resource:Q6155246 property:P452 ?b . ?b rdf:type ontology:Q5962346 }
Jannuzzi Smith
action filter_type
action find
entity Jannuzzi Smith
relation industry
type classification scheme
['Royal College of Art', 'industry', {'concept': 'classification scheme'}]
SELECT DISTINCT ?b WHERE { resource:Jannuzzi_Smith property:industry ?b . ?b rdf:type ontology:classification_scheme }
[]
classification scheme
Q185925
SYSTEM
graphic design
Q185925
(Q1753535,P452,c(Q5962346))
action filter_type
action find
entity Q6155246
relation P452
type Q5962346
That organization belongs to [ANSWER]
['Q1753535', 'P452', {'concept': 'Q5962346'}]
SELECT DISTINCT ?b WHERE { resource:Q6155246 property:P452 ?b . ?b rdf:type ontology:Q5962346 }
graphic design
That organization belongs to graphic design
graphic design
action filter_type
action find
entity Jannuzzi Smith
relation industry
type classification scheme
['Royal College of Art', 'industry', {'concept': 'classification scheme'}]
SELECT DISTINCT ?b WHERE { resource:Jannuzzi_Smith property:industry ?b . ?b rdf:type ontology:classification_scheme }
[]