Simple Question (Direct)
Simple Question
Q5085255
P641
Q349
USER
Which sport was Charlie Mitchell a part of ?
(Q5085255,P641,c(Q349))
action filter_type
action find
entity Q5085255
relation P641
type Q349
['Q5085255', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q5085255 property:P641 ?g . ?g rdf:type ontology:Q349 }
Charlie Mitchell
action filter_type
action find
entity Charlie Mitchell
relation sport
type sport
['Charlie Mitchell', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Charlie_Mitchell property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5085255,P641,c(Q349))
action filter_type
action find
entity Q5085255
relation P641
type Q349
Charlie Mitchell was in [ANSWER]
['Q5085255', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q5085255 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
Charlie Mitchell was in association football
association football
action filter_type
action find
entity Charlie Mitchell
relation sport
type sport
['Charlie Mitchell', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Charlie_Mitchell property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5085255
P106
Q12737077
USER
What are the job of Charlie Mitchell ?
(Q5085255,P106,c(Q12737077))
action filter_type
action find
entity Q5085255
relation P106
type Q12737077
['Q5085255', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q5085255 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Charlie Mitchell
action filter_type
action find
entity Charlie Mitchell
relation occupation
type occupation
['Charlie Mitchell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Charlie_Mitchell property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q5085255,P106,c(Q12737077))
action filter_type
action find
entity Q5085255
relation P106
type Q12737077
The job of Charlie Mitchell are both [ANSWERS]
['Q5085255', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q5085255 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
association football manager association football player
The job of Charlie Mitchell are both association football manager and association football player
association football manager association football player
action filter_type
action find
entity Charlie Mitchell
relation occupation
type occupation
['Charlie Mitchell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Charlie_Mitchell property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5085255
P735
Q82799
USER
What is the firstname of Charlie Mitchell ?
(Q5085255,P735,c(Q82799))
action filter_type
action find
entity Q5085255
relation P735
type Q82799
['Q5085255', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q5085255 property:P735 ?t . ?t rdf:type ontology:Q82799 }
Charlie Mitchell
action filter_type
action find
entity Charlie Mitchell
relation given name
type name
['Charlie Mitchell', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Charlie_Mitchell property:given_name ?t . ?t rdf:type ontology:name }
[]
name
Q16275193
SYSTEM
Charlie
Q16275193
(Q5085255,P735,c(Q82799))
action filter_type
action find
entity Q5085255
relation P735
type Q82799
The firstname of [ANSWER] Mitchell is of [ANSWER]
['Q5085255', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q5085255 property:P735 ?t . ?t rdf:type ontology:Q82799 }
Charlie
The firstname of Charlie Mitchell is of Charlie
Charlie
action filter_type
action find
entity Charlie Mitchell
relation given name
type name
['Charlie Mitchell', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Charlie_Mitchell property:given_name ?t . ?t rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q872365
Q82799
USER
And also tell me about Božo Kovačević?
(Q872365,P735,c(Q82799))
action filter_type
action find
entity Q872365
relation P735
type Q82799
['Q872365', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q872365 property:P735 ?r . ?r rdf:type ontology:Q82799 }
Božo Kovačević
action filter_type
action find
entity Božo Kovačević
relation given name
type name
['Božo Kovačević', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Božo_Kovačević property:given_name ?r . ?r rdf:type ontology:name }
[]
name
Q2923176
SYSTEM
Božo
Q2923176
(Q872365,P735,c(Q82799))
action filter_type
action find
entity Q872365
relation P735
type Q82799
[ANSWER]
['Q872365', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q872365 property:P735 ?r . ?r rdf:type ontology:Q82799 }
Božo
Božo
action filter_type
action find
entity Božo Kovačević
relation given name
type name
['Božo Kovačević', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Božo_Kovačević property:given_name ?r . ?r rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q853614 Q9332 Q82799
USER
Which names are a component of min number of identifiers and behaviors ?
(c(Q82799),P361,c(Q853614)|c(Q9332))
action argmin
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q9332
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?e ) { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?x ) WHERE { { ?i property:P361 ?o . ?i rdf:type ontology:Q82799 . ?o rdf:type ontology:Q853614 } UNION { ?i rdf:type ontology:Q82799 . ?o rdf:type ontology:Q9332 . ?i property:P361 ?o } } GROUP BY ?i } } . FILTER ( ?m = ?e ) . { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?m ) WHERE { { ?d rdf:type ontology:Q82799 . ?k rdf:type ontology:Q853614 . ?d property:P361 ?k } UNION { ?d property:P361 ?k . ?k rdf:type ontology:Q9332 . ?d rdf:type ontology:Q82799 } } GROUP BY ?d } }
action argmin
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?e ) { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?x ) WHERE { { ?i property:part_of ?o . ?i rdf:type ontology:name . ?o rdf:type ontology:identifier } UNION { ?i rdf:type ontology:name . ?o rdf:type ontology:behavior . ?i property:part_of ?o } } GROUP BY ?i } } . FILTER ( ?m = ?e ) . { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?m ) WHERE { { ?d rdf:type ontology:name . ?k rdf:type ontology:identifier . ?d property:part_of ?k } UNION { ?d property:part_of ?k . ?k rdf:type ontology:behavior . ?d rdf:type ontology:name } } GROUP BY ?d } }
[]
identifier behavior name
Q1058384 Q27352651 Q27350540
SYSTEM
hakham, Seon, Sang
Q2168099 Q5791319 Q11283653 Q26156283 Q1058384 Q7071783 Q15629245 Q235598 Q16882305 Q1240901 Q24251030 Q1093580 Q742083 Q10145967 Q252216 Q272914 Q2553935 Q18645909 Q15238609 Q25695405 Q24091156 Q20875974 Q3281200 Q26266311 Q10587130 Q15926381 Q19687637 Q21470412 Q21534988 Q21405537 Q26266310 Q12624980 Q2876425 Q5 Q631147 Q27651154 Q26736681 Q27352651 Q15788891 Q4400681 Q12600404 Q21484879 Q24090418 Q12601635 Q5461714 Q27350540 Q1399288 Q2491016 Q1557998 Q19831835 Q27450724 Q15711050 Q26736416 Q26736415 Q26741038 Q1915243 Q263542 Q21484914 Q4835658 Q746990 Q20064977 Q876933 Q21538548 Q5034376 Q26741034 Q861966
(c(Q82799),P361,c(Q853614)|c(Q9332))
action argmin
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q9332
[ANSWERS] are a component of min number of identifiers and behaviors
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?e ) { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?x ) WHERE { { ?i property:P361 ?o . ?i rdf:type ontology:Q82799 . ?o rdf:type ontology:Q853614 } UNION { ?i rdf:type ontology:Q82799 . ?o rdf:type ontology:Q9332 . ?i property:P361 ?o } } GROUP BY ?i } } . FILTER ( ?m = ?e ) . { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?m ) WHERE { { ?d rdf:type ontology:Q82799 . ?k rdf:type ontology:Q853614 . ?d property:P361 ?k } UNION { ?d property:P361 ?k . ?k rdf:type ontology:Q9332 . ?d rdf:type ontology:Q82799 } } GROUP BY ?d } }
human Rotavirusses Tajinaste Czech family name Whittingstall hakham O'Donovan family lizard Piso Rostopchin praenomen Barnaby Han surname Princes of Paliano Grand Master of the Teutonic Knights Árnadóttir Çubukçubaşı Wedekind Abe nomen Curtis Abe Ševela Tent caterpillar Trimnell Moa He Rahim Tyrell Yaşar Edward Ritchard Hyeon Aïssata human infraspecific name Gottlieb Veit Seon Blake Russian surname Sang Salman Hara Seon Florida black bass Sang Fearnley orthographical variant Gyalwang Drukpa Qutb Freundel Lu Roveda Roveda Patti McKeown Griffith Clay BIFF Brahman Dong magi Biff Caomhánach Patti dung beetles
Hakham, Seon and Sang are a component of min number of identifiers and behaviors
hakham Seon Sang
action argmin
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?e ) { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?x ) WHERE { { ?i property:part_of ?o . ?i rdf:type ontology:name . ?o rdf:type ontology:identifier } UNION { ?i rdf:type ontology:name . ?o rdf:type ontology:behavior . ?i property:part_of ?o } } GROUP BY ?i } } . FILTER ( ?m = ?e ) . { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?m ) WHERE { { ?d rdf:type ontology:name . ?k rdf:type ontology:identifier . ?d property:part_of ?k } UNION { ?d property:part_of ?k . ?k rdf:type ontology:behavior . ?d rdf:type ontology:name } } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q382004
P361
Q874405 Q9332 Q82799
USER
Which names are a component of less number of social groups or behaviors than Afa-Negus ?
(c(Q82799),P361,c(Q874405)|c(Q9332))
action less
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q9332
action count
action filter_multi_types
action find
entity Q382004
relation P361
type Q874405
type Q9332
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?z WHERE { { ?z property:P361 ?w . ?z rdf:type ontology:Q82799 . ?w rdf:type ontology:Q9332 } UNION { ?z property:P361 ?w . ?z rdf:type ontology:Q82799 . ?w rdf:type ontology:Q874405 } } GROUP BY ?z } . FILTER ( ?x < ?v ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q382004 property:P361 ?i . { { ?i rdf:type ontology:Q874405 } UNION { ?i rdf:type ontology:Q9332 } } } } }
Afa-Negus
action less
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type behavior
action count
action filter_multi_types
action find
entity Afa-Negus
relation part of
type social group
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?z WHERE { { ?z property:part_of ?w . ?z rdf:type ontology:name . ?w rdf:type ontology:behavior } UNION { ?z property:part_of ?w . ?z rdf:type ontology:name . ?w rdf:type ontology:social_group } } GROUP BY ?z } . FILTER ( ?x < ?v ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Afa-Negus property:part_of ?i . { { ?i rdf:type ontology:social_group } UNION { ?i rdf:type ontology:behavior } } } } }
[]
social group behavior 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 Q12601635 Q5461714 Q27350540 Q12020943 Q1399288 Q12188082 Q20010325 Q26235099 Q23578592 Q2491016 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(Q9332))
action less
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q9332
action count
action filter_multi_types
action find
entity Q382004
relation P361
type Q874405
type Q9332
[ANSWERS] are a component of less number of social groups or behaviors than Afa-Negus
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?z WHERE { { ?z property:P361 ?w . ?z rdf:type ontology:Q82799 . ?w rdf:type ontology:Q9332 } UNION { ?z property:P361 ?w . ?z rdf:type ontology:Q82799 . ?w rdf:type ontology:Q874405 } } GROUP BY ?z } . FILTER ( ?x < ?v ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q382004 property:P361 ?i . { { ?i rdf:type ontology:Q874405 } UNION { ?i rdf:type ontology:Q9332 } } } } }
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 Seon Florida black bass Sang Hunter Fearnley James Ganna Lillie Aynsley orthographical variant 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 less number of social groups or behaviors than Afa-Negus
Máté Han Hester
action less
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type behavior
action count
action filter_multi_types
action find
entity Afa-Negus
relation part of
type social group
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?z WHERE { { ?z property:part_of ?w . ?z rdf:type ontology:name . ?w rdf:type ontology:behavior } UNION { ?z property:part_of ?w . ?z rdf:type ontology:name . ?w rdf:type ontology:social_group } } GROUP BY ?z } . FILTER ( ?x < ?v ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Afa-Negus property:part_of ?i . { { ?i rdf:type ontology:social_group } UNION { ?i rdf:type ontology:behavior } } } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11561129 Q19810530
P734 P1533
Q82799
USER
What are equal to Han or are known by the name Kōichi Shimizu ?
OR((Q19810530,P1533,c(Q82799)), (Q11561129,P734,c(Q82799)))
action filter_type
action union
action find
entity Q19810530
relation P1533
action find
entity Q11561129
relation P734
type Q82799
{'OR': [['Q19810530', 'P1533', {'concept': 'Q82799'}], ['Q11561129', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q19810530 property:P1533 ?l } UNION { resource:Q11561129 property:P734 ?l } } . ?l rdf:type ontology:Q82799 }
Kōichi Shimizu Han
action filter_type
action union
action find
entity Han
relation family name identical to this first name
action find
entity Kōichi Shimizu
relation family name
type name
{'OR': [['Han', 'family name identical to this first name', {'concept': 'name'}], ['Kōichi Shimizu', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Han property:family_name_identical_to_this_first_name ?l } UNION { resource:Kōichi_Shimizu property:family_name ?l } } . ?l rdf:type ontology:name }
[]
name
Q16883193 Q5646565
SYSTEM
Shimizu, Han
Q16883193 Q5646565
OR((Q19810530,P1533,c(Q82799)), (Q11561129,P734,c(Q82799)))
action filter_type
action union
action find
entity Q19810530
relation P1533
action find
entity Q11561129
relation P734
type Q82799
[ANSWERS] are equal to Han or are known by the name Kōichi Shimizu
{'OR': [['Q19810530', 'P1533', {'concept': 'Q82799'}], ['Q11561129', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q19810530 property:P1533 ?l } UNION { resource:Q11561129 property:P734 ?l } } . ?l rdf:type ontology:Q82799 }
Shimizu Han
Shimizu and Han are equal to Han or are known by the name Kōichi Shimizu
Shimizu Han
action filter_type
action union
action find
entity Han
relation family name identical to this first name
action find
entity Kōichi Shimizu
relation family name
type name
{'OR': [['Han', 'family name identical to this first name', {'concept': 'name'}], ['Kōichi Shimizu', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Han property:family_name_identical_to_this_first_name ?l } UNION { resource:Kōichi_Shimizu property:family_name ?l } } . ?l rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q19810530
P735 P21
Q502895
USER
Which people have Han as first name and have the gender as male ?
AND((c(Q502895),P735,Q19810530), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19810530
relation P735
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P735', 'Q19810530'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P21 resource:Q6581097 . ?c property:P735 resource:Q19810530 . ?c rdf:type ontology:Q502895 }
male Han
action filter_type
action intersection
action find_reverse
entity Han
relation given name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'given name', 'Han'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:gender resource:male . ?c property:given_name resource:Han . ?c rdf:type ontology:common_name }
[]
common name
Q2916630 Q474961 Q2462475 Q5312950 Q2413753 Q3126637 Q151856 Q17153869 Q16629565 Q3782931
SYSTEM
Some of them are Han Lammers, Han Kulker, Han Corver, Han van Eijk, Han van Hagen, Han Hoogerbrugge, Han Hollander, Han Dunk, Han Velder, Han Do-ryeong
Q2039737 Q1851889 Q2538869 Q1857900 Q2621972 Q16193953 Q151856 Q15876035 Q2415735 Q13653414 Q1825562 Q2008712 Q4338305 Q4289063 Q2735626 Q727636 Q2552466 Q2374592 Q2543657 Q16669938 Q1801392 Q1925475 Q436161 Q18225060 Q1936185 Q2267452 Q2916630 Q440293 Q2447687 Q2592175 Q5646675 Q2318071 Q17153869 Q3126637 Q2341727 Q2413753 Q1574100 Q20743560 Q2770315 Q18062282 Q4710515 Q470841 Q2900916 Q2313717 Q5646656 Q1574104 Q778475 Q2061370 Q2187752 Q2688016 Q2462475 Q713575 Q474961 Q2891205 Q3782931 Q1423741 Q2048089 Q2442482 Q2034365 Q2342810 Q5312950 Q2677502 Q16629565 Q2442837 Q2441883 Q1488358 Q27068105
AND((c(Q502895),P735,Q19810530), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19810530
relation P735
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Han as first name and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P735', 'Q19810530'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P21 resource:Q6581097 . ?c property:P735 resource:Q19810530 . ?c rdf:type ontology:Q502895 }
Han König Han Kerckhoffs Han Balvert Han Pieck Han Wezelaar Han Bergsma Han Hollander Han de Kluijver Han Heijmans Han Schuil Han Kooreneef Han Bentz van den Berg Han Heinsius Han Meijer Han van den Berg Han Stijkel Han van Gessel Han Reiziger Han Heijenbrock Han Lambregts Han Nijssen Han van der Horst Han van Meegeren Han van Dam Han Peekel Han Entzinger Han Lammers Han Berger Han Grijzenhout Han Römer Han Sanping Han Groenewegen Han Dunk Han Hoogerbrugge Han Dekker Han van Hagen Han F. Vermeulen Han Meijer Han Oldigs Han Meijer Han G. Hoekstra Han Han Han Dade Han Rehm Han Nefkens Han Engelsman Han Polman Han Krug Han Drijver Han Soete Han Corver Han Bennink Han Kulker Han Roos Han Do-ryeong Han Coray Han ten Broeke Han Urbanus Han de Vries Han Rädecker Han van Eijk Han van Senus Han Velder Han Jelinger Han Langeler Han Noten Han Richters
Han Lammers, Han Kulker, Han Corver, Han van Eijk, Han van Hagen, Han Hoogerbrugge, Han Hollander, Han Dunk, Han Velder and Han Do-ryeong have Han as first name and have the gender as male
Han Lammers Han Kulker Han Corver Han van Eijk Han van Hagen Han Hoogerbrugge Han Hollander Han Dunk Han Velder Han Do-ryeong
action filter_type
action intersection
action find_reverse
entity Han
relation given name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'given name', 'Han'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:gender resource:male . ?c property:given_name resource:Han . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do approximately 801 people know to play ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 801
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?p = 801 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 801
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?p = 801 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 801
Approximately 801 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?p = 801 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Approximately 801 people know about davul, harpsichord and Wurlitzer electric piano
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 801
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?p = 801 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can approximately 2161 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2161
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?m = 2161 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2161
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?m = 2161 ) }
[]
musical instrument common name
Q46185 Q8338 Q8371
SYSTEM
bass guitar, trumpet, cello
Q46185 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2161
[ANSWERS] can approximately 2161 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?m = 2161 ) }
bass guitar trumpet cello organ drum kit
Bass guitar, trumpet and cello can approximately 2161 people perform with
bass guitar trumpet cello
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2161
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?m = 2161 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16629565
P20
Q15617994
USER
Where did Han Velder die ?
(Q16629565,P20,c(Q15617994))
action filter_type
action find
entity Q16629565
relation P20
type Q15617994
['Q16629565', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q16629565 property:P20 ?m . ?m rdf:type ontology:Q15617994 }
Han Velder
action filter_type
action find
entity Han Velder
relation place of death
type designation for an administrative territorial entity
['Han Velder', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Han_Velder property:place_of_death ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q16629565,P20,c(Q15617994))
action filter_type
action find
entity Q16629565
relation P20
type Q15617994
Han Velder died in [ANSWER]
['Q16629565', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q16629565 property:P20 ?m . ?m rdf:type ontology:Q15617994 }
Netherlands
Han Velder died in Netherlands
Netherlands
action filter_type
action find
entity Han Velder
relation place of death
type designation for an administrative territorial entity
['Han Velder', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Han_Velder property:place_of_death ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16629565
P27
Q15617994
USER
Which administrative territory is Han Velder an inhabitant of ?
(Q16629565,P27,c(Q15617994))
action filter_type
action find
entity Q16629565
relation P27
type Q15617994
['Q16629565', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q16629565 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Han Velder
action filter_type
action find
entity Han Velder
relation country of citizenship
type designation for an administrative territorial entity
['Han Velder', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Han_Velder property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q16629565,P27,c(Q15617994))
action filter_type
action find
entity Q16629565
relation P27
type Q15617994
The [ANSWER] is Han Velder an inhabitant of
['Q16629565', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q16629565 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Netherlands
The Netherlands is Han Velder an inhabitant of
Netherlands
action filter_type
action find
entity Han Velder
relation country of citizenship
type designation for an administrative territorial entity
['Han Velder', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Han_Velder property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]