Simple Question (Direct)
Simple Question
Q7364853
P1412
Q34770
USER
Which language can Ronald F. Tylecote understand ?
(Q7364853,P1412,c(Q34770))
action filter_type
action find
entity Q7364853
relation P1412
type Q34770
['Q7364853', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q7364853 property:P1412 ?j }
Ronald F. Tylecote
action filter_type
action find
entity Ronald F. Tylecote
relation languages spoken, written or signed
type language
['Ronald F. Tylecote', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:Ronald_F._Tylecote property:languages_spoken,_written_or_signed ?j }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7364853,P1412,c(Q34770))
action filter_type
action find
entity Q7364853
relation P1412
type Q34770
Ronald F. Tylecote can understand the [ANSWER]
['Q7364853', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q7364853 property:P1412 ?j }
English
Ronald F. Tylecote can understand the English
English
action filter_type
action find
entity Ronald F. Tylecote
relation languages spoken, written or signed
type language
['Ronald F. Tylecote', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:Ronald_F._Tylecote property:languages_spoken,_written_or_signed ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7364853
P69
Q1055028
USER
What is the college of the University of Cambridge where Ronald F. Tylecote was educated ?
(Q7364853,P69,c(Q1055028))
action filter_type
action find
entity Q7364853
relation P69
type Q1055028
['Q7364853', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?b WHERE { resource:Q7364853 property:P69 ?b . ?b rdf:type ontology:Q1055028 }
Ronald F. Tylecote
action filter_type
action find
entity Ronald F. Tylecote
relation educated at
type college of the University of Cambridge
['Ronald F. Tylecote', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?b WHERE { resource:Ronald_F._Tylecote property:educated_at ?b . ?b rdf:type ontology:college_of_the_University_of_Cambridge }
[]
college of the University of Cambridge
Q1244704
SYSTEM
Trinity Hall
Q1244704
(Q7364853,P69,c(Q1055028))
action filter_type
action find
entity Q7364853
relation P69
type Q1055028
The college of the University of Cambridge Ronald F. Tylecote was educated is [ANSWER]
['Q7364853', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?b WHERE { resource:Q7364853 property:P69 ?b . ?b rdf:type ontology:Q1055028 }
Trinity Hall
The college of the University of Cambridge Ronald F. Tylecote was educated is Trinity Hall
Trinity Hall
action filter_type
action find
entity Ronald F. Tylecote
relation educated at
type college of the University of Cambridge
['Ronald F. Tylecote', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?b WHERE { resource:Ronald_F._Tylecote property:educated_at ?b . ?b rdf:type ontology:college_of_the_University_of_Cambridge }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5361257
Q1055028
USER
And what about Eliot Slater?
(Q5361257,P69,c(Q1055028))
action filter_type
action find
entity Q5361257
relation P69
type Q1055028
['Q5361257', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?a WHERE { resource:Q5361257 property:P69 ?a . ?a rdf:type ontology:Q1055028 }
Eliot Slater
action filter_type
action find
entity Eliot Slater
relation educated at
type college of the University of Cambridge
['Eliot Slater', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?a WHERE { resource:Eliot_Slater property:educated_at ?a . ?a rdf:type ontology:college_of_the_University_of_Cambridge }
[]
college of the University of Cambridge
Q691283
SYSTEM
St John's College
Q691283
(Q5361257,P69,c(Q1055028))
action filter_type
action find
entity Q5361257
relation P69
type Q1055028
[ANSWER]
['Q5361257', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?a WHERE { resource:Q5361257 property:P69 ?a . ?a rdf:type ontology:Q1055028 }
St John's College
St John's College
action filter_type
action find
entity Eliot Slater
relation educated at
type college of the University of Cambridge
['Eliot Slater', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?a WHERE { resource:Eliot_Slater property:educated_at ?a . ?a rdf:type ontology:college_of_the_University_of_Cambridge }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q691283 Q1335941
P69
Q502895
USER
Was Emil Camenisch educated at that college of the University of Cambridge ?
(Q1335941,P69,Q691283)
action is_in
entity Q1335941
action find
entity Q691283
relation P69
['Q1335941', 'P69', 'Q691283']
ASK WHERE { resource:Q691283 property:P69 resource:Q1335941 }
St John's College Emil Camenisch
action is_in
entity Emil Camenisch
action find
entity St John's College
relation educated at
['Emil Camenisch', 'educated at', "St John's College"]
ASK WHERE { resource:St_John's_College property:educated_at resource:Emil_Camenisch }
[]
common name
SYSTEM
NO
(Q1335941,P69,Q691283)
action is_in
entity Q1335941
action find
entity Q691283
relation P69
[ANSWER]
['Q1335941', 'P69', 'Q691283']
ASK WHERE { resource:Q691283 property:P69 resource:Q1335941 }
No
action is_in
entity Emil Camenisch
action find
entity St John's College
relation educated at
['Emil Camenisch', 'educated at', "St John's College"]
ASK WHERE { resource:St_John's_College property:educated_at resource:Emil_Camenisch }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7364853 Q3621491
P106
Q12737077
USER
Is archaeologist the profession of Ronald F. Tylecote ?
(Q7364853,P106,Q3621491)
action is_in
entity Q3621491
action find
entity Q7364853
relation P106
['Q7364853', 'P106', 'Q3621491']
ASK WHERE { resource:Q7364853 property:P106 resource:Q3621491 }
Ronald F. Tylecote archaeologist
action is_in
entity archaeologist
action find
entity Ronald F. Tylecote
relation occupation
['Ronald F. Tylecote', 'occupation', 'archaeologist']
ASK WHERE { resource:Ronald_F._Tylecote property:occupation resource:archaeologist }
[]
occupation
SYSTEM
YES
(Q7364853,P106,Q3621491)
action is_in
entity Q3621491
action find
entity Q7364853
relation P106
[ANSWER]
['Q7364853', 'P106', 'Q3621491']
ASK WHERE { resource:Q7364853 property:P106 resource:Q3621491 }
Yes
action is_in
entity archaeologist
action find
entity Ronald F. Tylecote
relation occupation
['Ronald F. Tylecote', 'occupation', 'archaeologist']
ASK WHERE { resource:Ronald_F._Tylecote property:occupation resource:archaeologist }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q641138
P37
Q34770 Q1048835
USER
How many political territories are approximately the same number of languages associated to as the official language as Duchy of Cleves ?
(c(Q1048835),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q641138
relation P37
type Q1048835
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?n ) WHERE { ?v property:P37 ?z . ?v rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q34770 } GROUP BY ?v } . FILTER ( ?n = ?u ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Q641138 property:P37 ?t . ?t rdf:type ontology:Q1048835 } } }
Duchy of Cleves
action count
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Duchy of Cleves
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?n ) WHERE { ?v property:official_language ?z . ?v rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:language } GROUP BY ?v } . FILTER ( ?n = ?u ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Duchy_of_Cleves property:official_language ?t . ?t rdf:type ontology:political_territorial_entity } } }
[]
language political territorial entity
SYSTEM
38
Q13116 Q1000 Q2012050 Q49657 Q4540 Q89959 Q193619 Q49662 Q49663 Q49660 Q49661 Q240 Q49655 Q300608 Q4395303 Q181633 Q35 Q171852 Q641138 Q4421880 Q789334 Q42780 Q183 Q49659 Q49654 Q49651 Q231 Q234 Q90027 Q40 Q4218003 Q9331 Q3899 Q9337 Q4410386 Q171965 Q18257 Q4325072
(c(Q1048835),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q641138
relation P37
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?n ) WHERE { ?v property:P37 ?z . ?v rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q34770 } GROUP BY ?v } . FILTER ( ?n = ?u ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Q641138 property:P37 ?t . ?t rdf:type ontology:Q1048835 } } }
Benelux Gabon Donetsk Oblast Schaan Eschen French Community of Belgium Union of South Africa Gamprin Balzers Planken Mauren Brussels Schellenberg A Ver-o-Mar Rivne Mykolaiv Oblast Denmark Odessa Oblast Duchy of Cleves Skypche Balažer Ningbo Germany Ruggell Triesen Triesenberg Walloon Region Flemish Region German-speaking Community of Belgium Austria Kachkarivka Flemish Community Kalimantan Timur Flemish Region Svitlohirske Luhansk Oblast Abella de la Conca Zoriane
38
action count
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Duchy of Cleves
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?n ) WHERE { ?v property:official_language ?z . ?v rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:language } GROUP BY ?v } . FILTER ( ?n = ?u ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Duchy_of_Cleves property:official_language ?t . ?t rdf:type ontology:political_territorial_entity } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P248
Q223393 Q4894405 Q502895
USER
Which people have been recognized first in min number of literary genres or journalism genres ?
(c(Q502895),P248,c(Q223393)|c(Q4894405))
action argmin
action union
action find_tuple_counts
relation P248
type Q502895
type Q223393
action find_tuple_counts
relation P248
type Q502895
type Q4894405
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q223393'}, {'concept': 'Q4894405'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?v WHERE { ?i rdf:type ?q . VALUES ( ?q ) { ( ontology:Q223393 ) ( ontology:Q4894405 ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?u WHERE { { ?u property:P248 ?g . ?u rdf:type ontology:Q502895 . ?g rdf:type ontology:Q4894405 } UNION { ?u property:P248 ?g . ?u rdf:type ontology:Q502895 . ?g rdf:type ontology:Q223393 } } GROUP BY ?u } . FILTER ( ?y = ?t ) }
action argmin
action union
action find_tuple_counts
relation stated in
type common name
type literary genre
action find_tuple_counts
relation stated in
type common name
type journalism genre
[{'concept': 'common name'}, 'stated in', [{'concept': 'literary genre'}, {'concept': 'journalism genre'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?v WHERE { ?i rdf:type ?q . VALUES ( ?q ) { ( ontology:literary_genre ) ( ontology:journalism_genre ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?u WHERE { { ?u property:stated_in ?g . ?u rdf:type ontology:common_name . ?g rdf:type ontology:journalism_genre } UNION { ?u property:stated_in ?g . ?u rdf:type ontology:common_name . ?g rdf:type ontology:literary_genre } } GROUP BY ?u } . FILTER ( ?y = ?t ) }
[]
literary genre journalism genre common name
Q6251897 Q6257923 Q15456236
SYSTEM
John Parker, John Simpson, William Williams
Q16859599 Q6130307 Q6255166 Q6255164 Q5239877 Q5239876 Q5144961 Q16210814 Q7342716 Q7342713 Q5239896 Q5239895 Q2699786 Q18529684 Q6237327 Q6237320 Q6237321 Q6237323 Q8017696 Q5232852 Q16859511 Q17402519 Q6257923 Q6255435 Q6262996 Q6262991 Q15456236 Q6249889 Q6255181 Q6249883 Q6255184 Q18527481 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6260667 Q6236088 Q16062974 Q18546647 Q6236083 Q6236081 Q5240345 Q16065533 Q9069823 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q5606268 Q16857953 Q16849502 Q16244253 Q22936292 Q18530177 Q18810870 Q16195622 Q6249899 Q1879480 Q6258326 Q6246971 Q16859464 Q18810862 Q18810864 Q16106932 Q11035229 Q8019373 Q8019371 Q18530179 Q18527610 Q6260355 Q18534216 Q18534214 Q6130319 Q6260650 Q6260652 Q6260653 Q6249871 Q6260655 Q6249873 Q6249879 Q6221412 Q7351128 Q7351124 Q7351123 Q16908903 Q16863901 Q21511610 Q3528952 Q1776423 Q6228764 Q6228766 Q6246935 Q5232857 Q5232854 Q18546651 Q5232859 Q18529777 Q7795179 Q6257938 Q1916387 Q8018837 Q18527125 Q3116279 Q6145023 Q6145020 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q8004400 Q18530282 Q5537308 Q15990337 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q6239285 Q18531059 Q18527375 Q16850547 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q16059754 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130325 Q6130320 Q5606270 Q5606272 Q5606274 Q5606277 Q18546628 Q17626521 Q18546621 Q18559712 Q18559713 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q15994621 Q15994622 Q17423413 Q7493391 Q8020388 Q6239263 Q6237345 Q8020387 Q8020385 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q5239881 Q17308862 Q5239884 Q8019900 Q8019902 Q16859222 Q5240337 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16065305 Q16228915 Q15637844 Q4679001 Q6237308 Q6237302 Q8017685 Q8017687 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q6263006 Q6263007 Q15452052 Q6255417 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q6246952 Q5537315 Q6246950 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q6242044 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q16105467 Q5239906 Q5144957 Q6236101 Q5144959 Q5239888 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q15982602 Q5233453 Q5233457 Q14951093 Q8020399 Q6239258 Q8020394 Q8020396 Q8020390 Q6221424 Q21515457 Q17385895 Q16466630 Q16031827 Q16857661 Q6255286 Q5241196 Q6262733 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q15994581 Q6244748 Q6470045 Q2778111 Q18546659 Q18546658 Q16859187 Q18546653 Q1101329 Q18546650 Q18546656 Q18546655 Q5240358 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q17364116 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q6263011 Q10363011 Q6257915 Q6145009 Q6145005 Q6145007 Q6145001 Q5233462 Q5233466 Q333770 Q6251897 Q9311159 Q6242832 Q5537322 Q5537324 Q5537325 Q6246965 Q6246963 Q6246961 Q16066618 Q8020402 Q8019368 Q6262709 Q6262704 Q6262700 Q6242842 Q16225515 Q18527351 Q5241210 Q15990004 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q223393)|c(Q4894405))
action argmin
action union
action find_tuple_counts
relation P248
type Q502895
type Q223393
action find_tuple_counts
relation P248
type Q502895
type Q4894405
[ANSWERS] have been recognized first in min number of literary genres or journalism genres
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q223393'}, {'concept': 'Q4894405'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?v WHERE { ?i rdf:type ?q . VALUES ( ?q ) { ( ontology:Q223393 ) ( ontology:Q4894405 ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?u WHERE { { ?u property:P248 ?g . ?u rdf:type ontology:Q502895 . ?g rdf:type ontology:Q4894405 } UNION { ?u property:P248 ?g . ?u rdf:type ontology:Q502895 . ?g rdf:type ontology:Q223393 } } GROUP BY ?u } . FILTER ( ?y = ?t ) }
William Thompson James Brown John Roberts John Roberts David Smith David Smith Colin Campbell David Evans Robert Campbell Robert Campbell David Smith David Smith Colin Campbell David Davies John Hall John Hall John Hall John Hall William Robinson David Davies John Robinson Greg Smith John Simpson John Rogers John Ward John Ward William Williams John Murphy John Roberts John Murphy John Roberts Robert Williams John Lewis William Robinson John Gray John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Thompson John Gray James Walker John Williams John Gray John Gray David Thomas John Gray Robert Williams Greg Smith James Walker Greg Smith Greg Smith Greg Smith Greg Smith John Smith John Smith Greg Smith John Martin David Wilson John Martin Gilles De Haes John Brown John Robinson John Kennedy John Murphy Léonard Limousin John Smith John Martin John Parker John Robinson John Robinson David Evans John Carter William Thompson William Thompson John Brown John Smith John Taylor John Ward John Taylor James Brown John Thompson John Thompson John Thompson John Murphy John Thompson John Murphy John Murphy John Bell Robert Williams Robert Williams Robert Williams William Walker David Davies Dunja Lango George Brown Raud the Strong John Davies John Davies John Martin David Davies David Davies John Williams David Davies James Brown Thomas Williams John Simpson David Smith William Stewart John Jones Greg Smith James Walker James Walker John Martin William Robinson John Brown John Brown John Brown John Walker John Murphy John Brown John Walker John Robinson William Anderson John Randall Clarke George Brown James Walker John Walker John Clarke John Clarke David Thomas Borja Mendia John Kennedy John Kennedy Li Ruihuan John Hill William Brown John Murray John Martin John Gray Ethan Wragge John Murphy William Brown James Walker John Rogers James Brown Epimenides John Martin William Thompson John Walker John Hill James Brown James Brown Greg Smith Greg Smith Greg Smith Greg Smith John Smith Colin Campbell John Roland Phillips David Christopher Davies David Lewis Davies John Murphy David Smith John Bell John Bell John Hill John Martin John Martin James Brown Shelby Harris William Williams John Hill John Hall William Williams William Williams John Martin William Walker John Rogers John Hill John Simpson David Smith Colin Campbell David Smith William Walker William Walker Robert Williams David Thomas John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell James Brown George Brown John Wilson David Smith Adam Dunkels John Hall John Hall William Robinson William Robinson William Robinson William Robinson David Wilson John Jackson David Wilson David Wilson John Ward John Ward John Rogers John Rogers John Kennedy John Ward John Ward John Davies George Brown John Martin George Brown John Martin Dairis Bertāns George Brown John Murray John Kennedy John Lewis John Jones William Thompson John Campbell John Campbell John Evans David Smith John Phillips John Phillips John Rogers David Smith Colin Campbell John Gray Colin Campbell David Smith David Wilson George Brown John Thompson John Evans Robert Campbell David Smith John Young David Evans David Evans John Jackson William Williams John Hill William Williams William Williams William Williams John Bell Rolando Valdès-Blain David Evans John Bell John Rogers John Hall John Robinson David Wilson John Walker John Ward John Clarke John Clarke John Clarke John Clarke John Lewis John Lewis Lady Colin Campbell Greg Smith John Williams John Williams James Walker John Williams John Rogers John Williams John Williams John Williams David Thomas Delobel Colin Campbell John Murphy John Hall John Walker James Brown Greg Smith John Davies Brady Sallee Greg Smith John Walker John Hill John Brown John Wright Brown John Ward Risques Pereira John Simpson James Walker James Walker James Walker James Walker David Evans David Evans Victorinus John Parker Robert Williams John Kennedy George Brown George Brown George Brown John Martin John Martin John Martin John Ward William Williams William Thompson John Walker John Walker John Walker John Kennedy John Simpson John Moore David Wilson John Gray William Thompson Carsten Tank George Smith
John Parker, John Simpson and William Williams have been recognized first in min number of literary genres or journalism genres
John Parker John Simpson William Williams
action argmin
action union
action find_tuple_counts
relation stated in
type common name
type literary genre
action find_tuple_counts
relation stated in
type common name
type journalism genre
[{'concept': 'common name'}, 'stated in', [{'concept': 'literary genre'}, {'concept': 'journalism genre'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?v WHERE { ?i rdf:type ?q . VALUES ( ?q ) { ( ontology:literary_genre ) ( ontology:journalism_genre ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?u WHERE { { ?u property:stated_in ?g . ?u rdf:type ontology:common_name . ?g rdf:type ontology:journalism_genre } UNION { ?u property:stated_in ?g . ?u rdf:type ontology:common_name . ?g rdf:type ontology:literary_genre } } GROUP BY ?u } . FILTER ( ?y = ?t ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15456236
P39
Q12737077
USER
What was the position held by that person ?
(Q15456236,P39,c(Q12737077))
action filter_type
action find
entity Q15456236
relation P39
type Q12737077
['Q15456236', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q15456236 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
William Williams
action filter_type
action find
entity William Williams
relation position held
type occupation
['William Williams', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:William_Williams property:position_held ?m . ?m rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q15456236
SYSTEM
Did you mean William Williams ?
Q6251897 Q6257923 Q15456236
(Q6251897,P39,c(Q12737077)) (Q6257923,P39,c(Q12737077)) (Q15456236,P39,c(Q12737077))
[ANSWER]
['Q6251897', 'P39', {'concept': 'Q12737077'}] ['Q6257923', 'P39', {'concept': 'Q12737077'}] ['Q15456236', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q15456236 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
John Parker John Simpson William Williams
Did you mean William Williams ?
William Williams
['John Parker', 'position held', {'concept': 'occupation'}] ['John Simpson', 'position held', {'concept': 'occupation'}] ['William Williams', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:William_Williams property:position_held ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(Q15456236,P39,c(Q12737077))
['Q15456236', 'P39', {'concept': 'Q12737077'}]
['William Williams', 'position held', {'concept': 'occupation'}]
[]
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q15456236,P39,c(Q12737077))
action filter_type
action find
entity Q15456236
relation P39
type Q12737077
The position held by that person was a [ANSWER]
['Q15456236', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q15456236 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
The position held by that person was a Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom
action filter_type
action find
entity William Williams
relation position held
type occupation
['William Williams', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:William_Williams property:position_held ?m . ?m rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q9779 Q8192 Q34770
USER
How many languages utilizes atmost 2 alphabets or writing systems as the writing system ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action count
action atmost
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) ?l WHERE { { ?l property:P282 ?p . ?l rdf:type ontology:Q34770 . ?p rdf:type ontology:Q8192 } UNION { ?l property:P282 ?p . ?l rdf:type ontology:Q34770 . ?p rdf:type ontology:Q9779 } } GROUP BY ?l } . FILTER ( ?h <= 2 ) }
action count
action atmost
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) ?l WHERE { { ?l property:writing_system ?p . ?l rdf:type ontology:language . ?p rdf:type ontology:writing_system } UNION { ?l property:writing_system ?p . ?l rdf:type ontology:language . ?p rdf:type ontology:alphabet } } GROUP BY ?l } . FILTER ( ?h <= 2 ) }
[]
alphabet writing system language
SYSTEM
58
Q7102906 Q182695 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q13211 Q36741 Q35499 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q9779)|c(Q8192))
action count
action atmost
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 2
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) ?l WHERE { { ?l property:P282 ?p . ?l rdf:type ontology:Q34770 . ?p rdf:type ontology:Q8192 } UNION { ?l property:P282 ?p . ?l rdf:type ontology:Q34770 . ?p rdf:type ontology:Q9779 } } GROUP BY ?l } . FILTER ( ?h <= 2 ) }
Orizaba Nahuatl Late Old Japanese Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Ruthenian Polabian Old Church Slavonic Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
58
action count
action atmost
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) ?l WHERE { { ?l property:writing_system ?p . ?l rdf:type ontology:language . ?p rdf:type ontology:writing_system } UNION { ?l property:writing_system ?p . ?l rdf:type ontology:language . ?p rdf:type ontology:alphabet } } GROUP BY ?l } . FILTER ( ?h <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q691283
P17
Q15617994
USER
Which administrative territory is St John's College situated in ?
(Q691283,P17,c(Q15617994))
action filter_type
action find
entity Q691283
relation P17
type Q15617994
['Q691283', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q691283 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
St John's College
action filter_type
action find
entity St John's College
relation country
type designation for an administrative territorial entity
["St John's College", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:St_John's_College property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q691283,P17,c(Q15617994))
action filter_type
action find
entity Q691283
relation P17
type Q15617994
Which administrative territory is St John's College situated in
['Q691283', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q691283 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
United Kingdom
Which administrative territory is St John's College situated in
United Kingdom
action filter_type
action find
entity St John's College
relation country
type designation for an administrative territorial entity
["St John's College", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:St_John's_College property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]