Simple Question (Direct)
Simple Question
Q426472
P58
Q502895
USER
Who served as the screenwriter for Sadie Thompson ?
(Q426472,P58,c(Q502895))
action filter_type
action find
entity Q426472
relation P58
type Q502895
['Q426472', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q426472 property:P58 ?m . ?m rdf:type ontology:Q502895 }
Sadie Thompson
action filter_type
action find
entity Sadie Thompson
relation screenwriter
type common name
['Sadie Thompson', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Sadie_Thompson property:screenwriter ?m . ?m rdf:type ontology:common_name }
[]
common name
Q2741452 Q72756
SYSTEM
C. Gardner Sullivan, Raoul Walsh
Q2741452 Q72756
(Q426472,P58,c(Q502895))
action filter_type
action find
entity Q426472
relation P58
type Q502895
The [ANSWERS] served as the screenwriter for Sadie Thompson
['Q426472', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q426472 property:P58 ?m . ?m rdf:type ontology:Q502895 }
C. Gardner Sullivan Raoul Walsh
The C. Gardner Sullivan and Raoul Walsh served as the screenwriter for Sadie Thompson
C. Gardner Sullivan Raoul Walsh
action filter_type
action find
entity Sadie Thompson
relation screenwriter
type common name
['Sadie Thompson', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Sadie_Thompson property:screenwriter ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q426472
P1411
Q4220917
USER
Which film awards were Sadie Thompson nominated for ?
(Q426472,P1411,c(Q4220917))
action filter_type
action find
entity Q426472
relation P1411
type Q4220917
['Q426472', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q4220917 . resource:Q426472 property:P1411 ?q }
Sadie Thompson
action filter_type
action find
entity Sadie Thompson
relation nominated for
type film award
['Sadie Thompson', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:film_award . resource:Sadie_Thompson property:nominated_for ?q }
[]
film award
Q131520 Q103618
SYSTEM
Academy Award for Best Cinematography, Academy Award for Best Actress
Q131520 Q103618
(Q426472,P1411,c(Q4220917))
action filter_type
action find
entity Q426472
relation P1411
type Q4220917
Sadie Thompson were nominated for [ANSWERS]
['Q426472', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q4220917 . resource:Q426472 property:P1411 ?q }
Academy Award for Best Cinematography Academy Award for Best Actress
Sadie Thompson were nominated for Academy Award for Best Cinematography and Academy Award for Best Actress
Academy Award for Best Cinematography Academy Award for Best Actress
action filter_type
action find
entity Sadie Thompson
relation nominated for
type film award
['Sadie Thompson', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:film_award . resource:Sadie_Thompson property:nominated_for ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q72756
P161
Q838948
USER
Which works of art have Raoul Walsh in their star cast ?
(c(Q838948),P161,Q72756)
action filter_type
action find_reverse
entity Q72756
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q72756']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q838948 . ?v property:P161 resource:Q72756 }
Raoul Walsh
action filter_type
action find_reverse
entity Raoul Walsh
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Raoul Walsh']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:work_of_art . ?v property:cast_member resource:Raoul_Walsh }
[]
work of art
Q1305706 Q2819806 Q3521959
SYSTEM
It's a Great Feeling, A Man for All That, The Mystery of the Hindu Image
Q1305706 Q2819806 Q3521959
(c(Q838948),P161,Q72756)
action filter_type
action find_reverse
entity Q72756
relation P161
type Q838948
[ANSWERS] have Raoul Walsh in their star cast
[{'concept': 'Q838948'}, 'P161', 'Q72756']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q838948 . ?v property:P161 resource:Q72756 }
It's a Great Feeling A Man for All That The Mystery of the Hindu Image
It's a Great Feeling, A Man for All That and The Mystery of the Hindu Image have Raoul Walsh in their star cast
It's a Great Feeling A Man for All That The Mystery of the Hindu Image
action filter_type
action find_reverse
entity Raoul Walsh
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Raoul Walsh']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:work_of_art . ?v property:cast_member resource:Raoul_Walsh }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q72756
P57
Q838948
USER
Which works of art are Raoul Walsh a director of ?
(c(Q838948),P57,Q72756)
action filter_type
action find_reverse
entity Q72756
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q72756']
SELECT DISTINCT ?p WHERE { ?p property:P57 resource:Q72756 . ?p rdf:type ontology:Q838948 }
Raoul Walsh
action filter_type
action find_reverse
entity Raoul Walsh
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Raoul Walsh']
SELECT DISTINCT ?p WHERE { ?p property:director resource:Raoul_Walsh . ?p rdf:type ontology:work_of_art }
[]
work of art
Q938924 Q1534778 Q1138382
SYSTEM
Helen of Troy, They Died with Their Boots On, High Sierra
Q2699939 Q1878318 Q7597321 Q562504 Q1888201 Q1197405 Q616700 Q759316 Q1625975 Q3783478 Q1198613 Q1809063 Q7400416 Q7749909 Q1615135 Q1995234 Q1466234 Q3522057 Q2613656 Q16029063 Q2819806 Q3570231 Q2738317 Q2870511 Q5910717 Q2201207 Q2002993 Q7093264 Q1936143 Q1194211 Q2194425 Q2428921 Q776337 Q16028689 Q2510764 Q1215101 Q938924 Q1304891 Q969709 Q4357122 Q733003 Q2045673 Q1026669 Q1464948 Q2305306 Q2900129 Q3222846 Q1848335 Q1534778 Q1336867 Q1580557 Q2417658 Q1219927 Q2592150 Q16028607 Q1216721 Q2948474 Q2405331 Q1438760 Q2616888 Q1817180 Q3521959 Q3335240 Q3522348 Q1464106 Q1758622 Q2804739 Q2246522 Q515687 Q1840997 Q607337 Q2625322 Q7576289 Q3107357 Q201209 Q785333 Q1138382 Q2924247 Q2192726 Q1198850 Q886662 Q6311163 Q2856498
(c(Q838948),P57,Q72756)
action filter_type
action find_reverse
entity Q72756
relation P57
type Q838948
Helen of Troy, They died with Their Boots On and High Sierra are Raoul Walsh a director of
[{'concept': 'Q838948'}, 'P57', 'Q72756']
SELECT DISTINCT ?p WHERE { ?p property:P57 resource:Q72756 . ?p rdf:type ontology:Q838948 }
The King and Four Queens Salty O'Rourke Stallion Road Marines, Let's Go Every Night at Eight The Enforcer Colorado Territory Uncertain Glory The World in His Arms Baby Face Harrington Gentleman Jim Desperate Journey Sailor's Luck The Man Who Came Back Manpower The Yellow Ticket Hello, Sister! The Oath Glory Alley Women of All Nations A Man for All That Cheyenne Fighter Squadron O.H.M.S. Hot for Paris Sea Devils The Man I Love One Sunday Afternoon College Swing Objective, Burma! Silver River Me and My Gal In Old Arizona Me A Lion Is in the Streets The Naked and the Dead Helen of Troy San Antonio Wild Girl The Horn Blows at Midnight The Sheriff of Fractured Jaw Saskatchewan The Lawless Breed Pursued The Revolt of Mamie Stover Betrayed The Wanderer The Strawberry Blonde They Died with Their Boots On Hitting a New High Artists and Models Gun Fury The Roaring Twenties Under Pressure The Lady of the Harem Distant Drums St. Louis Blues The Tall Men Along the Great Divide Going Hollywood Blackbeard the Pirate The Mystery of the Hindu Image The Red Dance The Prussian Cur They Drive by Night Klondike Annie A Distant Trumpet Background to Danger Dark Command Esther and the King White Heat Big Brown Eyes Spendthrift Battle Cry Captain Horatio Hornblower R.N. Action in the North Atlantic High Sierra The Bowery A Private's Affair The Big Trail Northern Pursuit Jump for Glory Band of Angels
Helen of Troy, They died with Their Boots On and High Sierra are Raoul Walsh a director of
Helen of Troy They Died with Their Boots On High Sierra
action filter_type
action find_reverse
entity Raoul Walsh
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Raoul Walsh']
SELECT DISTINCT ?p WHERE { ?p property:director resource:Raoul_Walsh . ?p rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q938924 Q1534778 Q1138382
P136
Q1792379
USER
What can be considered as category for Helen of Troy, They Died with Their Boots On and High Sierra ?
(Q938924,P136,c(Q1792379)) (Q1534778,P136,c(Q1792379)) (Q1138382,P136,c(Q1792379))
action union
action filter_type
action find
entity Q938924
relation P136
type Q1792379
action filter_type
action find
entity Q1534778
relation P136
type Q1792379
action filter_type
action find
entity Q1138382
relation P136
type Q1792379
['Q938924', 'P136', {'concept': 'Q1792379'}] ['Q1534778', 'P136', {'concept': 'Q1792379'}] ['Q1138382', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { { resource:Q938924 property:P136 ?d . ?d rdf:type ontology:Q1792379 } UNION { ?d rdf:type ontology:Q1792379 . resource:Q1534778 property:P136 ?d } }
Helen of Troy They Died with Their Boots On High Sierra
action union
action filter_type
action find
entity Helen of Troy
relation genre
type art genre
action filter_type
action find
entity They Died with Their Boots On
relation genre
type art genre
action filter_type
action find
entity High Sierra
relation genre
type art genre
['Helen of Troy', 'genre', {'concept': 'art genre'}] ['They Died with Their Boots On', 'genre', {'concept': 'art genre'}] ['High Sierra', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { { resource:Helen_of_Troy property:genre ?d . ?d rdf:type ontology:art_genre } UNION { ?d rdf:type ontology:art_genre . resource:They_Died_with_Their_Boots_On property:genre ?d } }
[]
art genre
Q1257444 Q645928 Q172980
SYSTEM
film adaptation, biographical film, Western
Q1257444 Q645928 Q172980 Q959790 Q185867 Q496523 Q130232
(Q938924,P136,c(Q1792379)) (Q1534778,P136,c(Q1792379)) (Q1138382,P136,c(Q1792379))
action union
action filter_type
action find
entity Q938924
relation P136
type Q1792379
action filter_type
action find
entity Q1534778
relation P136
type Q1792379
action filter_type
action find
entity Q1138382
relation P136
type Q1792379
[ANSWERS] can be considered as category for Helen of Troy, They Died with Their Boots On and High Sierra
['Q938924', 'P136', {'concept': 'Q1792379'}] ['Q1534778', 'P136', {'concept': 'Q1792379'}] ['Q1138382', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { { resource:Q938924 property:P136 ?d . ?d rdf:type ontology:Q1792379 } UNION { ?d rdf:type ontology:Q1792379 . resource:Q1534778 property:P136 ?d } }
film adaptation biographical film Western crime film film noir heist film drama film
Film adaptation, biographical film and Western can be considered as category for Helen of Troy, They Died with Their Boots On and High Sierra
film adaptation biographical film Western
action union
action filter_type
action find
entity Helen of Troy
relation genre
type art genre
action filter_type
action find
entity They Died with Their Boots On
relation genre
type art genre
action filter_type
action find
entity High Sierra
relation genre
type art genre
['Helen of Troy', 'genre', {'concept': 'art genre'}] ['They Died with Their Boots On', 'genre', {'concept': 'art genre'}] ['High Sierra', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { { resource:Helen_of_Troy property:genre ?d . ?d rdf:type ontology:art_genre } UNION { ?d rdf:type ontology:art_genre . resource:They_Died_with_Their_Boots_On property:genre ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q72756
P26
Q502895
USER
Who is the spouse of Raoul Walsh ?
(c(Q502895),P26,Q72756)
action filter_type
action find
entity Q72756
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q72756']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q72756 property:P26 ?h }
Raoul Walsh
action filter_type
action find
entity Raoul Walsh
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Raoul Walsh']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Raoul_Walsh property:spouse ?h }
[]
common name
Q452455
SYSTEM
Miriam Cooper
Q452455
(c(Q502895),P26,Q72756)
action filter_type
action find
entity Q72756
relation P26
type Q502895
The spouse of Raoul Walsh is Lady [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q72756']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q72756 property:P26 ?h }
Miriam Cooper
The spouse of Raoul Walsh is Lady Miriam Cooper
Miriam Cooper
action filter_type
action find
entity Raoul Walsh
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Raoul Walsh']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Raoul_Walsh property:spouse ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q72756
P106
Q28640
USER
Which professions have Raoul Walsh as his/her 's career ?
(Q72756,P106,c(Q28640))
action filter_type
action find
entity Q72756
relation P106
type Q28640
['Q72756', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?u WHERE { resource:Q72756 property:P106 ?u . ?u rdf:type ontology:Q28640 }
Raoul Walsh
action filter_type
action find
entity Raoul Walsh
relation occupation
type profession
['Raoul Walsh', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?u WHERE { resource:Raoul_Walsh property:occupation ?u . ?u rdf:type ontology:profession }
[]
profession
Q2526255 Q28389
SYSTEM
film director, screenwriter
Q2526255 Q28389
(Q72756,P106,c(Q28640))
action filter_type
action find
entity Q72756
relation P106
type Q28640
The [ANSWERS] have Raoul Walsh as his/her 's career
['Q72756', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?u WHERE { resource:Q72756 property:P106 ?u . ?u rdf:type ontology:Q28640 }
film director screenwriter
The film director and screenwriter have Raoul Walsh as his/her 's career
film director screenwriter
action filter_type
action find
entity Raoul Walsh
relation occupation
type profession
['Raoul Walsh', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?u WHERE { resource:Raoul_Walsh property:occupation ?u . ?u rdf:type ontology:profession }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q72756
Q12737077
USER
And which occupation?
(Q72756,P106,c(Q12737077))
action filter_type
action find
entity Q72756
relation P106
type Q12737077
['Q72756', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q72756 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Raoul Walsh
action filter_type
action find
entity Raoul Walsh
relation occupation
type occupation
['Raoul Walsh', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Raoul_Walsh property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q72756,P106,c(Q12737077))
action filter_type
action find
entity Q72756
relation P106
type Q12737077
[ANSWER]
['Q72756', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q72756 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
actor
actor
action filter_type
action find
entity Raoul Walsh
relation occupation
type occupation
['Raoul Walsh', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Raoul_Walsh property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P136
Q1792379 Q502895 Q15416
USER
Which art genres do min number of people and television programs belong to ?
(c(Q502895)|c(Q15416),P136,c(Q1792379))
action argmin
action union
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q502895
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q15416
[[{'concept': 'Q502895'}, {'concept': 'Q15416'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?f ) WHERE { { ?a property:P136 ?y . ?y rdf:type ontology:Q1792379 . ?a rdf:type ontology:Q502895 } UNION { ?a property:P136 ?y . ?a rdf:type ontology:Q15416 . ?y rdf:type ontology:Q1792379 } } GROUP BY ?y } } . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?h ) WHERE { { ?z property:P136 ?j . ?j rdf:type ontology:Q1792379 . ?z rdf:type ontology:Q502895 } UNION { ?z property:P136 ?j . ?j rdf:type ontology:Q1792379 . ?z rdf:type ontology:Q15416 } } GROUP BY ?j } . FILTER ( ?h = ?o ) }
action argmin
action union
action find_reverse_tuple_counts
relation genre
type art genre
type common name
action find_reverse_tuple_counts
relation genre
type art genre
type television program
[[{'concept': 'common name'}, {'concept': 'television program'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?f ) WHERE { { ?a property:genre ?y . ?y rdf:type ontology:art_genre . ?a rdf:type ontology:common_name } UNION { ?a property:genre ?y . ?a rdf:type ontology:television_program . ?y rdf:type ontology:art_genre } } GROUP BY ?y } } . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?h ) WHERE { { ?z property:genre ?j . ?j rdf:type ontology:art_genre . ?z rdf:type ontology:common_name } UNION { ?z property:genre ?j . ?j rdf:type ontology:art_genre . ?z rdf:type ontology:television_program } } GROUP BY ?j } . FILTER ( ?h = ?o ) }
[]
art genre common name television program
Q248726 Q1615638 Q2415378
SYSTEM
Venus figurine, submarine films, schutterstuk
Q3684595 Q5528690 Q1029945 Q3028680 Q11871 Q3656658 Q1312571 Q7440128 Q2334148 Q3026054 Q2421000 Q615498 Q3331891 Q179700 Q1862618 Q909586 Q16551815 Q376693 Q26268098 Q3328821 Q2415378 Q5793771 Q20669574 Q645717 Q725377 Q44342 Q18536349 Q138679 Q4376526 Q18811686 Q208555 Q16681629 Q491158 Q3811649 Q2254211 Q1433099 Q4075563 Q26906566 Q7834250 Q18783399 Q20737410 Q20656352 Q17489160 Q18809567 Q24723 Q27020789 Q279060 Q15806966 Q550484 Q3072043 Q21616374 Q1391420 Q2973201 Q5493886 Q21088117 Q7451276 Q2330570 Q2117603 Q180494 Q12197074 Q7308029 Q13408937 Q2520572 Q3940786 Q1601739 Q1519335 Q15858553 Q20730955 Q659396 Q13209138 Q18917896 Q3344204 Q7578116 Q1084059 Q775169 Q1361392 Q21615367 Q26228231 Q986216 Q2894452 Q794357 Q19310814 Q7046534 Q16954139 Q21931667 Q1957385 Q248726 Q3374808 Q718972 Q7379160 Q1429059 Q7444356 Q783459 Q2735649 Q7644030 Q2584671 Q3440961 Q26225470 Q3056541 Q2278308 Q19968941 Q3640599 Q7645884 Q909887 Q26928598 Q646420 Q1190502 Q252370 Q26225484 Q20442589 Q11766730 Q605789 Q3928536 Q248583 Q2125170 Q936749 Q1723850 Q2477736 Q5456296 Q18809589 Q628165 Q11558987 Q1637212 Q619551 Q5151497 Q3368492 Q20656232 Q13136 Q5366020 Q1851397 Q11825892 Q3072031 Q17517379 Q2973217 Q14524057 Q1325447 Q18211112 Q4690955 Q17345318 Q2110126 Q6960620 Q3381576 Q20358335 Q1076506 Q824894 Q1464369 Q735478 Q429767 Q6045975 Q5457615 Q1150666 Q26228228 Q21905924 Q5769663 Q1115187 Q4774498 Q19926329 Q1740789 Q1743287 Q10916116 Q2642760 Q193206 Q18810037 Q538812 Q131138 Q5147136 Q169672 Q332564 Q5110346 Q468930 Q193866 Q18809643 Q1659897 Q1371394 Q6045390 Q1066582 Q12912091 Q1191618 Q10379557 Q1225344 Q186602 Q3990883 Q3990887 Q3440959 Q250090 Q27022970 Q1593709 Q19039929 Q367591 Q26987767 Q1125133 Q1194365 Q27022710 Q586250 Q11793314 Q223638 Q7579035 Q4160933 Q5883078 Q10453828 Q18353841 Q26929719 Q1239328 Q2904863 Q1787111 Q1384425 Q472808 Q131395 Q19926326 Q1353984 Q1779653 Q966880 Q7256214 Q3454432 Q12617225 Q1615638 Q358998 Q1599788 Q17393935 Q7824966 Q948970 Q7551149 Q20540663 Q5778924 Q5185614 Q583976 Q13405586 Q1619888 Q15146165 Q3249257 Q5465542 Q1496857 Q7362831 Q3409594 Q15919135 Q6619804 Q1503147 Q1683266 Q6949160 Q583768 Q2608088 Q2724311 Q819652 Q304538 Q937330 Q10635804 Q2660540 Q690810 Q2016518 Q26906554 Q1310296 Q3294465 Q3739522 Q18815437 Q1377546 Q5395423 Q16738862 Q4731380 Q11356864 Q2292320 Q512207 Q1675302 Q4914883 Q10493645 Q457832 Q21074330 Q3476533
(c(Q502895)|c(Q15416),P136,c(Q1792379))
action argmin
action union
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q502895
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q15416
[ANSWERS] min number of people and television programs belong to
[[{'concept': 'Q502895'}, {'concept': 'Q15416'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?f ) WHERE { { ?a property:P136 ?y . ?y rdf:type ontology:Q1792379 . ?a rdf:type ontology:Q502895 } UNION { ?a property:P136 ?y . ?a rdf:type ontology:Q15416 . ?y rdf:type ontology:Q1792379 } } GROUP BY ?y } } . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?h ) WHERE { { ?z property:P136 ?j . ?j rdf:type ontology:Q1792379 . ?z rdf:type ontology:Q502895 } UNION { ?z property:P136 ?j . ?j rdf:type ontology:Q1792379 . ?z rdf:type ontology:Q15416 } } GROUP BY ?j } . FILTER ( ?h = ?o ) }
elegiac comedy gay novel education novel Masala schwank lesbian pulp fiction developmental novel nautical fiction sculptural group Socratic dialogue novelization documentary photography mythopoeia statue gay literature splatter film emblematica herma Eastern narration schutterstuk crime fiction short story creative nonfiction Christian art graphic novel legend pamphlet travel photography double novel interior view parable alternate history literature Revisionist Western juvenile fantasy political fiction tronie outlaw biker film Beat poetry transgressive fiction mythology sculpture philosophical story alternate history film bust three-quarter portait literary fairy tale steampunk nove robinsonade Email novel video installation dance film vampire novel specialized literature political cinema fratire Haerlempjes sentimental novel still life photography Rabbinic literature saga western novel Regency romance philosophical literature esoteric novel scientific romance heroic poetry ghost story Wuxia film tale equestrian statue auteur film history sculpture Northern spiritual autobiography Christian literature Weird West erotic photography children's novel cyberpunk novel paraliterature mashup libertine novel verse poetry nocturne Musar literature pornographic novel cinematic fairy tale Venus figurine penny dreadful medical novel Rumberas film pop novel mob film Künstlerroman Romantic poetry supernatural fiction Japanese horror sensation novel alternate history novel autobiographical novel capriccio double portrait bizarro fiction surf film sketch story dystopian novel Fayum mummy portraits surrealist cinema retelling apocalyptic novel LGBT-related film allegorical painting war photography speculative fiction short story screwball comedy film race film literary nonsense cannibal film Lost World fiction fix-up full-frontal portrait road movie sea adventure novel Comic fantasy apologue Comedy of remarriage pastorale in painting science fiction action film reference work science fiction anime street photography young adult novel Hyperlink cinema animated short film structural film pastoral poetry non-fiction novel magical feminism Aga saga women's writing monodic lyric travel novel monochrome photography political novel choral poetry sex manual making-of newsreel heroic romance satiric novel flash fiction world cinema biopunk novel science fiction short story gothic horror film Commedia all'italiana anti-war film girls adventure stories poliziotteschi girls' literature history book vigilante film anecdote bust portrait novel of manners joke courtly romance Samurai cinema Abstract animation Christian novel trompe-l'œil annals profile portrait encyclopedia of literature ethnographic film interactive novel fine-art photography fiction film erotic romance novel zhanghui novel dictator novel period novel action thriller medical thriller thriller novel Ruba'i utopian novel dime novel historical mysteries Western literature feminist novel fictional diary pink film postcyberpunk novel prison film indigenista novel guide book sponsored film Junbungaku Hollywood novel time travel novel Architectural painting military science fiction novel national encyclopedia bit-lit biographical encyclopedia experimental literature novelette dialogue boys adventure stories landscape photography colossal statue wildlife photography psychedelic literature hysterical realism religious literature submarine films utopian and dystopian fiction phrase book highway art topographical poetry verse novel social guidance film documentary novel black comedy film American literary regionalism campus novel non-fiction literature form pastoral novel Regentenstuk adult animation food writing prayerbook Romantic thriller Fictional memoir horror short story parallel novel monogatari political literature Mythic fiction women in prison film invasion literature New Queer Cinema mountain film Heimatfilm kouros boys' litterature mock-heroic poem nature photography philosophical novel post-apocalyptic novel Vita lesbian literature self-help book back portrait Nunsploitation monster erotica statuette allegorical sculpture experimental film sexploitation film roman à clef Itinerarium biographical novel faction stoner film church interior monumental sculpture
Venus figurine, submarine films and schutterstuk min number of people and television programs belong to
Venus figurine submarine films schutterstuk
action argmin
action union
action find_reverse_tuple_counts
relation genre
type art genre
type common name
action find_reverse_tuple_counts
relation genre
type art genre
type television program
[[{'concept': 'common name'}, {'concept': 'television program'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?f ) WHERE { { ?a property:genre ?y . ?y rdf:type ontology:art_genre . ?a rdf:type ontology:common_name } UNION { ?a property:genre ?y . ?a rdf:type ontology:television_program . ?y rdf:type ontology:art_genre } } GROUP BY ?y } } . { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?h ) WHERE { { ?z property:genre ?j . ?j rdf:type ontology:art_genre . ?z rdf:type ontology:common_name } UNION { ?z property:genre ?j . ?j rdf:type ontology:art_genre . ?z rdf:type ontology:television_program } } GROUP BY ?j } . FILTER ( ?h = ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q26270023
P1028
Q502895 Q1792379
USER
Which people made a donation for around the same number of art genres as Mrs. Randall Hanna ?
(c(Q1792379),P1028,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
action count
action filter_type
action find
entity Q26270023
relation P1028
type Q502895
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?h ) WHERE { ?w rdf:type ontology:Q502895 . ?s rdf:type ontology:Q1792379 . ?s property:P1028 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q26270023 property:P1028 ?z . ?z rdf:type ontology:Q502895 } } . FILTER ( ?h = ?y ) }
Mrs. Randall Hanna
action approx
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
action count
action filter_type
action find
entity Mrs. Randall Hanna
relation donated by
type common name
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?h ) WHERE { ?w rdf:type ontology:common_name . ?s rdf:type ontology:art_genre . ?s property:donated_by ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Mrs._Randall_Hanna property:donated_by ?z . ?z rdf:type ontology:common_name } } . FILTER ( ?h = ?y ) }
[]
common name art genre
Q22686 Q134817 Q2677
SYSTEM
Donald Trump, Abdul Hamid II, Wilhelm II
Q43720 Q3133098 Q26459473 Q2637616 Q676301 Q23016142 Q26359798 Q27450423 Q1699735 Q26459024 Q26262410 Q213963 Q222458 Q5407510 Q1461924 Q26270023 Q26208057 Q17305789 Q4785964 Q23828909 Q18718742 Q2172853 Q2677 Q18529818 Q18681578 Q52930 Q23719193 Q26155343 Q26254144 Q7240564 Q382439 Q164500 Q2667 Q51056 Q18691655 Q272476 Q18711324 Q18676928 Q26262436 Q77210 Q37134 Q26290195 Q26289878 Q23055273 Q1460119 Q2914083 Q453523 Q26262301 Q26266175 Q134817 Q984 Q15433875 Q26262414 Q18676673 Q26270295 Q22815714 Q165568 Q26154073 Q8479 Q170398 Q15525738 Q365930 Q26262395 Q27431382 Q237463 Q233198 Q16018042 Q7459175 Q62196 Q12322315 Q18674610 Q747341 Q18681522 Q150652 Q26260039 Q19754058 Q27450503 Q22925473 Q26270343 Q27230873 Q3174202 Q7183322 Q95946 Q452811 Q876414 Q438322 Q26262455 Q18674603 Q6968011 Q26289675 Q764443 Q26266139 Q6688106 Q11919354 Q183226 Q4233718 Q154912 Q159416 Q26313983 Q18713952 Q269412 Q26282942 Q26520314 Q26492743 Q26254109 Q26216791 Q16860467 Q9013205 Q20683951 Q26207985 Q57538 Q207384 Q43922 Q1373397 Q26254138 Q1377426 Q26218064 Q6712648 Q18711061 Q26160551 Q9439 Q2551 Q26260093 Q1348898 Q22686 Q26689742 Q22829116 Q26476068 Q1106973 Q21125090 Q26266192 Q152935 Q18691646 Q26266198 Q26415672 Q26254121 Q57986 Q2594 Q589876 Q26262463 Q5088246 Q26262467 Q5396194 Q6141615 Q7399967 Q4924916
(c(Q1792379),P1028,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
action count
action filter_type
action find
entity Q26270023
relation P1028
type Q502895
[ANSWERS] made a donation for around the same number of art genres as Mrs. Randall Hanna
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?h ) WHERE { ?w rdf:type ontology:Q502895 . ?s rdf:type ontology:Q1792379 . ?s property:P1028 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q26270023 property:P1028 ?z . ?z rdf:type ontology:Q502895 } } . FILTER ( ?h = ?y ) }
Pius IX Henry Sugimoto Mrs. Rodney Davis Dowdell Albert M. Bender John VI of Portugal Barry Toubin Bob and Bonnie Hartman Stuart P. Feld John D. Rockefeller III Revell McCallum Loren F. Taylor Wilhelm Hoegner Frederick Stanley, 16th Earl of Derby Eugene McDermott Friedrich Schiedel Mrs. Randall Hanna Frederick Baekeland Claudia DeMonte Archer Milton Huntington Walter R. Heyneman Faye Bleicher-Berger Rudolf Hanauer Wilhelm II James Chance Carolann Smurthwaite Gustav III of Sweden Mildred Anna Williams Garo Antreasian Ted G. Decker Prentis Cobb Hale Jan Zamoyski Princess Victoria Melita of Saxe-Coburg and Gotha Paul von Hindenburg Franz Joseph I of Austria Orme Lewis Countess Palatine Elisabeth Auguste of Sulzbach Margaret Miller Carl S. Dentzel Clay Lockett Otto Grotewohl Frederick William III of Prussia Arthur Keating Sam Patania Lawrence K. Miller Henner Löffler Martin Hägglund Stanisław Żółkiewski Frederick R. Pleasants Joan Teer Jacobson Abdul Hamid II Miles Franklin Peter Becker Thomas R. Taylor Bryant M. Hanley, Jr. Terry Etherton Donald D. Harrington John XXII Sally Anderson Peter the Great William I of Württemberg Gerald Murphy Hussein Kamel of Egypt David Berg Vivian Hotchkiss Eleonora Gonzaga Therese of Saxe-Hildburghausen Arthur I. Appleton Seymour H. Knox II Peter Harry Carstensen Knud Højgaard Edward Marcus Edwin Binney Robert R. Rosenbaum Wilhelm I of Germany Gregory Kondos Otto Kallir Albert P. Strietmann Percy Moore Turner Riva Yares Charles F. Olney Jan Radlica Philip Campbell Curtis Ferdinand Mülhens Jakub Zadzik Reinhold Klika Herbert W. Ladd Faith Holsaert Nancy Hamon Natalia Clovis Ruth Corbett Cross August Wegmann Carlos Carulo Louis S. Cates Enric Serra Auqué Charles IV of Spain anonymous Olav V of Norway Naser al-Din Shah Qajar Roger J. Welter Everett F. Drumright George V Joel Coplin Dorothy C. Walker Susan S. Small Alma A. Konigslow Margarita Berg Onofre Garí i Torrent Josep Maria Garrut i Romà Walter P. Chrysler Jr. Martin and Nancy Melzer John of Saxony Alexander I of Yugoslavia Leo XIII James H. Clark Mr. and Mrs. Arthur W. Rogers Jerzy Ossoliński Michael Berman M. H. de Young William A. Small, Jr. Jack Balas Queen Victoria Johannes Rau Dennis J. Friedman Theodore M. Davis Donald Trump Frances M. Weidman Lorenz Anderman Arthur B. Adams Baldomero Giménez Rudolf Meimberg Margaret Kirkpatrick George II of Greece Thelma Kieckhefer Dan Leach Agnes Griffen Matthew Blacharski Frederick Augustus II of Saxony Theodor Heuss Mikołaj Kamieniecki John Rein Chauncey McCormick Laurence L. Shaw Erwin S. Barrie Madanjeet Singh Saidie May Blanchette Ferry Rockefeller
Donald Trump, Abdul Hamid II and Wilhelm II made a donation for around the same number of art genres as Mrs. Randall Hanna
Donald Trump Abdul Hamid II Wilhelm II
action approx
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
action count
action filter_type
action find
entity Mrs. Randall Hanna
relation donated by
type common name
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?h ) WHERE { ?w rdf:type ontology:common_name . ?s rdf:type ontology:art_genre . ?s property:donated_by ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Mrs._Randall_Hanna property:donated_by ?z . ?z rdf:type ontology:common_name } } . FILTER ( ?h = ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q26289878
P1028
Q502895 Q1792379
USER
And also tell me about Sam Patania?
(c(Q1792379),P1028,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
action count
action filter_type
action find
entity Q26289878
relation P1028
type Q502895
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P1028 ?p . ?p rdf:type ontology:Q502895 . ?e rdf:type ontology:Q1792379 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Q26289878 property:P1028 ?g . ?g rdf:type ontology:Q502895 } } . FILTER ( ?f = ?h ) }
Sam Patania
action approx
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
action count
action filter_type
action find
entity Sam Patania
relation donated by
type common name
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:donated_by ?p . ?p rdf:type ontology:common_name . ?e rdf:type ontology:art_genre } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Sam_Patania property:donated_by ?g . ?g rdf:type ontology:common_name } } . FILTER ( ?f = ?h ) }
[]
common name art genre
Q22686 Q134817 Q2677
SYSTEM
Donald Trump, Abdul Hamid II, Wilhelm II
Q43720 Q3133098 Q26459473 Q2637616 Q676301 Q23016142 Q26359798 Q27450423 Q1699735 Q26459024 Q26262410 Q213963 Q222458 Q5407510 Q1461924 Q26270023 Q26208057 Q17305789 Q4785964 Q23828909 Q18718742 Q2172853 Q2677 Q18529818 Q18681578 Q52930 Q23719193 Q26155343 Q26254144 Q7240564 Q382439 Q164500 Q2667 Q51056 Q18691655 Q272476 Q18711324 Q18676928 Q26262436 Q77210 Q37134 Q26290195 Q26289878 Q23055273 Q1460119 Q2914083 Q453523 Q26262301 Q26266175 Q134817 Q984 Q15433875 Q26262414 Q18676673 Q26270295 Q22815714 Q165568 Q26154073 Q8479 Q170398 Q15525738 Q365930 Q26262395 Q27431382 Q237463 Q233198 Q16018042 Q7459175 Q62196 Q12322315 Q18674610 Q747341 Q18681522 Q150652 Q26260039 Q19754058 Q27450503 Q22925473 Q26270343 Q27230873 Q3174202 Q7183322 Q95946 Q452811 Q876414 Q438322 Q26262455 Q18674603 Q6968011 Q26289675 Q764443 Q26266139 Q6688106 Q11919354 Q183226 Q4233718 Q154912 Q159416 Q26313983 Q18713952 Q269412 Q26282942 Q26520314 Q26492743 Q26254109 Q26216791 Q16860467 Q9013205 Q20683951 Q26207985 Q57538 Q207384 Q43922 Q1373397 Q26254138 Q1377426 Q26218064 Q6712648 Q18711061 Q26160551 Q9439 Q2551 Q26260093 Q1348898 Q22686 Q26689742 Q22829116 Q26476068 Q1106973 Q21125090 Q26266192 Q152935 Q18691646 Q26266198 Q26415672 Q26254121 Q57986 Q2594 Q589876 Q26262463 Q5088246 Q26262467 Q5396194 Q6141615 Q7399967 Q4924916
(c(Q1792379),P1028,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
action count
action filter_type
action find
entity Q26289878
relation P1028
type Q502895
[ANSWERS]
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P1028 ?p . ?p rdf:type ontology:Q502895 . ?e rdf:type ontology:Q1792379 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Q26289878 property:P1028 ?g . ?g rdf:type ontology:Q502895 } } . FILTER ( ?f = ?h ) }
Pius IX Henry Sugimoto Mrs. Rodney Davis Dowdell Albert M. Bender John VI of Portugal Barry Toubin Bob and Bonnie Hartman Stuart P. Feld John D. Rockefeller III Revell McCallum Loren F. Taylor Wilhelm Hoegner Frederick Stanley, 16th Earl of Derby Eugene McDermott Friedrich Schiedel Mrs. Randall Hanna Frederick Baekeland Claudia DeMonte Archer Milton Huntington Walter R. Heyneman Faye Bleicher-Berger Rudolf Hanauer Wilhelm II James Chance Carolann Smurthwaite Gustav III of Sweden Mildred Anna Williams Garo Antreasian Ted G. Decker Prentis Cobb Hale Jan Zamoyski Princess Victoria Melita of Saxe-Coburg and Gotha Paul von Hindenburg Franz Joseph I of Austria Orme Lewis Countess Palatine Elisabeth Auguste of Sulzbach Margaret Miller Carl S. Dentzel Clay Lockett Otto Grotewohl Frederick William III of Prussia Arthur Keating Sam Patania Lawrence K. Miller Henner Löffler Martin Hägglund Stanisław Żółkiewski Frederick R. Pleasants Joan Teer Jacobson Abdul Hamid II Miles Franklin Peter Becker Thomas R. Taylor Bryant M. Hanley, Jr. Terry Etherton Donald D. Harrington John XXII Sally Anderson Peter the Great William I of Württemberg Gerald Murphy Hussein Kamel of Egypt David Berg Vivian Hotchkiss Eleonora Gonzaga Therese of Saxe-Hildburghausen Arthur I. Appleton Seymour H. Knox II Peter Harry Carstensen Knud Højgaard Edward Marcus Edwin Binney Robert R. Rosenbaum Wilhelm I of Germany Gregory Kondos Otto Kallir Albert P. Strietmann Percy Moore Turner Riva Yares Charles F. Olney Jan Radlica Philip Campbell Curtis Ferdinand Mülhens Jakub Zadzik Reinhold Klika Herbert W. Ladd Faith Holsaert Nancy Hamon Natalia Clovis Ruth Corbett Cross August Wegmann Carlos Carulo Louis S. Cates Enric Serra Auqué Charles IV of Spain anonymous Olav V of Norway Naser al-Din Shah Qajar Roger J. Welter Everett F. Drumright George V Joel Coplin Dorothy C. Walker Susan S. Small Alma A. Konigslow Margarita Berg Onofre Garí i Torrent Josep Maria Garrut i Romà Walter P. Chrysler Jr. Martin and Nancy Melzer John of Saxony Alexander I of Yugoslavia Leo XIII James H. Clark Mr. and Mrs. Arthur W. Rogers Jerzy Ossoliński Michael Berman M. H. de Young William A. Small, Jr. Jack Balas Queen Victoria Johannes Rau Dennis J. Friedman Theodore M. Davis Donald Trump Frances M. Weidman Lorenz Anderman Arthur B. Adams Baldomero Giménez Rudolf Meimberg Margaret Kirkpatrick George II of Greece Thelma Kieckhefer Dan Leach Agnes Griffen Matthew Blacharski Frederick Augustus II of Saxony Theodor Heuss Mikołaj Kamieniecki John Rein Chauncey McCormick Laurence L. Shaw Erwin S. Barrie Madanjeet Singh Saidie May Blanchette Ferry Rockefeller
Donald Trump Abdul Hamid II Wilhelm II
action approx
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
action count
action filter_type
action find
entity Sam Patania
relation donated by
type common name
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:donated_by ?p . ?p rdf:type ontology:common_name . ?e rdf:type ontology:art_genre } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Sam_Patania property:donated_by ?g . ?g rdf:type ontology:common_name } } . FILTER ( ?f = ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q604538
P1303
Q34379 Q502895
USER
Which musical instruments are played by greater number of people than Temple block ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q604538
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o rdf:type ontology:Q34379 . resource:Q604538 property:P1303 ?o } } . FILTER ( ?x > ?r ) }
Temple block
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Temple block
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o rdf:type ontology:musical_instrument . resource:Temple_block property:instrument ?o } } . FILTER ( ?x > ?r ) }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q604538
relation P1303
type Q34379
[ANSWERS] are played by greater number of people than Temple block
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o rdf:type ontology:Q34379 . resource:Q604538 property:P1303 ?o } } . FILTER ( ?x > ?r ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
Piano, harpsichord and ondes Martenot are played by greater number of people than Temple block
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Temple block
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o rdf:type ontology:musical_instrument . resource:Temple_block property:instrument ?o } } . FILTER ( ?x > ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q34379 Q1792379
USER
How many art genres demonstrate atleast 1 musical instrument ?
(c(Q1792379),P180,c(Q34379))
action count
action atleast
action find_tuple_counts
relation P180
type Q1792379
type Q34379
value 1
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?i ) WHERE { ?s property:P180 ?y . ?s rdf:type ontology:Q1792379 . ?y rdf:type ontology:Q34379 } GROUP BY ?s } . FILTER ( ?i >= 1 ) }
action count
action atleast
action find_tuple_counts
relation depicts
type art genre
type musical instrument
value 1
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?i ) WHERE { ?s property:depicts ?y . ?s rdf:type ontology:art_genre . ?y rdf:type ontology:musical_instrument } GROUP BY ?s } . FILTER ( ?i >= 1 ) }
[]
musical instrument art genre
SYSTEM
1
Q18661427
(c(Q1792379),P180,c(Q34379))
action count
action atleast
action find_tuple_counts
relation P180
type Q1792379
type Q34379
value 1
[ANSWER]
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?i ) WHERE { ?s property:P180 ?y . ?s rdf:type ontology:Q1792379 . ?y rdf:type ontology:Q34379 } GROUP BY ?s } . FILTER ( ?i >= 1 ) }
Memorial of the people of Pori
1
action count
action atleast
action find_tuple_counts
relation depicts
type art genre
type musical instrument
value 1
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?i ) WHERE { ?s property:depicts ?y . ?s rdf:type ontology:art_genre . ?y rdf:type ontology:musical_instrument } GROUP BY ?s } . FILTER ( ?i >= 1 ) }
[]