Simple Question (Direct)
Simple Question
Q886103
P40
Q502895
USER
Who are an offsprings of Cenred of Wessex ?
(Q886103,P40,c(Q502895))
action filter_type
action find
entity Q886103
relation P40
type Q502895
['Q886103', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q886103 property:P40 ?r . ?r rdf:type ontology:Q502895 }
Cenred of Wessex
action filter_type
action find
entity Cenred of Wessex
relation child
type common name
['Cenred of Wessex', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Cenred_of_Wessex property:child ?r . ?r rdf:type ontology:common_name }
[]
common name
Q5196821 Q451580 Q25990706
SYSTEM
Cuthburh, Ine, Ingild of Wessex
Q16208335 Q451580 Q5196821 Q25990706
(Q886103,P40,c(Q502895))
action filter_type
action find
entity Q886103
relation P40
type Q502895
An offsprings of Cenred of Wessex are [ANSWERS]
['Q886103', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q886103 property:P40 ?r . ?r rdf:type ontology:Q502895 }
Cwenburh Ine Cuthburh Ingild of Wessex
An offsprings of Cenred of Wessex are Cuthburh, Ine and Ingild of Wessex
Cuthburh Ine Ingild of Wessex
action filter_type
action find
entity Cenred of Wessex
relation child
type common name
['Cenred of Wessex', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Cenred_of_Wessex property:child ?r . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5196821
P140
Q874405
USER
What is the religious affiliation of that person ?
(Q5196821,P140,c(Q874405))
action filter_type
action find
entity Q5196821
relation P140
type Q874405
['Q5196821', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q5196821 property:P140 ?k . ?k rdf:type ontology:Q874405 }
Cuthburh
action filter_type
action find
entity Cuthburh
relation religion
type social group
['Cuthburh', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:Cuthburh property:religion ?k . ?k rdf:type ontology:social_group }
[]
social group
Clarification for simple ques.
Q25990706
SYSTEM
Did you mean Ingild of Wessex ?
Q5196821 Q451580 Q25990706
(Q5196821,P140,c(Q874405)) (Q451580,P140,c(Q874405)) (Q25990706,P140,c(Q874405))
[ANSWER]
['Q5196821', 'P140', {'concept': 'Q874405'}] ['Q451580', 'P140', {'concept': 'Q874405'}] ['Q25990706', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q5196821 property:P140 ?k . ?k rdf:type ontology:Q874405 }
Cuthburh Ine Ingild of Wessex
Did you mean Ingild of Wessex ?
Ingild of Wessex
['Cuthburh', 'religion', {'concept': 'social group'}] ['Ine', 'religion', {'concept': 'social group'}] ['Ingild of Wessex', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:Cuthburh property:religion ?k . ?k rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
USER
No, I meant Cuthburh. Could you tell me the answer for that?
(Q5196821,P140,c(Q874405))
Q5196821
['Q5196821', 'P140', {'concept': 'Q874405'}]
['Cuthburh', 'religion', {'concept': 'social group'}]
[]
Q5043
SYSTEM
Christianity
Q5043
(Q5196821,P140,c(Q874405))
action filter_type
action find
entity Q5196821
relation P140
type Q874405
The religious affiliation of that person is to [ANSWER]
['Q5196821', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q5196821 property:P140 ?k . ?k rdf:type ontology:Q874405 }
Christianity
The religious affiliation of that person is to Christianity
Christianity
action filter_type
action find
entity Cuthburh
relation religion
type social group
['Cuthburh', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:Cuthburh property:religion ?k . ?k rdf:type ontology:social_group }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P941
Q874405 Q15709879
USER
Which social groups inspired around the same number of artwork series as that social group ?
(c(Q15709879),P941,c(Q874405))
action approx
action find_reverse_tuple_counts
relation P941
type Q874405
type Q15709879
action count
action filter_type
action find
entity Q5043
relation P941
type Q874405
[{'concept': 'Q15709879'}, 'P941', {'concept': 'Q874405'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:P941 ?i . ?i rdf:type ontology:Q874405 . ?r rdf:type ontology:Q15709879 } GROUP BY ?i } . FILTER ( ?z = ?h ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Q5043 property:P941 ?d . ?d rdf:type ontology:Q874405 } } }
action approx
action find_reverse_tuple_counts
relation inspired by
type social group
type artwork series
action count
action filter_type
action find
entity Christianity
relation inspired by
type social group
[{'concept': 'artwork series'}, 'inspired by', {'concept': 'social group'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:inspired_by ?i . ?i rdf:type ontology:social_group . ?r rdf:type ontology:artwork_series } GROUP BY ?i } . FILTER ( ?z = ?h ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Christianity property:inspired_by ?d . ?d rdf:type ontology:social_group } } }
[]
social group artwork series
Q5043 Q748 Q7560
SYSTEM
Christianity, Buddhism, mother
Q5043 Q7560 Q9235758 Q748 Q41726
(c(Q15709879),P941,c(Q874405))
action approx
action find_reverse_tuple_counts
relation P941
type Q874405
type Q15709879
action count
action filter_type
action find
entity Q5043
relation P941
type Q874405
[ANSWERS] inspired around the same number of artwork series as that social group
[{'concept': 'Q15709879'}, 'P941', {'concept': 'Q874405'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:P941 ?i . ?i rdf:type ontology:Q874405 . ?r rdf:type ontology:Q15709879 } GROUP BY ?i } . FILTER ( ?z = ?h ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Q5043 property:P941 ?d . ?d rdf:type ontology:Q874405 } } }
Christianity mother grandmother Buddhism freemasonry
Christianity, Buddhism and mother inspired around the same number of artwork series as that social group
Christianity Buddhism mother
action approx
action find_reverse_tuple_counts
relation inspired by
type social group
type artwork series
action count
action filter_type
action find
entity Christianity
relation inspired by
type social group
[{'concept': 'artwork series'}, 'inspired by', {'concept': 'social group'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:inspired_by ?i . ?i rdf:type ontology:social_group . ?r rdf:type ontology:artwork_series } GROUP BY ?i } . FILTER ( ?z = ?h ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { resource:Christianity property:inspired_by ?d . ?d rdf:type ontology:social_group } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5043
P136
Q2342494
USER
Which collectables as Christianity as their class ?
(c(Q2342494),P136,Q5043)
action filter_type
action find_reverse
entity Q5043
relation P136
type Q2342494
[{'concept': 'Q2342494'}, 'P136', 'Q5043']
SELECT DISTINCT ?v WHERE { ?v property:P136 resource:Q5043 . ?v rdf:type ontology:Q2342494 }
Christianity
action filter_type
action find_reverse
entity Christianity
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'Christianity']
SELECT DISTINCT ?v WHERE { ?v property:genre resource:Christianity . ?v rdf:type ontology:collectable }
[]
collectable
Q3071431 Q2475623 Q7734295
SYSTEM
Spiritual Canticle, El Castillo Interior, The Five Thousand Year Leap
Q3136640 Q7734295 Q7797885 Q1193229 Q5193120 Q1570659 Q3071431 Q5595158 Q5118115 Q3211262 Q7302977 Q7754319 Q2475623 Q5232904 Q7859317 Q7731528 Q7859315 Q2962522 Q7313991
(c(Q2342494),P136,Q5043)
action filter_type
action find_reverse
entity Q5043
relation P136
type Q2342494
[ANSWERS]
[{'concept': 'Q2342494'}, 'P136', 'Q5043']
SELECT DISTINCT ?v WHERE { ?v property:P136 resource:Q5043 . ?v rdf:type ontology:Q2342494 }
The Story of a Soul The Five Thousand Year Leap Three Upbuilding Discourses, 1844 Fear and Trembling Cult-Proofing Your Kids On the Jews and Their Lies Spiritual Canticle Grand Theft Jesus Churches That Abuse Dark Night of the Soul Recovering Biblical Manhood and Womanhood The Normal Christian Life El Castillo Interior Poem of the Man God Two Upbuilding Discourses, 1844 The Economy of God Two Upbuilding Discourses, 1843 Camino de Perfección Repetition
PROBLEM PLURALIZE
Spiritual Canticle El Castillo Interior The Five Thousand Year Leap
action filter_type
action find_reverse
entity Christianity
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'Christianity']
SELECT DISTINCT ?v WHERE { ?v property:genre resource:Christianity . ?v rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3071431 Q2475623 Q7734295
P50
Q502895
USER
Which people authored Spiritual Canticle, El Castillo Interior and The Five Thousand Year Leap ?
(Q3071431,P50,c(Q502895)) (Q2475623,P50,c(Q502895)) (Q7734295,P50,c(Q502895))
action union
action filter_type
action find
entity Q3071431
relation P50
type Q502895
action filter_type
action find
entity Q2475623
relation P50
type Q502895
action filter_type
action find
entity Q7734295
relation P50
type Q502895
['Q3071431', 'P50', {'concept': 'Q502895'}] ['Q2475623', 'P50', {'concept': 'Q502895'}] ['Q7734295', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { resource:Q3071431 property:P50 ?m . ?m rdf:type ontology:Q502895 } UNION { resource:Q2475623 property:P50 ?m . ?m rdf:type ontology:Q502895 } }
Spiritual Canticle El Castillo Interior The Five Thousand Year Leap
action union
action filter_type
action find
entity Spiritual Canticle
relation author
type common name
action filter_type
action find
entity El Castillo Interior
relation author
type common name
action filter_type
action find
entity The Five Thousand Year Leap
relation author
type common name
['Spiritual Canticle', 'author', {'concept': 'common name'}] ['El Castillo Interior', 'author', {'concept': 'common name'}] ['The Five Thousand Year Leap', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { resource:Spiritual_Canticle property:author ?m . ?m rdf:type ontology:common_name } UNION { resource:El_Castillo_Interior property:author ?m . ?m rdf:type ontology:common_name } }
[]
common name
Q190388 Q174880 Q1100480
SYSTEM
John of the Cross, Teresa of Ávila, W. Cleon Skousen
Q190388 Q174880 Q1100480
(Q3071431,P50,c(Q502895)) (Q2475623,P50,c(Q502895)) (Q7734295,P50,c(Q502895))
action union
action filter_type
action find
entity Q3071431
relation P50
type Q502895
action filter_type
action find
entity Q2475623
relation P50
type Q502895
action filter_type
action find
entity Q7734295
relation P50
type Q502895
[ANSWERS] authored Spiritual Canticle, El Castillo Interior and The Five Thousand Year Leap
['Q3071431', 'P50', {'concept': 'Q502895'}] ['Q2475623', 'P50', {'concept': 'Q502895'}] ['Q7734295', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { resource:Q3071431 property:P50 ?m . ?m rdf:type ontology:Q502895 } UNION { resource:Q2475623 property:P50 ?m . ?m rdf:type ontology:Q502895 } }
John of the Cross Teresa of Ávila W. Cleon Skousen
John of the Cross, Teresa of Ávila and W. Cleon Skousen authored Spiritual Canticle, El Castillo Interior and The Five Thousand Year Leap
John of the Cross Teresa of Ávila W. Cleon Skousen
action union
action filter_type
action find
entity Spiritual Canticle
relation author
type common name
action filter_type
action find
entity El Castillo Interior
relation author
type common name
action filter_type
action find
entity The Five Thousand Year Leap
relation author
type common name
['Spiritual Canticle', 'author', {'concept': 'common name'}] ['El Castillo Interior', 'author', {'concept': 'common name'}] ['The Five Thousand Year Leap', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { resource:Spiritual_Canticle property:author ?m . ?m rdf:type ontology:common_name } UNION { resource:El_Castillo_Interior property:author ?m . ?m rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q190388 Q174880 Q1100480
P21
Q290
USER
Which sexes do those people possess ?
(Q190388,P21,c(Q290)) (Q174880,P21,c(Q290)) (Q1100480,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q190388', 'P21', {'concept': 'Q290'}] ['Q174880', 'P21', {'concept': 'Q290'}] ['Q1100480', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . ?k property:P21 ?p . VALUES ( ?k ) { ( resource:Q190388 ) ( resource:Q174880 ) ( resource:Q1100480 ) } }
John of the Cross Teresa of Ávila W. Cleon Skousen
action filter_type
action find
entity prev_answer
relation gender
type sex
['John of the Cross', 'gender', {'concept': 'sex'}] ['Teresa of Ávila', 'gender', {'concept': 'sex'}] ['W. Cleon Skousen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . ?k property:gender ?p . VALUES ( ?k ) { ( resource:John_of_the_Cross ) ( resource:Teresa_of_Ávila ) ( resource:W._Cleon_Skousen ) } }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097
(Q190388,P21,c(Q290)) (Q174880,P21,c(Q290)) (Q1100480,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q190388', 'P21', {'concept': 'Q290'}] ['Q174880', 'P21', {'concept': 'Q290'}] ['Q1100480', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . ?k property:P21 ?p . VALUES ( ?k ) { ( resource:Q190388 ) ( resource:Q174880 ) ( resource:Q1100480 ) } }
male female male
Those people possess a male, female and male
male female male
action filter_type
action find
entity prev_answer
relation gender
type sex
['John of the Cross', 'gender', {'concept': 'sex'}] ['Teresa of Ávila', 'gender', {'concept': 'sex'}] ['W. Cleon Skousen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . ?k property:gender ?p . VALUES ( ?k ) { ( resource:John_of_the_Cross ) ( resource:Teresa_of_Ávila ) ( resource:W._Cleon_Skousen ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q190388
P411
Q82799
USER
Which name is held by that person ?
(Q190388,P411,c(Q82799))
action filter_type
action find
entity Q190388
relation P411
type Q82799
['Q190388', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q190388 property:P411 ?r . ?r rdf:type ontology:Q82799 }
John of the Cross
action filter_type
action find
entity John of the Cross
relation canonization status
type name
['John of the Cross', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:John_of_the_Cross property:canonization_status ?r . ?r rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q190388
SYSTEM
Did you mean John of the Cross ?
Q6581097 Q6581072 Q6581097
(Q6581097,P411,c(Q82799)) (Q6581072,P411,c(Q82799)) (Q6581097,P411,c(Q82799))
[ANSWER]
['Q6581097', 'P411', {'concept': 'Q82799'}] ['Q6581072', 'P411', {'concept': 'Q82799'}] ['Q6581097', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q190388 property:P411 ?r . ?r rdf:type ontology:Q82799 }
male female male
Did you mean John of the Cross ?
John of the Cross
['male', 'canonization status', {'concept': 'name'}] ['female', 'canonization status', {'concept': 'name'}] ['male', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:John_of_the_Cross property:canonization_status ?r . ?r rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q190388,P411,c(Q82799))
['Q190388', 'P411', {'concept': 'Q82799'}]
['John of the Cross', 'canonization status', {'concept': 'name'}]
[]
Q43115
SYSTEM
saint
Q43115
(Q190388,P411,c(Q82799))
action filter_type
action find
entity Q190388
relation P411
type Q82799
Is [ANSWER] is held by that person
['Q190388', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q190388 property:P411 ?r . ?r rdf:type ontology:Q82799 }
saint
Is saint is held by that person
saint
action filter_type
action find
entity John of the Cross
relation canonization status
type name
['John of the Cross', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:John_of_the_Cross property:canonization_status ?r . ?r rdf:type ontology:name }
[]