Simple Question (Direct)
Simple Question
Q501955
P166
Q618779
USER
What was received by Harry Glancy ?
(Q501955,P166,c(Q618779))
action filter_type
action find
entity Q501955
relation P166
type Q618779
['Q501955', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q501955 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Harry Glancy
action filter_type
action find
entity Harry Glancy
relation award received
type award
['Harry Glancy', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Harry_Glancy property:award_received ?f . ?f rdf:type ontology:award }
[]
award
Q744713
SYSTEM
International Swimming Hall of Fame
Q744713
(Q501955,P166,c(Q618779))
action filter_type
action find
entity Q501955
relation P166
type Q618779
In [ANSWER] was received by Harry Glancy
['Q501955', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q501955 property:P166 ?f . ?f rdf:type ontology:Q618779 }
International Swimming Hall of Fame
In International Swimming Hall of Fame was received by Harry Glancy
International Swimming Hall of Fame
action filter_type
action find
entity Harry Glancy
relation award received
type award
['Harry Glancy', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Harry_Glancy property:award_received ?f . ?f rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q744713
P463
Q502895
USER
Which person is a part of that award ?
(c(Q502895),P463,Q744713)
action filter_type
action find_reverse
entity Q744713
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q744713']
SELECT DISTINCT ?t WHERE { ?t property:P463 resource:Q744713 . ?t rdf:type ontology:Q502895 }
International Swimming Hall of Fame
action filter_type
action find_reverse
entity International Swimming Hall of Fame
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'International Swimming Hall of Fame']
SELECT DISTINCT ?t WHERE { ?t property:member_of resource:International_Swimming_Hall_of_Fame . ?t rdf:type ontology:common_name }
[]
common name
Q1111903
SYSTEM
László Kiss
Q1111903
(c(Q502895),P463,Q744713)
action filter_type
action find_reverse
entity Q744713
relation P463
type Q502895
[ANSWER] is a part of that award
[{'concept': 'Q502895'}, 'P463', 'Q744713']
SELECT DISTINCT ?t WHERE { ?t property:P463 resource:Q744713 . ?t rdf:type ontology:Q502895 }
László Kiss
László Kiss is a part of that award
László Kiss
action filter_type
action find_reverse
entity International Swimming Hall of Fame
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'International Swimming Hall of Fame']
SELECT DISTINCT ?t WHERE { ?t property:member_of resource:International_Swimming_Hall_of_Fame . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q744713
P641
Q349
USER
Which sport was International Swimming Hall of Fame a part of ?
(Q744713,P641,c(Q349))
action filter_type
action find
entity Q744713
relation P641
type Q349
['Q744713', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q349 . resource:Q744713 property:P641 ?h }
International Swimming Hall of Fame
action filter_type
action find
entity International Swimming Hall of Fame
relation sport
type sport
['International Swimming Hall of Fame', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sport . resource:International_Swimming_Hall_of_Fame property:sport ?h }
[]
sport
Q31920
SYSTEM
swimming
Q31920
(Q744713,P641,c(Q349))
action filter_type
action find
entity Q744713
relation P641
type Q349
The [ANSWER] was International [ANSWER] Hall of Fame a part of
['Q744713', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q349 . resource:Q744713 property:P641 ?h }
swimming
The swimming was International Swimming Hall of Fame a part of
swimming
action filter_type
action find
entity International Swimming Hall of Fame
relation sport
type sport
['International Swimming Hall of Fame', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sport . resource:International_Swimming_Hall_of_Fame property:sport ?h }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q512779 Q744713
P641
Q349
USER
Or Gheorghe Popescu I?
OR((Q744713,P641,c(Q349)), (Q512779,P641,c(Q349)))
action filter_type
action union
action find
entity Q744713
relation P641
action find
entity Q512779
relation P641
type Q349
{'OR': [['Q744713', 'P641', {'concept': 'Q349'}], ['Q512779', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q744713 property:P641 ?f } UNION { resource:Q512779 property:P641 ?f } } . ?f rdf:type ontology:Q349 }
Gheorghe Popescu I International Swimming Hall of Fame
action filter_type
action union
action find
entity International Swimming Hall of Fame
relation sport
action find
entity Gheorghe Popescu I
relation sport
type sport
{'OR': [['International Swimming Hall of Fame', 'sport', {'concept': 'sport'}], ['Gheorghe Popescu I', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?f WHERE { { { resource:International_Swimming_Hall_of_Fame property:sport ?f } UNION { resource:Gheorghe_Popescu_I property:sport ?f } } . ?f rdf:type ontology:sport }
[]
sport
Q31920 Q2736
SYSTEM
swimming, association football
Q31920 Q2736
OR((Q744713,P641,c(Q349)), (Q512779,P641,c(Q349)))
action filter_type
action union
action find
entity Q744713
relation P641
action find
entity Q512779
relation P641
type Q349
[ANSWERS]
{'OR': [['Q744713', 'P641', {'concept': 'Q349'}], ['Q512779', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q744713 property:P641 ?f } UNION { resource:Q512779 property:P641 ?f } } . ?f rdf:type ontology:Q349 }
swimming association football
swimming association football
action filter_type
action union
action find
entity International Swimming Hall of Fame
relation sport
action find
entity Gheorghe Popescu I
relation sport
type sport
{'OR': [['International Swimming Hall of Fame', 'sport', {'concept': 'sport'}], ['Gheorghe Popescu I', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?f WHERE { { { resource:International_Swimming_Hall_of_Fame property:sport ?f } UNION { resource:Gheorghe_Popescu_I property:sport ?f } } . ?f rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1276024
P641
Q618123
USER
Does ESV Lokomotive Zwickau play those sports ?
(Q1276024,P641,Q31920) (Q1276024,P641,Q2736)
action is_in
entity prev_answer
action find
entity Q1276024
relation P641
['Q1276024', 'P641', 'Q31920'] ['Q1276024', 'P641', 'Q2736']
ASK WHERE { VALUES ( ?v ) { ( resource:Q31920 ) ( resource:Q2736 ) } . resource:Q1276024 property:P641 ?v }
ESV Lokomotive Zwickau
action is_in
entity prev_answer
action find
entity ESV Lokomotive Zwickau
relation sport
['ESV Lokomotive Zwickau', 'sport', 'swimming'] ['ESV Lokomotive Zwickau', 'sport', 'association football']
ASK WHERE { VALUES ( ?v ) { ( resource:swimming ) ( resource:association_football ) } . resource:ESV_Lokomotive_Zwickau property:sport ?v }
[]
geographical object
SYSTEM
YES
(Q1276024,P641,Q31920) (Q1276024,P641,Q2736)
action is_in
entity prev_answer
action find
entity Q1276024
relation P641
[ANSWER]
['Q1276024', 'P641', 'Q31920'] ['Q1276024', 'P641', 'Q2736']
ASK WHERE { VALUES ( ?v ) { ( resource:Q31920 ) ( resource:Q2736 ) } . resource:Q1276024 property:P641 ?v }
Yes
action is_in
entity prev_answer
action find
entity ESV Lokomotive Zwickau
relation sport
['ESV Lokomotive Zwickau', 'sport', 'swimming'] ['ESV Lokomotive Zwickau', 'sport', 'association football']
ASK WHERE { VALUES ( ?v ) { ( resource:swimming ) ( resource:association_football ) } . resource:ESV_Lokomotive_Zwickau property:sport ?v }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q16 Q744713
P27 P166
Q502895
USER
Which people were awarded with International Swimming Hall of Fame and do n't have nationality of Canada ?
AND((c(Q502895),P166,Q744713), NOT((c(Q502895),P27,Q16)))
action filter_type
action difference
action find_reverse
entity Q744713
relation P166
action find_reverse
entity Q16
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q744713'], {'NOT': [[{'concept': 'Q502895'}, 'P27', 'Q16']]}]}
SELECT DISTINCT ?g WHERE { ?g property:P166 resource:Q744713 . MINUS { ?g property:P27 resource:Q16 } . ?g rdf:type ontology:Q502895 }
Canada International Swimming Hall of Fame
action filter_type
action difference
action find_reverse
entity International Swimming Hall of Fame
relation award received
action find_reverse
entity Canada
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'International Swimming Hall of Fame'], {'NOT': [[{'concept': 'common name'}, 'country of citizenship', 'Canada']]}]}
SELECT DISTINCT ?g WHERE { ?g property:award_received resource:International_Swimming_Hall_of_Fame . MINUS { ?g property:country_of_citizenship resource:Canada } . ?g rdf:type ontology:common_name }
[]
common name
Q920578 Q795593 Q7173972 Q1909548 Q2304109 Q1176824 Q1384683 Q177969 Q709511 Q525991
SYSTEM
Some of them are Tom Dolan, Mike Troy, Peter Fick, Matt Vogel, Alan Ford, David Theile, Kevin Berry, Matt Biondi, Frederick Lane, Rick Carey
Q447759 Q127672 Q271514 Q891096 Q953469 Q1344170 Q1365152 Q173912 Q1240159 Q3979087 Q2246530 Q274655 Q3549251 Q1927099 Q434511 Q427316 Q795593 Q720290 Q151284 Q2306394 Q640504 Q3431145 Q446456 Q1384683 Q962562 Q45350 Q442371 Q16106110 Q271560 Q1909548 Q7795749 Q362197 Q433137 Q232395 Q456631 Q454086 Q450583 Q1095849 Q546225 Q182356 Q921349 Q267106 Q271452 Q513082 Q2301894 Q742739 Q1385348 Q779886 Q1343677 Q2152996 Q263287 Q7173972 Q597975 Q1369361 Q237855 Q7188569 Q442064 Q6483447 Q6208731 Q6409092 Q724963 Q442385 Q722156 Q2467085 Q1173739 Q2471835 Q709511 Q621089 Q290642 Q231374 Q350531 Q616176 Q7490058 Q1818611 Q7493840 Q238107 Q504094 Q772038 Q2304109 Q241831 Q15437231 Q372078 Q532827 Q6152216 Q6904842 Q180748 Q271388 Q2326219 Q911603 Q2129600 Q726281 Q724732 Q328702 Q551257 Q1252486 Q3440011 Q703944 Q434527 Q5336441 Q851867 Q261650 Q120770 Q953585 Q1333298 Q502172 Q362362 Q290831 Q238782 Q287379 Q796771 Q502995 Q57404 Q1370741 Q11722383 Q501955 Q352834 Q706637 Q6239234 Q262327 Q267110 Q541156 Q546684 Q273669 Q796687 Q231011 Q267099 Q450907 Q1176824 Q233569 Q1575698 Q1675686 Q241794 Q229040 Q49286 Q446555 Q450920 Q1393698 Q241816 Q2279458 Q1523858 Q3666709 Q436198 Q4711468 Q5039584 Q626152 Q453268 Q271524 Q1371916 Q652850 Q234977 Q494284 Q273690 Q238256 Q1440092 Q3984810 Q331620 Q237828 Q545777 Q165894 Q724709 Q21009749 Q1188587 Q261681 Q1293774 Q365414 Q2896667 Q920578 Q175645 Q2297705 Q257114 Q459259 Q685026 Q5365338 Q7148698 Q709915 Q7689948 Q3505675 Q449712 Q641810 Q269814 Q744156 Q138627 Q373001 Q2053227 Q525991 Q6501642 Q1317528 Q7694139 Q274318 Q1368492 Q3663603 Q1422886 Q3440052 Q253529 Q177969 Q270296 Q453194 Q123688 Q3157205 Q4355077 Q8138839 Q2092869 Q581786 Q1379957 Q1385916 Q991648 Q3991367 Q5233267 Q240338 Q4765596 Q912241
AND((c(Q502895),P166,Q744713), NOT((c(Q502895),P27,Q16)))
action filter_type
action difference
action find_reverse
entity Q744713
relation P166
action find_reverse
entity Q16
relation P27
type Q502895
[ANSWERS] were awarded with International Swimming Hall of Fame and do n't have nationality of Canada
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q744713'], {'NOT': [[{'concept': 'Q502895'}, 'P27', 'Q16']]}]}
SELECT DISTINCT ?g WHERE { ?g property:P166 resource:Q744713 . MINUS { ?g property:P27 resource:Q16 } . ?g rdf:type ontology:Q502895 }
Sharon Wichman John Devitt Fanny Durack Ford Konno Wally Ris Bob Windle John Konrads Gary Hall, Sr. Don McKenzie Sylvia Ruuska Katherine Rawls Lucy Morton Frank McKinney Mike Bruner Beverley Whitfield William Henry Mike Troy Harry Hebner Johnny Weissmuller Joyce Cooper Mike Burton Richard Quick Anita Lonsbrough Kevin Berry Henry Taylor Susie O'Neill Lillian Watson Tom Stock Jan Henne Matt Vogel Thompson Mann Kieren Perkins Anthony Nesty Esther Williams Eleanor Holm Margaret Woodbridge Clare Dennis Clarke Scholes Tracey Wickham Mary Wayte Mariechen Wehselau Carolyn Schuler Michelle Ford Megan Neyer John Marshall Rick DeMont Melvin Stewart Brad Cooper Jon Henricks Jennie Fletcher Gertrude Ederle Peter Fick Steve Lundquist Bill Mulliken Ann Curtis Phyllis Harding Cathy Ferguson Lance Larson Joe Bottom Kim Linehan Jimmy McLane Ethel Lackie Buster Crabbe Sydney Battersby David Berkoff Yoshihiko Osaki Frederick Lane Jack Medica John Kinsella Shane Gould Don Schollander Jed Graef Sharon Finneran Leo Goodwin Shelley Taylor-Smith Debbie Meyer Boy Charlton Joe Verdeur Alan Ford Sharon Stouder Randy Reese Chet Jastremski Charles Daniels Jane Fauntz Monte Nitzkowski Mark Spitz Eleanor Garatti Dick Cleveland Norman Ross Ralph Flanagan Pablo Morales Gunnar Larsson Dick Roth Paulo Radmilovic Doug Russell Lenore Kight Jeff Rouse Shelley Mann Eddie Reese Mina Wylie Tiffany Cohen Summer Sanders Cecil Healy Frank Beaurepaire Wally O'Connor Murray Rose Claudia Kolb Tracy Caulkins Cathy Carr Allen Stack John Hencken Michael Gross Steve Clark Jack Nelson Harry Glancy Jeff Farrell Michael Wenden John Higgins Nancy Hogshead-Makar Lynn Burke Judy Grinham Betsy Mitchell Ginny Duenkel Frederick Holman Jenny Thompson Keena Rothhammer Gail Neall David Theile Amy Van Dyken Tim Shaw Mike McDermott Melissa Belote Dawn Fraser Janet Evans Charlie Hickcox Sybil Bauer Joe Ruddy Ethelda Bleibtrey Jill Sterkel Irene Guest Charlotte Boyle John Naber Albert Wiggins Carin Cone Jim Montgomery Susan Pedersen Carrie Steinseifer Stephen Holland Duncan Armstrong Mary T. Meagher Carl Robie Karen Moe Helene Madison George Kojac Terry Gathercole William Yorzyk Sandy Neilson John Arthur Jarvis John Davies Mike Barrowman Austin Rawlinson Bob Skelton Lorraine Crapp Edward Stickles Adolph Kiefer Jesse Vassallo Tom Dolan Louis Handley Ilsa Konrads Martha Norelius Rowdy Gaines Tom Jager Ellie Daniel Patty Caretto Danyon Loader Taylor Drysdale Susie Atwood Josephine McKim John Derbyshire Donna de Varona George Breen David Wilkie Kathy Ellis Cynthia Woodhead Rick Carey Laurie Lawrence Jerry Heidenreich Tedford Harris Cann Albina Osipowich Yoshi Oyakawa Catie Ball Walter Laufer Al Vande Weghe Shirley Babashoff Matt Biondi Aileen Riggin Kaye Hall Duke Kahanamoku Jack Hatfield Belle Moore Ludy Langer Perry McGillivray Roy Saari Ian O'Brien Warren Kealoha Bruce Furniss Tim McKee David Edgar Chris von Saltza Anita Nall Brian Goodell
Tom Dolan, Mike Troy, Peter Fick, Matt Vogel, Alan Ford, David Theile, Kevin Berry, Matt Biondi, Frederick Lane and Rick Carey were awarded with International Swimming Hall of Fame and do n't have nationality of Canada
Tom Dolan Mike Troy Peter Fick Matt Vogel Alan Ford David Theile Kevin Berry Matt Biondi Frederick Lane Rick Carey
action filter_type
action difference
action find_reverse
entity International Swimming Hall of Fame
relation award received
action find_reverse
entity Canada
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'International Swimming Hall of Fame'], {'NOT': [[{'concept': 'common name'}, 'country of citizenship', 'Canada']]}]}
SELECT DISTINCT ?g WHERE { ?g property:award_received resource:International_Swimming_Hall_of_Fame . MINUS { ?g property:country_of_citizenship resource:Canada } . ?g rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q12737077 Q151885
USER
How many occupations or concepts have that person as his/her as a career ?
(Q1176824,P106,c(Q12737077)) (Q1176824,P106,c(Q151885)) (Q920578,P106,c(Q12737077)) (Q920578,P106,c(Q151885)) (Q795593,P106,c(Q12737077)) (Q795593,P106,c(Q151885)) (Q7173972,P106,c(Q12737077)) (Q7173972,P106,c(Q151885)) (Q1909548,P106,c(Q12737077)) (Q1909548,P106,c(Q151885)) (Q2304109,P106,c(Q12737077)) (Q2304109,P106,c(Q151885)) (Q1176824,P106,c(Q12737077)) (Q1176824,P106,c(Q151885)) (Q1384683,P106,c(Q12737077)) (Q1384683,P106,c(Q151885)) (Q177969,P106,c(Q12737077)) (Q177969,P106,c(Q151885)) (Q709511,P106,c(Q12737077)) (Q709511,P106,c(Q151885)) (Q525991,P106,c(Q12737077)) (Q525991,P106,c(Q151885))
['Q1176824', 'P106', {'concept': 'Q12737077'}] ['Q1176824', 'P106', {'concept': 'Q151885'}] ['Q920578', 'P106', {'concept': 'Q12737077'}] ['Q920578', 'P106', {'concept': 'Q151885'}] ['Q795593', 'P106', {'concept': 'Q12737077'}] ['Q795593', 'P106', {'concept': 'Q151885'}] ['Q7173972', 'P106', {'concept': 'Q12737077'}] ['Q7173972', 'P106', {'concept': 'Q151885'}] ['Q1909548', 'P106', {'concept': 'Q12737077'}] ['Q1909548', 'P106', {'concept': 'Q151885'}] ['Q2304109', 'P106', {'concept': 'Q12737077'}] ['Q2304109', 'P106', {'concept': 'Q151885'}] ['Q1176824', 'P106', {'concept': 'Q12737077'}] ['Q1176824', 'P106', {'concept': 'Q151885'}] ['Q1384683', 'P106', {'concept': 'Q12737077'}] ['Q1384683', 'P106', {'concept': 'Q151885'}] ['Q177969', 'P106', {'concept': 'Q12737077'}] ['Q177969', 'P106', {'concept': 'Q151885'}] ['Q709511', 'P106', {'concept': 'Q12737077'}] ['Q709511', 'P106', {'concept': 'Q151885'}] ['Q525991', 'P106', {'concept': 'Q12737077'}] ['Q525991', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1176824 property:Q528892 ?z } UNION { resource:Q1176824 property:Q528892 ?y } UNION { resource:Q920578 property:Q528892 ?z } UNION { resource:Q920578 property:Q528892 ?y } UNION { resource:Q795593 property:Q528892 ?z } UNION { resource:Q795593 property:Q528892 ?y } UNION { resource:Q7173972 property:Q528892 ?z } UNION { resource:Q7173972 property:Q528892 ?y } UNION { resource:Q1909548 property:Q528892 ?z } UNION { resource:Q1909548 property:Q528892 ?y } UNION { resource:Q2830505 property:Q528892 ?z } UNION { resource:Q2830505 property:Q528892 ?y } UNION { resource:Q1176824 property:Q528892 ?z } UNION { resource:Q1176824 property:Q528892 ?y } UNION { resource:Q1384683 property:Q528892 ?z } UNION { resource:Q1384683 property:Q528892 ?y } UNION { resource:Q177969 property:Q528892 ?z } UNION { resource:Q177969 property:Q528892 ?y } UNION { resource:Q23928988 property:Q528892 ?z } UNION { resource:Q23928988 property:Q528892 ?y } UNION { resource:Q525991 property:Q528892 ?z } UNION { resource:Q525991 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q151885 }
['David Theile', 'occupation', {'concept': 'occupation'}] ['David Theile', 'occupation', {'concept': 'concept'}] ['Tom Dolan', 'occupation', {'concept': 'occupation'}] ['Tom Dolan', 'occupation', {'concept': 'concept'}] ['Mike Troy', 'occupation', {'concept': 'occupation'}] ['Mike Troy', 'occupation', {'concept': 'concept'}] ['Peter Fick', 'occupation', {'concept': 'occupation'}] ['Peter Fick', 'occupation', {'concept': 'concept'}] ['Matt Vogel', 'occupation', {'concept': 'occupation'}] ['Matt Vogel', 'occupation', {'concept': 'concept'}] ['Alan Ford', 'occupation', {'concept': 'occupation'}] ['Alan Ford', 'occupation', {'concept': 'concept'}] ['David Theile', 'occupation', {'concept': 'occupation'}] ['David Theile', 'occupation', {'concept': 'concept'}] ['Kevin Berry', 'occupation', {'concept': 'occupation'}] ['Kevin Berry', 'occupation', {'concept': 'concept'}] ['Matt Biondi', 'occupation', {'concept': 'occupation'}] ['Matt Biondi', 'occupation', {'concept': 'concept'}] ['Frederick Lane', 'occupation', {'concept': 'occupation'}] ['Frederick Lane', 'occupation', {'concept': 'concept'}] ['Rick Carey', 'occupation', {'concept': 'occupation'}] ['Rick Carey', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:David_Theile property:occupation ?z } UNION { resource:David_Theile property:occupation ?y } UNION { resource:Tom_Dolan property:occupation ?z } UNION { resource:Tom_Dolan property:occupation ?y } UNION { resource:Mike_Troy property:occupation ?z } UNION { resource:Mike_Troy property:occupation ?y } UNION { resource:Peter_Fick property:occupation ?z } UNION { resource:Peter_Fick property:occupation ?y } UNION { resource:Matt_Vogel property:occupation ?z } UNION { resource:Matt_Vogel property:occupation ?y } UNION { resource:Alan_Ford property:occupation ?z } UNION { resource:Alan_Ford property:occupation ?y } UNION { resource:David_Theile property:occupation ?z } UNION { resource:David_Theile property:occupation ?y } UNION { resource:Kevin_Berry property:occupation ?z } UNION { resource:Kevin_Berry property:occupation ?y } UNION { resource:Matt_Biondi property:occupation ?z } UNION { resource:Matt_Biondi property:occupation ?y } UNION { resource:Frederick_Lane property:occupation ?z } UNION { resource:Frederick_Lane property:occupation ?y } UNION { resource:Rick_Carey property:occupation ?z } UNION { resource:Rick_Carey property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:concept }
[]
occupation concept
Quantitative|Count|Mult. entity type|Clarification
Q177969
SYSTEM
Did you mean Matt Biondi ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1176824 property:Q528892 ?z } UNION { resource:Q1176824 property:Q528892 ?y } UNION { resource:Q920578 property:Q528892 ?z } UNION { resource:Q920578 property:Q528892 ?y } UNION { resource:Q795593 property:Q528892 ?z } UNION { resource:Q795593 property:Q528892 ?y } UNION { resource:Q7173972 property:Q528892 ?z } UNION { resource:Q7173972 property:Q528892 ?y } UNION { resource:Q1909548 property:Q528892 ?z } UNION { resource:Q1909548 property:Q528892 ?y } UNION { resource:Q2830505 property:Q528892 ?z } UNION { resource:Q2830505 property:Q528892 ?y } UNION { resource:Q1176824 property:Q528892 ?z } UNION { resource:Q1176824 property:Q528892 ?y } UNION { resource:Q1384683 property:Q528892 ?z } UNION { resource:Q1384683 property:Q528892 ?y } UNION { resource:Q177969 property:Q528892 ?z } UNION { resource:Q177969 property:Q528892 ?y } UNION { resource:Q23928988 property:Q528892 ?z } UNION { resource:Q23928988 property:Q528892 ?y } UNION { resource:Q525991 property:Q528892 ?z } UNION { resource:Q525991 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q151885 }
Did you mean Matt Biondi ?
Matt Biondi
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:David_Theile property:occupation ?z } UNION { resource:David_Theile property:occupation ?y } UNION { resource:Tom_Dolan property:occupation ?z } UNION { resource:Tom_Dolan property:occupation ?y } UNION { resource:Mike_Troy property:occupation ?z } UNION { resource:Mike_Troy property:occupation ?y } UNION { resource:Peter_Fick property:occupation ?z } UNION { resource:Peter_Fick property:occupation ?y } UNION { resource:Matt_Vogel property:occupation ?z } UNION { resource:Matt_Vogel property:occupation ?y } UNION { resource:Alan_Ford property:occupation ?z } UNION { resource:Alan_Ford property:occupation ?y } UNION { resource:David_Theile property:occupation ?z } UNION { resource:David_Theile property:occupation ?y } UNION { resource:Kevin_Berry property:occupation ?z } UNION { resource:Kevin_Berry property:occupation ?y } UNION { resource:Matt_Biondi property:occupation ?z } UNION { resource:Matt_Biondi property:occupation ?y } UNION { resource:Frederick_Lane property:occupation ?z } UNION { resource:Frederick_Lane property:occupation ?y } UNION { resource:Rick_Carey property:occupation ?z } UNION { resource:Rick_Carey property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:concept }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant David Theile. Could you tell me the answer for that?
(Q1176824,P106,c(Q12737077)) (Q1176824,P106,c(Q151885)) (Q920578,P106,c(Q12737077)) (Q920578,P106,c(Q151885)) (Q795593,P106,c(Q12737077)) (Q795593,P106,c(Q151885)) (Q7173972,P106,c(Q12737077)) (Q7173972,P106,c(Q151885)) (Q1909548,P106,c(Q12737077)) (Q1909548,P106,c(Q151885)) (Q2304109,P106,c(Q12737077)) (Q2304109,P106,c(Q151885)) (Q1176824,P106,c(Q12737077)) (Q1176824,P106,c(Q151885)) (Q1384683,P106,c(Q12737077)) (Q1384683,P106,c(Q151885)) (Q177969,P106,c(Q12737077)) (Q177969,P106,c(Q151885)) (Q709511,P106,c(Q12737077)) (Q709511,P106,c(Q151885)) (Q525991,P106,c(Q12737077)) (Q525991,P106,c(Q151885))
Q1176824
['Q1176824', 'P106', {'concept': 'Q12737077'}] ['Q1176824', 'P106', {'concept': 'Q151885'}] ['Q920578', 'P106', {'concept': 'Q12737077'}] ['Q920578', 'P106', {'concept': 'Q151885'}] ['Q795593', 'P106', {'concept': 'Q12737077'}] ['Q795593', 'P106', {'concept': 'Q151885'}] ['Q7173972', 'P106', {'concept': 'Q12737077'}] ['Q7173972', 'P106', {'concept': 'Q151885'}] ['Q1909548', 'P106', {'concept': 'Q12737077'}] ['Q1909548', 'P106', {'concept': 'Q151885'}] ['Q2304109', 'P106', {'concept': 'Q12737077'}] ['Q2304109', 'P106', {'concept': 'Q151885'}] ['Q1176824', 'P106', {'concept': 'Q12737077'}] ['Q1176824', 'P106', {'concept': 'Q151885'}] ['Q1384683', 'P106', {'concept': 'Q12737077'}] ['Q1384683', 'P106', {'concept': 'Q151885'}] ['Q177969', 'P106', {'concept': 'Q12737077'}] ['Q177969', 'P106', {'concept': 'Q151885'}] ['Q709511', 'P106', {'concept': 'Q12737077'}] ['Q709511', 'P106', {'concept': 'Q151885'}] ['Q525991', 'P106', {'concept': 'Q12737077'}] ['Q525991', 'P106', {'concept': 'Q151885'}]
['David Theile', 'occupation', {'concept': 'occupation'}] ['David Theile', 'occupation', {'concept': 'concept'}] ['Tom Dolan', 'occupation', {'concept': 'occupation'}] ['Tom Dolan', 'occupation', {'concept': 'concept'}] ['Mike Troy', 'occupation', {'concept': 'occupation'}] ['Mike Troy', 'occupation', {'concept': 'concept'}] ['Peter Fick', 'occupation', {'concept': 'occupation'}] ['Peter Fick', 'occupation', {'concept': 'concept'}] ['Matt Vogel', 'occupation', {'concept': 'occupation'}] ['Matt Vogel', 'occupation', {'concept': 'concept'}] ['Alan Ford', 'occupation', {'concept': 'occupation'}] ['Alan Ford', 'occupation', {'concept': 'concept'}] ['David Theile', 'occupation', {'concept': 'occupation'}] ['David Theile', 'occupation', {'concept': 'concept'}] ['Kevin Berry', 'occupation', {'concept': 'occupation'}] ['Kevin Berry', 'occupation', {'concept': 'concept'}] ['Matt Biondi', 'occupation', {'concept': 'occupation'}] ['Matt Biondi', 'occupation', {'concept': 'concept'}] ['Frederick Lane', 'occupation', {'concept': 'occupation'}] ['Frederick Lane', 'occupation', {'concept': 'concept'}] ['Rick Carey', 'occupation', {'concept': 'occupation'}] ['Rick Carey', 'occupation', {'concept': 'concept'}]
[]
SYSTEM
2
Q10843402 Q774306
(Q1176824,P106,c(Q12737077)) (Q1176824,P106,c(Q151885)) (Q920578,P106,c(Q12737077)) (Q920578,P106,c(Q151885)) (Q795593,P106,c(Q12737077)) (Q795593,P106,c(Q151885)) (Q7173972,P106,c(Q12737077)) (Q7173972,P106,c(Q151885)) (Q1909548,P106,c(Q12737077)) (Q1909548,P106,c(Q151885)) (Q2304109,P106,c(Q12737077)) (Q2304109,P106,c(Q151885)) (Q1176824,P106,c(Q12737077)) (Q1176824,P106,c(Q151885)) (Q1384683,P106,c(Q12737077)) (Q1384683,P106,c(Q151885)) (Q177969,P106,c(Q12737077)) (Q177969,P106,c(Q151885)) (Q709511,P106,c(Q12737077)) (Q709511,P106,c(Q151885)) (Q525991,P106,c(Q12737077)) (Q525991,P106,c(Q151885))
[ANSWER]
['Q1176824', 'P106', {'concept': 'Q12737077'}] ['Q1176824', 'P106', {'concept': 'Q151885'}] ['Q920578', 'P106', {'concept': 'Q12737077'}] ['Q920578', 'P106', {'concept': 'Q151885'}] ['Q795593', 'P106', {'concept': 'Q12737077'}] ['Q795593', 'P106', {'concept': 'Q151885'}] ['Q7173972', 'P106', {'concept': 'Q12737077'}] ['Q7173972', 'P106', {'concept': 'Q151885'}] ['Q1909548', 'P106', {'concept': 'Q12737077'}] ['Q1909548', 'P106', {'concept': 'Q151885'}] ['Q2304109', 'P106', {'concept': 'Q12737077'}] ['Q2304109', 'P106', {'concept': 'Q151885'}] ['Q1176824', 'P106', {'concept': 'Q12737077'}] ['Q1176824', 'P106', {'concept': 'Q151885'}] ['Q1384683', 'P106', {'concept': 'Q12737077'}] ['Q1384683', 'P106', {'concept': 'Q151885'}] ['Q177969', 'P106', {'concept': 'Q12737077'}] ['Q177969', 'P106', {'concept': 'Q151885'}] ['Q709511', 'P106', {'concept': 'Q12737077'}] ['Q709511', 'P106', {'concept': 'Q151885'}] ['Q525991', 'P106', {'concept': 'Q12737077'}] ['Q525991', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1176824 property:Q528892 ?z } UNION { resource:Q1176824 property:Q528892 ?y } UNION { resource:Q920578 property:Q528892 ?z } UNION { resource:Q920578 property:Q528892 ?y } UNION { resource:Q795593 property:Q528892 ?z } UNION { resource:Q795593 property:Q528892 ?y } UNION { resource:Q7173972 property:Q528892 ?z } UNION { resource:Q7173972 property:Q528892 ?y } UNION { resource:Q1909548 property:Q528892 ?z } UNION { resource:Q1909548 property:Q528892 ?y } UNION { resource:Q2830505 property:Q528892 ?z } UNION { resource:Q2830505 property:Q528892 ?y } UNION { resource:Q1176824 property:Q528892 ?z } UNION { resource:Q1176824 property:Q528892 ?y } UNION { resource:Q1384683 property:Q528892 ?z } UNION { resource:Q1384683 property:Q528892 ?y } UNION { resource:Q177969 property:Q528892 ?z } UNION { resource:Q177969 property:Q528892 ?y } UNION { resource:Q23928988 property:Q528892 ?z } UNION { resource:Q23928988 property:Q528892 ?y } UNION { resource:Q525991 property:Q528892 ?z } UNION { resource:Q525991 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q151885 }
swimmer surgeon
2
['David Theile', 'occupation', {'concept': 'occupation'}] ['David Theile', 'occupation', {'concept': 'concept'}] ['Tom Dolan', 'occupation', {'concept': 'occupation'}] ['Tom Dolan', 'occupation', {'concept': 'concept'}] ['Mike Troy', 'occupation', {'concept': 'occupation'}] ['Mike Troy', 'occupation', {'concept': 'concept'}] ['Peter Fick', 'occupation', {'concept': 'occupation'}] ['Peter Fick', 'occupation', {'concept': 'concept'}] ['Matt Vogel', 'occupation', {'concept': 'occupation'}] ['Matt Vogel', 'occupation', {'concept': 'concept'}] ['Alan Ford', 'occupation', {'concept': 'occupation'}] ['Alan Ford', 'occupation', {'concept': 'concept'}] ['David Theile', 'occupation', {'concept': 'occupation'}] ['David Theile', 'occupation', {'concept': 'concept'}] ['Kevin Berry', 'occupation', {'concept': 'occupation'}] ['Kevin Berry', 'occupation', {'concept': 'concept'}] ['Matt Biondi', 'occupation', {'concept': 'occupation'}] ['Matt Biondi', 'occupation', {'concept': 'concept'}] ['Frederick Lane', 'occupation', {'concept': 'occupation'}] ['Frederick Lane', 'occupation', {'concept': 'concept'}] ['Rick Carey', 'occupation', {'concept': 'occupation'}] ['Rick Carey', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:David_Theile property:occupation ?z } UNION { resource:David_Theile property:occupation ?y } UNION { resource:Tom_Dolan property:occupation ?z } UNION { resource:Tom_Dolan property:occupation ?y } UNION { resource:Mike_Troy property:occupation ?z } UNION { resource:Mike_Troy property:occupation ?y } UNION { resource:Peter_Fick property:occupation ?z } UNION { resource:Peter_Fick property:occupation ?y } UNION { resource:Matt_Vogel property:occupation ?z } UNION { resource:Matt_Vogel property:occupation ?y } UNION { resource:Alan_Ford property:occupation ?z } UNION { resource:Alan_Ford property:occupation ?y } UNION { resource:David_Theile property:occupation ?z } UNION { resource:David_Theile property:occupation ?y } UNION { resource:Kevin_Berry property:occupation ?z } UNION { resource:Kevin_Berry property:occupation ?y } UNION { resource:Matt_Biondi property:occupation ?z } UNION { resource:Matt_Biondi property:occupation ?y } UNION { resource:Frederick_Lane property:occupation ?z } UNION { resource:Frederick_Lane property:occupation ?y } UNION { resource:Rick_Carey property:occupation ?z } UNION { resource:Rick_Carey property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:concept }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3068024
P361
Q35798 Q223393 Q618779
USER
Which awards are a part of lesser number of executive branches or literary genres than First Secretary of State ?
(c(Q618779),P361,c(Q35798)|c(Q223393))
action less
action union
action find_tuple_counts
relation P361
type Q618779
type Q35798
action find_tuple_counts
relation P361
type Q618779
type Q223393
action count
action filter_multi_types
action find
entity Q3068024
relation P361
type Q35798
type Q223393
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q35798'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q3068024 property:P361 ?y . { { ?y rdf:type ontology:Q35798 } UNION { ?y rdf:type ontology:Q223393 } } } } . FILTER ( ?v < ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?o WHERE { { ?o property:P361 ?i . ?o rdf:type ontology:Q618779 . ?i rdf:type ontology:Q35798 } UNION { ?o rdf:type ontology:Q618779 . ?i rdf:type ontology:Q223393 . ?o property:P361 ?i } } GROUP BY ?o } }
First Secretary of State
action less
action union
action find_tuple_counts
relation part of
type award
type executive branch
action find_tuple_counts
relation part of
type award
type literary genre
action count
action filter_multi_types
action find
entity First Secretary of State
relation part of
type executive branch
type literary genre
[{'concept': 'award'}, 'part of', [{'concept': 'executive branch'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:First_Secretary_of_State property:part_of ?y . { { ?y rdf:type ontology:executive_branch } UNION { ?y rdf:type ontology:literary_genre } } } } . FILTER ( ?v < ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?o WHERE { { ?o property:part_of ?i . ?o rdf:type ontology:award . ?i rdf:type ontology:executive_branch } UNION { ?o rdf:type ontology:award . ?i rdf:type ontology:literary_genre . ?o property:part_of ?i } } GROUP BY ?o } }
[]
executive branch literary genre award
Q1285970 Q5305703 Q20890225
SYSTEM
Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series, Drama Desk Award for Outstanding Actress in a Musical, Gouden Televizier-Ring
Q20890225 Q2359546 Q1700510 Q15463524 Q16218137 Q2665874 Q674146 Q5305711 Q20749418 Q1156958 Q14539726 Q14539720 Q3019357 Q26079956 Q21071120 Q5305703 Q24231374 Q225085 Q20890482 Q17142885 Q17142884 Q13452531 Q48705 Q14539974 Q17142883 Q17142882 Q1638103 Q1285970 Q17142889 Q17142888 Q2547676 Q5305701 Q22135199 Q279820 Q14539884 Q23061993 Q5243452 Q5243453 Q5243450 Q5243451 Q5243456 Q5243457 Q5243454 Q5243455 Q372370 Q29597 Q900414 Q13452524 Q2050658 Q2296147 Q17142895 Q17142892 Q1071326 Q900494 Q17142891 Q13452528 Q17142881 Q20890462 Q11858223 Q140146 Q1086189 Q23059849 Q900369 Q1562531 Q5243445 Q15046324 Q5243447 Q5243446 Q266012 Q15046323 Q14606210 Q5243449 Q5243448 Q14606194 Q4896813 Q657973 Q27639027 Q5593745 Q3404375 Q20857709 Q545970 Q16395246 Q2294693 Q1353326 Q3895781 Q1505691 Q900385 Q7600545 Q3910742 Q4243717 Q5579156 Q26084288 Q18011734 Q267950 Q21524720 Q13422138 Q11288429 Q1549393 Q15271575 Q20857713 Q3405076 Q20857717 Q20857715 Q20890467 Q696246 Q15284630 Q655056 Q17351855 Q4120984 Q14941844 Q3405797 Q3405795 Q645595 Q3405792 Q37922 Q3405790 Q23062015 Q900352 Q10855195 Q13377517 Q24137 Q900447 Q15464509 Q17142896 Q24241 Q20857721 Q23091 Q20890475 Q20890472 Q17142894 Q26481897 Q153144 Q4896676 Q21071119 Q20890200 Q22668611 Q27639015 Q3774289 Q20890445 Q981339 Q1170507 Q936683 Q4065707 Q610903 Q4896642 Q23061860 Q900424 Q4835656 Q4835657 Q4835654 Q4835655 Q4835652 Q4835650 Q17355204 Q4120948 Q27496509 Q10855271 Q20890454 Q84000 Q6952053 Q15464524 Q5593817 Q14539729 Q3019369 Q17142886 Q20749420 Q278244 Q11593374 Q278240 Q3019365 Q3019364
(c(Q618779),P361,c(Q35798)|c(Q223393))
action less
action union
action find_tuple_counts
relation P361
type Q618779
type Q35798
action find_tuple_counts
relation P361
type Q618779
type Q223393
action count
action filter_multi_types
action find
entity Q3068024
relation P361
type Q35798
type Q223393
Primetime Emmy Award for Outstanding supporting Actor in a Comedy Series, Drama Desk Award for Outstanding Actress in a Musical and Gouden Televizier-Ring are a part of lesser number of executive branches or literary genres than First Secretary of State
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q35798'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q3068024 property:P361 ?y . { { ?y rdf:type ontology:Q35798 } UNION { ?y rdf:type ontology:Q223393 } } } } . FILTER ( ?v < ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?o WHERE { { ?o property:P361 ?i . ?o rdf:type ontology:Q618779 . ?i rdf:type ontology:Q35798 } UNION { ?o rdf:type ontology:Q618779 . ?i rdf:type ontology:Q223393 . ?o property:P361 ?i } } GROUP BY ?o } }
Gouden Televizier-Ring Wim Sonneveldprijs Golden Leopard Knight of the National Order of Quebec Seumas McNally Grand Prize Screen Actors Guild Award for Outstanding Performance by a Stunt Ensemble in a Motion Picture Leopard of Honour Drama Desk Award for Outstanding Featured Actor in a Musical King's Medal of Merit in Gold Order of the Paulownia Flowers Officer of the Order of Merit of the Italian Republic Knight of the Order of Merit of the Italian Republic Daytime Emmy Award for Outstanding Lead Actress in a Drama Series Tony Award for Best Sound Design of a Play Toronto International Film Festival Award for Best Canadian First Feature Film Drama Desk Award for Outstanding Actress in a Musical Ingeborg Bachmann Award 2016 César Award for Best Cinematography award for the best or most iconic program in the history of Dutch television 2000 Golden Globes 1999 Golden Globes Commandeur des Arts et des Lettres‎ César Award for Most Promising Actor Knight Grand Cross of the Order of Merit of the Italian Republic 1998 Golden Globes 1997 Golden Globes British Fashion Awards Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series 2003 Golden Globes 2002 Golden Globes Croix de guerre 1939–1945 Drama Desk Award for Outstanding Actor in a Play Collar of the Order pro merito Melitensi Golden Calf Grand Officer of the Order of Merit of the Italian Republic Charles Veillon prize in the Italian language Daytime Emmy Award for Outstanding Talk Show Daytime Emmy Award for Outstanding Talk Show Entertainment Daytime Emmy Award for Outstanding Morning Program Daytime Emmy Award for Outstanding Supporting Actress in a Drama Series Daytime Emmy Award for Outstanding Younger Actor in a Drama Series Daytime Emmy Award for Outstanding Younger Actress in a Drama Series Daytime Emmy Award for Outstanding Talk Show Host Daytime Emmy Award for Outstanding Talk Show Informative Knight's Cross César Award for Most Promising Actress César Award for Best Foreign Film Officier des Arts et des Lettres‎ 2009–10 ISU Speed Skating World Cup – Men's 1000 metres Drama Desk Award for Outstanding One-Person Show 2007 Golden Globes 2005 Golden Globes Un Certain Regard César Award for Best Actor 2004 Golden Globes Chevalier de l'ordre des Arts et des Lettres‎ 1996 Golden Globes Zilveren Televizier-Ster (female presenter) Daytime Emmy Award for Outstanding Performer in an Animated Program Zafenat-Paneach Nebula Award for Best Novella Hans Christian Andersen Award for illustration César Award for Best Writing Dr H.P. Heineken Prize for Biochemistry and Biophysics Daytime Emmy Award for Outstanding Drama Series Writing Team Daytime Emmy Award for Outstanding Lifestyle/Culinary Show Host Daytime Emmy Award for Outstanding Game Show Host Daytime Emmy Award for Outstanding Game/Audience Participation Show Nebula Award for Best Novel Daytime Emmy Award for Outstanding Drama Series Directing Team Officer of the Order of Distinction Daytime Emmy Award for Outstanding Supporting Actor in a Drama Series Daytime Emmy Award for Outstanding Legal/Courtroom Program Commander of the Order of Distinction Best Sports Movie ESPY Award Medal of Valor Zilveren Televizier-Ster (female actor) Grammy Award for Best Album Notes Prix Athanase-David Grand Cordon of the National Order of the Cedar‎ César Award for Best Original Screenplay Ridenhour Truth-Telling Prize Independent Spirit Award for Best Supporting Male Friedrich Glauser Award Best Direction Award Robert Award for Best Danish Film César Award for Best Costume Design Gullspiran Special Jury Prize Gordon Bennett Trophy Golden Ariel Tony Award for Best Sound Design of a Musical Grand Cross of the Imperial Order of Leopold Empire Gallantry Medal Gold Medal for Human Rights Knight of the National Order of Merit Grand Cordon of the Order of the Paulownia Flowers Grand Officer Sport Australia Hall of Fame Grand Officer of the National Order of the Cedar Prix Médicis for foreign literature Officer of the National Order of the Cedar Commander of the National Order of the Cedar Televizier Aanstormend Talent Award Order of the Chrysanthemum Grand Officer of the Order of Saints Maurice and Lazarus César Award for Best First Feature Film adidas Golden Glove Magritte Award for Best Director Prix Médicis essai Governor General's Award for French-language children's literature Governor General's Award for French-language children's illustration César Award for Best Film Governor General's Award for English-language children's literature Nobel Prize in Literature Governor General's Award for English-language children's illustration Charles Veillon prize in the German language César Award for Best Production Design Officer of the Legion of Honour Knight Grand Cross with Collar of the Order of St. Olav‎ César Award for Best Director César Award for Best Editing Grand Officer of the National Order of Quebec 2008 Golden Globes César Award for Best Actress Knight of the National Order of the Cedar César Award for Best Music Written for a Film Viva Star De Bewondering 2006 Golden Globes octave d'honneur César Award for Best Animated Film Best Game ESPY Award Toronto International Film Festival Award for Best Canadian Film Gouden Stuiver Gold Cross of Valour Zilveren Televizier-Ster (male actor) Grammy Award for Best Classical Album Zilveren Televizier-Tulp MTV Video Music Award for Best Overall Performance Independent Spirit Award for Best Screenplay Nebula Award for Best Novelette Ribbon of the Order of St. Andrew Nebula Award for Best Short Story Best Female Athlete ESPY Award Charles Veillon prize in the French language César Award for Best Supporting Actor BIFA Award for Best Supporting Actor BIFA Award for Best Supporting Actress BIFA Award for Best Performance by an Actor in a British Independent Film BIFA Award for Best Performance by an Actress in a British Independent Film BIFA Award for Best Foreign Independent Film BIFA Award for Best British Independent Film Adidas Golden Ball Magritte Award for Best Film Seiun Award for Best Translated Novel Knight of the Legion of Honour Zilveren Televizier-Ster (male presenter) César Award for Best Supporting Actress NAACP Image Award for Outstanding Actor in a Television Movie, Mini-Series or Dramatic Special Officer of the National Order of Quebec Grammy Award for Best Arrangement, Instrumental and Vocals Commander of the Order of Merit of the Italian Republic Daytime Emmy Award for Outstanding Children's Animated Program 2001 Golden Globes King's Medal of Merit in Silver Dr A.H. Heineken Prize for Art Knight of the Royal and Military Order of Saint Louis C.L. de Carvalho-Heineken Prize for Cognitive Science Daytime Emmy Award for Outstanding Drama Series Daytime Emmy Award for Outstanding Lead Actor in a Drama Series
Primetime Emmy Award for Outstanding supporting Actor in a Comedy Series, Drama Desk Award for Outstanding Actress in a Musical and Gouden Televizier-Ring are a part of lesser number of executive branches or literary genres than First Secretary of State
Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series Drama Desk Award for Outstanding Actress in a Musical Gouden Televizier-Ring
action less
action union
action find_tuple_counts
relation part of
type award
type executive branch
action find_tuple_counts
relation part of
type award
type literary genre
action count
action filter_multi_types
action find
entity First Secretary of State
relation part of
type executive branch
type literary genre
[{'concept': 'award'}, 'part of', [{'concept': 'executive branch'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:First_Secretary_of_State property:part_of ?y . { { ?y rdf:type ontology:executive_branch } UNION { ?y rdf:type ontology:literary_genre } } } } . FILTER ( ?v < ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?o WHERE { { ?o property:part_of ?i . ?o rdf:type ontology:award . ?i rdf:type ontology:executive_branch } UNION { ?o rdf:type ontology:award . ?i rdf:type ontology:literary_genre . ?o property:part_of ?i } } GROUP BY ?o } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1176824
P27
Q1048835
USER
How many political territories are the countries of citizenship of David Theile ?
(Q1176824,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1176824
relation P27
type Q1048835
['Q1176824', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Q1176824 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
David Theile
action count
action filter_type
action find
entity David Theile
relation country of citizenship
type political territorial entity
['David Theile', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:David_Theile property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q408
(Q1176824,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1176824
relation P27
type Q1048835
[ANSWER]
['Q1176824', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Q1176824 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
Australia
1
action count
action filter_type
action find
entity David Theile
relation country of citizenship
type political territorial entity
['David Theile', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:David_Theile property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1176824
P1344
Q16510064
USER
What sporting events did that person participate in ?
action filter_type
action find
entity Q1176824
relation P1344
type Q16510064
SELECT DISTINCT ?y WHERE { resource:Q1176824 property:P1344 ?y . ?y rdf:type ontology:Q16510064 }
David Theile
action filter_type
action find
entity David Theile
relation participant of
type sporting event
SELECT DISTINCT ?y WHERE { resource:David_Theile property:participant_of ?y . ?y rdf:type ontology:sporting_event }
[]
sporting event
Q7656377 Q17051222 Q7656404
SYSTEM
Swimming at the 1956 Summer Olympics – Men's 100 metre backstroke, Swimming at the 1960 Summer Olympics – Men's 100 metre backstroke, Swimming at the 1960 Summer Olympics – Men's 4 × 100 metre medley relay
Q7656377 Q17051222 Q7656404
action filter_type
action find
entity Q1176824
relation P1344
type Q16510064
That person participated in [ANSWERS]
SELECT DISTINCT ?y WHERE { resource:Q1176824 property:P1344 ?y . ?y rdf:type ontology:Q16510064 }
Swimming at the 1956 Summer Olympics – Men's 100 metre backstroke Swimming at the 1960 Summer Olympics – Men's 100 metre backstroke Swimming at the 1960 Summer Olympics – Men's 4 × 100 metre medley relay
That person participated in Swimming at the 1956 Summer Olympics – Men's 100 metre backstroke, Swimming at the 1960 Summer Olympics – Men's 100 metre backstroke and Swimming at the 1960 Summer Olympics – Men's 4 × 100 metre medley relay
Swimming at the 1956 Summer Olympics – Men's 100 metre backstroke Swimming at the 1960 Summer Olympics – Men's 100 metre backstroke Swimming at the 1960 Summer Olympics – Men's 4 × 100 metre medley relay
action filter_type
action find
entity David Theile
relation participant of
type sporting event
SELECT DISTINCT ?y WHERE { resource:David_Theile property:participant_of ?y . ?y rdf:type ontology:sporting_event }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q16729141 Q920578
P69
Q3918
USER
Which universities are Tom Dolan and Gail Fine an alumni of ?
AND((Q920578,P69,c(Q3918)), (Q16729141,P69,c(Q3918)))
action filter_type
action intersection
action find
entity Q920578
relation P69
action find
entity Q16729141
relation P69
type Q3918
{'AND': [['Q920578', 'P69', {'concept': 'Q3918'}], ['Q16729141', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q3918 . resource:Q920578 property:P69 ?r . resource:Q16729141 property:P69 ?r }
Gail Fine Tom Dolan
action filter_type
action intersection
action find
entity Tom Dolan
relation educated at
action find
entity Gail Fine
relation educated at
type university
{'AND': [['Tom Dolan', 'educated at', {'concept': 'university'}], ['Gail Fine', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:university . resource:Tom_Dolan property:educated_at ?r . resource:Gail_Fine property:educated_at ?r }
[]
university
Q230492
SYSTEM
University of Michigan
Q230492
AND((Q920578,P69,c(Q3918)), (Q16729141,P69,c(Q3918)))
action filter_type
action intersection
action find
entity Q920578
relation P69
action find
entity Q16729141
relation P69
type Q3918
The [ANSWER] is Tom Dolan and Gail Fine an alumni of
{'AND': [['Q920578', 'P69', {'concept': 'Q3918'}], ['Q16729141', 'P69', {'concept': 'Q3918'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q3918 . resource:Q920578 property:P69 ?r . resource:Q16729141 property:P69 ?r }
University of Michigan
The University of Michigan is Tom Dolan and Gail Fine an alumni of
University of Michigan
action filter_type
action intersection
action find
entity Tom Dolan
relation educated at
action find
entity Gail Fine
relation educated at
type university
{'AND': [['Tom Dolan', 'educated at', {'concept': 'university'}], ['Gail Fine', 'educated at', {'concept': 'university'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:university . resource:Tom_Dolan property:educated_at ?r . resource:Gail_Fine property:educated_at ?r }
[]