Simple Question (Direct)
Simple Question
Q546369
P734
Q82799
USER
Who has the surname Ted King ?
(Q546369,P734,c(Q82799))
action filter_type
action find
entity Q546369
relation P734
type Q82799
['Q546369', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q546369 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Ted King
action filter_type
action find
entity Ted King
relation family name
type name
['Ted King', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Ted_King property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q535214
SYSTEM
King
Q535214
(Q546369,P734,c(Q82799))
action filter_type
action find
entity Q546369
relation P734
type Q82799
[ANSWER] has the surname Ted [ANSWER]
['Q546369', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q546369 property:P734 ?i . ?i rdf:type ontology:Q82799 }
King
King has the surname Ted King
King
action filter_type
action find
entity Ted King
relation family name
type name
['Ted King', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Ted_King property:family_name ?i . ?i rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q546369
P161
Q838948
USER
Which works of art have that person as actor ?
(c(Q838948),P161,Q535214)
action filter_type
action find_reverse
entity Q546369
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q535214']
SELECT DISTINCT ?y WHERE { ?y property:P161 resource:Q546369 . ?y rdf:type ontology:Q838948 }
Ted King
action filter_type
action find_reverse
entity Ted King
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'King']
SELECT DISTINCT ?y WHERE { ?y property:cast_member resource:Ted_King . ?y rdf:type ontology:work_of_art }
[]
work of art
Q5897591 Q1171141
SYSTEM
Hoodlum & Son, Blue Thunder
Q5897591 Q1171141
(c(Q838948),P161,Q535214)
action filter_type
action find_reverse
entity Q546369
relation P161
type Q838948
[ANSWERS] have that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q535214']
SELECT DISTINCT ?y WHERE { ?y property:P161 resource:Q546369 . ?y rdf:type ontology:Q838948 }
Hoodlum & Son Blue Thunder
Hoodlum & Son and Blue Thunder have that person as actor
Hoodlum & Son Blue Thunder
action filter_type
action find_reverse
entity Ted King
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'King']
SELECT DISTINCT ?y WHERE { ?y property:cast_member resource:Ted_King . ?y rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4769579 Q1171141
P495
Q15617994
USER
Which administrative territories are the countries of origin of Blue Thunder or Anno Dracula series ?
OR((Q1171141,P495,c(Q15617994)), (Q4769579,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1171141
relation P495
action find
entity Q4769579
relation P495
type Q15617994
{'OR': [['Q1171141', 'P495', {'concept': 'Q15617994'}], ['Q4769579', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { ?s property:P495 ?l . VALUES ( ?s ) { ( resource:Q1171141 ) ( resource:Q4769579 ) } } . ?l rdf:type ontology:Q15617994 }
Anno Dracula series Blue Thunder
action filter_type
action union
action find
entity Blue Thunder
relation country of origin
action find
entity Anno Dracula series
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Blue Thunder', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Anno Dracula series', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { ?s property:country_of_origin ?l . VALUES ( ?s ) { ( resource:Blue_Thunder ) ( resource:Anno_Dracula_series ) } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q1171141,P495,c(Q15617994)), (Q4769579,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1171141
relation P495
action find
entity Q4769579
relation P495
type Q15617994
[ANSWERS] are the countries of origin of Blue Thunder or Anno Dracula series
{'OR': [['Q1171141', 'P495', {'concept': 'Q15617994'}], ['Q4769579', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { ?s property:P495 ?l . VALUES ( ?s ) { ( resource:Q1171141 ) ( resource:Q4769579 ) } } . ?l rdf:type ontology:Q15617994 }
United States of America United Kingdom
United States of America and United Kingdom are the countries of origin of Blue Thunder or Anno Dracula series
United States of America United Kingdom
action filter_type
action union
action find
entity Blue Thunder
relation country of origin
action find
entity Anno Dracula series
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Blue Thunder', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Anno Dracula series', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { ?s property:country_of_origin ?l . VALUES ( ?s ) { ( resource:Blue_Thunder ) ( resource:Anno_Dracula_series ) } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q35011
P27
Q502895
USER
Are Frances Fisher a citizen of those administrative territories ?
(Q35011,P27,Q30) (Q35011,P27,Q145)
action is_in
entity prev_answer
action find
entity Q35011
relation P27
['Q35011', 'P27', 'Q30'] ['Q35011', 'P27', 'Q145']
ASK WHERE { VALUES ( ?w ) { ( resource:Q30 ) ( resource:Q145 ) } . resource:Q35011 property:P27 ?w }
Frances Fisher
action is_in
entity prev_answer
action find
entity Frances Fisher
relation country of citizenship
['Frances Fisher', 'country of citizenship', 'United States of America'] ['Frances Fisher', 'country of citizenship', 'United Kingdom']
ASK WHERE { VALUES ( ?w ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } . resource:Frances_Fisher property:country_of_citizenship ?w }
[]
common name
SYSTEM
YES
(Q35011,P27,Q30) (Q35011,P27,Q145)
action is_in
entity prev_answer
action find
entity Q35011
relation P27
[ANSWER]
['Q35011', 'P27', 'Q30'] ['Q35011', 'P27', 'Q145']
ASK WHERE { VALUES ( ?w ) { ( resource:Q30 ) ( resource:Q145 ) } . resource:Q35011 property:P27 ?w }
Yes
action is_in
entity prev_answer
action find
entity Frances Fisher
relation country of citizenship
['Frances Fisher', 'country of citizenship', 'United States of America'] ['Frances Fisher', 'country of citizenship', 'United Kingdom']
ASK WHERE { VALUES ( ?w ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } . resource:Frances_Fisher property:country_of_citizenship ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q535214 Q727841
P407
Q34770
USER
Is Asiatic style the language of work for King ?
(Q535214,P407,Q727841)
action is_in
entity Q727841
action find
entity Q535214
relation P407
['Q535214', 'P407', 'Q727841']
ASK WHERE { resource:Q535214 property:P407 resource:Q727841 }
King Asiatic style
action is_in
entity Asiatic style
action find
entity King
relation language of work or name
['King', 'language of work or name', 'Asiatic style']
ASK WHERE { resource:King property:language_of_work_or_name resource:Asiatic_style }
[]
language
SYSTEM
NO
(Q535214,P407,Q727841)
action is_in
entity Q727841
action find
entity Q535214
relation P407
[ANSWER]
['Q535214', 'P407', 'Q727841']
ASK WHERE { resource:Q535214 property:P407 resource:Q727841 }
No
action is_in
entity Asiatic style
action find
entity King
relation language of work or name
['King', 'language of work or name', 'Asiatic style']
ASK WHERE { resource:King property:language_of_work_or_name resource:Asiatic_style }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q535214
P1533
Q82799
USER
Which name is the same as that one ?
action filter_type
action find_reverse
entity Q535214
relation P1533
type Q82799
SELECT DISTINCT ?p WHERE { ?p property:P1533 resource:Q535214 . ?p rdf:type ontology:Q82799 }
King
action filter_type
action find_reverse
entity King
relation family name identical to this first name
type name
SELECT DISTINCT ?p WHERE { ?p property:family_name_identical_to_this_first_name resource:King . ?p rdf:type ontology:name }
[]
name
Q18508917
SYSTEM
King
Q18508917
action filter_type
action find_reverse
entity Q535214
relation P1533
type Q82799
[ANSWER] is the same as that one
SELECT DISTINCT ?p WHERE { ?p property:P1533 resource:Q535214 . ?p rdf:type ontology:Q82799 }
King
King is the same as that one
King
action filter_type
action find_reverse
entity King
relation family name identical to this first name
type name
SELECT DISTINCT ?p WHERE { ?p property:family_name_identical_to_this_first_name resource:King . ?p rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q18508917 Q1860 Q856383
P407
Q34770
USER
Is that name created in language English and Pictish ?
(Q18508917,P407,Q1860) (Q18508917,P407,Q856383)
action is_in
entity Q18508917
action intersection
action find_reverse
entity Q1860
relation P407
action find_reverse
entity Q856383
relation P407
['Q18508917', 'P407', 'Q1860'] ['Q18508917', 'P407', 'Q856383']
ASK WHERE { resource:Q18508917 property:P407 resource:Q1860 . resource:Q18508917 property:P407 resource:Q856383 }
King English Pictish
action is_in
entity King
action intersection
action find_reverse
entity English
relation language of work or name
action find_reverse
entity Pictish
relation language of work or name
['King', 'language of work or name', 'English'] ['King', 'language of work or name', 'Pictish']
ASK WHERE { resource:King property:language_of_work_or_name resource:English . resource:King property:language_of_work_or_name resource:Pictish }
[]
language
SYSTEM
YES and NO respectively
(Q18508917,P407,Q1860) (Q18508917,P407,Q856383)
action is_in
entity Q18508917
action intersection
action find_reverse
entity Q1860
relation P407
action find_reverse
entity Q856383
relation P407
[ANSWER]
['Q18508917', 'P407', 'Q1860'] ['Q18508917', 'P407', 'Q856383']
ASK WHERE { resource:Q18508917 property:P407 resource:Q1860 . resource:Q18508917 property:P407 resource:Q856383 }
YES and NO respectively
action is_in
entity King
action intersection
action find_reverse
entity English
relation language of work or name
action find_reverse
entity Pictish
relation language of work or name
['King', 'language of work or name', 'English'] ['King', 'language of work or name', 'Pictish']
ASK WHERE { resource:King property:language_of_work_or_name resource:English . resource:King property:language_of_work_or_name resource:Pictish }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q6581072 Q535214
P734 P21
Q502895
USER
Which people have King as last name and do not have gender of female ?
AND((c(Q502895),P734,Q535214), NOT((c(Q502895),P21,Q6581072)))
action filter_type
action difference
action find_reverse
entity Q535214
relation P734
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q535214'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581072']]}]}
SELECT DISTINCT ?u WHERE { ?u property:P734 resource:Q535214 . MINUS { ?u property:P21 resource:Q6581072 } . ?u rdf:type ontology:Q502895 }
female King
action filter_type
action difference
action find_reverse
entity King
relation family name
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'King'], {'NOT': [[{'concept': 'common name'}, 'gender', 'female']]}]}
SELECT DISTINCT ?u WHERE { ?u property:family_name resource:King . MINUS { ?u property:gender resource:female } . ?u rdf:type ontology:common_name }
[]
common name
Q936186 Q4382250 Q749710 Q3607715 Q375114 Q541483 Q3703224 Q643106 Q673384 Q3857411
SYSTEM
Some of them are Dave King, Chris Thomas King, Steve King, Alan King, Horatio King, Gerard King, David King, Alan King, Rich King, Mike King
Q15402259 Q1095462 Q749710 Q1463202 Q112449 Q643106 Q18638271 Q736225 Q4708729 Q923059 Q4912853 Q953554 Q3392877 Q860223 Q2351481 Q145173 Q1334740 Q6969180 Q366731 Q16575211 Q2832846 Q3481618 Q1403519 Q3752021 Q971422 Q2928642 Q816536 Q4980203 Q673384 Q3703224 Q2345204 Q763044 Q8027 Q3452800 Q579902 Q21464833 Q5236019 Q128238 Q2040299 Q7000747 Q3992491 Q1659556 Q713198 Q269505 Q543356 Q526445 Q2958563 Q1922188 Q7369266 Q2053693 Q16567113 Q973491 Q25249291 Q128633 Q16631449 Q10588 Q1363071 Q6969179 Q2832979 Q44809 Q20825622 Q338389 Q3666371 Q22668106 Q3310029 Q14918446 Q707117 Q1631306 Q936186 Q3837913 Q213430 Q541483 Q822531 Q26433947 Q3857411 Q188969 Q436209 Q18636020 Q11322 Q375114 Q207401 Q6490649 Q6999969 Q3618504 Q3931728 Q5289338 Q512896 Q3608060 Q39829 Q7689038 Q3952845 Q653159 Q202240 Q3938332 Q924150 Q297210 Q6480877 Q436237 Q3948338 Q18670959 Q2959529 Q3849808 Q3783802 Q2010690 Q298985 Q344977 Q479622 Q2997510 Q580473 Q370377 Q3607715 Q979221 Q4382250 Q456794 Q1079861 Q1338334 Q3611283 Q546369 Q671520 Q3990666 Q3990661 Q1604798 Q966827
AND((c(Q502895),P734,Q535214), NOT((c(Q502895),P21,Q6581072)))
action filter_type
action difference
action find_reverse
entity Q535214
relation P734
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS] have King as last name and do not have gender of female
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q535214'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581072']]}]}
SELECT DISTINCT ?u WHERE { ?u property:P734 resource:Q535214 . MINUS { ?u property:P21 resource:Q6581072 } . ?u rdf:type ontology:Q502895 }
Wright King Clarence King Steve King James King Stacey King Alan King Chuck King Bob King Alastair King Charles King Billy King Peter King Winfred King Charles King Chris King Zalman King Perry King Nathan King Ernest King Tony King Stephen King Shawn King Paul King Frankie King Ed King Burton L. King Benjamin King Bryan King Rich King David King Maurice King Jim King Martin Luther King, Jr. Rufus King Alexander King Philippa King David King Shaun King Jamie King Ron King Tom King Li Tchoan King Mark King Henry King Dwight King Andy King Charles Bird King Mervyn King Ross D. King Jack King Jared King Gregory King William King William Lyon Mackenzie King Eddy King Marlon King Leamon King Nathan King Alex King Albert King Jim King Rodney King Charles Daly King Jackie King Michel King David King Owen King Alex King Dave King Loyd King Larry King Gerard King Bernard King William Charles Holland King Mike King B. B. King Freddie King Sonny King Louis King Horatio King Ledley King Larry L. King Dan King Anthony King Reggie King Dolly King Erik King Albert King Stephen King Tavarres King Scott King Graham King Allan King Robert King Emmit King Kerry King Lamar King Joshua King Sandy King Daniel King Charles King Marquette King Haynes King Jamie King William R. King Don King Phillip King Dennis King James King Joe Hill Alan King Michael Patrick King Chris Thomas King Rufus King Dennis King Phillip Parker King Alfred Daniel Williams King Ted King John King Thomas King Thomas Joseph King Simon King Jimmy King
Dave King, Chris Thomas King, Steve King, Alan King, Horatio King, Gerard King, David King, Alan King, Rich King and Mike King have King as last name and do not have gender of female
Dave King Chris Thomas King Steve King Alan King Horatio King Gerard King David King Alan King Rich King Mike King
action filter_type
action difference
action find_reverse
entity King
relation family name
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'King'], {'NOT': [[{'concept': 'common name'}, 'gender', 'female']]}]}
SELECT DISTINCT ?u WHERE { ?u property:family_name resource:King . MINUS { ?u property:gender resource:female } . ?u rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q27037165
P361
Q9332 Q151885 Q82799
USER
How many names are a component of around the same number of behaviors or concepts as Abner ?
(c(Q82799),P361,c(Q9332)|c(Q151885))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q9332
action find_tuple_counts
relation P361
type Q82799
type Q151885
action count
action filter_multi_types
action find
entity Q27037165
relation P361
type Q9332
type Q151885
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { resource:Q27037165 property:P361 ?u . { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:Q9332 ) ( ontology:Q151885 ) } } } } . FILTER ( ?b = ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) ?f WHERE { { ?f property:P361 ?z . ?f rdf:type ontology:Q82799 . ?z rdf:type ontology:Q151885 } UNION { ?f property:P361 ?z . ?f rdf:type ontology:Q82799 . ?z rdf:type ontology:Q9332 } } GROUP BY ?f } }
Abner
action count
action approx
action union
action find_tuple_counts
relation part of
type name
type behavior
action find_tuple_counts
relation part of
type name
type concept
action count
action filter_multi_types
action find
entity Abner
relation part of
type behavior
type concept
[{'concept': 'name'}, 'part of', [{'concept': 'behavior'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { resource:Abner property:part_of ?u . { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:behavior ) ( ontology:concept ) } } } } . FILTER ( ?b = ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) ?f WHERE { { ?f property:part_of ?z . ?f rdf:type ontology:name . ?z rdf:type ontology:concept } UNION { ?f property:part_of ?z . ?f rdf:type ontology:name . ?z rdf:type ontology:behavior } } GROUP BY ?f } }
[]
behavior concept name
SYSTEM
315
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 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 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 Q4812724 Q21534898 Q26234451 Q19550800 Q23538357 Q1737707 Q26972634 Q16175496 Q19856970 Q21143968 Q21143966 Q20064977 Q21450552 Q19839041 Q27450738 Q27450739 Q21538548 Q5034376 Q27131901 Q26741034 Q19582298 Q19688887 Q27450824 Q26220628 Q861966 Q13582244 Q15789615 Q20982280 Q27450829
(c(Q82799),P361,c(Q9332)|c(Q151885))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q9332
action find_tuple_counts
relation P361
type Q82799
type Q151885
action count
action filter_multi_types
action find
entity Q27037165
relation P361
type Q9332
type Q151885
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { resource:Q27037165 property:P361 ?u . { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:Q9332 ) ( ontology:Q151885 ) } } } } . FILTER ( ?b = ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) ?f WHERE { { ?f property:P361 ?z . ?f rdf:type ontology:Q82799 . ?z rdf:type ontology:Q151885 } UNION { ?f property:P361 ?z . ?f rdf:type ontology:Q82799 . ?z rdf:type ontology:Q9332 } } GROUP BY ?f } }
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 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 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 Ataman Fethi Rupert Alden Azuma Keefe Noah Bas Squire Herrmann Henrie Dong Hamilton Cushman Keill Moumouni Biff Caomhánach Tokiwa Patti Melville Tone Savea Arian dung beetles Dale Brady Maury Akpan
315
action count
action approx
action union
action find_tuple_counts
relation part of
type name
type behavior
action find_tuple_counts
relation part of
type name
type concept
action count
action filter_multi_types
action find
entity Abner
relation part of
type behavior
type concept
[{'concept': 'name'}, 'part of', [{'concept': 'behavior'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { resource:Abner property:part_of ?u . { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:behavior ) ( ontology:concept ) } } } } . FILTER ( ?b = ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) ?f WHERE { { ?f property:part_of ?z . ?f rdf:type ontology:name . ?z rdf:type ontology:concept } UNION { ?f property:part_of ?z . ?f rdf:type ontology:name . ?z rdf:type ontology:behavior } } GROUP BY ?f } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q673384
P641
Q349
USER
Which sport was Rich King a part of ?
(Q673384,P641,c(Q349))
action filter_type
action find
entity Q673384
relation P641
type Q349
['Q673384', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q673384 property:P641 ?i . ?i rdf:type ontology:Q349 }
Rich King
action filter_type
action find
entity Rich King
relation sport
type sport
['Rich King', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Rich_King property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q673384,P641,c(Q349))
action filter_type
action find
entity Q673384
relation P641
type Q349
Which sport was Rich King a part of
['Q673384', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q673384 property:P641 ?i . ?i rdf:type ontology:Q349 }
basketball
Which sport was Rich King a part of
basketball
action filter_type
action find
entity Rich King
relation sport
type sport
['Rich King', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Rich_King property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q673384
P106
Q12737077
USER
What is the job of Rich King ?
(Q673384,P106,c(Q12737077))
action filter_type
action find
entity Q673384
relation P106
type Q12737077
['Q673384', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q673384 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Rich King
action filter_type
action find
entity Rich King
relation occupation
type occupation
['Rich King', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Rich_King property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q673384,P106,c(Q12737077))
action filter_type
action find
entity Q673384
relation P106
type Q12737077
The job of Rich King is a [ANSWER]
['Q673384', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q673384 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
basketball player
The job of Rich King is a basketball player
basketball player
action filter_type
action find
entity Rich King
relation occupation
type occupation
['Rich King', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Rich_King property:occupation ?z . ?z rdf:type ontology:occupation }
[]