Simple Question (Direct)
Simple Question
Q1693497
P21
Q290
USER
Which sex does Judson Pratt have ?
(Q1693497,P21,c(Q290))
action filter_type
action find
entity Q1693497
relation P21
type Q290
['Q1693497', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1693497 property:P21 ?k . ?k rdf:type ontology:Q290 }
Judson Pratt
action filter_type
action find
entity Judson Pratt
relation gender
type sex
['Judson Pratt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Judson_Pratt property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1693497,P21,c(Q290))
action filter_type
action find
entity Q1693497
relation P21
type Q290
Judson Pratt has a [ANSWER]
['Q1693497', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1693497 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Judson Pratt has a male
male
action filter_type
action find
entity Judson Pratt
relation gender
type sex
['Judson Pratt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Judson_Pratt property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1693497
P161
Q838948
USER
Which works of art do Judson Pratt star in ?
(c(Q838948),P161,Q1693497)
action filter_type
action find_reverse
entity Q1693497
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1693497']
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q1693497 . ?r rdf:type ontology:Q838948 }
Judson Pratt
action filter_type
action find_reverse
entity Judson Pratt
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Judson Pratt']
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:Judson_Pratt . ?r rdf:type ontology:work_of_art }
[]
work of art
Q1071402 Q780533 Q967050
SYSTEM
Cheyenne Autumn, The Barefoot Executive, F.I.S.T.
Q1740860 Q1071402 Q639086 Q512247 Q1475648 Q1193113 Q599885 Q764962 Q3207370 Q780533 Q2421112 Q1196731 Q967050 Q2804739
(c(Q838948),P161,Q1693497)
action filter_type
action find_reverse
entity Q1693497
relation P161
type Q838948
Judson Pratt star in [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q1693497']
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q1693497 . ?r rdf:type ontology:Q838948 }
Kid Galahad Cheyenne Autumn The Horse Soldiers I Confess Futureworld The Ugly American Sergeant Rutledge Somebody Up There Likes Me The Rise and Fall of Legs Diamond The Barefoot Executive Outside the Law Monster on the Campus F.I.S.T. A Distant Trumpet
Judson Pratt star in Cheyenne Autumn, The Barefoot Executive and F.I.S.T.
Cheyenne Autumn The Barefoot Executive F.I.S.T.
action filter_type
action find_reverse
entity Judson Pratt
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Judson Pratt']
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:Judson_Pratt . ?r rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12432989
P361
Q482994 Q151885 Q838948
USER
How many works of art are a portion of greater number of albums and concepts than Oscar Wilde's tomb ?
(c(Q838948),P361,c(Q482994)|c(Q151885))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q838948
type Q482994
action find_tuple_counts
relation P361
type Q838948
type Q151885
action count
action filter_multi_types
action find
entity Q12432989
relation P361
type Q482994
type Q151885
[{'concept': 'Q838948'}, 'P361', [{'concept': 'Q482994'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?o ) { ( ontology:Q482994 ) ( ontology:Q151885 ) } . ?k rdf:type ?o } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { { ?b rdf:type ontology:Q482994 } UNION { ?b rdf:type ontology:Q151885 } } . resource:Q12432989 property:P361 ?b } } . FILTER ( ?v > ?t ) }
Oscar Wilde's tomb
action count
action greater
action union
action find_tuple_counts
relation part of
type work of art
type album
action find_tuple_counts
relation part of
type work of art
type concept
action count
action filter_multi_types
action find
entity Oscar Wilde's tomb
relation part of
type album
type concept
[{'concept': 'work of art'}, 'part of', [{'concept': 'album'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?o ) { ( ontology:album ) ( ontology:concept ) } . ?k rdf:type ?o } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { { ?b rdf:type ontology:album } UNION { ?b rdf:type ontology:concept } } . resource:Oscar_Wilde's_tomb property:part_of ?b } } . FILTER ( ?v > ?t ) }
[]
album concept work of art
SYSTEM
19
Q312522 Q1214531 Q700728 Q116580 Q131397 Q552113 Q24169384 Q691284 Q510876 Q4918377 Q856764 Q377296 Q724710 Q1530239 Q1127555 Q1737844 Q7716124 Q702658 Q203765
(c(Q838948),P361,c(Q482994)|c(Q151885))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q838948
type Q482994
action find_tuple_counts
relation P361
type Q838948
type Q151885
action count
action filter_multi_types
action find
entity Q12432989
relation P361
type Q482994
type Q151885
[ANSWER]
[{'concept': 'Q838948'}, 'P361', [{'concept': 'Q482994'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?o ) { ( ontology:Q482994 ) ( ontology:Q151885 ) } . ?k rdf:type ?o } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { { ?b rdf:type ontology:Q482994 } UNION { ?b rdf:type ontology:Q151885 } } . resource:Q12432989 property:P361 ?b } } . FILTER ( ?v > ?t ) }
Venus of Hohle Fels Ain Sakhri lovers Venus of Galgenberg Swimming Reindeer Venus of Willendorf Venus of Dolní Věstonice Vénus impudique Venus of Langenzersdorf Venus of Lespugue Bison Licking Insect Bite Venus of Tan-Tan Venus of Petřkovice Venus of Savignano Venus of Mauern Westray Wife Phallus of Schelklingen The Beatles Anthology Lion man of the Hohlenstein Stadel Venus of Laussel
19
action count
action greater
action union
action find_tuple_counts
relation part of
type work of art
type album
action find_tuple_counts
relation part of
type work of art
type concept
action count
action filter_multi_types
action find
entity Oscar Wilde's tomb
relation part of
type album
type concept
[{'concept': 'work of art'}, 'part of', [{'concept': 'album'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?o ) { ( ontology:album ) ( ontology:concept ) } . ?k rdf:type ?o } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { { ?b rdf:type ontology:album } UNION { ?b rdf:type ontology:concept } } . resource:Oscar_Wilde's_tomb property:part_of ?b } } . FILTER ( ?v > ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17622044
P1412
Q34770
USER
Which language is spoken by Mauro Bazán ?
(Q17622044,P1412,c(Q34770))
action filter_type
action find
entity Q17622044
relation P1412
type Q34770
['Q17622044', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q17622044 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Mauro Bazán
action filter_type
action find
entity Mauro Bazán
relation languages spoken, written or signed
type language
['Mauro Bazán', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Mauro_Bazán property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q17622044,P1412,c(Q34770))
action filter_type
action find
entity Q17622044
relation P1412
type Q34770
In [ANSWER] is spoken by Mauro Bazán
['Q17622044', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q17622044 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Spanish
In Spanish is spoken by Mauro Bazán
Spanish
action filter_type
action find
entity Mauro Bazán
relation languages spoken, written or signed
type language
['Mauro Bazán', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Mauro_Bazán property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1071402
P462
Q1075
USER
Which color is Cheyenne Autumn associated with ?
(Q1071402,P462,c(Q1075))
action filter_type
action find
entity Q1071402
relation P462
type Q1075
['Q1071402', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?c WHERE { resource:Q1071402 property:P462 ?c . ?c rdf:type ontology:Q1075 }
Cheyenne Autumn
action filter_type
action find
entity Cheyenne Autumn
relation color
type color
['Cheyenne Autumn', 'color', {'concept': 'color'}]
SELECT DISTINCT ?c WHERE { resource:Cheyenne_Autumn property:color ?c . ?c rdf:type ontology:color }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q1071402,P462,c(Q1075))
action filter_type
action find
entity Q1071402
relation P462
type Q1075
Cheyenne Autumn is associated with [ANSWER]
['Q1071402', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?c WHERE { resource:Q1071402 property:P462 ?c . ?c rdf:type ontology:Q1075 }
color
Cheyenne Autumn is associated with color
color
action filter_type
action find
entity Cheyenne Autumn
relation color
type color
['Cheyenne Autumn', 'color', {'concept': 'color'}]
SELECT DISTINCT ?c WHERE { resource:Cheyenne_Autumn property:color ?c . ?c rdf:type ontology:color }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1071402
P344
Q502895
USER
Who is the director of photography for that work of art ?
(Q22006653,P344,c(Q502895))
action filter_type
action find
entity Q1071402
relation P344
type Q502895
['Q22006653', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1071402 property:P344 ?d . ?d rdf:type ontology:Q502895 }
Cheyenne Autumn
action filter_type
action find
entity Cheyenne Autumn
relation director of photography
type common name
['color', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Cheyenne_Autumn property:director_of_photography ?d . ?d rdf:type ontology:common_name }
[]
common name
Q369059
SYSTEM
William H. Clothier
Q369059
(Q22006653,P344,c(Q502895))
action filter_type
action find
entity Q1071402
relation P344
type Q502895
The director of photography for that work of art is the [ANSWER]
['Q22006653', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1071402 property:P344 ?d . ?d rdf:type ontology:Q502895 }
William H. Clothier
The director of photography for that work of art is the William H. Clothier
William H. Clothier
action filter_type
action find
entity Cheyenne Autumn
relation director of photography
type common name
['color', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Cheyenne_Autumn property:director_of_photography ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q369059
P1411
Q4220917
USER
Which film award does that person have ?
(Q369059,P1411,c(Q4220917))
action filter_type
action find
entity Q369059
relation P1411
type Q4220917
['Q369059', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?g WHERE { resource:Q369059 property:P1411 ?g . ?g rdf:type ontology:Q4220917 }
William H. Clothier
action filter_type
action find
entity William H. Clothier
relation nominated for
type film award
['William H. Clothier', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?g WHERE { resource:William_H._Clothier property:nominated_for ?g . ?g rdf:type ontology:film_award }
[]
film award
Q21995136
SYSTEM
Academy Award for Best Cinematography, Color
Q21995136
(Q369059,P1411,c(Q4220917))
action filter_type
action find
entity Q369059
relation P1411
type Q4220917
That person has an [ANSWER]
['Q369059', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?g WHERE { resource:Q369059 property:P1411 ?g . ?g rdf:type ontology:Q4220917 }
Academy Award for Best Cinematography, Color
That person has an Academy Award for Best Cinematography, Color
Academy Award for Best Cinematography, Color
action filter_type
action find
entity William H. Clothier
relation nominated for
type film award
['William H. Clothier', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?g WHERE { resource:William_H._Clothier property:nominated_for ?g . ?g rdf:type ontology:film_award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q369059
P20
Q56061
USER
How many administrative territories are the places of death of William H. Clothier ?
(Q369059,P20,c(Q56061))
action count
action filter_type
action find
entity Q369059
relation P20
type Q56061
['Q369059', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Q369059 property:P20 ?x . ?x rdf:type ontology:Q56061 }
William H. Clothier
action count
action filter_type
action find
entity William H. Clothier
relation place of death
type administrative territorial entity
['William H. Clothier', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:William_H._Clothier property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q65
(Q369059,P20,c(Q56061))
action count
action filter_type
action find
entity Q369059
relation P20
type Q56061
[ANSWER]
['Q369059', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Q369059 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Los Angeles
1
action count
action filter_type
action find
entity William H. Clothier
relation place of death
type administrative territorial entity
['William H. Clothier', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:William_H._Clothier property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5048521
Q56061
USER
And also tell me about Casey Jones?
(Q5048521,P20,c(Q56061))
action count
action filter_type
action find
entity Q5048521
relation P20
type Q56061
['Q5048521', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ontology:Q56061 . resource:Q5048521 property:P20 ?g }
Casey Jones
action count
action filter_type
action find
entity Casey Jones
relation place of death
type administrative territorial entity
['Casey Jones', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Casey_Jones property:place_of_death ?g }
[]
administrative territorial entity
SYSTEM
1
(Q5048521,P20,c(Q56061))
action count
action filter_type
action find
entity Q5048521
relation P20
type Q56061
[ANSWER]
['Q5048521', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ontology:Q56061 . resource:Q5048521 property:P20 ?g }
1
action count
action filter_type
action find
entity Casey Jones
relation place of death
type administrative territorial entity
['Casey Jones', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Casey_Jones property:place_of_death ?g }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q224964
P144
Q838948 Q15416 Q15850590
USER
How many works of art are more number of television programs and theatrical genres considered a copy of than The Blob ?
(c(Q15416)|c(Q15850590),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q15416
action find_reverse_tuple_counts
relation P144
type Q838948
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q224964
relation P144
type Q15416
type Q15850590
[[{'concept': 'Q15416'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { ?z property:P144 resource:Q224964 . { ?z rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15850590 ) ( ontology:Q15416 ) } } } } . FILTER ( ?x > ?j ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) ?p WHERE { { ?c property:P144 ?p . ?p rdf:type ontology:Q838948 . ?c rdf:type ontology:Q15416 } UNION { ?c property:P144 ?p . ?p rdf:type ontology:Q838948 . ?c rdf:type ontology:Q15850590 } } GROUP BY ?p } }
The Blob
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type television program
action find_reverse_tuple_counts
relation based on
type work of art
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity The Blob
relation based on
type television program
type theatrical genre
[[{'concept': 'television program'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { ?z property:based_on resource:The_Blob . { ?z rdf:type ?b . VALUES ( ?b ) { ( ontology:theatrical_genre ) ( ontology:television_program ) } } } } . FILTER ( ?x > ?j ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) ?p WHERE { { ?c property:based_on ?p . ?p rdf:type ontology:work_of_art . ?c rdf:type ontology:television_program } UNION { ?c property:based_on ?p . ?p rdf:type ontology:work_of_art . ?c rdf:type ontology:theatrical_genre } } GROUP BY ?p } }
[]
work of art television program theatrical genre
SYSTEM
176
Q86440 Q23011501 Q1077690 Q193570 Q196004 Q137754 Q6738028 Q130283 Q673381 Q49003 Q5095462 Q7756461 Q2714218 Q148643 Q208204 Q4135545 Q1125010 Q4892107 Q206400 Q7750649 Q1757188 Q467254 Q3523126 Q570041 Q26694404 Q753517 Q4312939 Q8119109 Q83186 Q2104352 Q7754860 Q1466657 Q1049771 Q2345 Q7741868 Q649562 Q3221232 Q583705 Q20736738 Q844836 Q1232349 Q1754611 Q1170100 Q188000 Q3822364 Q3820016 Q631855 Q637787 Q20342716 Q1164094 Q2735164 Q26862216 Q2297900 Q1215038 Q16386982 Q130851 Q200299 Q6506677 Q652182 Q1125255 Q3423702 Q8027789 Q1144983 Q1048916 Q820862 Q7783672 Q432923 Q837070 Q3085278 Q1211843 Q3136222 Q637200 Q41567 Q3203362 Q669694 Q3101494 Q458629 Q4150068 Q785087 Q925855 Q26833 Q7441771 Q7754314 Q7757020 Q7728250 Q176465 Q244604 Q17042085 Q8317666 Q624720 Q7769365 Q1056698 Q7745183 Q852493 Q969098 Q607524 Q538042 Q4114270 Q506505 Q129253 Q29478 Q232042 Q1196012 Q6946391 Q1433065 Q2574548 Q7835633 Q2961533 Q2849443 Q6945075 Q7749005 Q7797624 Q632743 Q3486978 Q1246408 Q255328 Q797471 Q498408 Q4305148 Q108745 Q294001 Q1170179 Q27777105 Q4928740 Q500093 Q796472 Q502153 Q893665 Q19871 Q315732 Q834530 Q7739052 Q41132 Q1528825 Q2021440 Q221211 Q1753343 Q105801 Q3292828 Q813050 Q4315458 Q39970 Q543347 Q143688 Q104871 Q503343 Q3815650 Q154003 Q495954 Q7484826 Q12049615 Q1249536 Q6983620 Q1199684 Q475044 Q1754013 Q300532 Q1248248 Q2549073 Q2364343 Q26700535 Q688919 Q1380376 Q204191 Q6411990 Q223163 Q217182 Q21914456 Q21914445 Q4190252 Q3265982 Q1232053 Q4379900 Q549927 Q1137831 Q466884
(c(Q15416)|c(Q15850590),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q15416
action find_reverse_tuple_counts
relation P144
type Q838948
type Q15850590
action count
action filter_multi_types
action find_reverse
entity Q224964
relation P144
type Q15416
type Q15850590
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { ?z property:P144 resource:Q224964 . { ?z rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15850590 ) ( ontology:Q15416 ) } } } } . FILTER ( ?x > ?j ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) ?p WHERE { { ?c property:P144 ?p . ?p rdf:type ontology:Q838948 . ?c rdf:type ontology:Q15416 } UNION { ?c property:P144 ?p . ?p rdf:type ontology:Q838948 . ?c rdf:type ontology:Q15850590 } } GROUP BY ?p } }
The Tempest Norma, ou L'infanticide The Odd Couple Sunset Boulevard From Dusk till Dawn Once Major Barbara Macbeth Bánk bán Ghost Chicago The Pee-wee Herman Show The Trickster of Seville and the Stone Guest Oedipus Rex Finding Neverland Henry IV (play) The Maid of Orleans Berkeley Square The Merchant of Venice The Matchmaker The Four Seasons Cactus Flower The Twilight of the Golds Pioneers in Ingolstadt La houppelande Limitless Attack of the 60 Foot Centerfold Sardanapalus Romeo and Juliet Grey Gardens The Old Lady Shows Her Medals 9 to 5 Ōoku: The Inner Chambers 12 Angry Men The Indian Queen Richard II The Miserly Knight La Celestina Kullervo The Merry Wives of Windsor Henry IV, Part 2 Seven Days in May The Philadelphia Experiment Crash La figlia di Iorio The Man with the Flower in His Mouth Henry IV, Part 1 Le Cid St Patrick's Day R.U.R. The Girlfriend Experience Virineya Exiles Adventures in Babysitting Merrily We Roll Along Much Ado About Nothing All About Eve Le Chandelier Pelléas and Mélisande Hernani I Am a Camera Wit Animal Kingdom Cyrano de Bergerac Death of a Salesman They Came Back Old Heidelberg Smiles of a Summer Night Ruy Blas Pandora's Box Madame Sans-Gêne (play) Pygmalion Hamlet The Exception and the Rule A Doll's House La Cage aux Folles Billy Elliot The Storm The Witches of Eastwick The Sunshine Boys Othello The Makropulos Affair The Normal Heart The Piano Lesson The Crucifer of Blood Hedda Gabler Minority Report The Flowering Peach Dubravka, Ivan Gundulić Natalka Poltavka The Time of the Cuckoo Newsies The Lady of Lyons La Tosca Phèdre Destry Rides Again Urban Cowboy The Voyevoda The Comedy of Errors Pygmalion Faust The Two Gentlemen of Verona Britannicus My Sister Eileen The World of Henry Orient Thoroughly Modern Millie Trapped in the Closet Chatterton Angelo, Tyrant of Padua My Boy Jack The Love of the Nightingale Three Men on a Horse The Barber of Seville Smile Alcestis The Adventures of Priscilla, Queen of the Desert Baal Don Carlos Mozart and Salieri Ghostbusters Oedipus at Colonus Lifeboat Two for the Seesaw Blue/Orange Legally Blonde Spider's Web The Snow Maiden Boris Godunov Waiting for Godot The Producers The Fearless Vampire Killers The Haves and the Have Nots Barbarella Hairspray Humanoids from the Deep Twelfth Night The Laramie Project Stargate Marie Tudor The Beastmaster Don't Live as You Like Buffy the Vampire Slayer Attack of the 50 Foot Woman The Stone Guest A Midsummer Night's Dream Westworld Kismet The Breasts of Tiresias Henry V The Lantern Four-Cornered Hat The Scarlet Pimpernel Naši furianti The Marriage of Figaro Amphitryon The Sunset Limited A Raisin in the Sun Liliom Spring Awakening Destry Têtes rondes et Cavaliers The Visit Waitress It's a Wonderful Life King René's Daughter The Emperor's New Groove Edward Scissorhands Blanche et Montcassin, ou Les Vénitiens Fernande Green Grow the Lilacs Lucrèce Borgia The Mistress of the Inn The Rainmaker Epicœne, or The silent woman Parenthood The Net
176
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type television program
action find_reverse_tuple_counts
relation based on
type work of art
type theatrical genre
action count
action filter_multi_types
action find_reverse
entity The Blob
relation based on
type television program
type theatrical genre
[[{'concept': 'television program'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { ?z property:based_on resource:The_Blob . { ?z rdf:type ?b . VALUES ( ?b ) { ( ontology:theatrical_genre ) ( ontology:television_program ) } } } } . FILTER ( ?x > ?j ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) ?p WHERE { { ?c property:based_on ?p . ?p rdf:type ontology:work_of_art . ?c rdf:type ontology:television_program } UNION { ?c property:based_on ?p . ?p rdf:type ontology:work_of_art . ?c rdf:type ontology:theatrical_genre } } GROUP BY ?p } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q7922093 Q5048521
P102
Q7210356
USER
Which political organizations are Casey Jones and Vernon Cook affiliated with ?
AND((Q5048521,P102,c(Q7210356)), (Q7922093,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q5048521
relation P102
action find
entity Q7922093
relation P102
type Q7210356
{'AND': [['Q5048521', 'P102', {'concept': 'Q7210356'}], ['Q7922093', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?v WHERE { resource:Q5048521 property:P102 ?v . resource:Q7922093 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Vernon Cook Casey Jones
action filter_type
action intersection
action find
entity Casey Jones
relation member of political party
action find
entity Vernon Cook
relation member of political party
type political organization
{'AND': [['Casey Jones', 'member of political party', {'concept': 'political organization'}], ['Vernon Cook', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?v WHERE { resource:Casey_Jones property:member_of_political_party ?v . resource:Vernon_Cook property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
AND((Q5048521,P102,c(Q7210356)), (Q7922093,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q5048521
relation P102
action find
entity Q7922093
relation P102
type Q7210356
Casey Jones and Vernon Cook are affiliated with [ANSWER]
{'AND': [['Q5048521', 'P102', {'concept': 'Q7210356'}], ['Q7922093', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?v WHERE { resource:Q5048521 property:P102 ?v . resource:Q7922093 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Democratic Party
Casey Jones and Vernon Cook are affiliated with Democratic Party
Democratic Party
action filter_type
action intersection
action find
entity Casey Jones
relation member of political party
action find
entity Vernon Cook
relation member of political party
type political organization
{'AND': [['Casey Jones', 'member of political party', {'concept': 'political organization'}], ['Vernon Cook', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?v WHERE { resource:Casey_Jones property:member_of_political_party ?v . resource:Vernon_Cook property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]