Simple Question (Direct)
Simple Question
Q45213
P106
Q12737077
USER
What are the professions of Anton Karas ?
(Q45213,P106,c(Q12737077))
action filter_type
action find
entity Q45213
relation P106
type Q12737077
['Q45213', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q45213 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Anton Karas
action filter_type
action find
entity Anton Karas
relation occupation
type occupation
['Anton Karas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Anton_Karas property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q639669 Q36834
SYSTEM
musician, composer
Q639669 Q36834
(Q45213,P106,c(Q12737077))
action filter_type
action find
entity Q45213
relation P106
type Q12737077
The professions of Anton Karas are a [ANSWERS]
['Q45213', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q45213 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
musician composer
The professions of Anton Karas are a musician and composer
musician composer
action filter_type
action find
entity Anton Karas
relation occupation
type occupation
['Anton Karas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Anton_Karas property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q45213
P175
Q2031291
USER
Who performed that person ?
(c(Q2031291),P175,Q639669) (c(Q2031291),P175,Q36834)
action filter_type
action find_reverse
entity Q45213
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q639669'] [{'concept': 'Q2031291'}, 'P175', 'Q36834']
SELECT DISTINCT ?t WHERE { ?t property:P175 resource:Q45213 . ?t rdf:type ontology:Q2031291 }
Anton Karas
action filter_type
action find_reverse
entity Anton Karas
relation performer
type release
[{'concept': 'release'}, 'performer', 'musician'] [{'concept': 'release'}, 'performer', 'composer']
SELECT DISTINCT ?t WHERE { ?t property:performer resource:Anton_Karas . ?t rdf:type ontology:release }
[]
release
Q1586351
SYSTEM
The Third Man Theme
Q1586351
(c(Q2031291),P175,Q639669) (c(Q2031291),P175,Q36834)
action filter_type
action find_reverse
entity Q45213
relation P175
type Q2031291
[ANSWER] performed that person
[{'concept': 'Q2031291'}, 'P175', 'Q639669'] [{'concept': 'Q2031291'}, 'P175', 'Q36834']
SELECT DISTINCT ?t WHERE { ?t property:P175 resource:Q45213 . ?t rdf:type ontology:Q2031291 }
The Third Man Theme
The Third Man Theme performed that person
The Third Man Theme
action filter_type
action find_reverse
entity Anton Karas
relation performer
type release
[{'concept': 'release'}, 'performer', 'musician'] [{'concept': 'release'}, 'performer', 'composer']
SELECT DISTINCT ?t WHERE { ?t property:performer resource:Anton_Karas . ?t rdf:type ontology:release }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q2031291 Q15619164 Q502895
USER
Which releases are min number of abstract beings and people a component of ?
(c(Q15619164)|c(Q502895),P361,c(Q2031291))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q2031291
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q2031291
type Q502895
[[{'concept': 'Q15619164'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q2031291'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?t WHERE { { ?p property:P361 ?t . ?p rdf:type ontology:Q15619164 . ?t rdf:type ontology:Q2031291 } UNION { ?p property:P361 ?t . ?p rdf:type ontology:Q502895 . ?t rdf:type ontology:Q2031291 } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) ?h WHERE { { ?q property:P361 ?h . ?h rdf:type ontology:Q2031291 . ?q rdf:type ontology:Q15619164 } UNION { ?h rdf:type ontology:Q2031291 . ?q rdf:type ontology:Q502895 . ?q property:P361 ?h } } GROUP BY ?h } . FILTER ( ?l = ?z ) }
action argmin
action union
action find_reverse_tuple_counts
relation part of
type release
type abstract being
action find_reverse_tuple_counts
relation part of
type release
type common name
[[{'concept': 'abstract being'}, {'concept': 'common name'}], 'part of', {'concept': 'release'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?t WHERE { { ?p property:part_of ?t . ?p rdf:type ontology:abstract_being . ?t rdf:type ontology:release } UNION { ?p property:part_of ?t . ?p rdf:type ontology:common_name . ?t rdf:type ontology:release } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) ?h WHERE { { ?q property:part_of ?h . ?h rdf:type ontology:release . ?q rdf:type ontology:abstract_being } UNION { ?h rdf:type ontology:release . ?q rdf:type ontology:common_name . ?q property:part_of ?h } } GROUP BY ?h } . FILTER ( ?l = ?z ) }
[]
release abstract being common name
Q238235 Q15303771 Q17444
SYSTEM
4, Ultraviolence, Nevermind
Q18668276 Q2259878 Q5327098 Q22905674 Q1967804 Q20979515 Q3131310 Q2359129 Q1933301 Q20720798 Q5104794 Q21084500 Q659074 Q906197 Q3291214 Q182518 Q1932439 Q125971 Q21168841 Q685052 Q167554 Q3060888 Q7752060 Q3343324 Q605647 Q207502 Q7766399 Q18672998 Q1110592 Q1320307 Q18595004 Q20966046 Q633086 Q20856974 Q7980595 Q23013518 Q5898023 Q3001961 Q368685 Q5215306 Q2758096 Q881779 Q819127 Q127290 Q3877970 Q4922487 Q16754649 Q1758905 Q10375407 Q13589268 Q128447 Q1754372 Q20668963 Q427931 Q383227 Q3344388 Q15867296 Q1753076 Q588352 Q758852 Q487940 Q754161 Q19824730 Q750081 Q258596 Q15978702 Q15303590 Q21055492 Q6094720 Q2910313 Q641620 Q27334705 Q1575143 Q20992216 Q20992199 Q3341149 Q24026 Q3319897 Q286119 Q1755175 Q27493764 Q3571785 Q1505992 Q7747510 Q17634975 Q1113520 Q2925982 Q839810 Q570912 Q19338028 Q1091268 Q10655091 Q20871917 Q2478017 Q15977840 Q7229869 Q646508 Q20251717 Q1741373 Q478324 Q290949 Q2354789 Q14895326 Q858834 Q331202 Q9019585 Q2701016 Q2703936 Q1123963 Q3106759 Q1165773 Q8074573 Q6085083 Q4692298 Q2314929 Q881794 Q3976261 Q3524689 Q3896235 Q17143269 Q207974 Q5351938 Q243789 Q5434280 Q3283144 Q907040 Q206216 Q1115709 Q2343821 Q17619599 Q679632 Q3283080 Q980181 Q14942394 Q223650 Q16266699 Q17644407 Q831846 Q256620 Q3266841 Q135417 Q14949096 Q15894143 Q746450 Q1077713 Q22817301 Q1756342 Q10320388 Q1933459 Q1215498 Q20064300 Q16736266 Q7898045 Q128455 Q605854 Q4940802 Q15176954 Q1448714 Q1940858 Q1933194 Q164621 Q3721252 Q220726 Q4356005 Q1159467 Q15716685 Q486489 Q11868947 Q18819806 Q19842284 Q17319538 Q22690274 Q19603949 Q2743297 Q20992208 Q748411 Q970795 Q205168 Q21136445 Q7316136 Q731908 Q158326 Q857963 Q217553 Q753497 Q14654427 Q1048260 Q2453134 Q15303771 Q27624956 Q1856485 Q3646276 Q372143 Q2093845 Q254078 Q1930674 Q21006348 Q45777 Q913568 Q17444 Q3502571 Q208340 Q3087190 Q7737168 Q2907255 Q280674 Q1084636 Q212915 Q3295515 Q131182 Q965613 Q193477 Q598845 Q3916380 Q3224956 Q7774904 Q200510 Q21044191 Q14930374 Q1554096 Q14774886 Q769442 Q18701894 Q14566706 Q266490 Q300424 Q1117729 Q13736294 Q2453076 Q5749108 Q1626941 Q2314940 Q22056596 Q129108 Q1096825 Q857935 Q18611028 Q838172 Q3920082 Q11861254 Q19627383 Q5265156 Q221254 Q5376854 Q7980677 Q286672 Q7621021 Q880433 Q2748612 Q117225 Q170176 Q10558883 Q725143 Q3666216 Q889228 Q20826648 Q7321964 Q213039 Q126988 Q109214 Q1025928 Q202996 Q1757878 Q547682 Q21055420 Q5485019 Q236009 Q193490 Q15978397 Q2783217 Q17034314 Q17011237 Q7560161 Q17429403 Q4875357 Q6214443 Q21152208 Q2077707 Q3281965 Q6011476 Q5151392 Q19314211 Q869738 Q25935 Q3341163 Q18677081 Q27157287 Q971320 Q971695 Q3148914 Q4001010 Q920214 Q185121 Q389281 Q274533 Q2997964 Q22162599 Q7766388 Q21286570 Q3298216 Q6532834 Q2604287 Q158740 Q20820515 Q538705 Q20856989 Q20687065 Q6455943 Q646521 Q1056754 Q1034694 Q526575 Q7091811 Q835555 Q45367 Q17747322 Q1536192 Q2717224 Q3505203 Q3281521 Q928878 Q1051791 Q150901 Q2997018 Q17127220 Q19832970 Q19824611 Q1056686 Q208676 Q129804 Q22678066 Q3641229 Q1026394 Q3228498 Q1348551 Q18198609 Q277517 Q27074247 Q7708784 Q750001 Q3352671 Q27131700 Q695405 Q164646 Q2453067 Q153391 Q21287593 Q3055193 Q1940908 Q201246 Q18607691 Q18002247 Q3421739 Q21174800 Q12062729 Q20857216 Q167517 Q14915957 Q129753 Q745712 Q15741930 Q842214 Q1130097 Q15978396 Q5377989 Q963159 Q735357 Q14745466 Q1323842 Q735959 Q284546 Q3862558 Q20988120 Q24185009 Q21835166 Q17013892 Q3818548 Q976540 Q7847346 Q238235 Q2303411
(c(Q15619164)|c(Q502895),P361,c(Q2031291))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q2031291
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q2031291
type Q502895
[ANSWERS] are min number of abstract beings and people a component of
[[{'concept': 'Q15619164'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q2031291'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?t WHERE { { ?p property:P361 ?t . ?p rdf:type ontology:Q15619164 . ?t rdf:type ontology:Q2031291 } UNION { ?p property:P361 ?t . ?p rdf:type ontology:Q502895 . ?t rdf:type ontology:Q2031291 } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) ?h WHERE { { ?q property:P361 ?h . ?h rdf:type ontology:Q2031291 . ?q rdf:type ontology:Q15619164 } UNION { ?h rdf:type ontology:Q2031291 . ?q rdf:type ontology:Q502895 . ?q property:P361 ?h } } GROUP BY ?h } . FILTER ( ?l = ?z ) }
Endless Forms Most Beautiful (album) Vintage Violence Earth Moving Digital Distortion Voices & Images Delirium (Ellie Goulding album) Rubber Factory Shifty Adventures in Nookie Wood Duran Duran Sugar Take Care Anti Aladdin Discovery Phenomenon A Hard Day's Night Congratulations My December 25 Paris 1919 Femme Fatale Mise à jour The Monkeys in the Zoo Have More Fun Than Me Non homologué HoboSapiens 21st Century Breakdown The State vs. Radric Davis Gipfelstürmer The Blueprint 3 Sokka irti Never Been Better Il bello d'esser brutti 2lor en moi? Michael Ray Welcome 2 Detroit 7/27 Hooked on Classics Cracked Rear View Living in Fear Dance the Devil Fear jvg.fi Supernatural Helen of Troy Non-Stop Black the Sun AKA Tasty Swingin Good Girl Gone Bad: Reloaded Artificial Intelligence Breaking Hearts Feu Drama Ten Not Accepted Anywhere New Eyes New Morning Rio Audio Secrecy Hurricane Venus Rebirth Jackie Selling England by the Pound Blue Train The Ascension Beyoncé Ensemble Quiero Bonnie and Clyde Seventh Son of a Seventh Son Lamento Planet Pit Horizon Show Me the Way È finita Full Moon, Dirty Hearts Mon frère Bionic Love Letters from Elvis Story of Hope Yannick Noah Scoundrel Days The Lion the Beast the Beat IPop Another Ticket Broken Silence The Massacre Rainbow Captain Disaster Islands Rika barn leka bäst Alpha Omega Seven and the Ragged Tiger The Collection Poquita Ropa Back to Basics Iso kuva Killer Love Erotica No Line on the Horizon Born in 69 Snow Globe It Won't Be Soon Before Long Stripped La Tierra del Olvido Lacrimosa MP3 Quadrophenia Love Moves Forever Zostaň Ismism AggroSantos.com Big Thing Mustaa kultaa Studentessi Third World Child Old Sock V Showbiz El Pueblo Unido Jamás Será Vencido Christina Aguilera Fantasy Black Channel Haddaway Polaris Animals U Gotta Feel Me Light Grenades +001 Mylo Xyloto Big Science Fanclub Sotke mut Amnesiac Shatter Me 16 This Is Me... Then Loyal to the Game Mar Maroon Prospekt's March The Hunger Games: Catching Fire – Original Motion Picture Soundtrack Voitolla yöhön I'm Breathless The Night the Sun Came Up Matters To Me Temple of the Dog Lucy Come to Life A Single Man En kommentoi 1000 Forms of Fear Up from Below Walking on Locusts Visions Bombshell 22 m² New Beginning Kapital Notorious The Fame Monster Electric Blue Kid A Euro IV Ever Love? Tree The First Album 01:59PM Kaikki kolmesta pahasta Rakkaudella merkitty mies Everything Is 4 The Endless River Figgatta de Blanc Chambre 12 Artpop The Light of Dreams Traveling Wilburys Vol. 1 The Idiot The Resistance Purpose Restless Pop The E.N.D Koodi Kings of Metal Exciter The Marshall Mathers LP 2 Thankful Pop Trash Ultraviolence 24K Wise Girl Delta Machine Low-Life All the Young Dudes The Kinks Are the Village Green Preservation Society Songs About Girls Made in the AM ABC Insomniac Nevermind Subliminal Loud Fredericks Goldman Jones The Good, the Bad and the Ugly BlackAcetate Five Miles Out Imperial Blaze Rated R The Beatles The Fame Murder Ballads A Night at the Opera Infidels Maailma on tehty meitä varten Le Métèque The Wild Tchoupitoulas Teen Dream Kunnes siitä tuli totta Boom Kah Guilty Kuka muu muka Brave American Beauty/American Psycho Racine Carrée Windows in the Jungle A Girl like Me (Rihanna album) London 0 Hull 4 Jansmit.com Astronaut Hey! Ten Out of 10 Liberty Zanaka Enter Incantations Chillaa Complètement fou J.Lo Paradise, Hawaiian Style Haloo Helsinki! Blurryface Destination Now Como Ama una Mujer Energique Welcome to Diverse City ABBA Straight No Chaser III New Amerykah Part One One Hot Minute Blackout Una seria Speak & Spell Changes One Think Tank 247365 Rhythm of the Pride Lands Let Go The Academy in Peril A Momentary Lapse of Reason All I Ever Wanted OK Computer Danmark/Denmark Vice Verses Yhdessä Enemmän kuin elää Talk That Talk Queen Freak & Chic Goodbye Country Silver The Live Set - Volume 1 Something Special Take Me With You Pictures of Moments Joey Lawrence Blue Neighbourhood It's Only Time Perfect Angel In a Special Way Comedia This Is Acting Crises Lotus Occidente AMK Dropout Wings (BTS album) Tubular Bells III Sweeter Imaginaire pur Twenity The Time of the Oath Revolver Aftermath Recovery Private Collection Unstoppable The State of Mind Report IOJK (IhanOmaJuttuKäynnis) Matangi Let Me Be Good to You Destiny Viva la vida or Death and All His Friends Vain elämää – Kausi 3 Päivä QE2 Nine Track Mind Get Weird L'homme qui me ressemble Mi Reflejo Don't Believe the Truth Heaven's Open On the 6 Once Upon a Christmas Dirt Unapologetic Hey Chameleon Red Carpet Massacre Five Miles Out The Power Station Sacré Géranium The Songs of Distant Earth The Dark Side of the Moon Corazones Repullinen hiittiä Lelu Communion Stronger Music of the Sun Tracy Chapman Hamilton Blurring the Edges Breakaway Le nuvole Walls of Jericho Listen Heartbreaker Dumbo Tha Thug Show Sing the Sorrow Ciara Sit Still, Look Pretty Rumours Born This Way Medazzaland Good Girl Gone Bad Prophecy of Sound Entre gris clair et gris foncé WAT Music of the Spheres The Endless River (bonus disc) Kiitos ei ole kirosana Rebel Les Amants parallèles Calling All Dawns Kiss Kiss Bang Bang Run Devil Run Terra Paper Trail The 2nd Law G I R L Fearless Late Registration Adult Music England Made Me The Trouble with Being Myself Tubular Bells II 1962–1966 and 1967–1970 Kaikki tai ei mitään Tha Blue Carpet Treatment Tr3s Lunas Monty Python's Life of Brian The Pink Album Soy Nikke tulee kotiin In the Lonely Hour L'amore è una cosa semplice Earth Moving True Beauty 4 Renaissance
4, Ultraviolence and Nevermind are min number of abstract beings and people a component of
4 Ultraviolence Nevermind
action argmin
action union
action find_reverse_tuple_counts
relation part of
type release
type abstract being
action find_reverse_tuple_counts
relation part of
type release
type common name
[[{'concept': 'abstract being'}, {'concept': 'common name'}], 'part of', {'concept': 'release'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?t WHERE { { ?p property:part_of ?t . ?p rdf:type ontology:abstract_being . ?t rdf:type ontology:release } UNION { ?p property:part_of ?t . ?p rdf:type ontology:common_name . ?t rdf:type ontology:release } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) ?h WHERE { { ?q property:part_of ?h . ?h rdf:type ontology:release . ?q rdf:type ontology:abstract_being } UNION { ?h rdf:type ontology:release . ?q rdf:type ontology:common_name . ?q property:part_of ?h } } GROUP BY ?h } . FILTER ( ?l = ?z ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q238235
P162
Q502895
USER
How many people produced 4 ?
(Q238235,P162,c(Q502895))
action count
action filter_type
action find
entity Q238235
relation P162
type Q502895
['Q238235', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q238235 property:P162 ?z . ?z rdf:type ontology:Q502895 }
4
action count
action filter_type
action find
entity 4
relation producer
type common name
['4', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:4 property:producer ?z . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q344983
(Q238235,P162,c(Q502895))
action count
action filter_type
action find
entity Q238235
relation P162
type Q502895
[ANSWER]
['Q238235', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q238235 property:P162 ?z . ?z rdf:type ontology:Q502895 }
Babyface
1
action count
action filter_type
action find
entity 4
relation producer
type common name
['4', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:4 property:producer ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q2410110
P162
Q502895
USER
And how about The Caller?
(Q2410110,P162,c(Q502895))
action count
action filter_type
action find
entity Q2410110
relation P162
type Q502895
['Q2410110', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Q2410110 property:P162 ?v . ?v rdf:type ontology:Q502895 }
The Caller
action count
action filter_type
action find
entity The Caller
relation producer
type common name
['The Caller', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:The_Caller property:producer ?v . ?v rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q3082871 Q738410
(Q2410110,P162,c(Q502895))
action count
action filter_type
action find
entity Q2410110
relation P162
type Q502895
[ANSWER]
['Q2410110', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Q2410110 property:P162 ?v . ?v rdf:type ontology:Q502895 }
Frank Yablans Charles Band
2
action count
action filter_type
action find
entity The Caller
relation producer
type common name
['The Caller', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:The_Caller property:producer ?v . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3512046
Q502895
USER
And what about Jurassic World?
(Q3512046,P162,c(Q502895))
action count
action filter_type
action find
entity Q3512046
relation P162
type Q502895
['Q3512046', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Q3512046 property:P162 ?s . ?s rdf:type ontology:Q502895 }
Jurassic World
action count
action filter_type
action find
entity Jurassic World
relation producer
type common name
['Jurassic World', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Jurassic_World property:producer ?s . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
3
(Q3512046,P162,c(Q502895))
action count
action filter_type
action find
entity Q3512046
relation P162
type Q502895
[ANSWER]
['Q3512046', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Q3512046 property:P162 ?s . ?s rdf:type ontology:Q502895 }
3
action count
action filter_type
action find
entity Jurassic World
relation producer
type common name
['Jurassic World', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { resource:Jurassic_World property:producer ?s . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q238235
P658
Q2031291 Q7725634
USER
How many releases and literary works were a part of 4 ?
(Q238235,P658,c(Q2031291)) (Q238235,P658,c(Q7725634))
action count
action union
action filter_type
action find
entity Q238235
relation P658
type Q2031291
action filter_type
action find
entity Q238235
relation P658
type Q7725634
['Q238235', 'P658', {'concept': 'Q2031291'}] ['Q238235', 'P658', {'concept': 'Q7725634'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { resource:Q238235 property:P658 ?m . ?m rdf:type ontology:Q7725634 } UNION { resource:Q238235 property:P658 ?m . ?m rdf:type ontology:Q2031291 } }
4
action count
action union
action filter_type
action find
entity 4
relation tracklist
type release
action filter_type
action find
entity 4
relation tracklist
type literary work
['4', 'tracklist', {'concept': 'release'}] ['4', 'tracklist', {'concept': 'literary work'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { resource:4 property:tracklist ?m . ?m rdf:type ontology:literary_work } UNION { resource:4 property:tracklist ?m . ?m rdf:type ontology:release } }
[]
release literary work
SYSTEM
5 releases and 9 literary works
Q1574201 Q947639 Q830333 Q7295632 Q5215242 Q10374082 Q2302943 Q5979662 Q679935 Q5978475 Q2777632 Q2703232 Q7432689 Q2528043
(Q238235,P658,c(Q2031291)) (Q238235,P658,c(Q7725634))
action count
action union
action filter_type
action find
entity Q238235
relation P658
type Q2031291
action filter_type
action find
entity Q238235
relation P658
type Q7725634
[ANSWER]
['Q238235', 'P658', {'concept': 'Q2031291'}] ['Q238235', 'P658', {'concept': 'Q7725634'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { resource:Q238235 property:P658 ?m . ?m rdf:type ontology:Q7725634 } UNION { resource:Q238235 property:P658 ?m . ?m rdf:type ontology:Q2031291 } }
Love on Top Run the World Best Thing I Never Had Rather Die Young Dance for You Start Over 1+1 I Was Here Countdown I Miss You I Care End of Time Schoolin' Life Party
5 releases and 9 literary works
action count
action union
action filter_type
action find
entity 4
relation tracklist
type release
action filter_type
action find
entity 4
relation tracklist
type literary work
['4', 'tracklist', {'concept': 'release'}] ['4', 'tracklist', {'concept': 'literary work'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { resource:4 property:tracklist ?m . ?m rdf:type ontology:literary_work } UNION { resource:4 property:tracklist ?m . ?m rdf:type ontology:release } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q2031291
USER
Which languages are the languages of work for around 669 releases ?
(c(Q2031291),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
value 669
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:P407 ?c . ?c rdf:type ontology:Q34770 . ?f rdf:type ontology:Q2031291 } GROUP BY ?c } . FILTER ( ?j = 669 ) }
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type release
value 669
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:language_of_work_or_name ?c . ?c rdf:type ontology:language . ?f rdf:type ontology:release } GROUP BY ?c } . FILTER ( ?j = 669 ) }
[]
language release
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q2031291),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
value 669
[ANSWERS] are the languages of work for around 669 releases
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:P407 ?c . ?c rdf:type ontology:Q34770 . ?f rdf:type ontology:Q2031291 } GROUP BY ?c } . FILTER ( ?j = 669 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are the languages of work for around 669 releases
Old Egyptian Old Church Slavonic Etruscan
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type release
value 669
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?j ) WHERE { ?f property:language_of_work_or_name ?c . ?c rdf:type ontology:language . ?f rdf:type ontology:release } GROUP BY ?c } . FILTER ( ?j = 669 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P364
Q34770 Q21114848 Q838948
USER
Which languages are the original languages of creation of atmost 15846 magazine genres and works of art ?
(c(Q21114848)|c(Q838948),P364,c(Q34770))
action atmost
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
value 15846
[[{'concept': 'Q21114848'}, {'concept': 'Q838948'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?c ) WHERE { { ?l property:P364 ?j . ?l rdf:type ontology:Q21114848 . ?j rdf:type ontology:Q34770 } UNION { ?l property:P364 ?j . ?j rdf:type ontology:Q34770 . ?l rdf:type ontology:Q838948 } } GROUP BY ?j } . FILTER ( ?c <= 15846 ) }
action atmost
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
value 15846
[[{'concept': 'magazine genre'}, {'concept': 'work of art'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?c ) WHERE { { ?l property:original_language_of_work ?j . ?l rdf:type ontology:magazine_genre . ?j rdf:type ontology:language } UNION { ?l property:original_language_of_work ?j . ?j rdf:type ontology:language . ?l rdf:type ontology:work_of_art } } GROUP BY ?j } . FILTER ( ?c <= 15846 ) }
[]
language magazine genre work of art
Q56530 Q182695 Q35499
SYSTEM
Wappo language, Late Old Japanese, Old Church Slavonic
Q132659 Q13414913 Q13211 Q35499 Q35668 Q8785 Q1072111 Q34909 Q36765 Q33251 Q18130932 Q35726 Q36206 Q1321 Q33976 Q397 Q10862919 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q56530 Q25164 Q36790 Q29977 Q182695 Q3110592 Q837985 Q783605
(c(Q21114848)|c(Q838948),P364,c(Q34770))
action atmost
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
value 15846
[ANSWERS] are the original languages of creation of atmost 15846 magazine genres and works of art
[[{'concept': 'Q21114848'}, {'concept': 'Q838948'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?c ) WHERE { { ?l property:P364 ?j . ?l rdf:type ontology:Q21114848 . ?j rdf:type ontology:Q34770 } UNION { ?l property:P364 ?j . ?j rdf:type ontology:Q34770 . ?l rdf:type ontology:Q838948 } } GROUP BY ?j } . FILTER ( ?c <= 15846 ) }
Egyptian hieroglyphs Simplified Chinese Ruthenian Old Church Slavonic Hittite Armenian Galician-Portuguese Old Icelandic Demotic Church Slavonic Traditional Chinese Etruscan Lak Spanish Sardinian language Latin Tibetan language Czech Basque classical Chinese Italian Old Norse language Bokmål Wappo language Nynorsk Sumerian Gaulish Late Old Japanese written Chinese Middle High German Written vernacular Chinese
Wappo language, Late Old Japanese and Old Church Slavonic are the original languages of creation of atmost 15846 magazine genres and works of art
Wappo language Late Old Japanese Old Church Slavonic
action atmost
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
value 15846
[[{'concept': 'magazine genre'}, {'concept': 'work of art'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?c ) WHERE { { ?l property:original_language_of_work ?j . ?l rdf:type ontology:magazine_genre . ?j rdf:type ontology:language } UNION { ?l property:original_language_of_work ?j . ?j rdf:type ontology:language . ?l rdf:type ontology:work_of_art } } GROUP BY ?j } . FILTER ( ?c <= 15846 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P37
Q34770 Q7275
USER
Which states have their official language as min number of languages ?
(c(Q7275),P37,c(Q34770))
action argmin
action find_tuple_counts
relation P37
type Q7275
type Q34770
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?x = ?j ) . { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?x ) WHERE { ?z property:P37 ?e . ?z rdf:type ontology:Q7275 . ?e rdf:type ontology:Q34770 } GROUP BY ?z } . { SELECT DISTINCT ( MIN ( ?w ) AS ?j ) { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?w ) WHERE { ?m rdf:type ontology:Q7275 . ?l rdf:type ontology:Q34770 . ?m property:P37 ?l } GROUP BY ?m } } }
action argmin
action find_tuple_counts
relation official language
type state
type language
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?x = ?j ) . { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?x ) WHERE { ?z property:official_language ?e . ?z rdf:type ontology:state . ?e rdf:type ontology:language } GROUP BY ?z } . { SELECT DISTINCT ( MIN ( ?w ) AS ?j ) { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?w ) WHERE { ?m rdf:type ontology:state . ?l rdf:type ontology:language . ?m property:official_language ?l } GROUP BY ?m } } }
[]
language state
Q15180 Q330988 Q147909
SYSTEM
Soviet Union, Democratic Kampuchea, Kingdom of Bulgaria
Q2444884 Q2145397 Q8146595 Q552157 Q4461035 Q218023 Q1493843 Q271570 Q303421 Q36704 Q23541302 Q3456417 Q75613 Q1269234 Q10874967 Q15180 Q696908 Q550374 Q14934927 Q220167 Q330988 Q842091 Q877579 Q147909 Q76236 Q319881 Q1136259 Q112558 Q1142179 Q7382038 Q7318 Q729768 Q212056 Q940741 Q21203 Q12490507 Q600018 Q107299 Q1029847 Q1044668 Q139319 Q1483430 Q11876909 Q150981 Q1362278 Q623751 Q633573
(c(Q7275),P37,c(Q34770))
action argmin
action find_tuple_counts
relation P37
type Q7275
type Q34770
[ANSWERS] have their official language as min number of languages
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?x = ?j ) . { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?x ) WHERE { ?z property:P37 ?e . ?z rdf:type ontology:Q7275 . ?e rdf:type ontology:Q34770 } GROUP BY ?z } . { SELECT DISTINCT ( MIN ( ?w ) AS ?j ) { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?w ) WHERE { ?m rdf:type ontology:Q7275 . ?l rdf:type ontology:Q34770 . ?m property:P37 ?l } GROUP BY ?m } } }
Tibet Goshen (South Africa) Upingtonia Nieuwe Republiek Akkadian empire Orange Free State Klein Vrystaat Kingdom of Araucanía and Patagonia Kingdom of Galicia Yugoslavia Kaluga Soviet Republic Republic of Saint-Malo Almoravid dynasty Stellaland People's Republic of Zhongtai Soviet Union Kingdom of Poland South African Republic Murrawarri Republic Lydenburg Republic Democratic Kampuchea Duchy of Normandy Kugelmugel Kingdom of Bulgaria Lithuanian–Belorussian Soviet Socialist Republic Republic of Taiwan Southwestern Somalia Republic of Saugeais Orange River Colony Imperial Throne Nazi Germany Zulu Kingdom Mongolian People's Republic Republic of Hungary Aruba Rashidun Caliphate Kingdom of Hungary Kingdom of Northumbria Natalia Republic Republic of Rose Island Russian Republic Principality of Kiev State of Brazil North German Confederation United States of Stellaland Kingdom of Bernicia Kingdom of Rheged
Soviet Union, Democratic Kampuchea and Kingdom of Bulgaria have their official language as min number of languages
Soviet Union Democratic Kampuchea Kingdom of Bulgaria
action argmin
action find_tuple_counts
relation official language
type state
type language
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?x = ?j ) . { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?x ) WHERE { ?z property:official_language ?e . ?z rdf:type ontology:state . ?e rdf:type ontology:language } GROUP BY ?z } . { SELECT DISTINCT ( MIN ( ?w ) AS ?j ) { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?w ) WHERE { ?m rdf:type ontology:state . ?l rdf:type ontology:language . ?m property:official_language ?l } GROUP BY ?m } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15180
P1532
Q502895
USER
Who play for that state ?
(c(Q502895),P1532,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q15180']
SELECT DISTINCT ?o WHERE { ?o property:P1532 resource:Q15180 . ?o rdf:type ontology:Q502895 }
Soviet Union
action filter_type
action find_reverse
entity Soviet Union
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Soviet Union']
SELECT DISTINCT ?o WHERE { ?o property:country_for_sport resource:Soviet_Union . ?o rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q330988
SYSTEM
Did you mean Democratic Kampuchea ?
Q15180 Q330988 Q147909
(c(Q502895),P1532,Q15180) (c(Q502895),P1532,Q330988) (c(Q502895),P1532,Q147909)
[ANSWER]
[{'concept': 'Q502895'}, 'P1532', 'Q15180'] [{'concept': 'Q502895'}, 'P1532', 'Q330988'] [{'concept': 'Q502895'}, 'P1532', 'Q147909']
SELECT DISTINCT ?o WHERE { ?o property:P1532 resource:Q15180 . ?o rdf:type ontology:Q502895 }
Soviet Union Democratic Kampuchea Kingdom of Bulgaria
Did you mean Democratic Kampuchea ?
Democratic Kampuchea
[{'concept': 'common name'}, 'country for sport', 'Soviet Union'] [{'concept': 'common name'}, 'country for sport', 'Democratic Kampuchea'] [{'concept': 'common name'}, 'country for sport', 'Kingdom of Bulgaria']
SELECT DISTINCT ?o WHERE { ?o property:country_for_sport resource:Soviet_Union . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Soviet Union. Could you tell me the answer for that?
(c(Q502895),P1532,Q15180)
Q15180
[{'concept': 'Q502895'}, 'P1532', 'Q15180']
[{'concept': 'common name'}, 'country for sport', 'Soviet Union']
[]
Q16027962 Q23907451 Q22083771
SYSTEM
Dmitriy Golovastov, Mikhail Dasko, Sergey Usov
Q24260019 Q23009948 Q23825718 Q519287 Q12875297 Q22968970 Q22083771 Q4156355 Q24196122 Q23043630 Q5285499 Q11790031 Q22679553 Q24260158 Q26197060 Q3561782 Q23837660 Q23833052 Q9336218 Q15728084 Q15894440 Q21675869 Q21673736 Q2272717 Q1187700 Q23833602 Q349863 Q16027962 Q23012839 Q24260264 Q26197079 Q275093 Q23907451
(c(Q502895),P1532,Q15180)
action filter_type
action find_reverse
entity Q15180
relation P1532
type Q502895
[ANSWERS] play for that state
[{'concept': 'Q502895'}, 'P1532', 'Q15180']
SELECT DISTINCT ?o WHERE { ?o property:P1532 resource:Q15180 . ?o rdf:type ontology:Q502895 }
Irena Ozhenko Irina Bondarchuk Stanislav Vezhel Marina Ivanova-Kharlamova Yuri Filippov Nadezhda Stepanova Sergey Usov Aleksandra Grigoryeva Sergey Gavryushin Andrey Sudnik Dmitri Gromov Natalya Shubenkova Eva Sokolova Lyubov Smolka Vera Chuvashova Vladimir Graudyn Aleksandr Shcherbina Anatoliy Gorshkov Sergey Kasnauskas Tamara Sorokina Tatyana Grebenchuk Pavel Galkin Olga Gavrilova Sergey Nikolayev Denis Kapustin Natalya Serbinenko Ruslan Ashuraliyev Dmitriy Golovastov Lidiya Yurkova Vyacheslav Korovin Marina Antonyuk Valentina Tikhomirova Mikhail Dasko
Dmitriy Golovastov, Mikhail Dasko and Sergey Usov play for that state
Dmitriy Golovastov Mikhail Dasko Sergey Usov
action filter_type
action find_reverse
entity Soviet Union
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Soviet Union']
SELECT DISTINCT ?o WHERE { ?o property:country_for_sport resource:Soviet_Union . ?o rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22083771
P1532
Q15617994
USER
Which administrative territory does that person play for ?
(Q22083771,P1532,c(Q15617994))
action filter_type
action find
entity Q22083771
relation P1532
type Q15617994
['Q22083771', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q22083771 property:P1532 ?c . ?c rdf:type ontology:Q15617994 }
Sergey Usov
action filter_type
action find
entity Sergey Usov
relation country for sport
type designation for an administrative territorial entity
['Sergey Usov', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Sergey_Usov property:country_for_sport ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q16027962
SYSTEM
Did you mean Dmitriy Golovastov ?
Q16027962 Q23907451 Q22083771
(Q16027962,P1532,c(Q15617994)) (Q23907451,P1532,c(Q15617994)) (Q22083771,P1532,c(Q15617994))
[ANSWER]
['Q16027962', 'P1532', {'concept': 'Q15617994'}] ['Q23907451', 'P1532', {'concept': 'Q15617994'}] ['Q22083771', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q22083771 property:P1532 ?c . ?c rdf:type ontology:Q15617994 }
Dmitriy Golovastov Mikhail Dasko Sergey Usov
Did you mean Dmitriy Golovastov ?
Dmitriy Golovastov
['Dmitriy Golovastov', 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ['Mikhail Dasko', 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ['Sergey Usov', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Sergey_Usov property:country_for_sport ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Sergey Usov. Could you tell me the answer for that?
(Q22083771,P1532,c(Q15617994))
Q22083771
['Q22083771', 'P1532', {'concept': 'Q15617994'}]
['Sergey Usov', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
[]
Q184
SYSTEM
Belarus
Q184
(Q22083771,P1532,c(Q15617994))
action filter_type
action find
entity Q22083771
relation P1532
type Q15617994
That person plays for [ANSWER]
['Q22083771', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q22083771 property:P1532 ?c . ?c rdf:type ontology:Q15617994 }
Belarus
That person plays for Belarus
Belarus
action filter_type
action find
entity Sergey Usov
relation country for sport
type designation for an administrative territorial entity
['Sergey Usov', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Sergey_Usov property:country_for_sport ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]