Simple Question (Direct)
Simple Question
Q312878
P734
Q82799
USER
Who has the surname John Carradine ?
(Q312878,P734,c(Q82799))
action filter_type
action find
entity Q312878
relation P734
type Q82799
['Q312878', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q312878 property:P734 ?a . ?a rdf:type ontology:Q82799 }
John Carradine
action filter_type
action find
entity John Carradine
relation family name
type name
['John Carradine', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:John_Carradine property:family_name ?a . ?a rdf:type ontology:name }
[]
name
Q21482744
SYSTEM
Carradine
Q21482744
(Q312878,P734,c(Q82799))
action filter_type
action find
entity Q312878
relation P734
type Q82799
John [ANSWER] has the surname John [ANSWER]
['Q312878', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q312878 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Carradine
John Carradine has the surname John Carradine
Carradine
action filter_type
action find
entity John Carradine
relation family name
type name
['John Carradine', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:John_Carradine property:family_name ?a . ?a rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q312878
P161
Q838948
USER
How many works of art have John Carradine in their star cast ?
(c(Q838948),P161,Q312878)
action count
action filter_type
action find_reverse
entity Q312878
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q312878']
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i rdf:type ontology:Q838948 . ?i property:P161 resource:Q312878 }
John Carradine
action count
action filter_type
action find_reverse
entity John Carradine
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'John Carradine']
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i rdf:type ontology:work_of_art . ?i property:cast_member resource:John_Carradine }
[]
work of art
SYSTEM
147
Q2084223 Q766116 Q739241 Q3855908 Q11510316 Q1199406 Q340187 Q2154202 Q1219330 Q1199439 Q2884134 Q839419 Q2038577 Q2903765 Q1759183 Q1444746 Q1546143 Q2056463 Q1536518 Q3177619 Q245916 Q4244005 Q2280894 Q7514613 Q841948 Q3073109 Q4124375 Q3221724 Q751197 Q1195488 Q739708 Q319184 Q3222758 Q858836 Q2753143 Q572789 Q3013775 Q7305259 Q5017568 Q20949944 Q3418551 Q3226031 Q3546418 Q7425884 Q1753863 Q746733 Q2349184 Q2162011 Q3992079 Q331738 Q2002945 Q3625374 Q301132 Q12742184 Q2646648 Q932336 Q976139 Q426272 Q3819982 Q1193757 Q1213432 Q20949861 Q7425877 Q555687 Q1193704 Q499697 Q7716296 Q3009061 Q3138634 Q4840233 Q1168095 Q5304438 Q5418479 Q1059488 Q1364091 Q1254460 Q7740381 Q4927830 Q4927825 Q609312 Q3569779 Q846908 Q676039 Q7516360 Q1071402 Q1675424 Q2067275 Q3492096 Q3205386 Q16676620 Q1688164 Q331760 Q59318 Q846483 Q11812716 Q3460360 Q1170554 Q784066 Q13512003 Q7317946 Q5051383 Q3408633 Q5442730 Q521093 Q1754626 Q1977159 Q24053292 Q7741760 Q3824427 Q241876 Q651126 Q2064708 Q369083 Q3205448 Q2992450 Q4998819 Q319115 Q50714 Q7323529 Q5287322 Q7497281 Q6083915 Q5521278 Q4658218 Q2549045 Q5182312 Q741167 Q1795987 Q2483735 Q1619977 Q259574 Q696057 Q1415798 Q1194465 Q2546069 Q11612443 Q1528304 Q12126634 Q1212396 Q6928994 Q3201640 Q3563091 Q3221513 Q1758014 Q15634715 Q1100552 Q3058433
(c(Q838948),P161,Q312878)
action count
action filter_type
action find_reverse
entity Q312878
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q312878']
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i rdf:type ontology:Q838948 . ?i property:P161 resource:Q312878 }
Casanova's Big Night The Trouble with Girls The Return of Frank James Captive Wild Woman Love Under Fire The Shootist The Crusades Mary of Scotland The Black Cat The Last Tycoon Bluebeard Captain Kidd Drums Along the Mohawk Billy the Kid vs. Dracula Shock Waves House of Frankenstein The Sign of the Cross Cardinal Richelieu Goliath Awaits The True Story of Jesse James House of the Long Shadows The Nesting Four Men and a Prayer Silent Night, Bloody Night Jack-O Five Came Back The Wizard of Mars Clive of India The Astro-Zombies The Kentuckian The Last Hurrah Son of Fury: The Story of Benjamin Blake The Proud Rebel Bigfoot Myra Breckinridge Morning Glory Daniel Boone Red Zone Cuba Cain's Cutthroats Psycho A-Go-Go Ramona Kidnapped Missile X – Geheimauftrag Neutronenbombe Satan's Mistress The Ice Pirates The Ten Commandments Tarzan the Magnificent Man Hunt To the Last Man Western Union The Three Musketeers Invisible Invaders Fallen Angel The Cosmic Man Ali Baba Goes to Town Chad Hanna The Invisible Man's Revenge The Hurricane The Man Who Broke the Bank at Monte Carlo The Prisoner of Shark Island The Patsy The Fiend with the Electronic Brain Satan's Cheerleaders The Man Who Shot Liberty Valance The Garden of Allah Everything You Always Wanted to Know About Sex* The Bees The Last Gangster Hitler's Madman Bad Charleston Charlie The Tomb Dr. Terror's Gallery of Horrors Evils of the Night The Black Sleep Golden Rendezvous House of Dracula The Hostage Blood of Ghastly Horror Blood of Dracula's Castle The Sentinel Won Ton Ton, the Dog Who Saved Hollywood Reunion in France The Grapes of Wrath Silver Spurs Cheyenne Autumn It's in the Bag! Brigham Young Under Two Flags The Scarecrow She Gets Her Man Jesse James Monster in the Closet Johnny Guitar Munster, Go Home! Waterfront This Is My Affair The Howling The Story of Temple Drake Frankenstein Island Revenge of the Zombies Space Invasion of Lapland The Adventures of Mark Twain Female Jungle Of Human Hearts The Private Affairs of Bel Ami Submarine Patrol The Face of Marble The Incredible Petrified World C-Man Captains Courageous The White Buffalo Danger – Love at Work Winterset Swamp Water Showdown at Boot Hill Buried Alive The Adventures of Huckleberry Finn Stagecoach Richard Doctor Dracula Shinbone Alley Isle of Forgotten Sins Gangway for Tomorrow A Message to Garcia The Mummy's Ghost Crash! The Court Jester Blood and Sand Half Human Alexander's Ragtime Band Les Misérables Around the World in 80 Days Captain Fury The Hound of the Baskervilles The Unearthly Gateway The Egyptian Nocturna: Granddaughter of Dracula Boxcar Bertha Mr. Moto's Last Warning Frontier Marshal Voodoo Man The Monster Club The Story of Mankind Stranger on Horseback Cleopatra The Helicopter Spies
147
action count
action filter_type
action find_reverse
entity John Carradine
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'John Carradine']
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i rdf:type ontology:work_of_art . ?i property:cast_member resource:John_Carradine }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q7641511
P161
Q838948
USER
And what about Sunshine Logroño?
(c(Q838948),P161,Q7641511)
action count
action filter_type
action find_reverse
entity Q7641511
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q7641511']
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:P161 resource:Q7641511 . ?g rdf:type ontology:Q838948 }
Sunshine Logroño
action count
action filter_type
action find_reverse
entity Sunshine Logroño
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sunshine Logroño']
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:cast_member resource:Sunshine_Logroño . ?g rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
1
Q1035137
(c(Q838948),P161,Q7641511)
action count
action filter_type
action find_reverse
entity Q7641511
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q7641511']
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:P161 resource:Q7641511 . ?g rdf:type ontology:Q838948 }
Captain Ron
1
action count
action filter_type
action find_reverse
entity Sunshine Logroño
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sunshine Logroño']
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:cast_member resource:Sunshine_Logroño . ?g rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1361050 Q312878
P161
Q838948
USER
Which works of art stars John Carradine or Noah Beery, Jr. as actor ?
OR((c(Q838948),P161,Q312878), (c(Q838948),P161,Q1361050))
action filter_type
action union
action find_reverse
entity Q312878
relation P161
action find_reverse
entity Q1361050
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q312878'], [{'concept': 'Q838948'}, 'P161', 'Q1361050']]}
SELECT DISTINCT ?t WHERE { { { ?t property:P161 resource:Q312878 } UNION { ?t property:P161 resource:Q1361050 } } . ?t rdf:type ontology:Q838948 }
Noah Beery, Jr. John Carradine
action filter_type
action union
action find_reverse
entity John Carradine
relation cast member
action find_reverse
entity Noah Beery, Jr.
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'John Carradine'], [{'concept': 'work of art'}, 'cast member', 'Noah Beery, Jr.']]}
SELECT DISTINCT ?t WHERE { { { ?t property:cast_member resource:John_Carradine } UNION { ?t property:cast_member resource:Noah_Beery,_Jr. } } . ?t rdf:type ontology:work_of_art }
[]
work of art
Q2154202 Q2546069 Q5287322 Q2549045 Q839419 Q3418551 Q7721010 Q555687 Q3221724 Q2064708
SYSTEM
Some of them are Mary of Scotland, The Unearthly, Doctor Dracula, The Mummy's Ghost, Captain Kidd, Ramona, The Call of the Savage, The Man Who Shot Liberty Valance, Clive of India, Danger – Love at Work
Q696057 Q7721627 Q2002945 Q319184 Q3460360 Q2162011 Q1688164 Q2067275 Q841948 Q5182312 Q3492096 Q2483735 Q2064708 Q1753863 Q7317946 Q1754626 Q7716296 Q319115 Q1795987 Q1977159 Q3959754 Q5287322 Q1364091 Q50714 Q3625374 Q1675424 Q2225175 Q3992079 Q858836 Q3177619 Q3221513 Q11812716 Q1071402 Q3546418 Q59318 Q1546143 Q7425884 Q245916 Q499697 Q3790704 Q7514613 Q1026484 Q3408633 Q3520212 Q3222758 Q2154202 Q426272 Q7721010 Q1528304 Q784066 Q1170554 Q3418551 Q6083915 Q20949861 Q10381934 Q4927830 Q2903765 Q4840233 Q2753143 Q676039 Q5442730 Q4998819 Q1193704 Q3989498 Q2481256 Q259574 Q2298633 Q2546069 Q751197 Q1392420 Q12742184 Q1194051 Q4658218 Q241876 Q4927825 Q2349184 Q5418479 Q7323529 Q1758014 Q15634715 Q7740381 Q932336 Q16676620 Q1415798 Q7305259 Q1213432 Q739241 Q3569779 Q369083 Q1194465 Q331760 Q1619412 Q2884134 Q3009061 Q5017568 Q5304438 Q1620093 Q741167 Q3206893 Q7425877 Q555687 Q20949944 Q1758385 Q1199406 Q12126846 Q1619977 Q3221724 Q3824427 Q7516360 Q1254460 Q839419 Q1059488 Q1501765 Q3058433 Q7745927 Q839916 Q3819982 Q24053292 Q1168095 Q3205448 Q572789 Q3855908 Q7977188 Q3073109 Q939424 Q531332 Q1195488 Q2056463 Q1100552 Q1199439 Q4244005 Q609312 Q651126 Q3205386 Q5051383 Q3226031 Q1747271 Q1757751 Q23999999 Q4124375 Q301132 Q739708 Q846908 Q7497281 Q11612443 Q3071655 Q3458261 Q7741760 Q3576706 Q979734 Q1546041 Q2646648 Q3013775 Q22350831 Q3201640 Q331738 Q3138634 Q746733 Q3110003 Q1133647 Q6928994 Q5521278 Q3795162 Q3372729 Q1219330 Q11510316 Q12126634 Q7717811 Q340187 Q1212396 Q1536518 Q1661631 Q2280894 Q2152044 Q2549045 Q1444746 Q3235103 Q7676136 Q13512003 Q1759183 Q521093 Q1193757 Q2992450 Q846483 Q976139 Q2038577 Q3563091 Q2084223 Q766116
OR((c(Q838948),P161,Q312878), (c(Q838948),P161,Q1361050))
action filter_type
action union
action find_reverse
entity Q312878
relation P161
action find_reverse
entity Q1361050
relation P161
type Q838948
[ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q312878'], [{'concept': 'Q838948'}, 'P161', 'Q1361050']]}
SELECT DISTINCT ?t WHERE { { { ?t property:P161 resource:Q312878 } UNION { ?t property:P161 resource:Q1361050 } } . ?t rdf:type ontology:Q838948 }
Around the World in 80 Days The Cat Creeps The Three Musketeers Son of Fury: The Story of Benjamin Blake This Is My Affair Man Hunt Jesse James Brigham Young Jack-O Crash! Under Two Flags Half Human Danger – Love at Work The Ice Pirates Revenge of the Zombies The Private Affairs of Bel Ami The Bees The Adventures of Huckleberry Finn Blood and Sand Submarine Patrol Show Girl in Hollywood Doctor Dracula Golden Rendezvous Stagecoach Invisible Invaders It's in the Bag! 20 Mule Team To the Last Man Bigfoot The True Story of Jesse James The Monster Club Waterfront Cheyenne Autumn Missile X – Geheimauftrag Neutronenbombe Johnny Guitar The Sign of the Cross Satan's Mistress House of the Long Shadows Everything You Always Wanted to Know About Sex* Under Western Skies Silent Night, Bloody Night The Cimarron Kid The Adventures of Mark Twain The Carson City Kid The Proud Rebel Mary of Scotland The Hurricane The Call of the Savage The Egyptian The Story of Temple Drake The Howling Ramona Isle of Forgotten Sins The Fiend with the Electronic Brain The Yellow Tomahawk Blood of Ghastly Horror Billy the Kid vs. Dracula Bad Charleston Charlie Myra Breckinridge The Grapes of Wrath Female Jungle Buried Alive The Garden of Allah The Story of Will Rogers Jubal Les Misérables The Best Little Whorehouse in Texas The Unearthly The Astro-Zombies Decision at Sundown The Cosmic Man Walking Tall A Message to Garcia Captains Courageous Blood of Dracula's Castle Tarzan the Magnificent Evils of the Night Richard The Story of Mankind Stranger on Horseback The Hostage Chad Hanna She Gets Her Man Captain Fury Red Zone Cuba The Patsy The Return of Frank James Won Ton Ton, the Dog Who Saved Hollywood Winterset The Hound of the Baskervilles Monster in the Closet Viva Villa! Bluebeard The Last Gangster Cain's Cutthroats Dr. Terror's Gallery of Horrors Of Mice and Men The Court Jester Journey to Shiloh Satan's Cheerleaders The Man Who Shot Liberty Valance Psycho A-Go-Go Corvette K-225 The Shootist Overland Mail Alexander's Ragtime Band Clive of India C-Man Silver Spurs House of Dracula Captain Kidd The Black Sleep Only Angels Have Wings The Helicopter Spies The Last Outpost 7 Faces of Dr. Lao The Man Who Broke the Bank at Monte Carlo The Face of Marble The Tomb Swamp Water Morning Glory Captive Wild Woman We've Never Been Licked Five Came Back Sergeant York The Big House The Kentuckian Cardinal Richelieu Cleopatra The Last Tycoon The Nesting The Sentinel The White Buffalo The Scarecrow Space Invasion of Lapland Kidnapped The Spikes Gang Rocketship X-M Her Lucky Night The Wizard of Mars Fallen Angel The Last Hurrah Reunion in France Shinbone Alley Gateway Fighting with Kit Carson Wings of the Hawk The Incredible Petrified World War Arrow White Feather Little Fauss and Big Halsy Ali Baba Goes to Town Daniel Boone Stormy Frontier Marshal Western Union Hitler's Madman The Ten Commandments Gold Diggers of Broadway Red River Mr. Moto's Last Warning Gangway for Tomorrow Heaven with a Gun The Three Musketeers The Black Cat Love Under Fire Nocturna: Granddaughter of Dracula The Big Stuffed Dog The Crusades Boxcar Bertha Goliath Awaits The Trail Beyond Four Men and a Prayer The Fastest Gun Alive The Mummy's Ghost House of Frankenstein Two Flags West Tailspin Tommy Frankenstein Island Shock Waves Of Human Hearts The Prisoner of Shark Island Showdown at Boot Hill Munster, Go Home! The Invisible Man's Revenge Drums Along the Mohawk Voodoo Man Casanova's Big Night The Trouble with Girls
The Man Who shot Liberty Valance, Clive of India and Danger – Love at Work star John Carradine or Noah Beery, Jr. as actor
Mary of Scotland The Unearthly Doctor Dracula The Mummy's Ghost Captain Kidd Ramona The Call of the Savage The Man Who Shot Liberty Valance Clive of India Danger – Love at Work
action filter_type
action union
action find_reverse
entity John Carradine
relation cast member
action find_reverse
entity Noah Beery, Jr.
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'John Carradine'], [{'concept': 'work of art'}, 'cast member', 'Noah Beery, Jr.']]}
SELECT DISTINCT ?t WHERE { { { ?t property:cast_member resource:John_Carradine } UNION { ?t property:cast_member resource:Noah_Beery,_Jr. } } . ?t rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q312878
P106
Q12737077 Q28640
USER
How many occupations and professions are the professions of John Carradine ?
(Q312878,P106,c(Q12737077)) (Q312878,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q312878
relation P106
type Q12737077
action filter_type
action find
entity Q312878
relation P106
type Q28640
['Q312878', 'P106', {'concept': 'Q12737077'}] ['Q312878', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { resource:Q312878 property:P106 ?d . ?d rdf:type ontology:Q12737077 } UNION { ?d rdf:type ontology:Q28640 . resource:Q312878 property:P106 ?d } }
John Carradine
action count
action union
action filter_type
action find
entity John Carradine
relation occupation
type occupation
action filter_type
action find
entity John Carradine
relation occupation
type profession
['John Carradine', 'occupation', {'concept': 'occupation'}] ['John Carradine', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { resource:John_Carradine property:occupation ?d . ?d rdf:type ontology:occupation } UNION { ?d rdf:type ontology:profession . resource:John_Carradine property:occupation ?d } }
[]
occupation profession
SYSTEM
4 occupations and 1 professions
Q10800557 Q10798782 Q33999 Q948329 Q2259451
(Q312878,P106,c(Q12737077)) (Q312878,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q312878
relation P106
type Q12737077
action filter_type
action find
entity Q312878
relation P106
type Q28640
[ANSWER]
['Q312878', 'P106', {'concept': 'Q12737077'}] ['Q312878', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { resource:Q312878 property:P106 ?d . ?d rdf:type ontology:Q12737077 } UNION { ?d rdf:type ontology:Q28640 . resource:Q312878 property:P106 ?d } }
film actor television actor actor character actor stage actor
4 occupations and 1 professions
action count
action union
action filter_type
action find
entity John Carradine
relation occupation
type occupation
action filter_type
action find
entity John Carradine
relation occupation
type profession
['John Carradine', 'occupation', {'concept': 'occupation'}] ['John Carradine', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { resource:John_Carradine property:occupation ?d . ?d rdf:type ontology:occupation } UNION { ?d rdf:type ontology:profession . resource:John_Carradine property:occupation ?d } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
How many technicss are used for fabrication of atleast 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action count
action atleast
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P2079 ?j . ?j rdf:type ontology:Q2695280 . ?q rdf:type ontology:Q838948 } GROUP BY ?j } }
action count
action atleast
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 ( COUNT ( ?j ) AS ?z ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:fabrication_method ?j . ?j rdf:type ontology:technics . ?q rdf:type ontology:work_of_art } GROUP BY ?j } }
[]
technics work of art
SYSTEM
2
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action count
action atleast
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P2079 ?j . ?j rdf:type ontology:Q2695280 . ?q rdf:type ontology:Q838948 } GROUP BY ?j } }
gilding collage
2
action count
action atleast
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 ( COUNT ( ?j ) AS ?z ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:fabrication_method ?j . ?j rdf:type ontology:technics . ?q rdf:type ontology:work_of_art } GROUP BY ?j } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q312878
P161
Q838948 Q1001378
USER
How many works of art or cinematic techniques do John Carradine star in ?
(c(Q838948),P161,Q312878) (c(Q1001378),P161,Q312878)
action count
action union
action filter_type
action find_reverse
entity Q312878
relation P161
type Q838948
action filter_type
action find_reverse
entity Q312878
relation P161
type Q1001378
[{'concept': 'Q838948'}, 'P161', 'Q312878'] [{'concept': 'Q1001378'}, 'P161', 'Q312878']
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { VALUES ( ?c ) { ( ontology:Q838948 ) ( ontology:Q1001378 ) } . ?z rdf:type ?c }
John Carradine
action count
action union
action filter_type
action find_reverse
entity John Carradine
relation cast member
type work of art
action filter_type
action find_reverse
entity John Carradine
relation cast member
type cinematic technique
[{'concept': 'work of art'}, 'cast member', 'John Carradine'] [{'concept': 'cinematic technique'}, 'cast member', 'John Carradine']
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { VALUES ( ?c ) { ( ontology:work_of_art ) ( ontology:cinematic_technique ) } . ?z rdf:type ?c }
[]
work of art cinematic technique
SYSTEM
148
Q696057 Q2002945 Q319184 Q3460360 Q2162011 Q1688164 Q2067275 Q841948 Q5182312 Q3492096 Q2483735 Q2064708 Q7317946 Q1754626 Q7716296 Q319115 Q1795987 Q1977159 Q5287322 Q12742184 Q50714 Q3625374 Q1675424 Q24053292 Q3992079 Q858836 Q3177619 Q3221513 Q11812716 Q1071402 Q59318 Q1546143 Q7425884 Q245916 Q499697 Q7514613 Q3408633 Q3222758 Q2154202 Q426272 Q1528304 Q784066 Q1170554 Q3418551 Q6083915 Q20949861 Q4927830 Q2903765 Q2753143 Q676039 Q5442730 Q4998819 Q1193704 Q259574 Q2546069 Q751197 Q1364091 Q3546418 Q4658218 Q241876 Q1219330 Q4927825 Q2349184 Q5418479 Q7323529 Q1758014 Q15634715 Q7740381 Q932336 Q16676620 Q1415798 Q7305259 Q1213432 Q739241 Q3569779 Q369083 Q1194465 Q331760 Q2884134 Q3009061 Q5017568 Q5304438 Q741167 Q7425877 Q555687 Q20949944 Q1199406 Q1619977 Q3221724 Q3824427 Q7516360 Q1254460 Q839419 Q1059488 Q3058433 Q3819982 Q3205448 Q572789 Q3855908 Q3073109 Q1195488 Q2056463 Q1100552 Q1199439 Q4244005 Q609312 Q651126 Q3205386 Q3226031 Q7752510 Q4124375 Q301132 Q739708 Q846908 Q7497281 Q11612443 Q7741760 Q5051383 Q1753863 Q2646648 Q3013775 Q3201640 Q331738 Q3138634 Q746733 Q6928994 Q5521278 Q11510316 Q12126634 Q4840233 Q340187 Q1212396 Q1536518 Q2280894 Q2549045 Q1444746 Q1168095 Q13512003 Q1759183 Q521093 Q1193757 Q2992450 Q846483 Q976139 Q2038577 Q3563091 Q2084223 Q766116
(c(Q838948),P161,Q312878) (c(Q1001378),P161,Q312878)
action count
action union
action filter_type
action find_reverse
entity Q312878
relation P161
type Q838948
action filter_type
action find_reverse
entity Q312878
relation P161
type Q1001378
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q312878'] [{'concept': 'Q1001378'}, 'P161', 'Q312878']
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { VALUES ( ?c ) { ( ontology:Q838948 ) ( ontology:Q1001378 ) } . ?z rdf:type ?c }
Around the World in 80 Days The Three Musketeers Son of Fury: The Story of Benjamin Blake This Is My Affair Man Hunt Jesse James Brigham Young Jack-O Crash! Under Two Flags Half Human Danger – Love at Work Revenge of the Zombies The Private Affairs of Bel Ami The Bees The Adventures of Huckleberry Finn Blood and Sand Submarine Patrol Doctor Dracula The Cosmic Man Stagecoach Invisible Invaders It's in the Bag! The Face of Marble To the Last Man Bigfoot The True Story of Jesse James The Monster Club Waterfront Cheyenne Autumn Johnny Guitar The Sign of the Cross Satan's Mistress House of the Long Shadows Everything You Always Wanted to Know About Sex* Silent Night, Bloody Night The Adventures of Mark Twain The Proud Rebel Mary of Scotland The Hurricane The Egyptian The Story of Temple Drake The Howling Ramona Isle of Forgotten Sins The Fiend with the Electronic Brain Blood of Ghastly Horror Billy the Kid vs. Dracula Myra Breckinridge The Grapes of Wrath Female Jungle Buried Alive The Garden of Allah Les Misérables The Unearthly The Astro-Zombies Golden Rendezvous Missile X – Geheimauftrag Neutronenbombe A Message to Garcia Captains Courageous The Black Cat Blood of Dracula's Castle Tarzan the Magnificent Evils of the Night Richard The Story of Mankind Stranger on Horseback The Hostage Chad Hanna She Gets Her Man Captain Fury Red Zone Cuba The Patsy The Return of Frank James Won Ton Ton, the Dog Who Saved Hollywood Winterset The Hound of the Baskervilles Monster in the Closet Bluebeard The Last Gangster Cain's Cutthroats Dr. Terror's Gallery of Horrors The Court Jester Satan's Cheerleaders The Man Who Shot Liberty Valance Psycho A-Go-Go The Shootist Alexander's Ragtime Band Clive of India C-Man Silver Spurs House of Dracula Captain Kidd The Black Sleep The Helicopter Spies The Man Who Broke the Bank at Monte Carlo Swamp Water Morning Glory Captive Wild Woman Five Came Back The Kentuckian Cardinal Richelieu Cleopatra The Last Tycoon The Nesting The Sentinel The White Buffalo The Scarecrow Kidnapped The Mouse and His Child The Wizard of Mars Fallen Angel The Last Hurrah Reunion in France Shinbone Alley Gateway The Incredible Petrified World Space Invasion of Lapland The Ice Pirates Ali Baba Goes to Town Daniel Boone Frontier Marshal Western Union Hitler's Madman The Ten Commandments Mr. Moto's Last Warning Gangway for Tomorrow Love Under Fire Nocturna: Granddaughter of Dracula Bad Charleston Charlie The Crusades Boxcar Bertha Goliath Awaits Four Men and a Prayer The Mummy's Ghost House of Frankenstein The Tomb Frankenstein Island Shock Waves Of Human Hearts The Prisoner of Shark Island Showdown at Boot Hill Munster, Go Home! The Invisible Man's Revenge Drums Along the Mohawk Voodoo Man Casanova's Big Night The Trouble with Girls
148
action count
action union
action filter_type
action find_reverse
entity John Carradine
relation cast member
type work of art
action filter_type
action find_reverse
entity John Carradine
relation cast member
type cinematic technique
[{'concept': 'work of art'}, 'cast member', 'John Carradine'] [{'concept': 'cinematic technique'}, 'cast member', 'John Carradine']
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { VALUES ( ?c ) { ( ontology:work_of_art ) ( ontology:cinematic_technique ) } . ?z rdf:type ?c }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used for the assembly of around 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 ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?j ) WHERE { ?u rdf:type ontology:Q2695280 . ?y rdf:type ontology:Q838948 . ?y property:P2079 ?u } GROUP BY ?u } . FILTER ( ?j = 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 ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?j ) WHERE { ?u rdf:type ontology:technics . ?y rdf:type ontology:work_of_art . ?y property:fabrication_method ?u } GROUP BY ?u } . FILTER ( ?j = 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 assembly of around 1 work of art
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?j ) WHERE { ?u rdf:type ontology:Q2695280 . ?y rdf:type ontology:Q838948 . ?y property:P2079 ?u } GROUP BY ?u } . FILTER ( ?j = 1 ) }
gilding collage
Gilding and collage are used for the assembly of around 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 ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?j ) WHERE { ?u rdf:type ontology:technics . ?y rdf:type ontology:work_of_art . ?y property:fabrication_method ?u } GROUP BY ?u } . FILTER ( ?j = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5102873 Q555687
P19 P915
Q56061
USER
Which administrative territories were The Man Who Shot Liberty Valance filmed or are the birthplace of Chloe Madeley ?
OR((Q555687,P915,c(Q56061)), (Q5102873,P19,c(Q56061)))
action filter_type
action union
action find
entity Q555687
relation P915
action find
entity Q5102873
relation P19
type Q56061
{'OR': [['Q555687', 'P915', {'concept': 'Q56061'}], ['Q5102873', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q555687 property:P915 ?t } UNION { resource:Q5102873 property:P19 ?t } } . ?t rdf:type ontology:Q56061 }
Chloe Madeley The Man Who Shot Liberty Valance
action filter_type
action union
action find
entity The Man Who Shot Liberty Valance
relation filming location
action find
entity Chloe Madeley
relation place of birth
type administrative territorial entity
{'OR': [['The Man Who Shot Liberty Valance', 'filming location', {'concept': 'administrative territorial entity'}], ['Chloe Madeley', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:The_Man_Who_Shot_Liberty_Valance property:filming_location ?t } UNION { resource:Chloe_Madeley property:place_of_birth ?t } } . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q65 Q18125
SYSTEM
Los Angeles, Manchester
Q65 Q18125
OR((Q555687,P915,c(Q56061)), (Q5102873,P19,c(Q56061)))
action filter_type
action union
action find
entity Q555687
relation P915
action find
entity Q5102873
relation P19
type Q56061
The Man Shot Liberty Valance were filmed in [ANSWERS] or are the birthplace of Chloe Madeley
{'OR': [['Q555687', 'P915', {'concept': 'Q56061'}], ['Q5102873', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q555687 property:P915 ?t } UNION { resource:Q5102873 property:P19 ?t } } . ?t rdf:type ontology:Q56061 }
Los Angeles Manchester
The Man Shot Liberty Valance were filmed in Los Angeles and Manchester or are the birthplace of Chloe Madeley
Los Angeles Manchester
action filter_type
action union
action find
entity The Man Who Shot Liberty Valance
relation filming location
action find
entity Chloe Madeley
relation place of birth
type administrative territorial entity
{'OR': [['The Man Who Shot Liberty Valance', 'filming location', {'concept': 'administrative territorial entity'}], ['Chloe Madeley', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:The_Man_Who_Shot_Liberty_Valance property:filming_location ?t } UNION { resource:Chloe_Madeley property:place_of_birth ?t } } . ?t rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2980880
P190
Q13220204
USER
Are Kullu twin town of those administrative territories ?
(Q2980880,P190,Q65) (Q2980880,P190,Q18125)
action is_in
entity prev_answer
action find
entity Q2980880
relation P190
['Q2980880', 'P190', 'Q65'] ['Q2980880', 'P190', 'Q18125']
ASK WHERE { resource:Q2980880 property:P190 ?f . VALUES ( ?f ) { ( resource:Q65 ) ( resource:Q18125 ) } }
Kullu
action is_in
entity prev_answer
action find
entity Kullu
relation sister city
['Kullu', 'sister city', 'Los Angeles'] ['Kullu', 'sister city', 'Manchester']
ASK WHERE { resource:Kullu property:sister_city ?f . VALUES ( ?f ) { ( resource:Los_Angeles ) ( resource:Manchester ) } }
[]
second-level administrative country subdivision
SYSTEM
NO
(Q2980880,P190,Q65) (Q2980880,P190,Q18125)
action is_in
entity prev_answer
action find
entity Q2980880
relation P190
[ANSWER]
['Q2980880', 'P190', 'Q65'] ['Q2980880', 'P190', 'Q18125']
ASK WHERE { resource:Q2980880 property:P190 ?f . VALUES ( ?f ) { ( resource:Q65 ) ( resource:Q18125 ) } }
No
action is_in
entity prev_answer
action find
entity Kullu
relation sister city
['Kullu', 'sister city', 'Los Angeles'] ['Kullu', 'sister city', 'Manchester']
ASK WHERE { resource:Kullu property:sister_city ?f . VALUES ( ?f ) { ( resource:Los_Angeles ) ( resource:Manchester ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2549045 Q30
P495
Q15617994
USER
Is United States of America the country of origin of that work of art ?
(Q2549045,P495,Q30)
action is_in
entity Q30
action find
entity Q2549045
relation P495
['Q2549045', 'P495', 'Q30']
ASK WHERE { resource:Q2549045 property:P495 resource:Q30 }
The Mummy's Ghost United States of America
action is_in
entity United States of America
action find
entity The Mummy's Ghost
relation country of origin
["The Mummy's Ghost", 'country of origin', 'United States of America']
ASK WHERE { resource:The_Mummy's_Ghost property:country_of_origin resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2549045,P495,Q30)
action is_in
entity Q30
action find
entity Q2549045
relation P495
[ANSWER]
['Q2549045', 'P495', 'Q30']
ASK WHERE { resource:Q2549045 property:P495 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity The Mummy's Ghost
relation country of origin
["The Mummy's Ghost", 'country of origin', 'United States of America']
ASK WHERE { resource:The_Mummy's_Ghost property:country_of_origin resource:United_States_of_America }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have max number of administrative territories as their registry harbour ?
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?b ) { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?h ) WHERE { ?a property:P532 ?f . ?f rdf:type ontology:Q56061 . ?a rdf:type ontology:Q2235308 } GROUP BY ?a } } . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?w ) WHERE { ?v property:P532 ?i . ?v rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q56061 } GROUP BY ?v } . FILTER ( ?w = ?b ) }
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?b ) { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?h ) WHERE { ?a property:port_of_registry ?f . ?f rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:ship_type } GROUP BY ?a } } . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?w ) WHERE { ?v property:port_of_registry ?i . ?v rdf:type ontology:ship_type . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?w = ?b ) }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
S [ANSWER] have max number of administrative territories as their registry harbour
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?b ) { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?h ) WHERE { ?a property:P532 ?f . ?f rdf:type ontology:Q56061 . ?a rdf:type ontology:Q2235308 } GROUP BY ?a } } . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?w ) WHERE { ?v property:P532 ?i . ?v rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q56061 } GROUP BY ?v } . FILTER ( ?w = ?b ) }
MS Arrow
S MS Arrow have max number of administrative territories as their registry harbour
MS Arrow
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?b ) { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?h ) WHERE { ?a property:port_of_registry ?f . ?f rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:ship_type } GROUP BY ?a } } . { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?w ) WHERE { ?v property:port_of_registry ?i . ?v rdf:type ontology:ship_type . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?w = ?b ) }
[]