Simple Question (Direct)
Simple Question
Q2106565
P161
Q502895
USER
Who were casted in Riptide ?
(Q2106565,P161,c(Q502895))
action filter_type
action find
entity Q2106565
relation P161
type Q502895
['Q2106565', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q2106565 property:P161 ?e . ?e rdf:type ontology:Q502895 }
Riptide
action filter_type
action find
entity Riptide
relation cast member
type common name
['Riptide', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Riptide property:cast_member ?e . ?e rdf:type ontology:common_name }
[]
common name
Q95019 Q366956 Q1273317
SYSTEM
Norma Shearer, Robert Montgomery, Herbert Marshall
Q461990 Q366956 Q1273317 Q95019
(Q2106565,P161,c(Q502895))
action filter_type
action find
entity Q2106565
relation P161
type Q502895
[ANSWERS] were casted in Riptide
['Q2106565', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q2106565 property:P161 ?e . ?e rdf:type ontology:Q502895 }
Mrs. Patrick Campbell Robert Montgomery Herbert Marshall Norma Shearer
Norma Shearer, Robert Montgomery and Herbert Marshall were casted in Riptide
Norma Shearer Robert Montgomery Herbert Marshall
action filter_type
action find
entity Riptide
relation cast member
type common name
['Riptide', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Riptide property:cast_member ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q95019
P451
Q502895
USER
Who had Norma Shearer as their mistress ?
(c(Q502895),P451,Q95019)
action filter_type
action find
entity Q95019
relation P451
type Q502895
[{'concept': 'Q502895'}, 'P451', 'Q95019']
SELECT DISTINCT ?y WHERE { resource:Q95019 property:P451 ?y . ?y rdf:type ontology:Q502895 }
Norma Shearer
action filter_type
action find
entity Norma Shearer
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'Norma Shearer']
SELECT DISTINCT ?y WHERE { resource:Norma_Shearer property:partner ?y . ?y rdf:type ontology:common_name }
[]
common name
Q438472
SYSTEM
Irving Thalberg
Q438472
(c(Q502895),P451,Q95019)
action filter_type
action find
entity Q95019
relation P451
type Q502895
[ANSWER] had Norma Shearer as their mistress
[{'concept': 'Q502895'}, 'P451', 'Q95019']
SELECT DISTINCT ?y WHERE { resource:Q95019 property:P451 ?y . ?y rdf:type ontology:Q502895 }
Irving Thalberg
Irving Thalberg had Norma Shearer as their mistress
Irving Thalberg
action filter_type
action find
entity Norma Shearer
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'Norma Shearer']
SELECT DISTINCT ?y WHERE { resource:Norma_Shearer property:partner ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q95019
P25
Q502895
USER
Who has Norma Shearer as a mother ?
(c(Q502895),P25,Q95019)
action filter_type
action find_reverse
entity Q95019
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q95019']
SELECT DISTINCT ?t WHERE { ?t property:P25 resource:Q95019 . ?t rdf:type ontology:Q502895 }
Norma Shearer
action filter_type
action find_reverse
entity Norma Shearer
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Norma Shearer']
SELECT DISTINCT ?t WHERE { ?t property:mother resource:Norma_Shearer . ?t rdf:type ontology:common_name }
[]
common name
Q6074819
SYSTEM
Irving Thalberg, Jr.
Q6074819
(c(Q502895),P25,Q95019)
action filter_type
action find_reverse
entity Q95019
relation P25
type Q502895
[ANSWER] has Norma Shearer as a mother
[{'concept': 'Q502895'}, 'P25', 'Q95019']
SELECT DISTINCT ?t WHERE { ?t property:P25 resource:Q95019 . ?t rdf:type ontology:Q502895 }
Irving Thalberg, Jr.
Irving Thalberg, Jr. has Norma Shearer as a mother
Irving Thalberg, Jr.
action filter_type
action find_reverse
entity Norma Shearer
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Norma Shearer']
SELECT DISTINCT ?t WHERE { ?t property:mother resource:Norma_Shearer . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q438472
P19
Q56061
USER
Which administrative territory is the birthplace of Irving Thalberg ?
(Q438472,P19,c(Q56061))
action filter_type
action find
entity Q438472
relation P19
type Q56061
['Q438472', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q438472 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Irving Thalberg
action filter_type
action find
entity Irving Thalberg
relation place of birth
type administrative territorial entity
['Irving Thalberg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Irving_Thalberg property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q18419
SYSTEM
Brooklyn
Q18419
(Q438472,P19,c(Q56061))
action filter_type
action find
entity Q438472
relation P19
type Q56061
[ANSWER] is the birthplace of Irving Thalberg
['Q438472', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q438472 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Brooklyn
Brooklyn is the birthplace of Irving Thalberg
Brooklyn
action filter_type
action find
entity Irving Thalberg
relation place of birth
type administrative territorial entity
['Irving Thalberg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Irving_Thalberg property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q438472
P57
Q201658
USER
Which film genre did that person direct ?
(c(Q201658),P57,Q18419)
action filter_type
action find_reverse
entity Q438472
relation P57
type Q201658
[{'concept': 'Q201658'}, 'P57', 'Q18419']
SELECT DISTINCT ?c WHERE { ?c property:P57 resource:Q438472 . ?c rdf:type ontology:Q201658 }
Irving Thalberg
action filter_type
action find_reverse
entity Irving Thalberg
relation director
type film genre
[{'concept': 'film genre'}, 'director', 'Brooklyn']
SELECT DISTINCT ?c WHERE { ?c property:director resource:Irving_Thalberg . ?c rdf:type ontology:film_genre }
[]
film genre
Q288491
SYSTEM
Queen Kelly
Q288491
(c(Q201658),P57,Q18419)
action filter_type
action find_reverse
entity Q438472
relation P57
type Q201658
That person directed [ANSWER]
[{'concept': 'Q201658'}, 'P57', 'Q18419']
SELECT DISTINCT ?c WHERE { ?c property:P57 resource:Q438472 . ?c rdf:type ontology:Q201658 }
Queen Kelly
That person directed Queen Kelly
Queen Kelly
action filter_type
action find_reverse
entity Irving Thalberg
relation director
type film genre
[{'concept': 'film genre'}, 'director', 'Brooklyn']
SELECT DISTINCT ?c WHERE { ?c property:director resource:Irving_Thalberg . ?c rdf:type ontology:film_genre }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q288491 Q18125542
P58
Q502895
USER
Did Sverre J. Herstad write the screenplay for that film genre ?
(Q288491,P58,Q18125542)
action is_in
entity Q18125542
action find
entity Q288491
relation P58
['Q288491', 'P58', 'Q18125542']
ASK WHERE { resource:Q288491 property:P58 resource:Q18125542 }
Queen Kelly Sverre J. Herstad
action is_in
entity Sverre J. Herstad
action find
entity Queen Kelly
relation screenwriter
['Queen Kelly', 'screenwriter', 'Sverre J. Herstad']
ASK WHERE { resource:Queen_Kelly property:screenwriter resource:Sverre_J._Herstad }
[]
common name
SYSTEM
NO
(Q288491,P58,Q18125542)
action is_in
entity Q18125542
action find
entity Q288491
relation P58
[ANSWER]
['Q288491', 'P58', 'Q18125542']
ASK WHERE { resource:Q288491 property:P58 resource:Q18125542 }
No
action is_in
entity Sverre J. Herstad
action find
entity Queen Kelly
relation screenwriter
['Queen Kelly', 'screenwriter', 'Sverre J. Herstad']
ASK WHERE { resource:Queen_Kelly property:screenwriter resource:Sverre_J._Herstad }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q4690493
P272
Q43229 Q201658
USER
Which organizations were the producers of greater number of film genres than After Dark Films ?
(c(Q201658),P272,c(Q43229))
action greater
action find_reverse_tuple_counts
relation P272
type Q43229
type Q201658
action count
action filter_type
action find
entity Q4690493
relation P272
type Q43229
[{'concept': 'Q201658'}, 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:P272 ?c . ?c rdf:type ontology:Q43229 . ?o rdf:type ontology:Q201658 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { resource:Q4690493 property:P272 ?x . ?x rdf:type ontology:Q43229 } } . FILTER ( ?b > ?z ) }
After Dark Films
action greater
action find_reverse_tuple_counts
relation production company
type organization
type film genre
action count
action filter_type
action find
entity After Dark Films
relation production company
type organization
[{'concept': 'film genre'}, 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:production_company ?c . ?c rdf:type ontology:organization . ?o rdf:type ontology:film_genre } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { resource:After_Dark_Films property:production_company ?x . ?x rdf:type ontology:organization } } . FILTER ( ?b > ?z ) }
[]
organization film genre
Q9531 Q248 Q515869
SYSTEM
BBC, Intel, Lions Gate Entertainment
Q1414304 Q6428422 Q3066286 Q785697 Q179922 Q515869 Q5324239 Q622668 Q4739359 Q5311479 Q2819232 Q83389 Q883799 Q248 Q542767 Q3521465 Q5448912 Q650331 Q4824388 Q5448895 Q1188938 Q689021 Q1152369 Q2701539 Q1783801 Q828545 Q501070 Q9531 Q4646764 Q1188361 Q1740372 Q533547 Q2756503 Q5433479
(c(Q201658),P272,c(Q43229))
action greater
action find_reverse_tuple_counts
relation P272
type Q43229
type Q201658
action count
action filter_type
action find
entity Q4690493
relation P272
type Q43229
[ANSWERS] were the producers of greater number of film genres than After Dark Films
[{'concept': 'Q201658'}, 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:P272 ?c . ?c rdf:type ontology:Q43229 . ?o rdf:type ontology:Q201658 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { resource:Q4690493 property:P272 ?x . ?x rdf:type ontology:Q43229 } } . FILTER ( ?b > ?z ) }
Film Booking Offices of America Kommunenes Filmcentral Famous Studios Shogakukan Goldwyn Pictures Lions Gate Entertainment ESPN Films Village Roadshow Pictures Amalgamated Pictures Duck Studios AKOM Turkish Radio and Television Corporation Blender Foundation Intel Christian Dior S.A. The Kennedy/Marshall Company Film Australia Metro Pictures Australian Life Biograph Company FilmNation Entertainment Silver Pictures Selig Polyscope Company Section Eight Productions DePatie-Freleng Enterprises Sony Pictures Imageworks SeaWorld Parks & Entertainment Channel 4 BBC @radical.media Warner Home Video Keystone Studios Pacific Data Images Gaumont-British Picture Corporation Famous Players Film Company
BBC, Intel and Lions Gate Entertainment were the producers of greater number of film genres than After Dark Films
BBC Intel Lions Gate Entertainment
action greater
action find_reverse_tuple_counts
relation production company
type organization
type film genre
action count
action filter_type
action find
entity After Dark Films
relation production company
type organization
[{'concept': 'film genre'}, 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:production_company ?c . ?c rdf:type ontology:organization . ?o rdf:type ontology:film_genre } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { resource:After_Dark_Films property:production_company ?x . ?x rdf:type ontology:organization } } . FILTER ( ?b > ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q329494
P272
Q43229 Q201658
USER
And what about Raidió Teilifís Éireann?
(c(Q201658),P272,c(Q43229))
action greater
action find_reverse_tuple_counts
relation P272
type Q43229
type Q201658
action count
action filter_type
action find
entity Q329494
relation P272
type Q43229
[{'concept': 'Q201658'}, 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?e ) WHERE { ?g rdf:type ontology:Q201658 . ?m rdf:type ontology:Q43229 . ?g property:P272 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Q329494 property:P272 ?w . ?w rdf:type ontology:Q43229 } } . FILTER ( ?e > ?s ) }
Raidió Teilifís Éireann
action greater
action find_reverse_tuple_counts
relation production company
type organization
type film genre
action count
action filter_type
action find
entity Raidió Teilifís Éireann
relation production company
type organization
[{'concept': 'film genre'}, 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?e ) WHERE { ?g rdf:type ontology:film_genre . ?m rdf:type ontology:organization . ?g property:production_company ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Raidió_Teilifís_Éireann property:production_company ?w . ?w rdf:type ontology:organization } } . FILTER ( ?e > ?s ) }
[]
organization film genre
Q9531 Q248 Q515869
SYSTEM
BBC, Intel, Lions Gate Entertainment
Q1414304 Q6428422 Q3066286 Q785697 Q179922 Q515869 Q5324239 Q622668 Q4739359 Q5311479 Q2819232 Q83389 Q883799 Q248 Q542767 Q3521465 Q5448912 Q650331 Q4824388 Q5448895 Q1188938 Q689021 Q1152369 Q2701539 Q1783801 Q828545 Q501070 Q9531 Q4646764 Q1188361 Q1740372 Q533547 Q2756503 Q5433479
(c(Q201658),P272,c(Q43229))
action greater
action find_reverse_tuple_counts
relation P272
type Q43229
type Q201658
action count
action filter_type
action find
entity Q329494
relation P272
type Q43229
[ANSWERS]
[{'concept': 'Q201658'}, 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?e ) WHERE { ?g rdf:type ontology:Q201658 . ?m rdf:type ontology:Q43229 . ?g property:P272 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Q329494 property:P272 ?w . ?w rdf:type ontology:Q43229 } } . FILTER ( ?e > ?s ) }
Film Booking Offices of America Kommunenes Filmcentral Famous Studios Shogakukan Goldwyn Pictures Lions Gate Entertainment ESPN Films Village Roadshow Pictures Amalgamated Pictures Duck Studios AKOM Turkish Radio and Television Corporation Blender Foundation Intel Christian Dior S.A. The Kennedy/Marshall Company Film Australia Metro Pictures Australian Life Biograph Company FilmNation Entertainment Silver Pictures Selig Polyscope Company Section Eight Productions DePatie-Freleng Enterprises Sony Pictures Imageworks SeaWorld Parks & Entertainment Channel 4 BBC @radical.media Warner Home Video Keystone Studios Pacific Data Images Gaumont-British Picture Corporation Famous Players Film Company
BBC Intel Lions Gate Entertainment
action greater
action find_reverse_tuple_counts
relation production company
type organization
type film genre
action count
action filter_type
action find
entity Raidió Teilifís Éireann
relation production company
type organization
[{'concept': 'film genre'}, 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?e ) WHERE { ?g rdf:type ontology:film_genre . ?m rdf:type ontology:organization . ?g property:production_company ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Raidió_Teilifís_Éireann property:production_company ?w . ?w rdf:type ontology:organization } } . FILTER ( ?e > ?s ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q9531 Q248 Q515869
P272
Q201658
USER
Which film genres had those organizations as the production house ?
(c(Q201658),P272,Q9531) (c(Q201658),P272,Q248) (c(Q201658),P272,Q515869)
action filter_type
action find_reverse
entity prev_answer
relation P272
type Q201658
[{'concept': 'Q201658'}, 'P272', 'Q9531'] [{'concept': 'Q201658'}, 'P272', 'Q248'] [{'concept': 'Q201658'}, 'P272', 'Q515869']
SELECT DISTINCT ?f WHERE { ?f property:P272 ?b . ?f rdf:type ontology:Q201658 . VALUES ( ?b ) { ( resource:Q1414304 ) ( resource:Q6428422 ) ( resource:Q3066286 ) } }
BBC Intel Lions Gate Entertainment
action filter_type
action find_reverse
entity prev_answer
relation production company
type film genre
[{'concept': 'film genre'}, 'production company', 'BBC'] [{'concept': 'film genre'}, 'production company', 'Intel'] [{'concept': 'film genre'}, 'production company', 'Lions Gate Entertainment']
SELECT DISTINCT ?f WHERE { ?f property:production_company ?b . ?f rdf:type ontology:film_genre . VALUES ( ?b ) { ( resource:Film_Booking_Offices_of_America ) ( resource:Kommunenes_Filmcentral ) ( resource:Famous_Studios ) } }
[]
film genre
Q159870 Q5197702 Q612036
SYSTEM
Rambo, CyberWorld, Saw
Q3860881 Q3843664 Q5197702 Q612036 Q159870
(c(Q201658),P272,Q9531) (c(Q201658),P272,Q248) (c(Q201658),P272,Q515869)
action filter_type
action find_reverse
entity prev_answer
relation P272
type Q201658
[ANSWERS] had those organizations as the production house
[{'concept': 'Q201658'}, 'P272', 'Q9531'] [{'concept': 'Q201658'}, 'P272', 'Q248'] [{'concept': 'Q201658'}, 'P272', 'Q515869']
SELECT DISTINCT ?f WHERE { ?f property:P272 ?b . ?f rdf:type ontology:Q201658 . VALUES ( ?b ) { ( resource:Q1414304 ) ( resource:Q6428422 ) ( resource:Q3066286 ) } }
Scottish Painters Making 'The Shining' CyberWorld Saw Rambo
Rambo, CyberWorld and Saw had those organizations as the production house
Rambo CyberWorld Saw
action filter_type
action find_reverse
entity prev_answer
relation production company
type film genre
[{'concept': 'film genre'}, 'production company', 'BBC'] [{'concept': 'film genre'}, 'production company', 'Intel'] [{'concept': 'film genre'}, 'production company', 'Lions Gate Entertainment']
SELECT DISTINCT ?f WHERE { ?f property:production_company ?b . ?f rdf:type ontology:film_genre . VALUES ( ?b ) { ( resource:Film_Booking_Offices_of_America ) ( resource:Kommunenes_Filmcentral ) ( resource:Famous_Studios ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q159870 Q5197702 Q612036
P272
Q43229
USER
Which organizations were the producers of those film genres ?
(Q159870,P272,c(Q43229)) (Q5197702,P272,c(Q43229)) (Q612036,P272,c(Q43229))
action filter_type
action find
entity prev_answer
relation P272
type Q43229
['Q159870', 'P272', {'concept': 'Q43229'}] ['Q5197702', 'P272', {'concept': 'Q43229'}] ['Q612036', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q43229 . ?m property:P272 ?a . VALUES ( ?m ) { ( resource:Q3860881 ) ( resource:Q3843664 ) ( resource:Q5197702 ) } }
Rambo CyberWorld Saw
action filter_type
action find
entity prev_answer
relation production company
type organization
['Rambo', 'production company', {'concept': 'organization'}] ['CyberWorld', 'production company', {'concept': 'organization'}] ['Saw', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:organization . ?m property:production_company ?a . VALUES ( ?m ) { ( resource:Scottish_Painters ) ( resource:Making_'The_Shining' ) ( resource:CyberWorld ) } }
[]
organization
Q515869 Q248 Q515869
SYSTEM
Lions Gate Entertainment for 1st, 3rd, Intel for 2nd
Q515869 Q248 Q515869
(Q159870,P272,c(Q43229)) (Q5197702,P272,c(Q43229)) (Q612036,P272,c(Q43229))
action filter_type
action find
entity prev_answer
relation P272
type Q43229
[ANSWERS]
['Q159870', 'P272', {'concept': 'Q43229'}] ['Q5197702', 'P272', {'concept': 'Q43229'}] ['Q612036', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q43229 . ?m property:P272 ?a . VALUES ( ?m ) { ( resource:Q3860881 ) ( resource:Q3843664 ) ( resource:Q5197702 ) } }
Lions Gate Entertainment Intel Lions Gate Entertainment
Lions Gate Entertainment, Intel and Lions Gate Entertainment were the producers of those film genres
Lions Gate Entertainment Intel Lions Gate Entertainment
action filter_type
action find
entity prev_answer
relation production company
type organization
['Rambo', 'production company', {'concept': 'organization'}] ['CyberWorld', 'production company', {'concept': 'organization'}] ['Saw', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:organization . ?m property:production_company ?a . VALUES ( ?m ) { ( resource:Scottish_Painters ) ( resource:Making_'The_Shining' ) ( resource:CyberWorld ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q515869
P108
Q502895
USER
Who works for that organization ?
(c(Q502895),P108,Q515869)
action filter_type
action find_reverse
entity Q515869
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q515869']
SELECT DISTINCT ?t WHERE { ?t property:P108 resource:Q515869 . ?t rdf:type ontology:Q502895 }
Lions Gate Entertainment
action filter_type
action find_reverse
entity Lions Gate Entertainment
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Lions Gate Entertainment']
SELECT DISTINCT ?t WHERE { ?t property:employer resource:Lions_Gate_Entertainment . ?t rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q248
SYSTEM
Did you mean Intel ?
Q515869 Q248 Q515869
(c(Q502895),P108,Q515869) (c(Q502895),P108,Q248) (c(Q502895),P108,Q515869)
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q515869'] [{'concept': 'Q502895'}, 'P108', 'Q248'] [{'concept': 'Q502895'}, 'P108', 'Q515869']
SELECT DISTINCT ?t WHERE { ?t property:P108 resource:Q515869 . ?t rdf:type ontology:Q502895 }
Lions Gate Entertainment Intel Lions Gate Entertainment
Did you mean Intel ?
Intel
[{'concept': 'common name'}, 'employer', 'Lions Gate Entertainment'] [{'concept': 'common name'}, 'employer', 'Intel'] [{'concept': 'common name'}, 'employer', 'Lions Gate Entertainment']
SELECT DISTINCT ?t WHERE { ?t property:employer resource:Lions_Gate_Entertainment . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Lions Gate Entertainment. Could you tell me the answer for that?
(c(Q502895),P108,Q515869)
Q515869
[{'concept': 'Q502895'}, 'P108', 'Q515869']
[{'concept': 'common name'}, 'employer', 'Lions Gate Entertainment']
[]
Q6270693
SYSTEM
Jon Feltheimer
Q6270693
(c(Q502895),P108,Q515869)
action filter_type
action find_reverse
entity Q515869
relation P108
type Q502895
[ANSWER] works for that organization
[{'concept': 'Q502895'}, 'P108', 'Q515869']
SELECT DISTINCT ?t WHERE { ?t property:P108 resource:Q515869 . ?t rdf:type ontology:Q502895 }
Jon Feltheimer
Jon Feltheimer works for that organization
Jon Feltheimer
action filter_type
action find_reverse
entity Lions Gate Entertainment
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Lions Gate Entertainment']
SELECT DISTINCT ?t WHERE { ?t property:employer resource:Lions_Gate_Entertainment . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6270693
P169
Q43229
USER
Which organization has that person as CEO ?
(c(Q43229),P169,Q6270693)
action filter_type
action find_reverse
entity Q6270693
relation P169
type Q43229
[{'concept': 'Q43229'}, 'P169', 'Q6270693']
SELECT DISTINCT ?t WHERE { ?t property:P169 resource:Q6270693 . ?t rdf:type ontology:Q43229 }
Jon Feltheimer
action filter_type
action find_reverse
entity Jon Feltheimer
relation chief executive officer
type organization
[{'concept': 'organization'}, 'chief executive officer', 'Jon Feltheimer']
SELECT DISTINCT ?t WHERE { ?t property:chief_executive_officer resource:Jon_Feltheimer . ?t rdf:type ontology:organization }
[]
organization
Q515869
SYSTEM
Lions Gate Entertainment
Q515869
(c(Q43229),P169,Q6270693)
action filter_type
action find_reverse
entity Q6270693
relation P169
type Q43229
[ANSWER] has that person as CEO
[{'concept': 'Q43229'}, 'P169', 'Q6270693']
SELECT DISTINCT ?t WHERE { ?t property:P169 resource:Q6270693 . ?t rdf:type ontology:Q43229 }
Lions Gate Entertainment
Lions Gate Entertainment has that person as CEO
Lions Gate Entertainment
action filter_type
action find_reverse
entity Jon Feltheimer
relation chief executive officer
type organization
[{'concept': 'organization'}, 'chief executive officer', 'Jon Feltheimer']
SELECT DISTINCT ?t WHERE { ?t property:chief_executive_officer resource:Jon_Feltheimer . ?t rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P110
Q502895 Q26971562 Q2342494
USER
How many people had done the illustration of atleast 29 comic formats and collectables ?
(c(Q26971562)|c(Q2342494),P110,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 29
[[{'concept': 'Q26971562'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { FILTER ( ?x >= 29 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) ?w WHERE { { ?w rdf:type ontology:Q502895 . ?u rdf:type ontology:Q26971562 . ?u property:P110 ?w } UNION { ?u property:P110 ?w . ?w rdf:type ontology:Q502895 . ?u rdf:type ontology:Q2342494 } } GROUP BY ?w } }
action count
action atleast
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 29
[[{'concept': 'comic format'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { FILTER ( ?x >= 29 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) ?w WHERE { { ?w rdf:type ontology:common_name . ?u rdf:type ontology:comic_format . ?u property:illustrator ?w } UNION { ?u property:illustrator ?w . ?w rdf:type ontology:common_name . ?u rdf:type ontology:collectable } } GROUP BY ?w } }
[]
common name comic format collectable
SYSTEM
2
Q2831042 Q45111
(c(Q26971562)|c(Q2342494),P110,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
value 29
[ANSWER]
[[{'concept': 'Q26971562'}, {'concept': 'Q2342494'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { FILTER ( ?x >= 29 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) ?w WHERE { { ?w rdf:type ontology:Q502895 . ?u rdf:type ontology:Q26971562 . ?u property:P110 ?w } UNION { ?u property:P110 ?w . ?w rdf:type ontology:Q502895 . ?u rdf:type ontology:Q2342494 } } GROUP BY ?w } }
Albert Chazelle John R. Neill
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
value 29
[[{'concept': 'comic format'}, {'concept': 'collectable'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { FILTER ( ?x >= 29 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) ?w WHERE { { ?w rdf:type ontology:common_name . ?u rdf:type ontology:comic_format . ?u property:illustrator ?w } UNION { ?u property:illustrator ?w . ?w rdf:type ontology:common_name . ?u rdf:type ontology:collectable } } GROUP BY ?w } }
[]