Simple Question (Direct)
Simple Question
Q270975
P69
Q159334
USER
Which secondary school is the alma mater of Rasheed Wallace ?
(Q270975,P69,c(Q159334))
action filter_type
action find
entity Q270975
relation P69
type Q159334
['Q270975', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?d WHERE { resource:Q270975 property:P69 ?d . ?d rdf:type ontology:Q159334 }
Rasheed Wallace
action filter_type
action find
entity Rasheed Wallace
relation educated at
type secondary school
['Rasheed Wallace', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?d WHERE { resource:Rasheed_Wallace property:educated_at ?d . ?d rdf:type ontology:secondary_school }
[]
secondary school
Q15277837
SYSTEM
Simon Gratz High School
Q15277837
(Q270975,P69,c(Q159334))
action filter_type
action find
entity Q270975
relation P69
type Q159334
[ANSWER] is the alma mater of Rasheed Wallace
['Q270975', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?d WHERE { resource:Q270975 property:P69 ?d . ?d rdf:type ontology:Q159334 }
Simon Gratz High School
Simon Gratz High School is the alma mater of Rasheed Wallace
Simon Gratz High School
action filter_type
action find
entity Rasheed Wallace
relation educated at
type secondary school
['Rasheed Wallace', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?d WHERE { resource:Rasheed_Wallace property:educated_at ?d . ?d rdf:type ontology:secondary_school }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270975
P734
Q82799
USER
Who has the surname Rasheed Wallace ?
(Q270975,P734,c(Q82799))
action filter_type
action find
entity Q270975
relation P734
type Q82799
['Q270975', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q270975 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Rasheed Wallace
action filter_type
action find
entity Rasheed Wallace
relation family name
type name
['Rasheed Wallace', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Rasheed_Wallace property:family_name ?d . ?d rdf:type ontology:name }
[]
name
Q5261248
SYSTEM
Wallace
Q5261248
(Q270975,P734,c(Q82799))
action filter_type
action find
entity Q270975
relation P734
type Q82799
D [ANSWER] has the surname Rasheed [ANSWER]
['Q270975', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q270975 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Wallace
D Wallace has the surname Rasheed Wallace
Wallace
action filter_type
action find
entity Rasheed Wallace
relation family name
type name
['Rasheed Wallace', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Rasheed_Wallace property:family_name ?d . ?d rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q874405 Q853614 Q82799
USER
Which names are a component of atmost 1 social groups or identifiers ?
(c(Q82799),P361,c(Q874405)|c(Q853614))
action atmost
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q853614
value 1
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q853614'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?u ) WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:Q874405 ) ( ontology:Q853614 ) } } GROUP BY ?c } . FILTER ( ?u <= 1 ) }
action atmost
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type identifier
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'identifier'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?u ) WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:social_group ) ( ontology:identifier ) } } GROUP BY ?c } . FILTER ( ?u <= 1 ) }
[]
social group identifier name
Q16279139 Q19810530 Q21057288
SYSTEM
Máté, Han, Hester
Q19984029 Q23539781 Q16101731 Q16515753 Q27355533 Q22001585 Q26000745 Q26822115 Q19986366 Q2168099 Q19963541 Q20731004 Q27651197 Q21491652 Q21501467 Q27037178 Q21484983 Q12783920 Q27037174 Q5791319 Q27651212 Q12594770 Q27356490 Q1946932 Q21144151 Q20731003 Q27357908 Q18001608 Q26775417 Q20155939 Q11283653 Q26971843 Q27465067 Q18645215 Q12788667 Q19831808 Q27357598 Q21475479 Q24477965 Q21488853 Q26156283 Q21487329 Q24477968 Q24090443 Q20675459 Q21279602 Q1058384 Q16563753 Q21450326 Q21510209 Q25114460 Q27436303 Q21431253 Q20985269 Q27037161 Q355505 Q7071783 Q27037165 Q15629245 Q21498452 Q27037169 Q235598 Q1513700 Q18515515 Q18808411 Q21492574 Q16882305 Q1240901 Q19688789 Q24251030 Q18844248 Q27678568 Q19311987 Q5646565 Q20089343 Q19672747 Q1093580 Q742083 Q19828992 Q21043141 Q22673958 Q4082729 Q18171095 Q110874 Q26448488 Q19832245 Q26822136 Q26822137 Q27635577 Q26822132 Q19688838 Q23636060 Q26822155 Q10145967 Q16161715 Q11878943 Q21506948 Q252216 Q2547055 Q21492983 Q21584287 Q272914 Q23039002 Q27037119 Q19944848 Q2553935 Q18645909 Q21512664 Q27204774 Q18808940 Q1173421 Q27476988 Q23822720 Q21450808 Q25114459 Q15238609 Q27230306 Q27538384 Q16390676 Q26772804 Q26822160 Q25695405 Q20900701 Q24091156 Q26986281 Q26235096 Q26944932 Q20875974 Q15897047 Q27450778 Q3281200 Q27229561 Q26944931 Q23640302 Q26266311 Q3372303 Q10587130 Q17165817 Q15926381 Q26736729 Q21450395 Q19687637 Q27357173 Q27356099 Q1247793 Q21470412 Q27355703 Q27185681 Q21506801 Q27203015 Q23590373 Q21534988 Q21405537 Q27355517 Q26235204 Q21069157 Q27229604 Q23907762 Q27450583 Q27229563 Q26266310 Q27450587 Q15835964 Q21471177 Q20083701 Q885595 Q27203027 Q12624980 Q1707301 Q26822099 Q2876425 Q27229572 Q24573284 Q27251921 Q5 Q631147 Q26868860 Q27651154 Q20003434 Q26736681 Q27352651 Q26877838 Q26986610 Q21502033 Q26449961 Q21452487 Q1158284 Q16876541 Q16932005 Q15788891 Q27642537 Q27450911 Q12788669 Q23590368 Q13639177 Q27037180 Q19944235 Q804437 Q21450555 Q27670177 Q4400681 Q23041619 Q1620641 Q21130107 Q808994 Q16279139 Q21447940 Q12600404 Q19998957 Q17505763 Q18552178 Q21484879 Q27356272 Q19768404 Q12036851 Q19810530 Q26822081 Q24090532 Q18228388 Q26906549 Q24090418 Q26742856 Q26986918 Q1703599 Q19961051 Q382004 Q12601635 Q5461714 Q27350540 Q12020943 Q1399288 Q12188082 Q20010325 Q26235099 Q23578592 Q2491016 Q1557998 Q27133109 Q19831835 Q21491435 Q23767331 Q23767330 Q21507872 Q27450606 Q21508944 Q2824680 Q27450608 Q26774382 Q19550817 Q18689509 Q27355496 Q19768398 Q27450724 Q15813147 Q15711050 Q12784475 Q26736416 Q21431135 Q26772911 Q21484692 Q26736415 Q27037157 Q27651236 Q26972674 Q18402175 Q21886149 Q12785732 Q19839042 Q27450686 Q26741038 Q23569212 Q21492540 Q21142292 Q27450728 Q27450834 Q27450836 Q23907739 Q1915243 Q2287331 Q23578587 Q22348139 Q21057288 Q21476618 Q263542 Q3701009 Q21484521 Q21484914 Q4835658 Q746990 Q4812724 Q21534898 Q26234451 Q19550800 Q23538357 Q1737707 Q26972634 Q16175496 Q19856970 Q21143968 Q21143966 Q20064977 Q21450552 Q19839041 Q27450738 Q27450739 Q876933 Q21538548 Q5034376 Q27131901 Q26741034 Q19582298 Q19688887 Q27450824 Q26220628 Q861966 Q13582244 Q15789615 Q20982280 Q27450829
(c(Q82799),P361,c(Q874405)|c(Q853614))
action atmost
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q853614
value 1
[ANSWERS] are a component of atmost 1 social groups or identifiers
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q853614'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?u ) WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:Q874405 ) ( ontology:Q853614 ) } } GROUP BY ?c } . FILTER ( ?u <= 1 ) }
Minami Asami Carter Farkas Türkkan Lamont Meta Candan Brodie human Rotavirusses Cassie Crawford Littleton Esin Olivera Bainbridge Dwyer Abram Bridger Tajinaste Redmond Man Holly Moosa Fedde Crawford Ademola Sylvain Dalibor Clancy Czech family name Ado Özgen Agostino Fabjan Loren Siemion Ersan Guibert Tyson Whittingstall Hewitt Guibert Matsuo Anania Regan hakham Hunter Jayne Sierra Savva Gisbert Adamou Barrington Hakim Nobiliary particle O'Donovan family Abner lizard Kelso Hersey Piso Gerlach Albano Egerton Loui Rostopchin praenomen Achim Barnaby Rowan Sami Yoshihara Han Han Aubrey Han surname Princes of Paliano Shelley Cave Sherman Belarusian surname Armand patronymic Akiyoshi Sami Akilu Řehoř Gruffudd Wito Kaj Cassie Rauf Grand Master of the Teutonic Knights Albin Urban Izumi Árnadóttir Walther Regan Jabez Çubukçubaşı Marshall Melvyn Eraydın Wedekind Abe Redouane Parvin Neil Davern Şentürk Malick Inal Savva nomen Durmuş Fedde Falk Elias Chadi Curtis Nolan Abe Seyfi Lillie Apple Ševela Percy Shigematsu Tent caterpillar Köken Apple Britt Trimnell Mai Moa Warren He Olumide Hillis Rahim Cave Frenk Kinnon Tyrell Eden Rickard Herschel Joby Raimond Yaşar Edward Savin Loudon Mateja Sweeney Florenz Asiedu Robison Ritchard Mordaunt Mynors Prentice Man Blue Joby Hyeon Tyler Ademola Aïssata Aydın Laverne Lamont human infraspecific name Cale Gottlieb Marielle Veit Seon Sanusi Addis Browning Takumi Alfonzo Heinz Máté Mai Blake Robbie Mahrez Fabjan Raimond Jean Dalrymple Osborne Bakir Hilbert Ripley Russian surname Stuart Hisataka Calvert Barry Máté Hester Sang Paltiel Virgil Alonso Salman Golden Courtney Michel Han Amin Minami Leonard Germann Hara Fabiano Sabra Jordan Izumi Afa-Negus Seon Florida black bass Sang Hunter Fearnley James Ganna Lillie Aynsley orthographical variant Gyalwang Drukpa Arnell Qutb Norman Koren Koren Henning Wilf Finlay Ado Haym Chariton Alden Marion Milić Jonas Freundel Bas Lu Amos Roveda Gill Abbas Neilson Roveda Řehoř Sylvester Thijs Bernard Alfonzo Berchtold Cushman Flower Patti Clint Kingsley Gerbrand Greenbury Harouna Henrie Florian McKeown Simon Aynsley Ripley Hester Miwa Griffith Dale Romaine Clay BIFF Brahman Ataman Fethi Rupert Alden Azuma Keefe Noah Bas Squire Herrmann Henrie Dong Hamilton Cushman Keill Moumouni magi Biff Caomhánach Tokiwa Patti Melville Tone Savea Arian dung beetles Dale Brady Maury Akpan
Máté, Han and Hester are a component of atmost 1 social groups or identifiers
Máté Han Hester
action atmost
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type identifier
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'identifier'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?u ) WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:social_group ) ( ontology:identifier ) } } GROUP BY ?c } . FILTER ( ?u <= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q486972 Q151885 Q82799
USER
Which names come from max number of human settlements or concepts ?
(c(Q82799),P138,c(Q486972)|c(Q151885))
action argmax
action union
action find_tuple_counts
relation P138
type Q82799
type Q486972
action find_tuple_counts
relation P138
type Q82799
type Q151885
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?s WHERE { { ?s property:P138 ?o . ?s rdf:type ontology:Q82799 . ?o rdf:type ontology:Q486972 } UNION { ?s rdf:type ontology:Q82799 . ?o rdf:type ontology:Q151885 . ?s property:P138 ?o } } GROUP BY ?s } . FILTER ( ?v = ?a ) . { SELECT DISTINCT ( MAX ( ?t ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) ?p WHERE { { ?p rdf:type ontology:Q82799 . ?h rdf:type ontology:Q151885 . ?p property:P138 ?h } UNION { ?p property:P138 ?h . ?p rdf:type ontology:Q82799 . ?h rdf:type ontology:Q486972 } } GROUP BY ?p } } }
action argmax
action union
action find_tuple_counts
relation named after
type name
type human settlement
action find_tuple_counts
relation named after
type name
type concept
[{'concept': 'name'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'concept'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?s WHERE { { ?s property:named_after ?o . ?s rdf:type ontology:name . ?o rdf:type ontology:human_settlement } UNION { ?s rdf:type ontology:name . ?o rdf:type ontology:concept . ?s property:named_after ?o } } GROUP BY ?s } . FILTER ( ?v = ?a ) . { SELECT DISTINCT ( MAX ( ?t ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) ?p WHERE { { ?p rdf:type ontology:name . ?h rdf:type ontology:concept . ?p property:named_after ?h } UNION { ?p property:named_after ?h . ?p rdf:type ontology:name . ?h rdf:type ontology:human_settlement } } GROUP BY ?p } } }
[]
human settlement concept name
Q27022433 Q13626156
SYSTEM
Danziger, Ackermann
Q27022433 Q13626156
(c(Q82799),P138,c(Q486972)|c(Q151885))
action argmax
action union
action find_tuple_counts
relation P138
type Q82799
type Q486972
action find_tuple_counts
relation P138
type Q82799
type Q151885
[ANSWERS] come from max number of human settlements or concepts
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?s WHERE { { ?s property:P138 ?o . ?s rdf:type ontology:Q82799 . ?o rdf:type ontology:Q486972 } UNION { ?s rdf:type ontology:Q82799 . ?o rdf:type ontology:Q151885 . ?s property:P138 ?o } } GROUP BY ?s } . FILTER ( ?v = ?a ) . { SELECT DISTINCT ( MAX ( ?t ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) ?p WHERE { { ?p rdf:type ontology:Q82799 . ?h rdf:type ontology:Q151885 . ?p property:P138 ?h } UNION { ?p property:P138 ?h . ?p rdf:type ontology:Q82799 . ?h rdf:type ontology:Q486972 } } GROUP BY ?p } } }
Danziger Ackermann
Danziger and Ackermann come from max number of human settlements or concepts
Danziger Ackermann
action argmax
action union
action find_tuple_counts
relation named after
type name
type human settlement
action find_tuple_counts
relation named after
type name
type concept
[{'concept': 'name'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'concept'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) ?s WHERE { { ?s property:named_after ?o . ?s rdf:type ontology:name . ?o rdf:type ontology:human_settlement } UNION { ?s rdf:type ontology:name . ?o rdf:type ontology:concept . ?s property:named_after ?o } } GROUP BY ?s } . FILTER ( ?v = ?a ) . { SELECT DISTINCT ( MAX ( ?t ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) ?p WHERE { { ?p rdf:type ontology:name . ?h rdf:type ontology:concept . ?p property:named_after ?h } UNION { ?p property:named_after ?h . ?p rdf:type ontology:name . ?h rdf:type ontology:human_settlement } } GROUP BY ?p } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q27022433 Q13626156
P734
Q502895
USER
Who have those ones as their family name ?
(c(Q502895),P734,Q27022433) (c(Q502895),P734,Q13626156)
action filter_type
action find_reverse
entity prev_answer
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q27022433'] [{'concept': 'Q502895'}, 'P734', 'Q13626156']
SELECT DISTINCT ?p WHERE { ?p property:P734 ?t . VALUES ( ?t ) { ( resource:Q27022433 ) ( resource:Q13626156 ) } . ?p rdf:type ontology:Q502895 }
Danziger Ackermann
action filter_type
action find_reverse
entity prev_answer
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Danziger'] [{'concept': 'common name'}, 'family name', 'Ackermann']
SELECT DISTINCT ?p WHERE { ?p property:family_name ?t . VALUES ( ?t ) { ( resource:Danziger ) ( resource:Ackermann ) } . ?p rdf:type ontology:common_name }
[]
common name
Q69198 Q109322 Q499555
SYSTEM
Anton Ackermann, Else Ackermann, Yitzhak Danziger
Q3176476 Q15621425 Q969363 Q7026988 Q499555 Q16095537 Q6168483 Q25712711 Q5990083 Q6698262 Q1984197 Q8055256 Q5173568 Q21664340 Q6446686 Q61037 Q122856 Q495623 Q18917604 Q2581832 Q27642858 Q5542002 Q1769302 Q871006 Q25767605 Q63357 Q92246 Q1593885 Q6054686 Q3573437 Q67799 Q2639581 Q2574420 Q100935 Q105732 Q21504206 Q3617738 Q1503905 Q96958 Q75590 Q2058625 Q966153 Q69198 Q3240818 Q15830205 Q61278 Q75957 Q295022 Q123873 Q1736475 Q109322 Q98053 Q116160 Q102658 Q70993 Q118140 Q1144993 Q3130483 Q102103
(c(Q502895),P734,Q27022433) (c(Q502895),P734,Q13626156)
action filter_type
action find_reverse
entity prev_answer
relation P734
type Q502895
[ANSWERS] have those ones as their family name
[{'concept': 'Q502895'}, 'P734', 'Q27022433'] [{'concept': 'Q502895'}, 'P734', 'Q13626156']
SELECT DISTINCT ?p WHERE { ?p property:P734 ?t . VALUES ( ?t ) { ( resource:Q27022433 ) ( resource:Q13626156 ) } . ?p rdf:type ontology:Q502895 }
Jeff Danziger Jechiel Danziger Paula Danziger Nick Danziger Yitzhak Danziger Joan Danziger Jazzy Danziger Louis Danziger Maia Danziger Lucy Danziger Allen Danziger Yoram Danziger Cory Danziger Fred Danziger Kurt Danziger Wilhelm Ackermann Joseph Ackermann Andreas Ackermann George Ackermann Willy Ackermann Elisabeth Ackermann Johan Christian Ackermann Lilly Ackermann Klaus Ackermann Rudolph Ackermann Junior Konrad Ernst Ackermann Sophie Charlotte Ackermann Heide Ackermann Otto Ackermann Yves Ackermann Stephan Ackermann Albin Ackermann Wilhelm Paul Ackermann Friedrich Ackermann Georg Kahn-Ackermann Georg Ackermann Anna Maria Ackermann Georg Christian Benedict Ackermann Lea Ackermann Johann Christian Gottlieb Ackermann Paul Ackermann Haider Ackermann Anton Ackermann Liliane Ackermann Josef Ackermann Ronny Ackermann Jens Ackermann Louise-Victorine Ackermann Josef Ackermann Kathrin Ackermann Else Ackermann Jacob Fidelis Ackermann Otto Ackermann Maud Ackermann Rudolph Ackermann Manfred Ackermann Curt Ackermann Henri Ackermann Karl Gustav Ackermann
Anton Ackermann, Else Ackermann and Yitzhak Danziger have those ones as their family name
Anton Ackermann Else Ackermann Yitzhak Danziger
action filter_type
action find_reverse
entity prev_answer
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Danziger'] [{'concept': 'common name'}, 'family name', 'Ackermann']
SELECT DISTINCT ?p WHERE { ?p property:family_name ?t . VALUES ( ?t ) { ( resource:Danziger ) ( resource:Ackermann ) } . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q69198 Q109322 Q499555
P734
Q82799
USER
Who have the surname Anton Ackermann, Else Ackermann and Yitzhak Danziger ?
(Q69198,P734,c(Q82799)) (Q109322,P734,c(Q82799)) (Q499555,P734,c(Q82799))
action union
action filter_type
action find
entity Q69198
relation P734
type Q82799
action filter_type
action find
entity Q109322
relation P734
type Q82799
action filter_type
action find
entity Q499555
relation P734
type Q82799
['Q69198', 'P734', {'concept': 'Q82799'}] ['Q109322', 'P734', {'concept': 'Q82799'}] ['Q499555', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?n property:P734 ?l . VALUES ( ?n ) { ( resource:Q69198 ) ( resource:Q109322 ) } }
Anton Ackermann Else Ackermann Yitzhak Danziger
action union
action filter_type
action find
entity Anton Ackermann
relation family name
type name
action filter_type
action find
entity Else Ackermann
relation family name
type name
action filter_type
action find
entity Yitzhak Danziger
relation family name
type name
['Anton Ackermann', 'family name', {'concept': 'name'}] ['Else Ackermann', 'family name', {'concept': 'name'}] ['Yitzhak Danziger', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?n property:family_name ?l . VALUES ( ?n ) { ( resource:Anton_Ackermann ) ( resource:Else_Ackermann ) } }
[]
name
Q13626156 Q13626156 Q27022433
SYSTEM
Ackermann for 1st, 2nd, Danziger for 3rd
Q13626156 Q13626156 Q27022433
(Q69198,P734,c(Q82799)) (Q109322,P734,c(Q82799)) (Q499555,P734,c(Q82799))
action union
action filter_type
action find
entity Q69198
relation P734
type Q82799
action filter_type
action find
entity Q109322
relation P734
type Q82799
action filter_type
action find
entity Q499555
relation P734
type Q82799
[ANSWERS]
['Q69198', 'P734', {'concept': 'Q82799'}] ['Q109322', 'P734', {'concept': 'Q82799'}] ['Q499555', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?n property:P734 ?l . VALUES ( ?n ) { ( resource:Q69198 ) ( resource:Q109322 ) } }
Ackermann Ackermann Danziger
As Ackermann, Ackermann and Danziger have the surname Anton Ackermann, Else Ackermann and Yitzhak Danziger
Ackermann Ackermann Danziger
action union
action filter_type
action find
entity Anton Ackermann
relation family name
type name
action filter_type
action find
entity Else Ackermann
relation family name
type name
action filter_type
action find
entity Yitzhak Danziger
relation family name
type name
['Anton Ackermann', 'family name', {'concept': 'name'}] ['Else Ackermann', 'family name', {'concept': 'name'}] ['Yitzhak Danziger', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?n property:family_name ?l . VALUES ( ?n ) { ( resource:Anton_Ackermann ) ( resource:Else_Ackermann ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q201251
P180
Q82799 Q340169 Q838948
USER
Which names are depicted in less number of medias or works of art than peacock ?
(c(Q340169)|c(Q838948),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q201251
relation P180
type Q340169
type Q838948
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m property:P180 resource:Q201251 . { ?m rdf:type ?o . VALUES ( ?o ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } } } . FILTER ( ?a < ?d ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?w WHERE { { ?w rdf:type ontology:Q82799 . ?x rdf:type ontology:Q340169 . ?x property:P180 ?w } UNION { ?w rdf:type ontology:Q82799 . ?x rdf:type ontology:Q838948 . ?x property:P180 ?w } } GROUP BY ?w } }
peacock
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type media
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action count
action filter_multi_types
action find_reverse
entity peacock
relation depicts
type media
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m property:depicts resource:peacock . { ?m rdf:type ?o . VALUES ( ?o ) { ( ontology:media ) ( ontology:work_of_art ) } } } } . FILTER ( ?a < ?d ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?w WHERE { { ?w rdf:type ontology:name . ?x rdf:type ontology:media . ?x property:depicts ?w } UNION { ?w rdf:type ontology:name . ?x rdf:type ontology:work_of_art . ?x property:depicts ?w } } GROUP BY ?w } }
[]
name media work of art
Q1807269 Q876933 Q134609
SYSTEM
leek, magi, Cynara scolymus
Q134609 Q6453151 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q11946202 Q2258881 Q4767951 Q16529344 Q1807269 Q8335 Q3116510 Q1865281 Q2495957 Q1953597 Q1466321 Q43115 Q858243 Q876933 Q214169 Q538906 Q1360763 Q83931 Q9458574 Q5070208 Q859257 Q10968813
(c(Q340169)|c(Q838948),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q201251
relation P180
type Q340169
type Q838948
[ANSWERS] are depicted in less number of medias or works of art than peacock
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m property:P180 resource:Q201251 . { ?m rdf:type ?o . VALUES ( ?o ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } } } . FILTER ( ?a < ?d ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?w WHERE { { ?w rdf:type ontology:Q82799 . ?x rdf:type ontology:Q340169 . ?x property:P180 ?w } UNION { ?w rdf:type ontology:Q82799 . ?x rdf:type ontology:Q838948 . ?x property:P180 ?w } } GROUP BY ?w } }
Cynara scolymus toad mule wolf Partridge sugarcane shrimp butterfly trout cattle goose leek raven frog whale magpie slug Yellow jacket saint Tree squirrel magi pheasant thistle Scipio locust wasp kangaroo fly jay
Leek, magi and Cynara scolymus are depicted in less number of medias or works of art than peacock
leek magi Cynara scolymus
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type media
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action count
action filter_multi_types
action find_reverse
entity peacock
relation depicts
type media
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m property:depicts resource:peacock . { ?m rdf:type ?o . VALUES ( ?o ) { ( ontology:media ) ( ontology:work_of_art ) } } } } . FILTER ( ?a < ?d ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?w WHERE { { ?w rdf:type ontology:name . ?x rdf:type ontology:media . ?x property:depicts ?w } UNION { ?w rdf:type ontology:name . ?x rdf:type ontology:work_of_art . ?x property:depicts ?w } } GROUP BY ?w } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q7378
P180
Q82799 Q340169 Q838948
USER
And how about elephant?
(c(Q340169)|c(Q838948),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q7378
relation P180
type Q340169
type Q838948
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?m WHERE { ?f rdf:type ?q . VALUES ( ?q ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:P180 resource:Q7378 . { { ?h rdf:type ontology:Q340169 } UNION { ?h rdf:type ontology:Q838948 } } } } . FILTER ( ?e < ?z ) }
elephant
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type media
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action count
action filter_multi_types
action find_reverse
entity elephant
relation depicts
type media
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?m WHERE { ?f rdf:type ?q . VALUES ( ?q ) { ( ontology:media ) ( ontology:work_of_art ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:depicts resource:elephant . { { ?h rdf:type ontology:media } UNION { ?h rdf:type ontology:work_of_art } } } } . FILTER ( ?e < ?z ) }
[]
name media work of art
Q1807269 Q876933 Q134609
SYSTEM
leek, magi, Cynara scolymus
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q5070208 Q859257 Q10968813
(c(Q340169)|c(Q838948),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q7378
relation P180
type Q340169
type Q838948
[ANSWERS]
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?m WHERE { ?f rdf:type ?q . VALUES ( ?q ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:P180 resource:Q7378 . { { ?h rdf:type ontology:Q340169 } UNION { ?h rdf:type ontology:Q838948 } } } } . FILTER ( ?e < ?z ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon vulture pheasant thistle snail Scipio locust wasp kangaroo fly jay
leek magi Cynara scolymus
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type media
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action count
action filter_multi_types
action find_reverse
entity elephant
relation depicts
type media
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?m WHERE { ?f rdf:type ?q . VALUES ( ?q ) { ( ontology:media ) ( ontology:work_of_art ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:depicts resource:elephant . { { ?h rdf:type ontology:media } UNION { ?h rdf:type ontology:work_of_art } } } } . FILTER ( ?e < ?z ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q69198
P937
Q515
USER
How many cities are the work locations of Anton Ackermann ?
(Q69198,P937,c(Q515))
action count
action filter_type
action find
entity Q69198
relation P937
type Q515
['Q69198', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q69198 property:P937 ?g . ?g rdf:type ontology:Q515 }
Anton Ackermann
action count
action filter_type
action find
entity Anton Ackermann
relation work location
type city
['Anton Ackermann', 'work location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Anton_Ackermann property:work_location ?g . ?g rdf:type ontology:city }
[]
city
SYSTEM
1
Q1731
(Q69198,P937,c(Q515))
action count
action filter_type
action find
entity Q69198
relation P937
type Q515
[ANSWER]
['Q69198', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q69198 property:P937 ?g . ?g rdf:type ontology:Q515 }
Dresden
1
action count
action filter_type
action find
entity Anton Ackermann
relation work location
type city
['Anton Ackermann', 'work location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Anton_Ackermann property:work_location ?g . ?g rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1895457
P937
Q515
USER
Where did Margrit Jansen work ?
(Q1895457,P937,c(Q515))
action filter_type
action find
entity Q1895457
relation P937
type Q515
['Q1895457', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q1895457 property:P937 ?u . ?u rdf:type ontology:Q515 }
Margrit Jansen
action filter_type
action find
entity Margrit Jansen
relation work location
type city
['Margrit Jansen', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Margrit_Jansen property:work_location ?u . ?u rdf:type ontology:city }
[]
city
Q1721
SYSTEM
Wiesbaden
Q1721
(Q1895457,P937,c(Q515))
action filter_type
action find
entity Q1895457
relation P937
type Q515
Margrit Jansen worked in [ANSWER]
['Q1895457', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q1895457 property:P937 ?u . ?u rdf:type ontology:Q515 }
Wiesbaden
Margrit Jansen worked in Wiesbaden
Wiesbaden
action filter_type
action find
entity Margrit Jansen
relation work location
type city
['Margrit Jansen', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Margrit_Jansen property:work_location ?u . ?u rdf:type ontology:city }
[]