Simple Question (Direct)
Simple Question
Q41076
P27
Q15617994
USER
Which administrative territory is Mariah Carey a civilian of ?
(Q41076,P27,c(Q15617994))
action filter_type
action find
entity Q41076
relation P27
type Q15617994
['Q41076', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q41076 property:P27 ?w }
Mariah Carey
action filter_type
action find
entity Mariah Carey
relation country of citizenship
type designation for an administrative territorial entity
['Mariah Carey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mariah_Carey property:country_of_citizenship ?w }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q41076,P27,c(Q15617994))
action filter_type
action find
entity Q41076
relation P27
type Q15617994
The [ANSWER] is Mariah Carey a civilian of
['Q41076', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q41076 property:P27 ?w }
United States of America
The United States of America is Mariah Carey a civilian of
United States of America
action filter_type
action find
entity Mariah Carey
relation country of citizenship
type designation for an administrative territorial entity
['Mariah Carey', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mariah_Carey property:country_of_citizenship ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41076
P264
Q334453
USER
Which divisions are the record brand of that person ?
(Q30,P264,c(Q334453))
action filter_type
action find
entity Q41076
relation P264
type Q334453
['Q30', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?e WHERE { resource:Q41076 property:P264 ?e . ?e rdf:type ontology:Q334453 }
Mariah Carey
action filter_type
action find
entity Mariah Carey
relation record label
type division
['United States of America', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?e WHERE { resource:Mariah_Carey property:record_label ?e . ?e rdf:type ontology:division }
[]
division
Q183387 Q216364
SYSTEM
Columbia Records, Epic Records
Q183387 Q216364
(Q30,P264,c(Q334453))
action filter_type
action find
entity Q41076
relation P264
type Q334453
[ANSWERS] are the record brand of that person
['Q30', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?e WHERE { resource:Q41076 property:P264 ?e . ?e rdf:type ontology:Q334453 }
Columbia Records Epic Records
Columbia Records and Epic Records are the record brand of that person
Columbia Records Epic Records
action filter_type
action find
entity Mariah Carey
relation record label
type division
['United States of America', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?e WHERE { resource:Mariah_Carey property:record_label ?e . ?e rdf:type ontology:division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7387030
P264
Q7725634
USER
Do S'il suffisait d'aimer have those divisions as their record company ?
(Q7387030,P264,Q183387) (Q7387030,P264,Q216364)
action is_in
entity prev_answer
action find
entity Q7387030
relation P264
['Q7387030', 'P264', 'Q183387'] ['Q7387030', 'P264', 'Q216364']
ASK WHERE { resource:Q7387030 property:P264 ?l . VALUES ( ?l ) { ( resource:Q183387 ) ( resource:Q216364 ) } }
S'il suffisait d'aimer
action is_in
entity prev_answer
action find
entity S'il suffisait d'aimer
relation record label
["S'il suffisait d'aimer", 'record label', 'Columbia Records'] ["S'il suffisait d'aimer", 'record label', 'Epic Records']
ASK WHERE { resource:S'il_suffisait_d'aimer property:record_label ?l . VALUES ( ?l ) { ( resource:Columbia_Records ) ( resource:Epic_Records ) } }
[]
literary work
SYSTEM
YES
(Q7387030,P264,Q183387) (Q7387030,P264,Q216364)
action is_in
entity prev_answer
action find
entity Q7387030
relation P264
[ANSWER]
['Q7387030', 'P264', 'Q183387'] ['Q7387030', 'P264', 'Q216364']
ASK WHERE { resource:Q7387030 property:P264 ?l . VALUES ( ?l ) { ( resource:Q183387 ) ( resource:Q216364 ) } }
Yes
action is_in
entity prev_answer
action find
entity S'il suffisait d'aimer
relation record label
["S'il suffisait d'aimer", 'record label', 'Columbia Records'] ["S'il suffisait d'aimer", 'record label', 'Epic Records']
ASK WHERE { resource:S'il_suffisait_d'aimer property:record_label ?l . VALUES ( ?l ) { ( resource:Columbia_Records ) ( resource:Epic_Records ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q334453 Q334453
USER
How many divisions are the subordinates of atmost 1 division ?
(c(Q334453),P355,c(Q334453))
action count
action atmost
action find_reverse_tuple_counts
relation P355
type Q334453
type Q334453
value 1
[{'concept': 'Q334453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?b ) WHERE { ?p rdf:type ontology:Q334453 . ?e rdf:type ontology:Q334453 . ?e property:P355 ?p } GROUP BY ?p } . FILTER ( ?b <= 1 ) }
action count
action atmost
action find_reverse_tuple_counts
relation subsidiary
type division
type division
value 1
[{'concept': 'division'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?b ) WHERE { ?p rdf:type ontology:division . ?e rdf:type ontology:division . ?e property:subsidiary ?p } GROUP BY ?p } . FILTER ( ?b <= 1 ) }
[]
division division
SYSTEM
56
Q7225366 Q7937485 Q21130152 Q27670061 Q4796656 Q654283 Q2358400 Q5757199 Q5508109 Q8194234 Q1200105 Q3244698 Q165711 Q202585 Q231694 Q20723082 Q7027790 Q5574527 Q183387 Q3746620 Q2937480 Q8194176 Q220861 Q330629 Q5359782 Q2723471 Q13218788 Q22126104 Q3415299 Q820156 Q645889 Q2733913 Q27037164 Q1154245 Q770328 Q213710 Q373246 Q1088453 Q10831860 Q9170958 Q13489420 Q17211910 Q585643 Q1046066 Q4836116 Q2047343 Q1062659 Q14944631 Q4413456 Q483971 Q13221666 Q2338889 Q513712 Q18628 Q1072828 Q21077
(c(Q334453),P355,c(Q334453))
action count
action atmost
action find_reverse_tuple_counts
relation P355
type Q334453
type Q334453
value 1
[ANSWER]
[{'concept': 'Q334453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?b ) WHERE { ?p rdf:type ontology:Q334453 . ?e rdf:type ontology:Q334453 . ?e property:P355 ?p } GROUP BY ?p } . FILTER ( ?b <= 1 ) }
East Asia Music Viva Records RCA Italy PolyGram Records, Inc. ArtPeople Def Jam Recordings Legacy Recordings High Street Records Full Moon Records Universal Music Japan J Storm Sony Music Latin Sire Records RCA Records Interscope Records Universal Music France Nick Records Go! Beat Records Columbia Records Flip Records Capitol Music Group Starchild Kontor Records Sony Music Entertainment Eleven Thirty Records Interscope Geffen A&M Virgin EMI Records Evil Line Records RPM Records Meteor Records Reprise Records Deram Records Ear Music Rhythm Zone Aniplex Apple Records Eagle Records Chrysalis Records Warner Music Finland EMI Music Poland Universal Music Hong Kong Sistus Records Atco Records Fueled By Ramen BNA Records Flair Records Lantis EMI Records Japan Republic Records CJ E&M Music and Live Double Six Records MCA Records Pony Canyon Roadrunner Records Ki/oon Music Warner Music Group
56
action count
action atmost
action find_reverse_tuple_counts
relation subsidiary
type division
type division
value 1
[{'concept': 'division'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?b ) WHERE { ?p rdf:type ontology:division . ?e rdf:type ontology:division . ?e property:subsidiary ?p } GROUP BY ?p } . FILTER ( ?b <= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P355
Q334453 Q4830453
USER
Which business enterprises are max number of divisions the subordinate of ?
(c(Q4830453),P355,c(Q334453))
action argmax
action find_tuple_counts
relation P355
type Q4830453
type Q334453
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?t ) { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?p ) WHERE { ?y property:P355 ?u . ?y rdf:type ontology:Q4830453 . ?u rdf:type ontology:Q334453 } GROUP BY ?y } } . FILTER ( ?c = ?t ) . { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?c ) WHERE { ?f property:P355 ?s . ?s rdf:type ontology:Q334453 . ?f rdf:type ontology:Q4830453 } GROUP BY ?f } }
action argmax
action find_tuple_counts
relation subsidiary
type business enterprise
type division
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?t ) { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?p ) WHERE { ?y property:subsidiary ?u . ?y rdf:type ontology:business_enterprise . ?u rdf:type ontology:division } GROUP BY ?y } } . FILTER ( ?c = ?t ) . { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?c ) WHERE { ?f property:subsidiary ?s . ?s rdf:type ontology:division . ?f rdf:type ontology:business_enterprise } GROUP BY ?f } }
[]
division business enterprise
Q10954015 Q23638508 Q43380
SYSTEM
Fuji Media Holdings, ArtPeople Holding, CBS
Q10954015 Q23638508 Q43380
(c(Q4830453),P355,c(Q334453))
action argmax
action find_tuple_counts
relation P355
type Q4830453
type Q334453
[ANSWERS] are max number of divisions the subordinate of
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?t ) { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?p ) WHERE { ?y property:P355 ?u . ?y rdf:type ontology:Q4830453 . ?u rdf:type ontology:Q334453 } GROUP BY ?y } } . FILTER ( ?c = ?t ) . { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?c ) WHERE { ?f property:P355 ?s . ?s rdf:type ontology:Q334453 . ?f rdf:type ontology:Q4830453 } GROUP BY ?f } }
Fuji Media Holdings ArtPeople Holding CBS
Fuji Media Holdings, ArtPeople Holding and CBS are max number of divisions the subordinate of
Fuji Media Holdings ArtPeople Holding CBS
action argmax
action find_tuple_counts
relation subsidiary
type business enterprise
type division
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?t ) { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?p ) WHERE { ?y property:subsidiary ?u . ?y rdf:type ontology:business_enterprise . ?u rdf:type ontology:division } GROUP BY ?y } } . FILTER ( ?c = ?t ) . { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?c ) WHERE { ?f property:subsidiary ?s . ?s rdf:type ontology:division . ?f rdf:type ontology:business_enterprise } GROUP BY ?f } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43380
P750
Q15416
USER
Who have CBS as their distributor ?
(c(Q15416),P750,Q43380)
action filter_type
action find_reverse
entity Q43380
relation P750
type Q15416
[{'concept': 'Q15416'}, 'P750', 'Q43380']
SELECT DISTINCT ?g WHERE { ?g property:P750 resource:Q43380 . ?g rdf:type ontology:Q15416 }
CBS
action filter_type
action find_reverse
entity CBS
relation distributor
type television program
[{'concept': 'television program'}, 'distributor', 'CBS']
SELECT DISTINCT ?g WHERE { ?g property:distributor resource:CBS . ?g rdf:type ontology:television_program }
[]
television program
Q520191 Q1659531 Q3225971
SYSTEM
Mazes and Monsters, The Scarlet and the Black, Sins of Silence
Q7655545 Q7537813 Q7623038 Q7775212 Q8028248 Q6075548 Q7685474 Q7758317 Q7750038 Q6946262 Q7733043 Q7810924 Q614950 Q7229186 Q2394803 Q5979686 Q520191 Q5245275 Q3225971 Q7719747 Q4285424 Q7252170 Q7747967 Q7757022 Q5177337 Q7759834 Q7430608 Q16929933 Q5286344 Q7884399 Q2908433 Q7271876 Q6698156 Q828839 Q3235604 Q5464765 Q6929290 Q7771528 Q5185964 Q684706 Q839545 Q7747397 Q4921383 Q7514409 Q4449769 Q7776621 Q7719634 Q611574 Q6059058 Q7755491 Q770121 Q7450715 Q18393850 Q7763552 Q727583 Q17507181 Q1659531 Q7731076 Q60364 Q7521833 Q7715198 Q7314027 Q7741744 Q7762981 Q5247098 Q7443521 Q7882910 Q7354925 Q7111752 Q4659863 Q6917506 Q7492541 Q611439 Q7758983 Q752704
(c(Q15416),P750,Q43380)
action filter_type
action find_reverse
entity Q43380
relation P750
type Q15416
[ANSWERS] have CBS as their distributor
[{'concept': 'Q15416'}, 'P750', 'Q43380']
SELECT DISTINCT ?g WHERE { ?g property:P750 resource:Q43380 . ?g rdf:type ontology:Q15416 }
Sweet Temptation Skylark Street of Dreams The Winter of Our Discontent Without Warning Is There Life Out There? Tarantulas: The Deadly Cargo The Princess and the Cabbie The Man from Left Field My Past Is My Own The Face on the Milk Carton To Face Her Past Jesus Pope John Paul II Tarzan in Manhattan I Was a Mail Order Bride Mazes and Monsters Dead Man's Folly Sins of Silence The Boys Next Door David's Mother Prototype The Locket The Piano Lesson Country Justice The Red-Light Sting Scattered Dreams Sunset Limousine Do You Know the Muffin Man? Unforgivable Body of Evidence Quiet Killer Lucy Sonny Boys The Christmas Shoes Follow the Stars Home Mr. Willowby's Christmas Tree The Uninvited Crisis at Central High Return to the Batcave: The Misadventures of Adam and Burt Candles on Bay Street The Linda McCartney Story Black Noon Silence of the Heart The Secret Garden The Yearling The Boy Who Drank Too Much Thirteen at Dinner Intruders The Other Lover Borrowed Hearts Senior Trip The Test of Love The Shadow Riders Skokie My Very Best Friend The Scarlet and the Black The Drug Knot Wes Craven's Chiller Sinatra The Babymaker: The Dr. Cecil Jacobson Story Replacing Dad The Incredible Journey of Doctor Meg Laurel The Secret Death Car on the Freeway Second Serve Unconquered Rockabye Out of the Darkness A Streetcar Named Desire Mother of the Bride The Day Christ Died Les Misérables The Queen & I The Hunt for the BTK Killer
Mazes and Monsters, The Scarlet and the Black and Sins of Silence have CBS as their distributor
Mazes and Monsters The Scarlet and the Black Sins of Silence
action filter_type
action find_reverse
entity CBS
relation distributor
type television program
[{'concept': 'television program'}, 'distributor', 'CBS']
SELECT DISTINCT ?g WHERE { ?g property:distributor resource:CBS . ?g rdf:type ontology:television_program }
[]
Clarification
Simple Question|Single Entity|Indirect
Q520191
P162
Q502895
USER
Who produced that television program ?
(Q520191,P162,c(Q502895))
action filter_type
action find
entity Q520191
relation P162
type Q502895
['Q520191', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q520191 property:P162 ?i . ?i rdf:type ontology:Q502895 }
Mazes and Monsters
action filter_type
action find
entity Mazes and Monsters
relation producer
type common name
['Mazes and Monsters', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Mazes_and_Monsters property:producer ?i . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1659531
SYSTEM
Did you mean The Scarlet and the Black ?
Q520191 Q1659531 Q3225971
(Q520191,P162,c(Q502895)) (Q1659531,P162,c(Q502895)) (Q3225971,P162,c(Q502895))
[ANSWER]
['Q520191', 'P162', {'concept': 'Q502895'}] ['Q1659531', 'P162', {'concept': 'Q502895'}] ['Q3225971', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q520191 property:P162 ?i . ?i rdf:type ontology:Q502895 }
Mazes and Monsters The Scarlet and the Black Sins of Silence
Did you mean The Scarlet and the Black ?
The Scarlet and the Black
['Mazes and Monsters', 'producer', {'concept': 'common name'}] ['The Scarlet and the Black', 'producer', {'concept': 'common name'}] ['Sins of Silence', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Mazes_and_Monsters property:producer ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Mazes and Monsters. Could you tell me the answer for that?
(Q520191,P162,c(Q502895))
Q520191
['Q520191', 'P162', {'concept': 'Q502895'}]
['Mazes and Monsters', 'producer', {'concept': 'common name'}]
[]
Q20031580
SYSTEM
Richard Briggs
Q20031580
(Q520191,P162,c(Q502895))
action filter_type
action find
entity Q520191
relation P162
type Q502895
[ANSWER] produced that television program
['Q520191', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q520191 property:P162 ?i . ?i rdf:type ontology:Q502895 }
Richard Briggs
Richard Briggs produced that television program
Richard Briggs
action filter_type
action find
entity Mazes and Monsters
relation producer
type common name
['Mazes and Monsters', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Mazes_and_Monsters property:producer ?i . ?i rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q20031580 Q17650 Q7056558
P27
Q15617994
USER
Is Richard Briggs a native of Quattordio and North Rose-Wolcott Central School District ?
(Q20031580,P27,Q17650) (Q20031580,P27,Q7056558)
action is_in
entity Q20031580
action intersection
action find_reverse
entity Q17650
relation P27
action find_reverse
entity Q7056558
relation P27
['Q20031580', 'P27', 'Q17650'] ['Q20031580', 'P27', 'Q7056558']
ASK WHERE { resource:Q20031580 property:P27 resource:Q17650 . resource:Q20031580 property:P27 resource:Q7056558 }
Richard Briggs Quattordio North Rose-Wolcott Central School District
action is_in
entity Richard Briggs
action intersection
action find_reverse
entity Quattordio
relation country of citizenship
action find_reverse
entity North Rose-Wolcott Central School District
relation country of citizenship
['Richard Briggs', 'country of citizenship', 'Quattordio'] ['Richard Briggs', 'country of citizenship', 'North Rose-Wolcott Central School District']
ASK WHERE { resource:Richard_Briggs property:country_of_citizenship resource:Quattordio . resource:Richard_Briggs property:country_of_citizenship resource:North_Rose-Wolcott_Central_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q20031580,P27,Q17650) (Q20031580,P27,Q7056558)
action is_in
entity Q20031580
action intersection
action find_reverse
entity Q17650
relation P27
action find_reverse
entity Q7056558
relation P27
[ANSWER]
['Q20031580', 'P27', 'Q17650'] ['Q20031580', 'P27', 'Q7056558']
ASK WHERE { resource:Q20031580 property:P27 resource:Q17650 . resource:Q20031580 property:P27 resource:Q7056558 }
No
action is_in
entity Richard Briggs
action intersection
action find_reverse
entity Quattordio
relation country of citizenship
action find_reverse
entity North Rose-Wolcott Central School District
relation country of citizenship
['Richard Briggs', 'country of citizenship', 'Quattordio'] ['Richard Briggs', 'country of citizenship', 'North Rose-Wolcott Central School District']
ASK WHERE { resource:Richard_Briggs property:country_of_citizenship resource:Quattordio . resource:Richard_Briggs property:country_of_citizenship resource:North_Rose-Wolcott_Central_School_District }
[]