Simple Question (Direct)
Simple Question
Q273712
P26
Q502895
USER
Which person is the life partner of Caroline Thompson ?
(Q273712,P26,c(Q502895))
action filter_type
action find
entity Q273712
relation P26
type Q502895
['Q273712', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q273712 property:P26 ?t }
Caroline Thompson
action filter_type
action find
entity Caroline Thompson
relation spouse
type common name
['Caroline Thompson', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Caroline_Thompson property:spouse ?t }
[]
common name
Q3132663
SYSTEM
Henry Bromell
Q3132663
(Q273712,P26,c(Q502895))
action filter_type
action find
entity Q273712
relation P26
type Q502895
[ANSWER] is the life partner of Caroline Thompson
['Q273712', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q273712 property:P26 ?t }
Henry Bromell
Henry Bromell is the life partner of Caroline Thompson
Henry Bromell
action filter_type
action find
entity Caroline Thompson
relation spouse
type common name
['Caroline Thompson', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Caroline_Thompson property:spouse ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q273712
P1346
Q378427
USER
Where was Caroline Thompson decalred as a victor ?
(c(Q378427),P1346,Q273712)
action filter_type
action find_reverse
entity Q273712
relation P1346
type Q378427
[{'concept': 'Q378427'}, 'P1346', 'Q273712']
SELECT DISTINCT ?e WHERE { ?e property:P1346 resource:Q273712 . ?e rdf:type ontology:Q378427 }
Caroline Thompson
action filter_type
action find_reverse
entity Caroline Thompson
relation winner
type literary award
[{'concept': 'literary award'}, 'winner', 'Caroline Thompson']
SELECT DISTINCT ?e WHERE { ?e property:winner resource:Caroline_Thompson . ?e rdf:type ontology:literary_award }
[]
literary award
Q3414212
SYSTEM
Hugo Award for Best Dramatic Presentation
Q3414212
(c(Q378427),P1346,Q273712)
action filter_type
action find_reverse
entity Q273712
relation P1346
type Q378427
Caroline Thompson was decalred for [ANSWER] as a victor
[{'concept': 'Q378427'}, 'P1346', 'Q273712']
SELECT DISTINCT ?e WHERE { ?e property:P1346 resource:Q273712 . ?e rdf:type ontology:Q378427 }
Hugo Award for Best Dramatic Presentation
Caroline Thompson was decalred for Hugo Award for Best Dramatic Presentation as a victor
Hugo Award for Best Dramatic Presentation
action filter_type
action find_reverse
entity Caroline Thompson
relation winner
type literary award
[{'concept': 'literary award'}, 'winner', 'Caroline Thompson']
SELECT DISTINCT ?e WHERE { ?e property:winner resource:Caroline_Thompson . ?e rdf:type ontology:literary_award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q273712
P69
Q163740
USER
Where were Caroline Thompson educated ?
(Q273712,P69,c(Q163740))
action filter_type
action find
entity Q273712
relation P69
type Q163740
['Q273712', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?k WHERE { resource:Q273712 property:P69 ?k . ?k rdf:type ontology:Q163740 }
Caroline Thompson
action filter_type
action find
entity Caroline Thompson
relation educated at
type nonprofit organization
['Caroline Thompson', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?k WHERE { resource:Caroline_Thompson property:educated_at ?k . ?k rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49165 Q13371
SYSTEM
Amherst College, Harvard University
Q49165 Q13371
(Q273712,P69,c(Q163740))
action filter_type
action find
entity Q273712
relation P69
type Q163740
Caroline Thompson were educated at [ANSWERS]
['Q273712', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?k WHERE { resource:Q273712 property:P69 ?k . ?k rdf:type ontology:Q163740 }
Amherst College Harvard University
Caroline Thompson were educated at Amherst College and Harvard University
Amherst College Harvard University
action filter_type
action find
entity Caroline Thompson
relation educated at
type nonprofit organization
['Caroline Thompson', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?k WHERE { resource:Caroline_Thompson property:educated_at ?k . ?k rdf:type ontology:nonprofit_organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4945678
P608
Q2668072 Q1656682 Q502895
USER
How many people were displayed at around the same number of collections or events as Martha Edelheit ?
(c(Q502895),P608,c(Q2668072)|c(Q1656682))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q2668072
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action count
action filter_multi_types
action find
entity Q4945678
relation P608
type Q2668072
type Q1656682
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q2668072'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?v WHERE { VALUES ( ?m ) { ( ontology:Q2668072 ) ( ontology:Q1656682 ) } . ?h rdf:type ?m } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { ?l rdf:type ?p . VALUES ( ?p ) { ( ontology:Q1656682 ) ( ontology:Q2668072 ) } } . resource:Q4945678 property:P608 ?l } } . FILTER ( ?n = ?g ) }
Martha Edelheit
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type collection
action find_tuple_counts
relation exhibition history
type common name
type event
action count
action filter_multi_types
action find
entity Martha Edelheit
relation exhibition history
type collection
type event
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'collection'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?v WHERE { VALUES ( ?m ) { ( ontology:collection ) ( ontology:event ) } . ?h rdf:type ?m } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { ?l rdf:type ?p . VALUES ( ?p ) { ( ontology:event ) ( ontology:collection ) } } . resource:Martha_Edelheit property:exhibition_history ?l } } . FILTER ( ?n = ?g ) }
[]
collection event common name
SYSTEM
30
Q70006 Q17314881 Q17455385 Q15734263 Q15734265 Q6196481 Q4945678 Q16004451 Q4648360 Q7649008 Q16858002 Q15991813 Q6990118 Q16062545 Q5671224 Q17625628 Q16005428 Q27505608 Q5248733 Q15734237 Q2965423 Q5040332 Q6687160 Q22815085 Q5375139 Q9015308 Q16121375 Q15873898 Q55192 Q16968866
(c(Q502895),P608,c(Q2668072)|c(Q1656682))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q2668072
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action count
action filter_multi_types
action find
entity Q4945678
relation P608
type Q2668072
type Q1656682
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q2668072'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?v WHERE { VALUES ( ?m ) { ( ontology:Q2668072 ) ( ontology:Q1656682 ) } . ?h rdf:type ?m } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { ?l rdf:type ?p . VALUES ( ?p ) { ( ontology:Q1656682 ) ( ontology:Q2668072 ) } } . resource:Q4945678 property:P608 ?l } } . FILTER ( ?n = ?g ) }
Lotte Jacobi René Izaure Jerry Cooke Johanna Bleuland van Oordt Adri Bleuland van Oordt Jim Love Martha Edelheit Jennifer Bolande A. S. Baylinson Susie Bootja Bootja Napaltjarri Anne Mee Judie Bamber Nellie Mae Rowe Alice Havers Pablo Borges Delgado Deborah De Robertis Andrea Bowers Wolfgang Sellinger Manuel Ocampo Tony van Alphen Christian Lhopital Carl Holty Louis Ferstadt Georges Violet Ena Swansea Juan Carlos Alom Judith Lowry Chrisje van der Willigen Gertrude Abercrombie Lydia Schouten
30
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type collection
action find_tuple_counts
relation exhibition history
type common name
type event
action count
action filter_multi_types
action find
entity Martha Edelheit
relation exhibition history
type collection
type event
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'collection'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?v WHERE { VALUES ( ?m ) { ( ontology:collection ) ( ontology:event ) } . ?h rdf:type ?m } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { ?l rdf:type ?p . VALUES ( ?p ) { ( ontology:event ) ( ontology:collection ) } } . resource:Martha_Edelheit property:exhibition_history ?l } } . FILTER ( ?n = ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q16062545
P608
Q2668072 Q1656682 Q502895
USER
And how about Alice Havers?
(c(Q502895),P608,c(Q2668072)|c(Q1656682))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q2668072
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action count
action filter_multi_types
action find
entity Q16062545
relation P608
type Q2668072
type Q1656682
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q2668072'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?x ) WHERE { ?c rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1656682 ) ( ontology:Q2668072 ) } } GROUP BY ?f } . FILTER ( ?x = ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q16062545 property:P608 ?g . { { ?g rdf:type ontology:Q2668072 } UNION { ?g rdf:type ontology:Q1656682 } } } } }
Alice Havers
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type collection
action find_tuple_counts
relation exhibition history
type common name
type event
action count
action filter_multi_types
action find
entity Alice Havers
relation exhibition history
type collection
type event
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'collection'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?x ) WHERE { ?c rdf:type ?n . VALUES ( ?n ) { ( ontology:event ) ( ontology:collection ) } } GROUP BY ?f } . FILTER ( ?x = ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Alice_Havers property:exhibition_history ?g . { { ?g rdf:type ontology:collection } UNION { ?g rdf:type ontology:event } } } } }
[]
collection event common name
SYSTEM
36
Q70006 Q17314881 Q17455385 Q15734263 Q15734265 Q6196481 Q4945678 Q16004451 Q4648360 Q7649008 Q16858002 Q15991813 Q6990118 Q16062545 Q5671224 Q17625628 Q16005428 Q27505608 Q5248733 Q2824894 Q15734237 Q2965423 Q5040332 Q6687160 Q3289592 Q20888837 Q22815085 Q5375139 Q9015308 Q805807 Q16080418 Q16121375 Q15873898 Q55192 Q3335569 Q16968866
(c(Q502895),P608,c(Q2668072)|c(Q1656682))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q2668072
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action count
action filter_multi_types
action find
entity Q16062545
relation P608
type Q2668072
type Q1656682
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q2668072'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?x ) WHERE { ?c rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1656682 ) ( ontology:Q2668072 ) } } GROUP BY ?f } . FILTER ( ?x = ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q16062545 property:P608 ?g . { { ?g rdf:type ontology:Q2668072 } UNION { ?g rdf:type ontology:Q1656682 } } } } }
Lotte Jacobi René Izaure Jerry Cooke Johanna Bleuland van Oordt Adri Bleuland van Oordt Jim Love Martha Edelheit Jennifer Bolande A. S. Baylinson Susie Bootja Bootja Napaltjarri Anne Mee Judie Bamber Nellie Mae Rowe Alice Havers Pablo Borges Delgado Deborah De Robertis Andrea Bowers Wolfgang Sellinger Manuel Ocampo Adolphe Péterelle Tony van Alphen Christian Lhopital Carl Holty Louis Ferstadt Moniek Toebosch Angélique Bègue Georges Violet Ena Swansea Juan Carlos Alom Balto Alyce Frank Judith Lowry Chrisje van der Willigen Gertrude Abercrombie Nancy Elizabeth Prophet Lydia Schouten
36
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type collection
action find_tuple_counts
relation exhibition history
type common name
type event
action count
action filter_multi_types
action find
entity Alice Havers
relation exhibition history
type collection
type event
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'collection'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?x ) WHERE { ?c rdf:type ?n . VALUES ( ?n ) { ( ontology:event ) ( ontology:collection ) } } GROUP BY ?f } . FILTER ( ?x = ?o ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Alice_Havers property:exhibition_history ?g . { { ?g rdf:type ontology:collection } UNION { ?g rdf:type ontology:event } } } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q3414212
P1411 P21
Q502895
USER
Which people were nominated for Hugo Award for Best Dramatic Presentation and are a male ?
AND((c(Q502895),P1411,Q3414212), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3414212
relation P1411
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1411', 'Q3414212'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P1411 resource:Q3414212 . ?u property:P21 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
male Hugo Award for Best Dramatic Presentation
action filter_type
action intersection
action find_reverse
entity Hugo Award for Best Dramatic Presentation
relation nominated for
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'nominated for', 'Hugo Award for Best Dramatic Presentation'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:nominated_for resource:Hugo_Award_for_Best_Dramatic_Presentation . ?u property:gender resource:male . ?u rdf:type ontology:common_name }
[]
common name
Q25161 Q1131539 Q220751 Q1168358 Q9544977 Q216266 Q53002 Q1132617 Q105756 Q313185
SYSTEM
Some of them are Roald Dahl, Phil Foglio, Bryan Singer, John Korty, Lilly Wachowski, Alain Robbe-Grillet, François Truffaut, Corey Allen, John Updike, Fritz Leiber Junior
Q104266 Q7344869 Q40640 Q313185 Q1131539 Q55277 Q105756 Q53002 Q170256 Q218022 Q3041233 Q216266 Q1132617 Q220751 Q285007 Q103646 Q25161 Q115674 Q1168358 Q9544977 Q42 Q1163097 Q976133 Q105221 Q362061 Q561401 Q313289
AND((c(Q502895),P1411,Q3414212), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3414212
relation P1411
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were nominated for Hugo Award for Best Dramatic Presentation and are a male
{'AND': [[{'concept': 'Q502895'}, 'P1411', 'Q3414212'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P1411 resource:Q3414212 . ?u property:P21 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
Mel Brooks Robert Gordon Ray Bradbury Fritz Leiber Junior Phil Foglio John Boorman John Updike François Truffaut Chris Marker Alain Resnais Duncan Henderson Alain Robbe-Grillet Corey Allen Bryan Singer Peter S. Beagle Ron Howard Roald Dahl Jack Finney John Korty Lilly Wachowski Douglas Adams Daniel Waters Martin Rosen Dan Aykroyd Steve Kloves Spike Milligan Richard Adams
Roald Dahl, Phil Foglio, Bryan Singer, John Korty, Lilly Wachowski, Alain Robbe-Grillet, François Truffaut, Corey Allen, John Updike and Fritz Leiber Junior were nominated for Hugo Award for Best Dramatic Presentation and are a male
Roald Dahl Phil Foglio Bryan Singer John Korty Lilly Wachowski Alain Robbe-Grillet François Truffaut Corey Allen John Updike Fritz Leiber Junior
action filter_type
action intersection
action find_reverse
entity Hugo Award for Best Dramatic Presentation
relation nominated for
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'nominated for', 'Hugo Award for Best Dramatic Presentation'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:nominated_for resource:Hugo_Award_for_Best_Dramatic_Presentation . ?u property:gender resource:male . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q6619679
USER
Which fictional humanoids did min number of people do the dubbing for ?
(c(Q6619679),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q6619679
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?p ) { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?w ) WHERE { ?l property:P725 ?n . ?l rdf:type ontology:Q6619679 . ?n rdf:type ontology:Q502895 } GROUP BY ?l } } . { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?t ) WHERE { ?g property:P725 ?y . ?y rdf:type ontology:Q502895 . ?g rdf:type ontology:Q6619679 } GROUP BY ?g } . FILTER ( ?t = ?p ) }
action argmin
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?p ) { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?w ) WHERE { ?l property:voice_actor ?n . ?l rdf:type ontology:fictional_humanoid . ?n rdf:type ontology:common_name } GROUP BY ?l } } . { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?t ) WHERE { ?g property:voice_actor ?y . ?y rdf:type ontology:common_name . ?g rdf:type ontology:fictional_humanoid } GROUP BY ?g } . FILTER ( ?t = ?p ) }
[]
common name fictional humanoid
Q1623086 Q1205263 Q3149148
SYSTEM
Hector Barbossa, Eli Vance, Imoen
Q1623086 Q1205263 Q4992177 Q24010814 Q819585 Q1079617 Q4006757 Q15614636 Q1056953 Q250221 Q3149148 Q757015 Q15620419 Q13471616 Q12879 Q1154920
(c(Q6619679),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q6619679
type Q502895
Min number of people did the dubbing for [ANSWERS]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?p ) { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?w ) WHERE { ?l property:P725 ?n . ?l rdf:type ontology:Q6619679 . ?n rdf:type ontology:Q502895 } GROUP BY ?l } } . { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?t ) WHERE { ?g property:P725 ?y . ?y rdf:type ontology:Q502895 . ?g rdf:type ontology:Q6619679 } GROUP BY ?g } . FILTER ( ?t = ?p ) }
Hector Barbossa Eli Vance Cave Johnson Deckard Cain Jaina Proudmoore Wallace Breen Utena Tenjo Anna (Disney) Minsc Alyx Vance Imoen Sailor Moon Elsa Mr. Bean Toph Beifong Father Grigori
Min number of people did the dubbing for Hector Barbossa, Eli Vance and Imoen
Hector Barbossa Eli Vance Imoen
action argmin
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?p ) { SELECT DISTINCT ?l ( COUNT ( ?n ) AS ?w ) WHERE { ?l property:voice_actor ?n . ?l rdf:type ontology:fictional_humanoid . ?n rdf:type ontology:common_name } GROUP BY ?l } } . { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?t ) WHERE { ?g property:voice_actor ?y . ?y rdf:type ontology:common_name . ?g rdf:type ontology:fictional_humanoid } GROUP BY ?g } . FILTER ( ?t = ?p ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q25161
P737
Q502895
USER
How many people influenced Roald Dahl ?
(Q25161,P737,c(Q502895))
action count
action filter_type
action find
entity Q25161
relation P737
type Q502895
['Q25161', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q25161 property:P737 ?b . ?b rdf:type ontology:Q502895 }
Roald Dahl
action count
action filter_type
action find
entity Roald Dahl
relation influenced by
type common name
['Roald Dahl', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Roald_Dahl property:influenced_by ?b . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
6
Q430182 Q467770 Q469681 Q34743 Q167768 Q5686
(Q25161,P737,c(Q502895))
action count
action filter_type
action find
entity Q25161
relation P737
type Q502895
[ANSWER]
['Q25161', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q25161 property:P737 ?b . ?b rdf:type ontology:Q502895 }
C. S. Forester Frederick Marryat Jonas Lie Rudyard Kipling William Makepeace Thackeray Charles Dickens
6
action count
action filter_type
action find
entity Roald Dahl
relation influenced by
type common name
['Roald Dahl', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Roald_Dahl property:influenced_by ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25161
P172
Q2472587
USER
Which ethnic group does that person belong ?
action filter_type
action find
entity Q25161
relation P172
type Q2472587
SELECT DISTINCT ?z WHERE { resource:Q25161 property:P172 ?z . ?z rdf:type ontology:Q2472587 }
Roald Dahl
action filter_type
action find
entity Roald Dahl
relation ethnic group
type people
SELECT DISTINCT ?z WHERE { resource:Roald_Dahl property:ethnic_group ?z . ?z rdf:type ontology:people }
[]
people
Q188779
SYSTEM
Norwegians
Q188779
action filter_type
action find
entity Q25161
relation P172
type Q2472587
That person belongs to [ANSWER]
SELECT DISTINCT ?z WHERE { resource:Q25161 property:P172 ?z . ?z rdf:type ontology:Q2472587 }
Norwegians
That person belongs to Norwegians
Norwegians
action filter_type
action find
entity Roald Dahl
relation ethnic group
type people
SELECT DISTINCT ?z WHERE { resource:Roald_Dahl property:ethnic_group ?z . ?z rdf:type ontology:people }
[]