Simple Question (Direct)
Simple Question
Q543719
P136
Q151885
USER
Which concept is the genre for Rachel Sweet ?
(Q543719,P136,c(Q151885))
action filter_type
action find
entity Q543719
relation P136
type Q151885
['Q543719', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q151885 . resource:Q543719 property:P136 ?j }
Rachel Sweet
action filter_type
action find
entity Rachel Sweet
relation genre
type concept
['Rachel Sweet', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:concept . resource:Rachel_Sweet property:genre ?j }
[]
concept
Q37073
SYSTEM
pop music
Q37073
(Q543719,P136,c(Q151885))
action filter_type
action find
entity Q543719
relation P136
type Q151885
Music [ANSWER] is the genre for Rachel Sweet
['Q543719', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q151885 . resource:Q543719 property:P136 ?j }
pop music
Music pop music is the genre for Rachel Sweet
pop music
action filter_type
action find
entity Rachel Sweet
relation genre
type concept
['Rachel Sweet', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:concept . resource:Rachel_Sweet property:genre ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q543719
P264
Q334453
USER
Which division sponsored the recording of Rachel Sweet ?
(Q543719,P264,c(Q334453))
action filter_type
action find
entity Q543719
relation P264
type Q334453
['Q543719', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?x WHERE { resource:Q543719 property:P264 ?x . ?x rdf:type ontology:Q334453 }
Rachel Sweet
action filter_type
action find
entity Rachel Sweet
relation record label
type division
['Rachel Sweet', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?x WHERE { resource:Rachel_Sweet property:record_label ?x . ?x rdf:type ontology:division }
[]
division
Q1750746
SYSTEM
Stiff Records
Q1750746
(Q543719,P264,c(Q334453))
action filter_type
action find
entity Q543719
relation P264
type Q334453
Records [ANSWER] sponsored the recording of Rachel Sweet
['Q543719', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?x WHERE { resource:Q543719 property:P264 ?x . ?x rdf:type ontology:Q334453 }
Stiff Records
Records Stiff Records sponsored the recording of Rachel Sweet
Stiff Records
action filter_type
action find
entity Rachel Sweet
relation record label
type division
['Rachel Sweet', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?x WHERE { resource:Rachel_Sweet property:record_label ?x . ?x rdf:type ontology:division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7565361
Q334453
USER
And also tell me about South Africa?
(Q7565361,P264,c(Q334453))
action filter_type
action find
entity Q7565361
relation P264
type Q334453
['Q7565361', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { resource:Q7565361 property:P264 ?v . ?v rdf:type ontology:Q334453 }
South Africa
action filter_type
action find
entity South Africa
relation record label
type division
['South Africa', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { resource:South_Africa property:record_label ?v . ?v rdf:type ontology:division }
[]
division
Q203059
SYSTEM
Virgin Records
Q203059
(Q7565361,P264,c(Q334453))
action filter_type
action find
entity Q7565361
relation P264
type Q334453
[ANSWER]
['Q7565361', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { resource:Q7565361 property:P264 ?v . ?v rdf:type ontology:Q334453 }
Virgin Records
Virgin Records
action filter_type
action find
entity South Africa
relation record label
type division
['South Africa', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { resource:South_Africa property:record_label ?v . ?v rdf:type ontology:division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories do that division belong to ?
(Q203059,P17,c(Q15617994))
action count
action filter_type
action find
entity Q203059
relation P17
type Q15617994
['Q203059', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Q203059 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Virgin Records
relation country
type designation for an administrative territorial entity
['Virgin Records', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Virgin_Records property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q203059,P17,c(Q15617994))
action count
action filter_type
action find
entity Q203059
relation P17
type Q15617994
[ANSWER]
['Q203059', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Q203059 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Virgin Records
relation country
type designation for an administrative territorial entity
['Virgin Records', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Virgin_Records property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q334453 Q4830453
USER
How many business enterprises are the parent company of around 1 division ?
(c(Q4830453),P355,c(Q334453))
action count
action approx
action find_tuple_counts
relation P355
type Q4830453
type Q334453
value 1
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?m ) WHERE { ?o property:P355 ?e . ?o rdf:type ontology:Q4830453 . ?e rdf:type ontology:Q334453 } GROUP BY ?o } . FILTER ( ?m = 1 ) }
action count
action approx
action find_tuple_counts
relation subsidiary
type business enterprise
type division
value 1
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?m ) WHERE { ?o property:subsidiary ?e . ?o rdf:type ontology:business_enterprise . ?e rdf:type ontology:division } GROUP BY ?o } . FILTER ( ?m = 1 ) }
[]
division business enterprise
SYSTEM
3
Q10954015 Q23638508 Q43380
(c(Q4830453),P355,c(Q334453))
action count
action approx
action find_tuple_counts
relation P355
type Q4830453
type Q334453
value 1
[ANSWER]
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?m ) WHERE { ?o property:P355 ?e . ?o rdf:type ontology:Q4830453 . ?e rdf:type ontology:Q334453 } GROUP BY ?o } . FILTER ( ?m = 1 ) }
Fuji Media Holdings ArtPeople Holding CBS
3
action count
action approx
action find_tuple_counts
relation subsidiary
type business enterprise
type division
value 1
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?m ) WHERE { ?o property:subsidiary ?e . ?o rdf:type ontology:business_enterprise . ?e rdf:type ontology:division } GROUP BY ?o } . FILTER ( ?m = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q203059
P264 P27
Q502895
USER
Which people have Virgin Records as their record company and are civilians of United States of America ?
AND((c(Q502895),P264,Q203059), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q203059
relation P264
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P264', 'Q203059'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?x WHERE { ?x property:P27 resource:Q30 . ?x property:P264 resource:Q203059 . ?x rdf:type ontology:Q502895 }
United States of America Virgin Records
action filter_type
action intersection
action find_reverse
entity Virgin Records
relation record label
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'record label', 'Virgin Records'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?x WHERE { ?x property:country_of_citizenship resource:United_States_of_America . ?x property:record_label resource:Virgin_Records . ?x rdf:type ontology:common_name }
[]
common name
Q5386530 Q5248267 Q5317202 Q21272250 Q185465 Q954181 Q335807 Q933169 Q205322 Q2097323
SYSTEM
Some of them are Eric Friedman, Deborah Holland, Dusty Redmon, Luigi Grosu, Paula Abdul, Shyheim, Ron Asheton, Charlie Sexton, Frankie Knuckles, Tristan Prettyman
Q7683239 Q2526329 Q838269 Q185465 Q704742 Q7027512 Q6524800 Q180224 Q380849 Q5317202 Q5899411 Q3935046 Q954181 Q205322 Q2353921 Q11617 Q674942 Q3218832 Q2940972 Q311382 Q240830 Q5230327 Q294979 Q2097323 Q253695 Q6308476 Q5049291 Q6313495 Q1077072 Q440893 Q5248267 Q210428 Q5386530 Q6834789 Q2832939 Q5220875 Q335807 Q528140 Q933169 Q5129885 Q152929 Q5614864 Q1066965 Q8563181 Q712624 Q1031340 Q2695159 Q6397835 Q5881906 Q21272250
AND((c(Q502895),P264,Q203059), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q203059
relation P264
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] have Virgin Records as their record company and are civilians of United States of America
{'AND': [[{'concept': 'Q502895'}, 'P264', 'Q203059'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?x WHERE { ?x property:P27 resource:Q30 . ?x property:P264 resource:Q203059 . ?x rdf:type ontology:Q502895 }
Tania Foster John Sinclair Peter Blegvad Paula Abdul Sticky Fingaz Nick Martinelli Leon Mobley Lenny Kravitz Ben Harper Dusty Redmon Hope Partlow Ricky Fanté Shyheim Frankie Knuckles Steve Jordan Aaliyah Matt Wachter Lauren Hoffman Casey Chaos Billy Corgan A Fine Frenzy Davey Faragher Kelis Tristan Prettyman Crooked I Julie Reeves Cassell Webb Junior Vasquez Chris Cagle Cheryl Lynn Deborah Holland Elliott Smith Eric Friedman Michael Tapper Alex Ebert Danny Tate Ron Asheton Mike Inez Charlie Sexton Clay Davidson Meat Loaf Guerilla Black Charlie Musselwhite Fin Leavell Dwele Mark Linkous Lalah Hathaway Kevon Edmonds Holly Beth Vincent Luigi Grosu
Eric Friedman, Deborah Holland, Dusty Redmon, Luigi Grosu, Paula Abdul, Shyheim, Ron Asheton, Charlie Sexton, Frankie Knuckles and Tristan Prettyman have Virgin Records as their record company and are civilians of United States of America
Eric Friedman Deborah Holland Dusty Redmon Luigi Grosu Paula Abdul Shyheim Ron Asheton Charlie Sexton Frankie Knuckles Tristan Prettyman
action filter_type
action intersection
action find_reverse
entity Virgin Records
relation record label
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'record label', 'Virgin Records'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?x WHERE { ?x property:country_of_citizenship resource:United_States_of_America . ?x property:record_label resource:Virgin_Records . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q185465
P161
Q838948 Q15416
USER
How many works of art and television programs stars Paula Abdul as actor ?
(c(Q838948),P161,Q185465) (c(Q15416),P161,Q185465)
action count
action union
action filter_type
action find_reverse
entity Q185465
relation P161
type Q838948
action filter_type
action find_reverse
entity Q185465
relation P161
type Q15416
[{'concept': 'Q838948'}, 'P161', 'Q185465'] [{'concept': 'Q15416'}, 'P161', 'Q185465']
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { ?y rdf:type ontology:Q838948 . ?y property:P161 resource:Q185465 } UNION { ?y property:P161 resource:Q185465 . ?y rdf:type ontology:Q15416 } }
Paula Abdul
action count
action union
action filter_type
action find_reverse
entity Paula Abdul
relation cast member
type work of art
action filter_type
action find_reverse
entity Paula Abdul
relation cast member
type television program
[{'concept': 'work of art'}, 'cast member', 'Paula Abdul'] [{'concept': 'television program'}, 'cast member', 'Paula Abdul']
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { ?y rdf:type ontology:work_of_art . ?y property:cast_member resource:Paula_Abdul } UNION { ?y property:cast_member resource:Paula_Abdul . ?y rdf:type ontology:television_program } }
[]
work of art television program
SYSTEM
2 works of art and 2 television programs
Q12125297 Q1034060 Q7828695 Q5749396
(c(Q838948),P161,Q185465) (c(Q15416),P161,Q185465)
action count
action union
action filter_type
action find_reverse
entity Q185465
relation P161
type Q838948
action filter_type
action find_reverse
entity Q185465
relation P161
type Q15416
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q185465'] [{'concept': 'Q15416'}, 'P161', 'Q185465']
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { ?y rdf:type ontology:Q838948 . ?y property:P161 resource:Q185465 } UNION { ?y property:P161 resource:Q185465 . ?y rdf:type ontology:Q15416 } }
Junior High School Can't Buy Me Love Touched By Evil Hey Paula
2 works of art and 2 television programs
action count
action union
action filter_type
action find_reverse
entity Paula Abdul
relation cast member
type work of art
action filter_type
action find_reverse
entity Paula Abdul
relation cast member
type television program
[{'concept': 'work of art'}, 'cast member', 'Paula Abdul'] [{'concept': 'television program'}, 'cast member', 'Paula Abdul']
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { ?y rdf:type ontology:work_of_art . ?y property:cast_member resource:Paula_Abdul } UNION { ?y property:cast_member resource:Paula_Abdul . ?y rdf:type ontology:television_program } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q185465
P21
Q290
USER
Which sex does Paula Abdul have ?
(Q185465,P21,c(Q290))
action filter_type
action find
entity Q185465
relation P21
type Q290
['Q185465', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q185465 property:P21 ?u . ?u rdf:type ontology:Q290 }
Paula Abdul
action filter_type
action find
entity Paula Abdul
relation gender
type sex
['Paula Abdul', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Paula_Abdul property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q185465,P21,c(Q290))
action filter_type
action find
entity Q185465
relation P21
type Q290
Paula Abdul has a [ANSWER]
['Q185465', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q185465 property:P21 ?u . ?u rdf:type ontology:Q290 }
female
Paula Abdul has a female
female
action filter_type
action find
entity Paula Abdul
relation gender
type sex
['Paula Abdul', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Paula_Abdul property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q185465
P175
Q2031291
USER
Which releases presented Paula Abdul ?
(c(Q2031291),P175,Q185465)
action filter_type
action find_reverse
entity Q185465
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q185465']
SELECT DISTINCT ?o WHERE { ?o property:P175 resource:Q185465 . ?o rdf:type ontology:Q2031291 }
Paula Abdul
action filter_type
action find_reverse
entity Paula Abdul
relation performer
type release
[{'concept': 'release'}, 'performer', 'Paula Abdul']
SELECT DISTINCT ?o WHERE { ?o property:performer resource:Paula_Abdul . ?o rdf:type ontology:release }
[]
release
Q785013 Q241472 Q2308917
SYSTEM
Opposites Attract, Forever Your Girl, Spellbound
Q3815929 Q167469 Q5966426 Q3568306 Q1141609 Q2806340 Q687143 Q1592276 Q1576265 Q971431 Q5183129 Q5215148 Q785013 Q3331222 Q241472 Q2308917 Q940307 Q959818 Q4697244
(c(Q2031291),P175,Q185465)
action filter_type
action find_reverse
entity Q185465
relation P175
type Q2031291
The [ANSWERS] presented Paula Abdul
[{'concept': 'Q2031291'}, 'P175', 'Q185465']
SELECT DISTINCT ?o WHERE { ?o property:P175 resource:Q185465 . ?o rdf:type ontology:Q2031291 }
Knocked Out Rush Rush I'm Just Here for the Music Will You Marry Me? The Promise of a New Day (It's Just) The Way That You Love Me Cold Hearted Head over Heels Straight Up Blowing Kisses in the Wind Crazy Cool Dance Like There's No Tomorrow Opposites Attract My Love Is for Real Forever Your Girl Spellbound Forever Your Girl Vibeology Ain't Never Gonna Give You Up
The Opposites Attract, Forever Your Girl and Spellbound presented Paula Abdul
Opposites Attract Forever Your Girl Spellbound
action filter_type
action find_reverse
entity Paula Abdul
relation performer
type release
[{'concept': 'release'}, 'performer', 'Paula Abdul']
SELECT DISTINCT ?o WHERE { ?o property:performer resource:Paula_Abdul . ?o rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q185465
P161
Q15416
USER
Which television programs stars that person as actor ?
(c(Q15416),P161,Q785013) (c(Q15416),P161,Q241472) (c(Q15416),P161,Q2308917)
action filter_type
action find_reverse
entity Q185465
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q785013'] [{'concept': 'Q15416'}, 'P161', 'Q241472'] [{'concept': 'Q15416'}, 'P161', 'Q2308917']
SELECT DISTINCT ?t WHERE { ?t property:P161 resource:Q185465 . ?t rdf:type ontology:Q15416 }
Paula Abdul
action filter_type
action find_reverse
entity Paula Abdul
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Opposites Attract'] [{'concept': 'television program'}, 'cast member', 'Forever Your Girl'] [{'concept': 'television program'}, 'cast member', 'Spellbound']
SELECT DISTINCT ?t WHERE { ?t property:cast_member resource:Paula_Abdul . ?t rdf:type ontology:television_program }
[]
television program
Q7828695 Q5749396
SYSTEM
Touched By Evil, Hey Paula
Q7828695 Q5749396
(c(Q15416),P161,Q785013) (c(Q15416),P161,Q241472) (c(Q15416),P161,Q2308917)
action filter_type
action find_reverse
entity Q185465
relation P161
type Q15416
[ANSWERS] star that person as actor
[{'concept': 'Q15416'}, 'P161', 'Q785013'] [{'concept': 'Q15416'}, 'P161', 'Q241472'] [{'concept': 'Q15416'}, 'P161', 'Q2308917']
SELECT DISTINCT ?t WHERE { ?t property:P161 resource:Q185465 . ?t rdf:type ontology:Q15416 }
Touched By Evil Hey Paula
Touched By Evil and Hey Paula star that person as actor
Touched By Evil Hey Paula
action filter_type
action find_reverse
entity Paula Abdul
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Opposites Attract'] [{'concept': 'television program'}, 'cast member', 'Forever Your Girl'] [{'concept': 'television program'}, 'cast member', 'Spellbound']
SELECT DISTINCT ?t WHERE { ?t property:cast_member resource:Paula_Abdul . ?t rdf:type ontology:television_program }
[]