Simple Question (Direct)
Simple Question
Q17277917
P512
Q3412758
USER
What is the degree held by Hans-Harald Fitschen ?
(Q17277917,P512,c(Q3412758))
action filter_type
action find
entity Q17277917
relation P512
type Q3412758
['Q17277917', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?f WHERE { resource:Q17277917 property:P512 ?f . ?f rdf:type ontology:Q3412758 }
Hans-Harald Fitschen
action filter_type
action find
entity Hans-Harald Fitschen
relation academic degree
type qualification
['Hans-Harald Fitschen', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?f WHERE { resource:Hans-Harald_Fitschen property:academic_degree ?f . ?f rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q17277917,P512,c(Q3412758))
action filter_type
action find
entity Q17277917
relation P512
type Q3412758
The degree held by Hans-Harald Fitschen is a [ANSWER]
['Q17277917', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?f WHERE { resource:Q17277917 property:P512 ?f . ?f rdf:type ontology:Q3412758 }
doctoral degree
The degree held by Hans-Harald Fitschen is a doctoral degree
doctoral degree
action filter_type
action find
entity Hans-Harald Fitschen
relation academic degree
type qualification
['Hans-Harald Fitschen', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?f WHERE { resource:Hans-Harald_Fitschen property:academic_degree ?f . ?f rdf:type ontology:qualification }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17277917
P734
Q82799
USER
Who is associated with Hans-Harald Fitschen ?
(Q17277917,P734,c(Q82799))
action filter_type
action find
entity Q17277917
relation P734
type Q82799
['Q17277917', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q17277917 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Hans-Harald Fitschen
action filter_type
action find
entity Hans-Harald Fitschen
relation family name
type name
['Hans-Harald Fitschen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Hans-Harald_Fitschen property:family_name ?z . ?z rdf:type ontology:name }
[]
name
Q27258879
SYSTEM
Fitschen
Q27258879
(Q17277917,P734,c(Q82799))
action filter_type
action find
entity Q17277917
relation P734
type Q82799
En [ANSWER] is associated with Hans-Harald [ANSWER]
['Q17277917', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q17277917 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Fitschen
En Fitschen is associated with Hans-Harald Fitschen
Fitschen
action filter_type
action find
entity Hans-Harald Fitschen
relation family name
type name
['Hans-Harald Fitschen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Hans-Harald_Fitschen property:family_name ?z . ?z rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1654116
Q82799
USER
And how about Shepard Smith?
(Q1654116,P734,c(Q82799))
action filter_type
action find
entity Q1654116
relation P734
type Q82799
['Q1654116', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q1654116 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Shepard Smith
action filter_type
action find
entity Shepard Smith
relation family name
type name
['Shepard Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Shepard_Smith property:family_name ?x . ?x rdf:type ontology:name }
[]
name
Q1158446
SYSTEM
Smith
Q1158446
(Q1654116,P734,c(Q82799))
action filter_type
action find
entity Q1654116
relation P734
type Q82799
[ANSWER]
['Q1654116', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q1654116 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Smith
Smith
action filter_type
action find
entity Shepard Smith
relation family name
type name
['Shepard Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Shepard_Smith property:family_name ?x . ?x rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q838948 Q3305213
USER
How many names are depicted in exactly 4 works of art and paintings ?
(c(Q838948)|c(Q3305213),P180,c(Q82799))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
value 4
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?d ) WHERE { { ?m rdf:type ontology:Q82799 . ?j rdf:type ontology:Q838948 . ?j property:P180 ?m } UNION { ?j property:P180 ?m . ?m rdf:type ontology:Q82799 . ?j rdf:type ontology:Q3305213 } } GROUP BY ?m } . FILTER ( ?d = 4 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type painting
value 4
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?d ) WHERE { { ?m rdf:type ontology:name . ?j rdf:type ontology:work_of_art . ?j property:depicts ?m } UNION { ?j property:depicts ?m . ?m rdf:type ontology:name . ?j rdf:type ontology:painting } } GROUP BY ?m } . FILTER ( ?d = 4 ) }
[]
name work of art painting
SYSTEM
2
Q830 Q7378
(c(Q838948)|c(Q3305213),P180,c(Q82799))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
value 4
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?d ) WHERE { { ?m rdf:type ontology:Q82799 . ?j rdf:type ontology:Q838948 . ?j property:P180 ?m } UNION { ?j property:P180 ?m . ?m rdf:type ontology:Q82799 . ?j rdf:type ontology:Q3305213 } } GROUP BY ?m } . FILTER ( ?d = 4 ) }
cattle elephant
2
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type painting
value 4
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?d ) WHERE { { ?m rdf:type ontology:name . ?j rdf:type ontology:work_of_art . ?j property:depicts ?m } UNION { ?j property:depicts ?m . ?m rdf:type ontology:name . ?j rdf:type ontology:painting } } GROUP BY ?m } . FILTER ( ?d = 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1158446
P407
Q34770
USER
What is the language of Smith ?
(Q1158446,P407,c(Q34770))
action filter_type
action find
entity Q1158446
relation P407
type Q34770
['Q1158446', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q1158446 property:P407 ?i . ?i rdf:type ontology:Q34770 }
Smith
action filter_type
action find
entity Smith
relation language of work or name
type language
['Smith', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Smith property:language_of_work_or_name ?i . ?i rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1158446,P407,c(Q34770))
action filter_type
action find
entity Q1158446
relation P407
type Q34770
The language of Smith is the [ANSWER]
['Q1158446', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q1158446 property:P407 ?i . ?i rdf:type ontology:Q34770 }
English
The language of Smith is the English
English
action filter_type
action find
entity Smith
relation language of work or name
type language
['Smith', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Smith property:language_of_work_or_name ?i . ?i rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1860 Q1346342
P361
Q5962346
USER
Is that language a part of Anglic languages ?
(Q1860,P361,Q1346342)
action is_in
entity Q1346342
action find
entity Q1860
relation P361
['Q1860', 'P361', 'Q1346342']
ASK WHERE { resource:Q1860 property:P361 resource:Q1346342 }
English Anglic languages
action is_in
entity Anglic languages
action find
entity English
relation part of
['English', 'part of', 'Anglic languages']
ASK WHERE { resource:English property:part_of resource:Anglic_languages }
[]
classification scheme
SYSTEM
YES
(Q1860,P361,Q1346342)
action is_in
entity Q1346342
action find
entity Q1860
relation P361
[ANSWER]
['Q1860', 'P361', 'Q1346342']
ASK WHERE { resource:Q1860 property:P361 resource:Q1346342 }
Yes
action is_in
entity Anglic languages
action find
entity English
relation part of
['English', 'part of', 'Anglic languages']
ASK WHERE { resource:English property:part_of resource:Anglic_languages }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q874405 Q8436 Q82799
USER
How many names are a portion of atmost 1 social groups and families ?
(c(Q82799),P361,c(Q874405)|c(Q8436))
action count
action atmost
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q8436
value 1
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q8436'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?i WHERE { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:Q874405 ) ( ontology:Q8436 ) } } GROUP BY ?i } . FILTER ( ?f <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type family
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'family'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?i WHERE { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:social_group ) ( ontology:family ) } } GROUP BY ?i } . FILTER ( ?f <= 1 ) }
[]
social group family name
SYSTEM
319
Q19984029 Q23539781 Q16101731 Q16515753 Q27355533 Q22001585 Q26000745 Q26822115 Q19986366 Q2168099 Q19963541 Q20731004 Q27651197 Q21491652 Q21501467 Q27037178 Q21484983 Q12783920 Q27037174 Q5791319 Q27651212 Q12594770 Q27356490 Q1946932 Q21144151 Q20731003 Q27357908 Q18001608 Q26775417 Q20155939 Q11283653 Q26971843 Q27465067 Q18645215 Q12788667 Q19831808 Q27357598 Q21475479 Q24477965 Q21488853 Q26156283 Q21487329 Q24477968 Q24090443 Q20675459 Q21279602 Q1058384 Q16563753 Q21450326 Q21510209 Q25114460 Q27436303 Q21431253 Q20985269 Q27037161 Q355505 Q7071783 Q27037165 Q15629245 Q21498452 Q27037169 Q235598 Q1513700 Q18515515 Q18808411 Q21492574 Q16882305 Q1240901 Q19688789 Q24251030 Q18844248 Q27678568 Q19311987 Q5646565 Q20089343 Q19672747 Q1093580 Q742083 Q19828992 Q21043141 Q22673958 Q4082729 Q18171095 Q110874 Q26448488 Q19832245 Q26822136 Q26822137 Q27635577 Q26822132 Q19688838 Q23636060 Q26822155 Q10145967 Q16161715 Q11878943 Q21506948 Q252216 Q2547055 Q21492983 Q21584287 Q272914 Q23039002 Q27037119 Q19944848 Q2553935 Q18645909 Q21512664 Q27204774 Q18808940 Q1173421 Q27476988 Q23822720 Q21450808 Q25114459 Q15238609 Q27230306 Q27538384 Q16390676 Q26772804 Q26822160 Q25695405 Q20900701 Q24091156 Q26986281 Q26235096 Q26944932 Q20875974 Q15897047 Q27450778 Q3281200 Q27229561 Q26944931 Q23640302 Q26266311 Q3372303 Q10587130 Q17165817 Q15926381 Q26736729 Q21450395 Q19687637 Q27357173 Q27356099 Q1247793 Q21470412 Q27355703 Q27185681 Q21506801 Q27203015 Q23590373 Q21534988 Q21405537 Q27355517 Q26235204 Q21069157 Q27229604 Q23907762 Q27450583 Q27229563 Q26266310 Q27450587 Q15835964 Q21471177 Q20083701 Q885595 Q27203027 Q12624980 Q1707301 Q26822099 Q2876425 Q27229572 Q24573284 Q27251921 Q5 Q631147 Q26868860 Q27651154 Q20003434 Q26736681 Q27352651 Q26877838 Q26986610 Q21502033 Q26449961 Q21452487 Q1158284 Q16876541 Q16932005 Q15788891 Q27642537 Q27450911 Q12788669 Q23590368 Q13639177 Q27037180 Q19944235 Q804437 Q21450555 Q27670177 Q4400681 Q23041619 Q1620641 Q21130107 Q808994 Q16279139 Q21447940 Q12600404 Q19998957 Q17505763 Q18552178 Q21484879 Q27356272 Q19768404 Q12036851 Q19810530 Q26822081 Q24090532 Q18228388 Q26906549 Q24090418 Q26742856 Q26986918 Q1703599 Q19961051 Q382004 Q12601635 Q5461714 Q27350540 Q12020943 Q1399288 Q12188082 Q20010325 Q26235099 Q23578592 Q2491016 Q1557998 Q27133109 Q19831835 Q21491435 Q23767331 Q23767330 Q21507872 Q27450606 Q21508944 Q2824680 Q27450608 Q26774382 Q19550817 Q18689509 Q27355496 Q19768398 Q27450724 Q15813147 Q15711050 Q12784475 Q26736416 Q21431135 Q26772911 Q21484692 Q26736415 Q27037157 Q27651236 Q26972674 Q18402175 Q21886149 Q12785732 Q19839042 Q27450686 Q26741038 Q23569212 Q21492540 Q21142292 Q27450728 Q27450834 Q27450836 Q23907739 Q1915243 Q2287331 Q23578587 Q22348139 Q21057288 Q21476618 Q263542 Q3701009 Q21484521 Q21484914 Q4835658 Q746990 Q4812724 Q21534898 Q26234451 Q19550800 Q23538357 Q1737707 Q26972634 Q16175496 Q19856970 Q21143968 Q21143966 Q20064977 Q21450552 Q19839041 Q27450738 Q27450739 Q876933 Q21538548 Q5034376 Q27131901 Q26741034 Q19582298 Q19688887 Q27450824 Q26220628 Q861966 Q13582244 Q15789615 Q20982280 Q27450829
(c(Q82799),P361,c(Q874405)|c(Q8436))
action count
action atmost
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q8436
value 1
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q8436'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?i WHERE { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:Q874405 ) ( ontology:Q8436 ) } } GROUP BY ?i } . FILTER ( ?f <= 1 ) }
Minami Asami Carter Farkas Türkkan Lamont Meta Candan Brodie human Rotavirusses Cassie Crawford Littleton Esin Olivera Bainbridge Dwyer Abram Bridger Tajinaste Redmond Man Holly Moosa Fedde Crawford Ademola Sylvain Dalibor Clancy Czech family name Ado Özgen Agostino Fabjan Loren Siemion Ersan Guibert Tyson Whittingstall Hewitt Guibert Matsuo Anania Regan hakham Hunter Jayne Sierra Savva Gisbert Adamou Barrington Hakim Nobiliary particle O'Donovan family Abner lizard Kelso Hersey Piso Gerlach Albano Egerton Loui Rostopchin praenomen Achim Barnaby Rowan Sami Yoshihara Han Han Aubrey Han surname Princes of Paliano Shelley Cave Sherman Belarusian surname Armand patronymic Akiyoshi Sami Akilu Řehoř Gruffudd Wito Kaj Cassie Rauf Grand Master of the Teutonic Knights Albin Urban Izumi Árnadóttir Walther Regan Jabez Çubukçubaşı Marshall Melvyn Eraydın Wedekind Abe Redouane Parvin Neil Davern Şentürk Malick Inal Savva nomen Durmuş Fedde Falk Elias Chadi Curtis Nolan Abe Seyfi Lillie Apple Ševela Percy Shigematsu Tent caterpillar Köken Apple Britt Trimnell Mai Moa Warren He Olumide Hillis Rahim Cave Frenk Kinnon Tyrell Eden Rickard Herschel Joby Raimond Yaşar Edward Savin Loudon Mateja Sweeney Florenz Asiedu Robison Ritchard Mordaunt Mynors Prentice Man Blue Joby Hyeon Tyler Ademola Aïssata Aydın Laverne Lamont human infraspecific name Cale Gottlieb Marielle Veit Seon Sanusi Addis Browning Takumi Alfonzo Heinz Máté Mai Blake Robbie Mahrez Fabjan Raimond Jean Dalrymple Osborne Bakir Hilbert Ripley Russian surname Stuart Hisataka Calvert Barry Máté Hester Sang Paltiel Virgil Alonso Salman Golden Courtney Michel Han Amin Minami Leonard Germann Hara Fabiano Sabra Jordan Izumi Afa-Negus Seon Florida black bass Sang Hunter Fearnley James Ganna Lillie Aynsley orthographical variant Gyalwang Drukpa Arnell Qutb Norman Koren Koren Henning Wilf Finlay Ado Haym Chariton Alden Marion Milić Jonas Freundel Bas Lu Amos Roveda Gill Abbas Neilson Roveda Řehoř Sylvester Thijs Bernard Alfonzo Berchtold Cushman Flower Patti Clint Kingsley Gerbrand Greenbury Harouna Henrie Florian McKeown Simon Aynsley Ripley Hester Miwa Griffith Dale Romaine Clay BIFF Brahman Ataman Fethi Rupert Alden Azuma Keefe Noah Bas Squire Herrmann Henrie Dong Hamilton Cushman Keill Moumouni magi Biff Caomhánach Tokiwa Patti Melville Tone Savea Arian dung beetles Dale Brady Maury Akpan
319
action count
action atmost
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type family
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'family'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?i WHERE { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:social_group ) ( ontology:family ) } } GROUP BY ?i } . FILTER ( ?f <= 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q27258879
P734 P21
Q502895
USER
Which people have Fitschen as last name and have the gender as male ?
AND((c(Q502895),P734,Q27258879), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q27258879
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q27258879'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q property:P734 resource:Q27258879 . ?q property:P21 resource:Q6581097 . ?q rdf:type ontology:Q502895 }
male Fitschen
action filter_type
action intersection
action find_reverse
entity Fitschen
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Fitschen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q property:family_name resource:Fitschen . ?q property:gender resource:male . ?q rdf:type ontology:common_name }
[]
common name
Q17277917
SYSTEM
Hans-Harald Fitschen
Q17277917
AND((c(Q502895),P734,Q27258879), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q27258879
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Fitschen as last name and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q27258879'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q property:P734 resource:Q27258879 . ?q property:P21 resource:Q6581097 . ?q rdf:type ontology:Q502895 }
Hans-Harald Fitschen
Hans-Harald Fitschen have Fitschen as last name and have the gender as male
Hans-Harald Fitschen
action filter_type
action intersection
action find_reverse
entity Fitschen
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Fitschen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q property:family_name resource:Fitschen . ?q property:gender resource:male . ?q rdf:type ontology:common_name }
[]