Simple Question (Direct)
Simple Question
Q236321
P21
Q290
USER
Which sex does Katherine Paterson have ?
(Q236321,P21,c(Q290))
action filter_type
action find
entity Q236321
relation P21
type Q290
['Q236321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q236321 property:P21 ?d . ?d rdf:type ontology:Q290 }
Katherine Paterson
action filter_type
action find
entity Katherine Paterson
relation gender
type sex
['Katherine Paterson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Katherine_Paterson property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q236321,P21,c(Q290))
action filter_type
action find
entity Q236321
relation P21
type Q290
Katherine Paterson has a [ANSWER]
['Q236321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q236321 property:P21 ?d . ?d rdf:type ontology:Q290 }
female
Katherine Paterson has a female
female
action filter_type
action find
entity Katherine Paterson
relation gender
type sex
['Katherine Paterson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Katherine_Paterson property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q236321
P58
Q838948
USER
Which work of art is Katherine Paterson a screenwriter of ?
(c(Q838948),P58,Q236321)
action filter_type
action find_reverse
entity Q236321
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q236321']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q838948 . ?p property:P58 resource:Q236321 }
Katherine Paterson
action filter_type
action find_reverse
entity Katherine Paterson
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Katherine Paterson']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:work_of_art . ?p property:screenwriter resource:Katherine_Paterson }
[]
work of art
Q577330
SYSTEM
Bridge to Terabithia
Q577330
(c(Q838948),P58,Q236321)
action filter_type
action find_reverse
entity Q236321
relation P58
type Q838948
[ANSWER] is Katherine Paterson a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q236321']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q838948 . ?p property:P58 resource:Q236321 }
Bridge to Terabithia
Bridge to Terabithia is Katherine Paterson a screenwriter of
Bridge to Terabithia
action filter_type
action find_reverse
entity Katherine Paterson
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Katherine Paterson']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:work_of_art . ?p property:screenwriter resource:Katherine_Paterson }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q236321
P50
Q2342494
USER
What are the collectables written by Katherine Paterson ?
(c(Q2342494),P50,Q236321)
action filter_type
action find_reverse
entity Q236321
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q236321']
SELECT DISTINCT ?s WHERE { ?s property:P50 resource:Q236321 . ?s rdf:type ontology:Q2342494 }
Katherine Paterson
action filter_type
action find_reverse
entity Katherine Paterson
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Katherine Paterson']
SELECT DISTINCT ?s WHERE { ?s property:author resource:Katherine_Paterson . ?s rdf:type ontology:collectable }
[]
collectable
Q838776 Q7737781 Q7078790
SYSTEM
Bridge to Terabithia, The Great Gilly Hopkins, Of Nightingales That Weep
Q7137578 Q7302116 Q7737781 Q7078790 Q5151273 Q6118723 Q4959163 Q18206371 Q6202927 Q838776 Q5459635 Q7239290 Q7764163 Q7762173 Q6707534 Q7750604
(c(Q2342494),P50,Q236321)
action filter_type
action find_reverse
entity Q236321
relation P50
type Q2342494
The collectables written by Katherine Paterson are The [ANSWERS]
[{'concept': 'Q2342494'}, 'P50', 'Q236321']
SELECT DISTINCT ?s WHERE { ?s property:P50 resource:Q236321 . ?s rdf:type ontology:Q2342494 }
Park's Quest Rebels of the Heavenly Kingdom The Great Gilly Hopkins Of Nightingales That Weep Come Sing, Jimmy Jo Jacob Have I Loved Bread and Roses, Too The Day of the Pelican Jip, His Story Bridge to Terabithia Flip-Flop Girl Preacher's Boy The Sign of the Chrysanthemum The Same Stuff as Stars Lyddie The Master Puppeteer
The collectables written by Katherine Paterson are The Bridge to Terabithia, The Great Gilly Hopkins and Of Nightingales That Weep
Bridge to Terabithia The Great Gilly Hopkins Of Nightingales That Weep
action filter_type
action find_reverse
entity Katherine Paterson
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Katherine Paterson']
SELECT DISTINCT ?s WHERE { ?s property:author resource:Katherine_Paterson . ?s rdf:type ontology:collectable }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q838948 Q15416 Q838948
USER
Which works of art are exactly 4 television programs or works of art based on ?
(c(Q15416)|c(Q838948),P144,c(Q838948))
action equal
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q15416
action find_reverse_tuple_counts
relation P144
type Q838948
type Q838948
value 4
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?m = 4 ) . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?m ) WHERE { { ?z property:P144 ?j . ?j rdf:type ontology:Q838948 . ?z rdf:type ontology:Q15416 } UNION { ?z property:P144 ?j . ?j rdf:type ontology:Q838948 . ?z rdf:type ontology:Q838948 } } GROUP BY ?j } }
action equal
action union
action find_reverse_tuple_counts
relation based on
type work of art
type television program
action find_reverse_tuple_counts
relation based on
type work of art
type work of art
value 4
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?m = 4 ) . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?m ) WHERE { { ?z property:based_on ?j . ?j rdf:type ontology:work_of_art . ?z rdf:type ontology:television_program } UNION { ?z property:based_on ?j . ?j rdf:type ontology:work_of_art . ?z rdf:type ontology:work_of_art } } GROUP BY ?j } }
[]
work of art television program work of art
Q20475 Q3530081 Q332387
SYSTEM
Yojimbo, Manichitrathazhu, The Taming of the Shrew
Q86440 Q4937000 Q20475 Q176465 Q477823 Q332387 Q208094 Q3530081 Q221211
(c(Q15416)|c(Q838948),P144,c(Q838948))
action equal
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q15416
action find_reverse_tuple_counts
relation P144
type Q838948
type Q838948
value 4
[ANSWERS] are exactly 4 television programs or works of art based on
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?m = 4 ) . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?m ) WHERE { { ?z property:P144 ?j . ?j rdf:type ontology:Q838948 . ?z rdf:type ontology:Q15416 } UNION { ?z property:P144 ?j . ?j rdf:type ontology:Q838948 . ?z rdf:type ontology:Q838948 } } GROUP BY ?j } }
The Tempest Bodyguard Yojimbo Hedda Gabler Three Sisters The Taming of the Shrew Peer Gynt Manichitrathazhu Twelfth Night
Yojimbo, Manichitrathazhu and The Taming of the Shrew are exactly 4 television programs or works of art based on
Yojimbo Manichitrathazhu The Taming of the Shrew
action equal
action union
action find_reverse_tuple_counts
relation based on
type work of art
type television program
action find_reverse_tuple_counts
relation based on
type work of art
type work of art
value 4
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?m = 4 ) . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?m ) WHERE { { ?z property:based_on ?j . ?j rdf:type ontology:work_of_art . ?z rdf:type ontology:television_program } UNION { ?z property:based_on ?j . ?j rdf:type ontology:work_of_art . ?z rdf:type ontology:work_of_art } } GROUP BY ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q838776
P136
Q483394
USER
What can be considered as category for Bridge to Terabithia ?
(Q838776,P136,c(Q483394))
action filter_type
action find
entity Q838776
relation P136
type Q483394
['Q838776', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?w WHERE { resource:Q838776 property:P136 ?w . ?w rdf:type ontology:Q483394 }
Bridge to Terabithia
action filter_type
action find
entity Bridge to Terabithia
relation genre
type genre
['Bridge to Terabithia', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?w WHERE { resource:Bridge_to_Terabithia property:genre ?w . ?w rdf:type ontology:genre }
[]
genre
Q8253
SYSTEM
fiction
Q8253
(Q838776,P136,c(Q483394))
action filter_type
action find
entity Q838776
relation P136
type Q483394
[ANSWER] can be considered as category for Bridge to Terabithia
['Q838776', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?w WHERE { resource:Q838776 property:P136 ?w . ?w rdf:type ontology:Q483394 }
fiction
Fiction can be considered as category for Bridge to Terabithia
fiction
action filter_type
action find
entity Bridge to Terabithia
relation genre
type genre
['Bridge to Terabithia', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?w WHERE { resource:Bridge_to_Terabithia property:genre ?w . ?w rdf:type ontology:genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q838776
P361
Q15619164
USER
Which abstract being is a part of Bridge to Terabithia ?
(c(Q15619164),P361,Q838776)
action filter_type
action find_reverse
entity Q838776
relation P361
type Q15619164
[{'concept': 'Q15619164'}, 'P361', 'Q838776']
SELECT DISTINCT ?x WHERE { ?x property:P361 resource:Q838776 . ?x rdf:type ontology:Q15619164 }
Bridge to Terabithia
action filter_type
action find_reverse
entity Bridge to Terabithia
relation part of
type abstract being
[{'concept': 'abstract being'}, 'part of', 'Bridge to Terabithia']
SELECT DISTINCT ?x WHERE { ?x property:part_of resource:Bridge_to_Terabithia . ?x rdf:type ontology:abstract_being }
[]
abstract being
Q6564695
SYSTEM
Leslie Burke
Q6564695
(c(Q15619164),P361,Q838776)
action filter_type
action find_reverse
entity Q838776
relation P361
type Q15619164
[ANSWER] is a part of Bridge to Terabithia
[{'concept': 'Q15619164'}, 'P361', 'Q838776']
SELECT DISTINCT ?x WHERE { ?x property:P361 resource:Q838776 . ?x rdf:type ontology:Q15619164 }
Leslie Burke
Leslie Burke is a part of Bridge to Terabithia
Leslie Burke
action filter_type
action find_reverse
entity Bridge to Terabithia
relation part of
type abstract being
[{'concept': 'abstract being'}, 'part of', 'Bridge to Terabithia']
SELECT DISTINCT ?x WHERE { ?x property:part_of resource:Bridge_to_Terabithia . ?x rdf:type ontology:abstract_being }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q838776
P921
Q714737
USER
What was the main subject of Bridge to Terabithia 's work ?
(Q838776,P921,c(Q714737))
action filter_type
action find
entity Q838776
relation P921
type Q714737
['Q838776', 'P921', {'concept': 'Q714737'}]
SELECT DISTINCT ?c WHERE { resource:Q838776 property:P921 ?c . ?c rdf:type ontology:Q714737 }
Bridge to Terabithia
action filter_type
action find
entity Bridge to Terabithia
relation main subject
type category of being
['Bridge to Terabithia', 'main subject', {'concept': 'category of being'}]
SELECT DISTINCT ?c WHERE { resource:Bridge_to_Terabithia property:main_subject ?c . ?c rdf:type ontology:category_of_being }
[]
category of being
Q4
SYSTEM
death
Q4
(Q838776,P921,c(Q714737))
action filter_type
action find
entity Q838776
relation P921
type Q714737
The main subject of Bridge to Terabithia's work was the [ANSWER]
['Q838776', 'P921', {'concept': 'Q714737'}]
SELECT DISTINCT ?c WHERE { resource:Q838776 property:P921 ?c . ?c rdf:type ontology:Q714737 }
death
The main subject of Bridge to Terabithia's work was the death
death
action filter_type
action find
entity Bridge to Terabithia
relation main subject
type category of being
['Bridge to Terabithia', 'main subject', {'concept': 'category of being'}]
SELECT DISTINCT ?c WHERE { resource:Bridge_to_Terabithia property:main_subject ?c . ?c rdf:type ontology:category_of_being }
[]