Simple Question (Direct)
Simple Question
Q528309
P734
Q82799
USER
Who has the surname Kay Thompson ?
(Q528309,P734,c(Q82799))
action filter_type
action find
entity Q528309
relation P734
type Q82799
['Q528309', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q528309 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Kay Thompson
action filter_type
action find
entity Kay Thompson
relation family name
type name
['Kay Thompson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Kay_Thompson property:family_name ?w . ?w rdf:type ontology:name }
[]
name
Q2803433
SYSTEM
Thompson
Q2803433
(Q528309,P734,c(Q82799))
action filter_type
action find
entity Q528309
relation P734
type Q82799
[ANSWER] has the surname Kay [ANSWER]
['Q528309', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q528309 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Thompson
Thompson has the surname Kay Thompson
Thompson
action filter_type
action find
entity Kay Thompson
relation family name
type name
['Kay Thompson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Kay_Thompson property:family_name ?w . ?w rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q528309
P21
Q290
USER
What is the sex of that person ?
(Q2803433,P21,c(Q290))
action filter_type
action find
entity Q528309
relation P21
type Q290
['Q2803433', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q528309 property:P21 ?t . ?t rdf:type ontology:Q290 }
Kay Thompson
action filter_type
action find
entity Kay Thompson
relation gender
type sex
['Thompson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Kay_Thompson property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q2803433,P21,c(Q290))
action filter_type
action find
entity Q528309
relation P21
type Q290
The sex of that person is the [ANSWER]
['Q2803433', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q528309 property:P21 ?t . ?t rdf:type ontology:Q290 }
female
The sex of that person is the female
female
action filter_type
action find
entity Kay Thompson
relation gender
type sex
['Thompson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Kay_Thompson property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q528309
P170
Q15416
USER
What was developed by Kay Thompson ?
(c(Q15416),P170,Q528309)
action filter_type
action find_reverse
entity Q528309
relation P170
type Q15416
[{'concept': 'Q15416'}, 'P170', 'Q528309']
SELECT DISTINCT ?m WHERE { ?m property:P170 resource:Q528309 . ?m rdf:type ontology:Q15416 }
Kay Thompson
action filter_type
action find_reverse
entity Kay Thompson
relation creator
type television program
[{'concept': 'television program'}, 'creator', 'Kay Thompson']
SELECT DISTINCT ?m WHERE { ?m property:creator resource:Kay_Thompson . ?m rdf:type ontology:television_program }
[]
television program
Q632593
SYSTEM
Eloise: The Animated Series
Q632593
(c(Q15416),P170,Q528309)
action filter_type
action find_reverse
entity Q528309
relation P170
type Q15416
And [ANSWER] was developed by Kay Thompson
[{'concept': 'Q15416'}, 'P170', 'Q528309']
SELECT DISTINCT ?m WHERE { ?m property:P170 resource:Q528309 . ?m rdf:type ontology:Q15416 }
Eloise: The Animated Series
And Eloise: The Animated Series was developed by Kay Thompson
Eloise: The Animated Series
action filter_type
action find_reverse
entity Kay Thompson
relation creator
type television program
[{'concept': 'television program'}, 'creator', 'Kay Thompson']
SELECT DISTINCT ?m WHERE { ?m property:creator resource:Kay_Thompson . ?m rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q528309
P26
Q502895
USER
Which people are the spouses of Kay Thompson ?
(Q528309,P26,c(Q502895))
action filter_type
action find
entity Q528309
relation P26
type Q502895
['Q528309', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q528309 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Kay Thompson
action filter_type
action find
entity Kay Thompson
relation spouse
type common name
['Kay Thompson', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Kay_Thompson property:spouse ?c . ?c rdf:type ontology:common_name }
[]
common name
Q1473196 Q8018660
SYSTEM
Jack Jenney, William Spier
Q1473196 Q8018660
(Q528309,P26,c(Q502895))
action filter_type
action find
entity Q528309
relation P26
type Q502895
[ANSWERS] are the spouses of Kay Thompson
['Q528309', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q528309 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Jack Jenney William Spier
Jack Jenney and William Spier are the spouses of Kay Thompson
Jack Jenney William Spier
action filter_type
action find
entity Kay Thompson
relation spouse
type common name
['Kay Thompson', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Kay_Thompson property:spouse ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1473196 Q8018660
P106
Q12737077
USER
What are the job of those people ?
(Q1473196,P106,c(Q12737077)) (Q8018660,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q1473196', 'P106', {'concept': 'Q12737077'}] ['Q8018660', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . VALUES ( ?r ) { ( resource:Q1473196 ) ( resource:Q8018660 ) } . ?r property:P106 ?g }
Jack Jenney William Spier
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Jack Jenney', 'occupation', {'concept': 'occupation'}] ['William Spier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . VALUES ( ?r ) { ( resource:Jack_Jenney ) ( resource:William_Spier ) } . ?r property:occupation ?g }
[]
occupation
Q15981151 Q1350157 Q486748
SYSTEM
jazz musician, music critic, pianist
Q15981151 Q806349 Q1350157 Q486748
(Q1473196,P106,c(Q12737077)) (Q8018660,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
The job of those people are a [ANSWERS]
['Q1473196', 'P106', {'concept': 'Q12737077'}] ['Q8018660', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . VALUES ( ?r ) { ( resource:Q1473196 ) ( resource:Q8018660 ) } . ?r property:P106 ?g }
jazz musician bandleader music critic pianist
The job of those people are a jazz musician, music critic and pianist
jazz musician music critic pianist
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Jack Jenney', 'occupation', {'concept': 'occupation'}] ['William Spier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . VALUES ( ?r ) { ( resource:Jack_Jenney ) ( resource:William_Spier ) } . ?r property:occupation ?g }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1473196
P136
Q151885
USER
Which genre does that person belong to ?
(Q1473196,P136,c(Q151885))
action filter_type
action find
entity Q1473196
relation P136
type Q151885
['Q1473196', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { resource:Q1473196 property:P136 ?c . ?c rdf:type ontology:Q151885 }
Jack Jenney
action filter_type
action find
entity Jack Jenney
relation genre
type concept
['Jack Jenney', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { resource:Jack_Jenney property:genre ?c . ?c rdf:type ontology:concept }
[]
concept
Clarification for simple ques.
Q1473196
SYSTEM
Did you mean Jack Jenney ?
Q15981151 Q1350157 Q486748
(Q15981151,P136,c(Q151885)) (Q1350157,P136,c(Q151885)) (Q486748,P136,c(Q151885))
[ANSWER]
['Q15981151', 'P136', {'concept': 'Q151885'}] ['Q1350157', 'P136', {'concept': 'Q151885'}] ['Q486748', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { resource:Q1473196 property:P136 ?c . ?c rdf:type ontology:Q151885 }
jazz musician music critic pianist
Did you mean Jack Jenney ?
Jack Jenney
['jazz musician', 'genre', {'concept': 'concept'}] ['music critic', 'genre', {'concept': 'concept'}] ['pianist', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { resource:Jack_Jenney property:genre ?c . ?c rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1473196,P136,c(Q151885))
['Q1473196', 'P136', {'concept': 'Q151885'}]
['Jack Jenney', 'genre', {'concept': 'concept'}]
[]
Q8341
SYSTEM
jazz
Q8341
(Q1473196,P136,c(Q151885))
action filter_type
action find
entity Q1473196
relation P136
type Q151885
That person belongs to [ANSWER]
['Q1473196', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { resource:Q1473196 property:P136 ?c . ?c rdf:type ontology:Q151885 }
jazz
That person belongs to jazz
jazz
action filter_type
action find
entity Jack Jenney
relation genre
type concept
['Jack Jenney', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { resource:Jack_Jenney property:genre ?c . ?c rdf:type ontology:concept }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P941
Q151885 Q502895
USER
How many concepts were the sources of inspiration for approximately the same number of people as that concept ?
(c(Q502895),P941,c(Q151885))
action count
action approx
action find_reverse_tuple_counts
relation P941
type Q151885
type Q502895
action count
action filter_type
action find
entity Q8341
relation P941
type Q151885
[{'concept': 'Q502895'}, 'P941', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { ?s rdf:type ontology:Q151885 . resource:Q8341 property:P941 ?s } } . FILTER ( ?v = ?k ) . { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?v ) WHERE { ?u property:P941 ?z . ?u rdf:type ontology:Q502895 . ?z rdf:type ontology:Q151885 } GROUP BY ?z } }
action count
action approx
action find_reverse_tuple_counts
relation inspired by
type concept
type common name
action count
action filter_type
action find
entity jazz
relation inspired by
type concept
[{'concept': 'common name'}, 'inspired by', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { ?s rdf:type ontology:concept . resource:jazz property:inspired_by ?s } } . FILTER ( ?v = ?k ) . { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?v ) WHERE { ?u property:inspired_by ?z . ?u rdf:type ontology:common_name . ?z rdf:type ontology:concept } GROUP BY ?z } }
[]
concept common name
SYSTEM
1
Q8341
(c(Q502895),P941,c(Q151885))
action count
action approx
action find_reverse_tuple_counts
relation P941
type Q151885
type Q502895
action count
action filter_type
action find
entity Q8341
relation P941
type Q151885
[ANSWER]
[{'concept': 'Q502895'}, 'P941', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { ?s rdf:type ontology:Q151885 . resource:Q8341 property:P941 ?s } } . FILTER ( ?v = ?k ) . { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?v ) WHERE { ?u property:P941 ?z . ?u rdf:type ontology:Q502895 . ?z rdf:type ontology:Q151885 } GROUP BY ?z } }
jazz
1
action count
action approx
action find_reverse_tuple_counts
relation inspired by
type concept
type common name
action count
action filter_type
action find
entity jazz
relation inspired by
type concept
[{'concept': 'common name'}, 'inspired by', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { ?s rdf:type ontology:concept . resource:jazz property:inspired_by ?s } } . FILTER ( ?v = ?k ) . { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?v ) WHERE { ?u property:inspired_by ?z . ?u rdf:type ontology:common_name . ?z rdf:type ontology:concept } GROUP BY ?z } }
[]