Simple Question (Direct)
Simple Question
Q5128676
P21
Q290
USER
What is the sex of Claude Allen ?
(Q5128676,P21,c(Q290))
action filter_type
action find
entity Q5128676
relation P21
type Q290
['Q5128676', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q5128676 property:P21 ?r . ?r rdf:type ontology:Q290 }
Claude Allen
action filter_type
action find
entity Claude Allen
relation gender
type sex
['Claude Allen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Claude_Allen property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5128676,P21,c(Q290))
action filter_type
action find
entity Q5128676
relation P21
type Q290
The sex of Claude Allen is a [ANSWER]
['Q5128676', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q5128676 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of Claude Allen is a male
male
action filter_type
action find
entity Claude Allen
relation gender
type sex
['Claude Allen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Claude_Allen property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5128676
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q5128676
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q5128676 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Claude Allen
action filter_type
action find
entity Claude Allen
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Claude_Allen property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q5128676
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q5128676 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of that person
United States of America
action filter_type
action find
entity Claude Allen
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Claude_Allen property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5128676
P69
Q3918
USER
What are the universities where that person were educated ?
(Q30,P69,c(Q3918))
action filter_type
action find
entity Q5128676
relation P69
type Q3918
['Q30', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?b WHERE { resource:Q5128676 property:P69 ?b . ?b rdf:type ontology:Q3918 }
Claude Allen
action filter_type
action find
entity Claude Allen
relation educated at
type university
['United States of America', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?b WHERE { resource:Claude_Allen property:educated_at ?b . ?b rdf:type ontology:university }
[]
university
Q192334 Q5312901
SYSTEM
University of North Carolina at Chapel Hill, Duke University School of Law
Q192334 Q5312901
(Q30,P69,c(Q3918))
action filter_type
action find
entity Q5128676
relation P69
type Q3918
The universities that person were educated are the [ANSWERS]
['Q30', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?b WHERE { resource:Q5128676 property:P69 ?b . ?b rdf:type ontology:Q3918 }
University of North Carolina at Chapel Hill Duke University School of Law
The universities that person were educated are the University of North Carolina at Chapel Hill and Duke University School of Law
University of North Carolina at Chapel Hill Duke University School of Law
action filter_type
action find
entity Claude Allen
relation educated at
type university
['United States of America', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?b WHERE { resource:Claude_Allen property:educated_at ?b . ?b rdf:type ontology:university }
[]
Clarification
Simple Question|Single Entity|Indirect
Q192334
P127
Q811979
USER
Which architectural structures are under posessision of that university ?
(c(Q811979),P127,Q192334)
action filter_type
action find_reverse
entity Q192334
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q192334']
SELECT DISTINCT ?o WHERE { ?o property:P127 resource:Q192334 . ?o rdf:type ontology:Q811979 }
University of North Carolina at Chapel Hill
action filter_type
action find_reverse
entity University of North Carolina at Chapel Hill
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'University of North Carolina at Chapel Hill']
SELECT DISTINCT ?o WHERE { ?o property:owned_by resource:University_of_North_Carolina_at_Chapel_Hill . ?o rdf:type ontology:architectural_structure }
[]
architectural structure
Clarification for simple ques.
Q5312901
SYSTEM
Did you mean Duke University School of Law ?
Q192334 Q5312901
(c(Q811979),P127,Q192334) (c(Q811979),P127,Q5312901)
[ANSWER]
[{'concept': 'Q811979'}, 'P127', 'Q192334'] [{'concept': 'Q811979'}, 'P127', 'Q5312901']
SELECT DISTINCT ?o WHERE { ?o property:P127 resource:Q192334 . ?o rdf:type ontology:Q811979 }
University of North Carolina at Chapel Hill Duke University School of Law
Did you mean Duke University School of Law ?
Duke University School of Law
[{'concept': 'architectural structure'}, 'owned by', 'University of North Carolina at Chapel Hill'] [{'concept': 'architectural structure'}, 'owned by', 'Duke University School of Law']
SELECT DISTINCT ?o WHERE { ?o property:owned_by resource:University_of_North_Carolina_at_Chapel_Hill . ?o rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
USER
No, I meant University of North Carolina at Chapel Hill. Could you tell me the answer for that?
(c(Q811979),P127,Q192334)
Q192334
[{'concept': 'Q811979'}, 'P127', 'Q192334']
[{'concept': 'architectural structure'}, 'owned by', 'University of North Carolina at Chapel Hill']
[]
Q5446005 Q3020664 Q7807727
SYSTEM
Fetzer Field, Dean Smith Center, Tin Can
Q5446005 Q5043658 Q5004166 Q3020664 Q7807727
(c(Q811979),P127,Q192334)
action filter_type
action find_reverse
entity Q192334
relation P127
type Q811979
[ANSWERS] are under posessision of that university
[{'concept': 'Q811979'}, 'P127', 'Q192334']
SELECT DISTINCT ?o WHERE { ?o property:P127 resource:Q192334 . ?o rdf:type ontology:Q811979 }
Fetzer Field Carmichael Arena Bynum Gymnasium Dean Smith Center Tin Can
Fetzer Field, Dean Smith Center and Tin Can are under posessision of that university
Fetzer Field Dean Smith Center Tin Can
action filter_type
action find_reverse
entity University of North Carolina at Chapel Hill
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'University of North Carolina at Chapel Hill']
SELECT DISTINCT ?o WHERE { ?o property:owned_by resource:University_of_North_Carolina_at_Chapel_Hill . ?o rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5446005 Q3020664 Q7807727
P17
Q15617994
USER
Which administrative territories are those architectural structures located in ?
(Q5446005,P17,c(Q15617994)) (Q3020664,P17,c(Q15617994)) (Q7807727,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q5446005', 'P17', {'concept': 'Q15617994'}] ['Q3020664', 'P17', {'concept': 'Q15617994'}] ['Q7807727', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?p property:P17 ?h . ?h rdf:type ontology:Q15617994 . VALUES ( ?p ) { ( resource:Q5446005 ) ( resource:Q5043658 ) ( resource:Q5004166 ) } }
Fetzer Field Dean Smith Center Tin Can
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Fetzer Field', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Dean Smith Center', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Tin Can', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?p property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?p ) { ( resource:Fetzer_Field ) ( resource:Carmichael_Arena ) ( resource:Bynum_Gymnasium ) } }
[]
designation for an administrative territorial entity
Q30 Q30 Q30
SYSTEM
United States of America
Q30 Q30 Q30
(Q5446005,P17,c(Q15617994)) (Q3020664,P17,c(Q15617994)) (Q7807727,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those architectural structures are located in [ANSWER], [ANSWER] and [ANSWER]
['Q5446005', 'P17', {'concept': 'Q15617994'}] ['Q3020664', 'P17', {'concept': 'Q15617994'}] ['Q7807727', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?p property:P17 ?h . ?h rdf:type ontology:Q15617994 . VALUES ( ?p ) { ( resource:Q5446005 ) ( resource:Q5043658 ) ( resource:Q5004166 ) } }
United States of America United States of America United States of America
Those architectural structures are located in United States of America, United States of America and United States of America
United States of America United States of America United States of America
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Fetzer Field', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Dean Smith Center', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Tin Can', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?p property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?p ) { ( resource:Fetzer_Field ) ( resource:Carmichael_Arena ) ( resource:Bynum_Gymnasium ) } }
[]