Simple Question (Direct)
Simple Question
Q6237885
P734
Q82799
USER
Who has the surname John Harper ?
(Q6237885,P734,c(Q82799))
action filter_type
action find
entity Q6237885
relation P734
type Q82799
['Q6237885', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q6237885 property:P734 ?v . ?v rdf:type ontology:Q82799 }
John Harper
action filter_type
action find
entity John Harper
relation family name
type name
['John Harper', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:John_Harper property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q1586017
SYSTEM
Harper
Q1586017
(Q6237885,P734,c(Q82799))
action filter_type
action find
entity Q6237885
relation P734
type Q82799
[ANSWER] has the surname John [ANSWER]
['Q6237885', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q6237885 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Harper
Harper has the surname John Harper
Harper
action filter_type
action find
entity John Harper
relation family name
type name
['John Harper', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:John_Harper property:family_name ?v . ?v rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q382004
P361
Q874405 Q9332 Q82799
USER
Which names are parts 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 ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) ?k WHERE { VALUES ( ?w ) { ( ontology:Q874405 ) ( ontology:Q9332 ) } . ?v rdf:type ?w } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Q382004 property:P361 ?s . { { ?s rdf:type ontology:Q874405 } UNION { ?s rdf:type ontology:Q9332 } } } } . FILTER ( ?y < ?e ) }
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 ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) ?k WHERE { VALUES ( ?w ) { ( ontology:social_group ) ( ontology:behavior ) } . ?v rdf:type ?w } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Afa-Negus property:part_of ?s . { { ?s rdf:type ontology:social_group } UNION { ?s rdf:type ontology:behavior } } } } . FILTER ( ?y < ?e ) }
[]
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 parts of less number of social groups or behaviors than Afa-Negus
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) ?k WHERE { VALUES ( ?w ) { ( ontology:Q874405 ) ( ontology:Q9332 ) } . ?v rdf:type ?w } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Q382004 property:P361 ?s . { { ?s rdf:type ontology:Q874405 } UNION { ?s rdf:type ontology:Q9332 } } } } . FILTER ( ?y < ?e ) }
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 parts 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 ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) ?k WHERE { VALUES ( ?w ) { ( ontology:social_group ) ( ontology:behavior ) } . ?v rdf:type ?w } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Afa-Negus property:part_of ?s . { { ?s rdf:type ontology:social_group } UNION { ?s rdf:type ontology:behavior } } } } . FILTER ( ?y < ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1557998
P361
Q874405 Q9332 Q82799
USER
And how about Gyalwang Drukpa?
(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 Q1557998
relation P361
type Q874405
type Q9332
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?u ) WHERE { { ?c property:P361 ?e . ?e rdf:type ontology:Q874405 . ?c rdf:type ontology:Q82799 } UNION { ?c rdf:type ontology:Q82799 . ?e rdf:type ontology:Q9332 . ?c property:P361 ?e } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q1557998 property:P361 ?b . { VALUES ( ?k ) { ( ontology:Q9332 ) ( ontology:Q874405 ) } . ?b rdf:type ?k } } } . FILTER ( ?u < ?o ) }
Gyalwang Drukpa
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 Gyalwang Drukpa
relation part of
type social group
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?u ) WHERE { { ?c property:part_of ?e . ?e rdf:type ontology:social_group . ?c rdf:type ontology:name } UNION { ?c rdf:type ontology:name . ?e rdf:type ontology:behavior . ?c property:part_of ?e } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Gyalwang_Drukpa property:part_of ?b . { VALUES ( ?k ) { ( ontology:behavior ) ( ontology:social_group ) } . ?b rdf:type ?k } } } . FILTER ( ?u < ?o ) }
[]
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 Q1557998
relation P361
type Q874405
type Q9332
[ANSWERS]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?u ) WHERE { { ?c property:P361 ?e . ?e rdf:type ontology:Q874405 . ?c rdf:type ontology:Q82799 } UNION { ?c rdf:type ontology:Q82799 . ?e rdf:type ontology:Q9332 . ?c property:P361 ?e } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q1557998 property:P361 ?b . { VALUES ( ?k ) { ( ontology:Q9332 ) ( ontology:Q874405 ) } . ?b rdf:type ?k } } } . FILTER ( ?u < ?o ) }
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 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 Gyalwang Drukpa
relation part of
type social group
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?u ) WHERE { { ?c property:part_of ?e . ?e rdf:type ontology:social_group . ?c rdf:type ontology:name } UNION { ?c rdf:type ontology:name . ?e rdf:type ontology:behavior . ?c property:part_of ?e } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Gyalwang_Drukpa property:part_of ?b . { VALUES ( ?k ) { ( ontology:behavior ) ( ontology:social_group ) } . ?b rdf:type ?k } } } . FILTER ( ?u < ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q591144 Q21057288
P734 P1533
Q82799
USER
What are equal to Hester or are associated with the name Marcel Janssens ?
OR((Q21057288,P1533,c(Q82799)), (Q591144,P734,c(Q82799)))
action filter_type
action union
action find
entity Q21057288
relation P1533
action find
entity Q591144
relation P734
type Q82799
{'OR': [['Q21057288', 'P1533', {'concept': 'Q82799'}], ['Q591144', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q21057288 property:P1533 ?b } UNION { resource:Q591144 property:P734 ?b } } . ?b rdf:type ontology:Q82799 }
Marcel Janssens Hester
action filter_type
action union
action find
entity Hester
relation family name identical to this first name
action find
entity Marcel Janssens
relation family name
type name
{'OR': [['Hester', 'family name identical to this first name', {'concept': 'name'}], ['Marcel Janssens', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Hester property:family_name_identical_to_this_first_name ?b } UNION { resource:Marcel_Janssens property:family_name ?b } } . ?b rdf:type ontology:name }
[]
name
Q21447940 Q21491099
SYSTEM
Hester, Janssens
Q21447940 Q21491099
OR((Q21057288,P1533,c(Q82799)), (Q591144,P734,c(Q82799)))
action filter_type
action union
action find
entity Q21057288
relation P1533
action find
entity Q591144
relation P734
type Q82799
[ANSWERS] are equal to Hester or are associated with the name Marcel Janssens
{'OR': [['Q21057288', 'P1533', {'concept': 'Q82799'}], ['Q591144', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q21057288 property:P1533 ?b } UNION { resource:Q591144 property:P734 ?b } } . ?b rdf:type ontology:Q82799 }
Hester Janssens
Hester and Janssens are equal to Hester or are associated with the name Marcel Janssens
Hester Janssens
action filter_type
action union
action find
entity Hester
relation family name identical to this first name
action find
entity Marcel Janssens
relation family name
type name
{'OR': [['Hester', 'family name identical to this first name', {'concept': 'name'}], ['Marcel Janssens', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Hester property:family_name_identical_to_this_first_name ?b } UNION { resource:Marcel_Janssens property:family_name ?b } } . ?b rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6237885
P607
Q350604
USER
Which battle did John Harper take part in ?
(Q6237885,P607,c(Q350604))
action filter_type
action find
entity Q6237885
relation P607
type Q350604
['Q6237885', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?p WHERE { resource:Q6237885 property:P607 ?p . ?p rdf:type ontology:Q350604 }
John Harper
action filter_type
action find
entity John Harper
relation conflict
type armed conflict
['John Harper', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?p WHERE { resource:John_Harper property:conflict ?p . ?p rdf:type ontology:armed_conflict }
[]
armed conflict
Q8663
SYSTEM
Korean War
Q8663
(Q6237885,P607,c(Q350604))
action filter_type
action find
entity Q6237885
relation P607
type Q350604
John Harper took part in [ANSWER]
['Q6237885', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?p WHERE { resource:Q6237885 property:P607 ?p . ?p rdf:type ontology:Q350604 }
Korean War
John Harper took part in Korean War
Korean War
action filter_type
action find
entity John Harper
relation conflict
type armed conflict
['John Harper', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?p WHERE { resource:John_Harper property:conflict ?p . ?p rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6237885
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q8663,P27,c(Q15617994))
action filter_type
action find
entity Q6237885
relation P27
type Q15617994
['Q8663', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q6237885 property:P27 ?w }
John Harper
action filter_type
action find
entity John Harper
relation country of citizenship
type designation for an administrative territorial entity
['Korean War', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:John_Harper property:country_of_citizenship ?w }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q8663,P27,c(Q15617994))
action filter_type
action find
entity Q6237885
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q8663', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q6237885 property:P27 ?w }
United States of America
The United States of America is the native country of that person
United States of America
action filter_type
action find
entity John Harper
relation country of citizenship
type designation for an administrative territorial entity
['Korean War', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:John_Harper property:country_of_citizenship ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q30 Q3357
P47
Q15617994
USER
Does Dordogne have a shared border with that one ?
(Q30,P47,Q3357)
action is_in
entity Q3357
action find
entity Q30
relation P47
['Q30', 'P47', 'Q3357']
ASK WHERE { resource:Q30 property:P47 resource:Q3357 }
United States of America Dordogne
action is_in
entity Dordogne
action find
entity United States of America
relation shares border with
['United States of America', 'shares border with', 'Dordogne']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Dordogne }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q30,P47,Q3357)
action is_in
entity Q3357
action find
entity Q30
relation P47
[ANSWER]
['Q30', 'P47', 'Q3357']
ASK WHERE { resource:Q30 property:P47 resource:Q3357 }
No
action is_in
entity Dordogne
action find
entity United States of America
relation shares border with
['United States of America', 'shares border with', 'Dordogne']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Dordogne }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q15617994 Q1048835
USER
Which administrative territories holds diplomatic relationship with exactly 2 administrative territories or political territories ?
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 2
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?h ) WHERE { { ?a rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 . ?b property:P530 ?a } UNION { ?b property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } } GROUP BY ?a } . FILTER ( ?h = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 2
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?h ) WHERE { { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity . ?b property:diplomatic_relation ?a } UNION { ?b property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?a } . FILTER ( ?h = 2 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity political territorial entity
Q948 Q858 Q657
SYSTEM
Tunisia, Syria, Chad
Q804 Q398 Q657 Q792 Q986 Q244 Q811 Q819 Q424 Q236 Q238 Q1045 Q921 Q1020 Q1037 Q965 Q967 Q962 Q917 Q1007 Q1006 Q1005 Q977 Q34020 Q686 Q574 Q874 Q858 Q948
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
value 2
[ANSWERS] hold diplomatic relationship with exactly 2 administrative territories or political territories
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?h ) WHERE { { ?a rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 . ?b property:P530 ?a } UNION { ?b property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } } GROUP BY ?a } . FILTER ( ?h = 2 ) }
Panama Bahrain Chad El Salvador Eritrea Barbados Nicaragua Laos Cambodia Montenegro San Marino Somalia Brunei Malawi Rwanda Burkina Faso Burundi Benin Bhutan Guinea-Bissau Guinea Gambia Djibouti Niue Vanuatu East Timor Turkmenistan Syria Tunisia
Tunisia, Syria and Chad hold diplomatic relationship with exactly 2 administrative territories or political territories
Tunisia Syria Chad
action equal
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 2
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?h ) WHERE { { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity . ?b property:diplomatic_relation ?a } UNION { ?b property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?a } . FILTER ( ?h = 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q846664
P180
Q82799 Q11060274 Q340169
USER
How many names are demonstrated in more number of prints or medias than hawk ?
(c(Q11060274)|c(Q340169),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q846664
relation P180
type Q11060274
type Q340169
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) ?x WHERE { { ?g property:P180 ?x . ?x rdf:type ontology:Q82799 . ?g rdf:type ontology:Q11060274 } UNION { ?g property:P180 ?x . ?x rdf:type ontology:Q82799 . ?g rdf:type ontology:Q340169 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { { ?k rdf:type ontology:Q340169 } UNION { ?k rdf:type ontology:Q11060274 } } . ?k property:P180 resource:Q846664 } } . FILTER ( ?f > ?u ) }
hawk
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity hawk
relation depicts
type print
type media
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) ?x WHERE { { ?g property:depicts ?x . ?x rdf:type ontology:name . ?g rdf:type ontology:print } UNION { ?g property:depicts ?x . ?x rdf:type ontology:name . ?g rdf:type ontology:media } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { { ?k rdf:type ontology:media } UNION { ?k rdf:type ontology:print } } . ?k property:depicts resource:hawk } } . FILTER ( ?f > ?u ) }
[]
name print media
SYSTEM
13
Q5 Q726 Q830 Q3736439 Q7368 Q7369 Q144 Q24067392 Q3537778 Q1367 Q9394 Q43115 Q7378
(c(Q11060274)|c(Q340169),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q846664
relation P180
type Q11060274
type Q340169
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) ?x WHERE { { ?g property:P180 ?x . ?x rdf:type ontology:Q82799 . ?g rdf:type ontology:Q11060274 } UNION { ?g property:P180 ?x . ?x rdf:type ontology:Q82799 . ?g rdf:type ontology:Q340169 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { { ?k rdf:type ontology:Q340169 } UNION { ?k rdf:type ontology:Q11060274 } } . ?k property:P180 resource:Q846664 } } . FILTER ( ?f > ?u ) }
human horse cattle duck Ovis aries dolphin dog Boy donkeys monkey rabbit saint elephant
13
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity hawk
relation depicts
type print
type media
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) ?x WHERE { { ?g property:depicts ?x . ?x rdf:type ontology:name . ?g rdf:type ontology:print } UNION { ?g property:depicts ?x . ?x rdf:type ontology:name . ?g rdf:type ontology:media } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { { ?k rdf:type ontology:media } UNION { ?k rdf:type ontology:print } } . ?k property:depicts resource:hawk } } . FILTER ( ?f > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q876933
P180
Q82799 Q11060274 Q340169
USER
And also tell me about magi?
(c(Q11060274)|c(Q340169),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q876933
relation P180
type Q11060274
type Q340169
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?q ) WHERE { VALUES ( ?y ) { ( ontology:Q340169 ) ( ontology:Q11060274 ) } . ?v rdf:type ?y } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:P180 resource:Q876933 . { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:Q340169 ) ( ontology:Q11060274 ) } } } } . FILTER ( ?q > ?s ) }
magi
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity magi
relation depicts
type print
type media
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?q ) WHERE { VALUES ( ?y ) { ( ontology:media ) ( ontology:print ) } . ?v rdf:type ?y } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:depicts resource:magi . { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:media ) ( ontology:print ) } } } } . FILTER ( ?q > ?s ) }
[]
name print media
SYSTEM
13
Q5 Q726 Q830 Q3736439 Q7368 Q7369 Q144 Q24067392 Q3537778 Q1367 Q9394 Q43115 Q7378
(c(Q11060274)|c(Q340169),P180,c(Q82799))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q876933
relation P180
type Q11060274
type Q340169
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?q ) WHERE { VALUES ( ?y ) { ( ontology:Q340169 ) ( ontology:Q11060274 ) } . ?v rdf:type ?y } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:P180 resource:Q876933 . { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:Q340169 ) ( ontology:Q11060274 ) } } } } . FILTER ( ?q > ?s ) }
human horse cattle duck Ovis aries dolphin dog Boy donkeys monkey rabbit saint elephant
13
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity magi
relation depicts
type print
type media
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?q ) WHERE { VALUES ( ?y ) { ( ontology:media ) ( ontology:print ) } . ?v rdf:type ?y } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { ?f property:depicts resource:magi . { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:media ) ( ontology:print ) } } } } . FILTER ( ?q > ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q948
P35
Q502895
USER
Which people are the heads of state of Tunisia ?
(Q948,P35,c(Q502895))
action filter_type
action find
entity Q948
relation P35
type Q502895
['Q948', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q948 property:P35 ?z . ?z rdf:type ontology:Q502895 }
Tunisia
action filter_type
action find
entity Tunisia
relation head of state
type common name
['Tunisia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Tunisia property:head_of_state ?z . ?z rdf:type ontology:common_name }
[]
common name
Q313539 Q4715
SYSTEM
Beji Caid el Sebsi, Moncef Marzouki
Q313539 Q4715
(Q948,P35,c(Q502895))
action filter_type
action find
entity Q948
relation P35
type Q502895
[ANSWERS] are the heads of state of Tunisia
['Q948', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q948 property:P35 ?z . ?z rdf:type ontology:Q502895 }
Beji Caid el Sebsi Moncef Marzouki
Beji Caid el Sebsi and Moncef Marzouki are the heads of state of Tunisia
Beji Caid el Sebsi Moncef Marzouki
action filter_type
action find
entity Tunisia
relation head of state
type common name
['Tunisia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Tunisia property:head_of_state ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q313539 Q4715
P35
Q15617994
USER
Which administrative territories elected Beji Caid el Sebsi and Moncef Marzouki as their head of state ?
(c(Q15617994),P35,Q313539) (c(Q15617994),P35,Q4715)
action union
action filter_type
action find_reverse
entity Q313539
relation P35
type Q15617994
action filter_type
action find_reverse
entity Q4715
relation P35
type Q15617994
[{'concept': 'Q15617994'}, 'P35', 'Q313539'] [{'concept': 'Q15617994'}, 'P35', 'Q4715']
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:Q15617994 . ?a property:P35 resource:Q313539 } UNION { ?a property:P35 resource:Q4715 . ?a rdf:type ontology:Q15617994 } }
Beji Caid el Sebsi Moncef Marzouki
action union
action filter_type
action find_reverse
entity Beji Caid el Sebsi
relation head of state
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Moncef Marzouki
relation head of state
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Beji Caid el Sebsi'] [{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Moncef Marzouki']
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:head_of_state resource:Beji_Caid_el_Sebsi } UNION { ?a property:head_of_state resource:Moncef_Marzouki . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q948
SYSTEM
Tunisia
Q948
(c(Q15617994),P35,Q313539) (c(Q15617994),P35,Q4715)
action union
action filter_type
action find_reverse
entity Q313539
relation P35
type Q15617994
action filter_type
action find_reverse
entity Q4715
relation P35
type Q15617994
[ANSWER] elected Beji Caid el Sebsi and Moncef Marzouki as their head of state
[{'concept': 'Q15617994'}, 'P35', 'Q313539'] [{'concept': 'Q15617994'}, 'P35', 'Q4715']
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:Q15617994 . ?a property:P35 resource:Q313539 } UNION { ?a property:P35 resource:Q4715 . ?a rdf:type ontology:Q15617994 } }
Tunisia
Tunisia elected Beji Caid el Sebsi and Moncef Marzouki as their head of state
Tunisia
action union
action filter_type
action find_reverse
entity Beji Caid el Sebsi
relation head of state
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Moncef Marzouki
relation head of state
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Beji Caid el Sebsi'] [{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Moncef Marzouki']
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:head_of_state resource:Beji_Caid_el_Sebsi } UNION { ?a property:head_of_state resource:Moncef_Marzouki . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313539
P106
Q12737077
USER
What is the job of Beji Caid el Sebsi ?
(Q948,P106,c(Q12737077))
action filter_type
action find
entity Q313539
relation P106
type Q12737077
['Q948', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q313539 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Beji Caid el Sebsi
action filter_type
action find
entity Beji Caid el Sebsi
relation occupation
type occupation
['Tunisia', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Beji_Caid_el_Sebsi property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q948,P106,c(Q12737077))
action filter_type
action find
entity Q313539
relation P106
type Q12737077
The job of Beji Caid el Sebsi is a [ANSWER]
['Q948', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q313539 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
politician
The job of Beji Caid el Sebsi is a politician
politician
action filter_type
action find
entity Beji Caid el Sebsi
relation occupation
type occupation
['Tunisia', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Beji_Caid_el_Sebsi property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q313539
P21
Q290
USER
Which sex does that person possess ?
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q313539
relation P21
type Q290
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q313539 property:P21 ?a . ?a rdf:type ontology:Q290 }
Beji Caid el Sebsi
action filter_type
action find
entity Beji Caid el Sebsi
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Beji_Caid_el_Sebsi property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q313539
relation P21
type Q290
That person possesses a [ANSWER]
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q313539 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Beji Caid el Sebsi
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Beji_Caid_el_Sebsi property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q948
P137
Q2424752
USER
Which products can be described as service operator of Tunisia ?
(c(Q2424752),P137,Q948)
action filter_type
action find_reverse
entity Q948
relation P137
type Q2424752
[{'concept': 'Q2424752'}, 'P137', 'Q948']
SELECT DISTINCT ?g WHERE { ?g property:P137 resource:Q948 . ?g rdf:type ontology:Q2424752 }
Tunisia
action filter_type
action find_reverse
entity Tunisia
relation operator
type product
[{'concept': 'product'}, 'operator', 'Tunisia']
SELECT DISTINCT ?g WHERE { ?g property:operator resource:Tunisia . ?g rdf:type ontology:product }
[]
product
Q18173029 Q18011085 Q18010966
SYSTEM
SA 330C Puma, MB-326LT, MB-326B
Q18011085 Q18173029 Q18010966 Q18011083
(c(Q2424752),P137,Q948)
action filter_type
action find_reverse
entity Q948
relation P137
type Q2424752
[ANSWERS] can be described as service operator of Tunisia
[{'concept': 'Q2424752'}, 'P137', 'Q948']
SELECT DISTINCT ?g WHERE { ?g property:P137 resource:Q948 . ?g rdf:type ontology:Q2424752 }
MB-326LT SA 330C Puma MB-326B MB-326KT Veltro
SA 330C Puma, MB-326LT and MB-326B can be described as service operator of Tunisia
SA 330C Puma MB-326LT MB-326B
action filter_type
action find_reverse
entity Tunisia
relation operator
type product
[{'concept': 'product'}, 'operator', 'Tunisia']
SELECT DISTINCT ?g WHERE { ?g property:operator resource:Tunisia . ?g rdf:type ontology:product }
[]