Simple Question (Direct)
Simple Question
Q1999568
P272
Q17502905
USER
Which the media was the producer of The Machine Girl ?
(Q1999568,P272,c(Q17502905))
action filter_type
action find
entity Q1999568
relation P272
type Q17502905
['Q1999568', 'P272', {'concept': 'Q17502905'}]
SELECT DISTINCT ?i WHERE { resource:Q1999568 property:P272 ?i . ?i rdf:type ontology:Q17502905 }
The Machine Girl
action filter_type
action find
entity The Machine Girl
relation production company
type the media
['The Machine Girl', 'production company', {'concept': 'the media'}]
SELECT DISTINCT ?i WHERE { resource:The_Machine_Girl property:production_company ?i . ?i rdf:type ontology:the_media }
[]
the media
Q201487
SYSTEM
Nikkatsu
Q201487
(Q1999568,P272,c(Q17502905))
action filter_type
action find
entity Q1999568
relation P272
type Q17502905
[ANSWER] was the producer of The Machine Girl
['Q1999568', 'P272', {'concept': 'Q17502905'}]
SELECT DISTINCT ?i WHERE { resource:Q1999568 property:P272 ?i . ?i rdf:type ontology:Q17502905 }
Nikkatsu
Nikkatsu was the producer of The Machine Girl
Nikkatsu
action filter_type
action find
entity The Machine Girl
relation production company
type the media
['The Machine Girl', 'production company', {'concept': 'the media'}]
SELECT DISTINCT ?i WHERE { resource:The_Machine_Girl property:production_company ?i . ?i rdf:type ontology:the_media }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q201487
P750
Q838948
USER
Which works of art are that the media a distributor of ?
(c(Q838948),P750,Q201487)
action filter_type
action find_reverse
entity Q201487
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q201487']
SELECT DISTINCT ?r WHERE { ?r property:P750 resource:Q201487 . ?r rdf:type ontology:Q838948 }
Nikkatsu
action filter_type
action find_reverse
entity Nikkatsu
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'Nikkatsu']
SELECT DISTINCT ?r WHERE { ?r property:distributor resource:Nikkatsu . ?r rdf:type ontology:work_of_art }
[]
work of art
Q8061777 Q7638709 Q729671
SYSTEM
Unforgiven, Sun in the Last Days of the Shogunate, Branded to Kill
Q7539024 Q6705330 Q5447889 Q7366714 Q5575043 Q7366710 Q7366713 Q7939495 Q4732204 Q8074154 Q2621863 Q7688466 Q6365551 Q7804902 Q7620043 Q2981267 Q6455149 Q5505828 Q7293869 Q7927506 Q7316921 Q5265615 Q5140529 Q729671 Q7813873 Q7638709 Q7196122 Q7196121 Q7813429 Q6448546 Q7079124 Q6808769 Q5395411 Q8066240 Q4877856 Q3232701 Q8074161 Q8057986 Q5456127 Q4779184 Q6746486 Q6469980 Q5436655 Q7105320 Q8047273 Q8061777 Q5442720 Q5442722 Q7773577 Q7776134 Q5380655 Q5442731 Q4818025 Q7110563 Q5417991 Q5976095 Q6690638 Q7883941 Q5968414 Q8030768 Q6470462 Q5431005 Q7715784 Q7751481 Q8030745 Q6094858
(c(Q838948),P750,Q201487)
action filter_type
action find_reverse
entity Q201487
relation P750
type Q838948
[ANSWERS] are that the media a distributor of
[{'concept': 'Q838948'}, 'P750', 'Q201487']
SELECT DISTINCT ?r WHERE { ?r property:P750 resource:Q201487 . ?r rdf:type ontology:Q838948 }
Slaughter Gun Lusty Sisters Fighting Elegy Rope and Skin Go to Hell, Hoodlums! Rope Cosmetology Rope and Breasts Voice Without a Shadow Alleycat Rock: Female Boss Zoom In: Rape Apartments A Woman Called Sada Abe Tattooed Flower Vase Kanto Wanderer Time Adventure: Zeccho 5-byo Mae Stories of Bastards: Born Under a Bad Star Pigs and Battleships Kōichirō Uno's Wet and Swinging Front Row Life Rape! 13th Hour Victory Is Mine Retreat Through the Wet Wasteland Detective Bureau 23: Go to Hell, Bastards! Coed Report: Yuko's White Breasts Branded to Kill Tokyo Emmanuelle Sun in the Last Days of the Shogunate Pink Tush Girl: Love Attack Pink Tush Girl Tojin Okichi Kutsukake Tokijirō Office Lady Rope Slave Megane Erotic Diary of an Office Lady Zankoku onna jōshi Beauty's Exotic Dance: Torture! The Flower and the Angry Waves Zoom Up: Rape Site Young Breasts Five Scouts Apartment Wife: Affair In the Afternoon Man with a Shotgun Lady Black Rose Fascination: Portrait of a Lady Oryu's Passion: Bondage Skin Yakuza Weapon Unforgiven Female Convict 101: Suck Female Cats The Warped Ones The World of Geisha Entrails of a Virgin Female Ninja Magic: 100 Trampled Flowers Attacked!! Our Blood Will Not Forgive Everything Goes Wrong I Am Waiting Love Hunter Underworld Beauty School Days with a Pig Woman with Red Hair Lady Moonflower Fairy in a Cage The Bastard The Million Ryo Pot Woman on the Night Train Itoshino Half Moon
Unforgiven, Sun in the Last Days of the Shogunate and Branded to Kill are that the media a distributor of
Unforgiven Sun in the Last Days of the Shogunate Branded to Kill
action filter_type
action find_reverse
entity Nikkatsu
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'Nikkatsu']
SELECT DISTINCT ?r WHERE { ?r property:distributor resource:Nikkatsu . ?r rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q384426
P1445
Q838948 Q386724
USER
How many works were described in less number of works of art than Pirates of the Caribbean ?
(c(Q386724),P1445,c(Q838948))
action count
action less
action find_tuple_counts
relation P1445
type Q386724
type Q838948
action count
action filter_type
action find
entity Q384426
relation P1445
type Q838948
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?z ) WHERE { ?k property:P1445 ?v . ?k rdf:type ontology:Q386724 . ?v rdf:type ontology:Q838948 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:Q838948 . resource:Q384426 property:P1445 ?p } } . FILTER ( ?z < ?t ) }
Pirates of the Caribbean
action count
action less
action find_tuple_counts
relation fictional universe described in
type work
type work of art
action count
action filter_type
action find
entity Pirates of the Caribbean
relation fictional universe described in
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?z ) WHERE { ?k property:fictional_universe_described_in ?v . ?k rdf:type ontology:work . ?v rdf:type ontology:work_of_art } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:work_of_art . resource:Pirates_of_the_Caribbean property:fictional_universe_described_in ?p } } . FILTER ( ?z < ?t ) }
[]
work of art work
SYSTEM
4
Q1203222 Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q838948))
action count
action less
action find_tuple_counts
relation P1445
type Q386724
type Q838948
action count
action filter_type
action find
entity Q384426
relation P1445
type Q838948
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?z ) WHERE { ?k property:P1445 ?v . ?k rdf:type ontology:Q386724 . ?v rdf:type ontology:Q838948 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:Q838948 . resource:Q384426 property:P1445 ?p } } . FILTER ( ?z < ?t ) }
Shrek Aladdin media franchise Stargate The Walking Dead
4
action count
action less
action find_tuple_counts
relation fictional universe described in
type work
type work of art
action count
action filter_type
action find
entity Pirates of the Caribbean
relation fictional universe described in
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?z ) WHERE { ?k property:fictional_universe_described_in ?v . ?k rdf:type ontology:work . ?v rdf:type ontology:work_of_art } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ontology:work_of_art . resource:Pirates_of_the_Caribbean property:fictional_universe_described_in ?p } } . FILTER ( ?z < ?t ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used to assemble exactly 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action equal
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:P2079 ?k . ?k rdf:type ontology:Q2695280 . ?g rdf:type ontology:Q838948 } GROUP BY ?k } }
action equal
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:fabrication_method ?k . ?k rdf:type ontology:technics . ?g rdf:type ontology:work_of_art } GROUP BY ?k } }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action equal
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWERS] are used to assemble exactly 1 work of art
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:P2079 ?k . ?k rdf:type ontology:Q2695280 . ?g rdf:type ontology:Q838948 } GROUP BY ?k } }
gilding collage
Gilding and collage are used to assemble exactly 1 work of art
gilding collage
action equal
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:fabrication_method ?k . ?k rdf:type ontology:technics . ?g rdf:type ontology:work_of_art } GROUP BY ?k } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P941
Q838948 Q7725634 Q11424
USER
Which works of art inspired max number of literary works and films ?
(c(Q7725634)|c(Q11424),P941,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
[[{'concept': 'Q7725634'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?s WHERE { VALUES ( ?e ) { ( ontology:Q7725634 ) ( ontology:Q11424 ) } . ?g rdf:type ?e } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?p WHERE { { ?f property:P941 ?p . ?p rdf:type ontology:Q838948 . ?f rdf:type ontology:Q7725634 } UNION { ?f property:P941 ?p . ?p rdf:type ontology:Q838948 . ?f rdf:type ontology:Q11424 } } GROUP BY ?p } . FILTER ( ?t = ?v ) }
action argmax
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type literary work
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
[[{'concept': 'literary work'}, {'concept': 'film'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?s WHERE { VALUES ( ?e ) { ( ontology:literary_work ) ( ontology:film ) } . ?g rdf:type ?e } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?p WHERE { { ?f property:inspired_by ?p . ?p rdf:type ontology:work_of_art . ?f rdf:type ontology:literary_work } UNION { ?f property:inspired_by ?p . ?p rdf:type ontology:work_of_art . ?f rdf:type ontology:film } } GROUP BY ?p } . FILTER ( ?t = ?v ) }
[]
work of art literary work film
Q1217787 Q1856846 Q41567
SYSTEM
The Time Machine, The Ballad of Cable Hogue, Hamlet
Q1217787 Q1856846 Q41567 Q5968141 Q83186
(c(Q7725634)|c(Q11424),P941,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
[ANSWERS] inspired max number of literary works and films
[[{'concept': 'Q7725634'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?s WHERE { VALUES ( ?e ) { ( ontology:Q7725634 ) ( ontology:Q11424 ) } . ?g rdf:type ?e } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?p WHERE { { ?f property:P941 ?p . ?p rdf:type ontology:Q838948 . ?f rdf:type ontology:Q7725634 } UNION { ?f property:P941 ?p . ?p rdf:type ontology:Q838948 . ?f rdf:type ontology:Q11424 } } GROUP BY ?p } . FILTER ( ?t = ?v ) }
The Time Machine The Ballad of Cable Hogue Hamlet La sirena varada Romeo and Juliet
The Time Machine, The Ballad of Cable Hogue and Hamlet inspired max number of literary works and films
The Time Machine The Ballad of Cable Hogue Hamlet
action argmax
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type literary work
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
[[{'concept': 'literary work'}, {'concept': 'film'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) ?s WHERE { VALUES ( ?e ) { ( ontology:literary_work ) ( ontology:film ) } . ?g rdf:type ?e } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?p WHERE { { ?f property:inspired_by ?p . ?p rdf:type ontology:work_of_art . ?f rdf:type ontology:literary_work } UNION { ?f property:inspired_by ?p . ?p rdf:type ontology:work_of_art . ?f rdf:type ontology:film } } GROUP BY ?p } . FILTER ( ?t = ?v ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P161
Q1190554 Q502895
USER
How many events and people were casted in that work of art ?
(Q1217787,P161,c(Q1190554)) (Q1217787,P161,c(Q502895)) (Q1217787,P161,c(Q1190554)) (Q1217787,P161,c(Q502895)) (Q1856846,P161,c(Q1190554)) (Q1856846,P161,c(Q502895)) (Q41567,P161,c(Q1190554)) (Q41567,P161,c(Q502895))
['Q1217787', 'P161', {'concept': 'Q1190554'}] ['Q1217787', 'P161', {'concept': 'Q502895'}] ['Q1217787', 'P161', {'concept': 'Q1190554'}] ['Q1217787', 'P161', {'concept': 'Q502895'}] ['Q1856846', 'P161', {'concept': 'Q1190554'}] ['Q1856846', 'P161', {'concept': 'Q502895'}] ['Q41567', 'P161', {'concept': 'Q1190554'}] ['Q41567', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q627333 property:Q3297652 ?z } UNION { resource:Q627333 property:Q3297652 ?y } UNION { resource:Q627333 property:Q3297652 ?z } UNION { resource:Q627333 property:Q3297652 ?y } UNION { resource:Q1856846 property:Q3297652 ?z } UNION { resource:Q1856846 property:Q3297652 ?y } UNION { resource:Q934705 property:Q3297652 ?z } UNION { resource:Q934705 property:Q3297652 ?y } } . ?z rdf:type ontology:Q5416694 . ?y rdf:type ontology:Q502895 }
['The Time Machine', 'cast member', {'concept': 'event'}] ['The Time Machine', 'cast member', {'concept': 'common name'}] ['The Time Machine', 'cast member', {'concept': 'event'}] ['The Time Machine', 'cast member', {'concept': 'common name'}] ['The Ballad of Cable Hogue', 'cast member', {'concept': 'event'}] ['The Ballad of Cable Hogue', 'cast member', {'concept': 'common name'}] ['Hamlet', 'cast member', {'concept': 'event'}] ['Hamlet', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:The_Time_Machine property:cast_member ?z } UNION { resource:The_Time_Machine property:cast_member ?y } UNION { resource:The_Time_Machine property:cast_member ?z } UNION { resource:The_Time_Machine property:cast_member ?y } UNION { resource:The_Ballad_of_Cable_Hogue property:cast_member ?z } UNION { resource:The_Ballad_of_Cable_Hogue property:cast_member ?y } UNION { resource:Hamlet property:cast_member ?z } UNION { resource:Hamlet property:cast_member ?y } } . ?z rdf:type ontology:event . ?y rdf:type ontology:common_name }
[]
event common name
Quantitative|Count|Mult. entity type|Clarification
Q1217787
SYSTEM
Did you mean The Time Machine ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q627333 property:Q3297652 ?z } UNION { resource:Q627333 property:Q3297652 ?y } UNION { resource:Q627333 property:Q3297652 ?z } UNION { resource:Q627333 property:Q3297652 ?y } UNION { resource:Q1856846 property:Q3297652 ?z } UNION { resource:Q1856846 property:Q3297652 ?y } UNION { resource:Q934705 property:Q3297652 ?z } UNION { resource:Q934705 property:Q3297652 ?y } } . ?z rdf:type ontology:Q5416694 . ?y rdf:type ontology:Q502895 }
Did you mean The Time Machine ?
The Time Machine
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:The_Time_Machine property:cast_member ?z } UNION { resource:The_Time_Machine property:cast_member ?y } UNION { resource:The_Time_Machine property:cast_member ?z } UNION { resource:The_Time_Machine property:cast_member ?y } UNION { resource:The_Ballad_of_Cable_Hogue property:cast_member ?z } UNION { resource:The_Ballad_of_Cable_Hogue property:cast_member ?y } UNION { resource:Hamlet property:cast_member ?z } UNION { resource:Hamlet property:cast_member ?y } } . ?z rdf:type ontology:event . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q1217787,P161,c(Q1190554)) (Q1217787,P161,c(Q502895)) (Q1217787,P161,c(Q1190554)) (Q1217787,P161,c(Q502895)) (Q1856846,P161,c(Q1190554)) (Q1856846,P161,c(Q502895)) (Q41567,P161,c(Q1190554)) (Q41567,P161,c(Q502895))
['Q1217787', 'P161', {'concept': 'Q1190554'}] ['Q1217787', 'P161', {'concept': 'Q502895'}] ['Q1217787', 'P161', {'concept': 'Q1190554'}] ['Q1217787', 'P161', {'concept': 'Q502895'}] ['Q1856846', 'P161', {'concept': 'Q1190554'}] ['Q1856846', 'P161', {'concept': 'Q502895'}] ['Q41567', 'P161', {'concept': 'Q1190554'}] ['Q41567', 'P161', {'concept': 'Q502895'}]
['The Time Machine', 'cast member', {'concept': 'event'}] ['The Time Machine', 'cast member', {'concept': 'common name'}] ['The Time Machine', 'cast member', {'concept': 'event'}] ['The Time Machine', 'cast member', {'concept': 'common name'}] ['The Ballad of Cable Hogue', 'cast member', {'concept': 'event'}] ['The Ballad of Cable Hogue', 'cast member', {'concept': 'common name'}] ['Hamlet', 'cast member', {'concept': 'event'}] ['Hamlet', 'cast member', {'concept': 'common name'}]
[]
SYSTEM
1 events and 12 people
Q105138 Q187657 Q1233327 Q3037066 Q1560227 Q919651 Q1144993 Q308459 Q329156 Q465709 Q2644669 Q555246 Q2209678
(Q1217787,P161,c(Q1190554)) (Q1217787,P161,c(Q502895)) (Q1217787,P161,c(Q1190554)) (Q1217787,P161,c(Q502895)) (Q1856846,P161,c(Q1190554)) (Q1856846,P161,c(Q502895)) (Q41567,P161,c(Q1190554)) (Q41567,P161,c(Q502895))
[ANSWER]
['Q1217787', 'P161', {'concept': 'Q1190554'}] ['Q1217787', 'P161', {'concept': 'Q502895'}] ['Q1217787', 'P161', {'concept': 'Q1190554'}] ['Q1217787', 'P161', {'concept': 'Q502895'}] ['Q1856846', 'P161', {'concept': 'Q1190554'}] ['Q1856846', 'P161', {'concept': 'Q502895'}] ['Q41567', 'P161', {'concept': 'Q1190554'}] ['Q41567', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q627333 property:Q3297652 ?z } UNION { resource:Q627333 property:Q3297652 ?y } UNION { resource:Q627333 property:Q3297652 ?z } UNION { resource:Q627333 property:Q3297652 ?y } UNION { resource:Q1856846 property:Q3297652 ?z } UNION { resource:Q1856846 property:Q3297652 ?y } UNION { resource:Q934705 property:Q3297652 ?z } UNION { resource:Q934705 property:Q3297652 ?y } } . ?z rdf:type ontology:Q5416694 . ?y rdf:type ontology:Q502895 }
Kurt Waitzmann dubbing Sebastian Cabot Doris Lloyd Peter Schiff Tom Helmore Curt Ackermann Rod Taylor Whit Bissell Yvette Mimieux Alfred Balthoff Alan Young Sabine Eggerth
1 events and 12 people
['The Time Machine', 'cast member', {'concept': 'event'}] ['The Time Machine', 'cast member', {'concept': 'common name'}] ['The Time Machine', 'cast member', {'concept': 'event'}] ['The Time Machine', 'cast member', {'concept': 'common name'}] ['The Ballad of Cable Hogue', 'cast member', {'concept': 'event'}] ['The Ballad of Cable Hogue', 'cast member', {'concept': 'common name'}] ['Hamlet', 'cast member', {'concept': 'event'}] ['Hamlet', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:The_Time_Machine property:cast_member ?z } UNION { resource:The_Time_Machine property:cast_member ?y } UNION { resource:The_Time_Machine property:cast_member ?z } UNION { resource:The_Time_Machine property:cast_member ?y } UNION { resource:The_Ballad_of_Cable_Hogue property:cast_member ?z } UNION { resource:The_Ballad_of_Cable_Hogue property:cast_member ?y } UNION { resource:Hamlet property:cast_member ?z } UNION { resource:Hamlet property:cast_member ?y } } . ?z rdf:type ontology:event . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used for the production of approximately 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P2079 ?w . ?w rdf:type ontology:Q2695280 . ?m rdf:type ontology:Q838948 } GROUP BY ?w } . FILTER ( ?t = 1 ) }
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:fabrication_method ?w . ?w rdf:type ontology:technics . ?m rdf:type ontology:work_of_art } GROUP BY ?w } . FILTER ( ?t = 1 ) }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWERS] are used for the production of approximately 1 work of art
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P2079 ?w . ?w rdf:type ontology:Q2695280 . ?m rdf:type ontology:Q838948 } GROUP BY ?w } . FILTER ( ?t = 1 ) }
gilding collage
Gilding and collage are used for the production of approximately 1 work of art
gilding collage
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:fabrication_method ?w . ?w rdf:type ontology:technics . ?m rdf:type ontology:work_of_art } GROUP BY ?w } . FILTER ( ?t = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41567
P800
Q502895
USER
Who are author of Hamlet ?
(c(Q502895),P800,Q41567)
action filter_type
action find_reverse
entity Q41567
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q41567']
SELECT DISTINCT ?x WHERE { ?x property:P800 resource:Q41567 . ?x rdf:type ontology:Q502895 }
Hamlet
action filter_type
action find_reverse
entity Hamlet
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Hamlet']
SELECT DISTINCT ?x WHERE { ?x property:notable_work resource:Hamlet . ?x rdf:type ontology:common_name }
[]
common name
Q692 Q16066303
SYSTEM
William Shakespeare, Mary Warner
Q692 Q16066303
(c(Q502895),P800,Q41567)
action filter_type
action find_reverse
entity Q41567
relation P800
type Q502895
Are author of Hamlet between [ANSWERS]
[{'concept': 'Q502895'}, 'P800', 'Q41567']
SELECT DISTINCT ?x WHERE { ?x property:P800 resource:Q41567 . ?x rdf:type ontology:Q502895 }
William Shakespeare Mary Warner
Are author of Hamlet between William Shakespeare and Mary Warner
William Shakespeare Mary Warner
action filter_type
action find_reverse
entity Hamlet
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Hamlet']
SELECT DISTINCT ?x WHERE { ?x property:notable_work resource:Hamlet . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41567
P136
Q223393
USER
What can be considered as category for Hamlet ?
(Q41567,P136,c(Q223393))
action filter_type
action find
entity Q41567
relation P136
type Q223393
['Q41567', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?e WHERE { resource:Q41567 property:P136 ?e . ?e rdf:type ontology:Q223393 }
Hamlet
action filter_type
action find
entity Hamlet
relation genre
type literary genre
['Hamlet', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?e WHERE { resource:Hamlet property:genre ?e . ?e rdf:type ontology:literary_genre }
[]
literary genre
Q80930
SYSTEM
tragedy
Q80930
(Q41567,P136,c(Q223393))
action filter_type
action find
entity Q41567
relation P136
type Q223393
[ANSWER] can be considered as category for Hamlet
['Q41567', 'P136', {'concept': 'Q223393'}]
SELECT DISTINCT ?e WHERE { resource:Q41567 property:P136 ?e . ?e rdf:type ontology:Q223393 }
tragedy
Tragedy can be considered as category for Hamlet
tragedy
action filter_type
action find
entity Hamlet
relation genre
type literary genre
['Hamlet', 'genre', {'concept': 'literary genre'}]
SELECT DISTINCT ?e WHERE { resource:Hamlet property:genre ?e . ?e rdf:type ontology:literary_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q692
P7
Q502895
USER
Who have William Shakespeare as their sibling ?
(c(Q502895),P7,Q692)
action filter_type
action find_reverse
entity Q692
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q692']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P7 resource:Q692 }
William Shakespeare
action filter_type
action find_reverse
entity William Shakespeare
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'William Shakespeare']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:brother resource:William_Shakespeare }
[]
common name
Q5339820 Q5561207 Q6205446
SYSTEM
Edmund Shakespeare, Gilbert Shakespeare, Joan Shakespeare
Q5339820 Q5561207 Q6205446
(c(Q502895),P7,Q692)
action filter_type
action find_reverse
entity Q692
relation P7
type Q502895
[ANSWERS] have William Shakespeare as their sibling
[{'concept': 'Q502895'}, 'P7', 'Q692']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P7 resource:Q692 }
Edmund Shakespeare Gilbert Shakespeare Joan Shakespeare
Edmund Shakespeare, Gilbert Shakespeare and Joan Shakespeare have William Shakespeare as their sibling
Edmund Shakespeare Gilbert Shakespeare Joan Shakespeare
action filter_type
action find_reverse
entity William Shakespeare
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'William Shakespeare']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:brother resource:William_Shakespeare }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5339820
P21
Q290
USER
Which sex does Edmund Shakespeare possess ?
(Q5339820,P21,c(Q290))
action filter_type
action find
entity Q5339820
relation P21
type Q290
['Q5339820', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q5339820 property:P21 ?i . ?i rdf:type ontology:Q290 }
Edmund Shakespeare
action filter_type
action find
entity Edmund Shakespeare
relation gender
type sex
['Edmund Shakespeare', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Edmund_Shakespeare property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5339820,P21,c(Q290))
action filter_type
action find
entity Q5339820
relation P21
type Q290
Edmund Shakespeare possesses un [ANSWER]
['Q5339820', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q5339820 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Edmund Shakespeare possesses un male
male
action filter_type
action find
entity Edmund Shakespeare
relation gender
type sex
['Edmund Shakespeare', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Edmund_Shakespeare property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3644480
Q290
USER
And also tell me about John van Melle?
(Q3644480,P21,c(Q290))
action filter_type
action find
entity Q3644480
relation P21
type Q290
['Q3644480', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q3644480 property:P21 ?j . ?j rdf:type ontology:Q290 }
John van Melle
action filter_type
action find
entity John van Melle
relation gender
type sex
['John van Melle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:John_van_Melle property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3644480,P21,c(Q290))
action filter_type
action find
entity Q3644480
relation P21
type Q290
[ANSWER]
['Q3644480', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q3644480 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity John van Melle
relation gender
type sex
['John van Melle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:John_van_Melle property:gender ?j . ?j rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q5369 Q201487
P162 P921
Q838948
USER
Which works of art have been developed by Nikkatsu and were mainly based on baseball ?
AND((c(Q838948),P162,Q201487), (c(Q838948),P921,Q5369))
action filter_type
action intersection
action find_reverse
entity Q201487
relation P162
action find_reverse
entity Q5369
relation P921
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P162', 'Q201487'], [{'concept': 'Q838948'}, 'P921', 'Q5369']]}
SELECT DISTINCT ?p WHERE { ?p property:P162 resource:Q201487 . ?p property:P921 resource:Q5369 . ?p rdf:type ontology:Q838948 }
baseball Nikkatsu
action filter_type
action intersection
action find_reverse
entity Nikkatsu
relation producer
action find_reverse
entity baseball
relation main subject
type work of art
{'AND': [[{'concept': 'work of art'}, 'producer', 'Nikkatsu'], [{'concept': 'work of art'}, 'main subject', 'baseball']]}
SELECT DISTINCT ?p WHERE { ?p property:producer resource:Nikkatsu . ?p property:main_subject resource:baseball . ?p rdf:type ontology:work_of_art }
[]
work of art
Q6379574
SYSTEM
Kawakami Tetsuharu monogatari sebangō 16
Q6379574
AND((c(Q838948),P162,Q201487), (c(Q838948),P921,Q5369))
action filter_type
action intersection
action find_reverse
entity Q201487
relation P162
action find_reverse
entity Q5369
relation P921
type Q838948
[ANSWER] have been developed by Nikkatsu and were mainly based on baseball
{'AND': [[{'concept': 'Q838948'}, 'P162', 'Q201487'], [{'concept': 'Q838948'}, 'P921', 'Q5369']]}
SELECT DISTINCT ?p WHERE { ?p property:P162 resource:Q201487 . ?p property:P921 resource:Q5369 . ?p rdf:type ontology:Q838948 }
Kawakami Tetsuharu monogatari sebangō 16
Kawakami Tetsuharu monogatari sebangō 16 have been developed by Nikkatsu and were mainly based on baseball
Kawakami Tetsuharu monogatari sebangō 16
action filter_type
action intersection
action find_reverse
entity Nikkatsu
relation producer
action find_reverse
entity baseball
relation main subject
type work of art
{'AND': [[{'concept': 'work of art'}, 'producer', 'Nikkatsu'], [{'concept': 'work of art'}, 'main subject', 'baseball']]}
SELECT DISTINCT ?p WHERE { ?p property:producer resource:Nikkatsu . ?p property:main_subject resource:baseball . ?p rdf:type ontology:work_of_art }
[]