Simple Question (Direct)
Simple Question
Q11881359
P512
Q189533
USER
Which academic degree does Martti Vainio hold ?
(Q11881359,P512,c(Q189533))
action filter_type
action find
entity Q11881359
relation P512
type Q189533
['Q11881359', 'P512', {'concept': 'Q189533'}]
SELECT DISTINCT ?m WHERE { resource:Q11881359 property:P512 ?m . ?m rdf:type ontology:Q189533 }
Martti Vainio
action filter_type
action find
entity Martti Vainio
relation academic degree
type academic degree
['Martti Vainio', 'academic degree', {'concept': 'academic degree'}]
SELECT DISTINCT ?m WHERE { resource:Martti_Vainio property:academic_degree ?m . ?m rdf:type ontology:academic_degree }
[]
academic degree
Q22693692
SYSTEM
Diplomi-insinööri
Q22693692
(Q11881359,P512,c(Q189533))
action filter_type
action find
entity Q11881359
relation P512
type Q189533
Martti Vainio holds s [ANSWER]
['Q11881359', 'P512', {'concept': 'Q189533'}]
SELECT DISTINCT ?m WHERE { resource:Q11881359 property:P512 ?m . ?m rdf:type ontology:Q189533 }
Diplomi-insinööri
Martti Vainio holds s Diplomi-insinööri
Diplomi-insinööri
action filter_type
action find
entity Martti Vainio
relation academic degree
type academic degree
['Martti Vainio', 'academic degree', {'concept': 'academic degree'}]
SELECT DISTINCT ?m WHERE { resource:Martti_Vainio property:academic_degree ?m . ?m rdf:type ontology:academic_degree }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11881359
P410
Q4189293
USER
What is the title conferred upon Martti Vainio ?
(Q11881359,P410,c(Q4189293))
action filter_type
action find
entity Q11881359
relation P410
type Q4189293
['Q11881359', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?a WHERE { resource:Q11881359 property:P410 ?a . ?a rdf:type ontology:Q4189293 }
Martti Vainio
action filter_type
action find
entity Martti Vainio
relation military rank
type title
['Martti Vainio', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?a WHERE { resource:Martti_Vainio property:military_rank ?a . ?a rdf:type ontology:title }
[]
title
Q983927
SYSTEM
major
Q983927
(Q11881359,P410,c(Q4189293))
action filter_type
action find
entity Q11881359
relation P410
type Q4189293
The title conferred upon Martti Vainio is the [ANSWER]
['Q11881359', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?a WHERE { resource:Q11881359 property:P410 ?a . ?a rdf:type ontology:Q4189293 }
major
The title conferred upon Martti Vainio is the major
major
action filter_type
action find
entity Martti Vainio
relation military rank
type title
['Martti Vainio', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?a WHERE { resource:Martti_Vainio property:military_rank ?a . ?a rdf:type ontology:title }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q885
Q4189293
USER
And how about Józef Piłsudski?
(Q885,P410,c(Q4189293))
action filter_type
action find
entity Q885
relation P410
type Q4189293
['Q885', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q4189293 . resource:Q885 property:P410 ?j }
Józef Piłsudski
action filter_type
action find
entity Józef Piłsudski
relation military rank
type title
['Józef Piłsudski', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:title . resource:Józef_Piłsudski property:military_rank ?j }
[]
title
Q1454304
SYSTEM
Marshal of Poland
Q1454304
(Q885,P410,c(Q4189293))
action filter_type
action find
entity Q885
relation P410
type Q4189293
[ANSWER]
['Q885', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q4189293 . resource:Q885 property:P410 ?j }
Marshal of Poland
Marshal of Poland
action filter_type
action find
entity Józef Piłsudski
relation military rank
type title
['Józef Piłsudski', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:title . resource:Józef_Piłsudski property:military_rank ?j }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1454304 Q1813369
P410
Q502895
USER
Does Michał Rola-Żymierski hold that title ?
(Q1813369,P410,Q1454304)
action is_in
entity Q1454304
action find
entity Q1813369
relation P410
['Q1813369', 'P410', 'Q1454304']
ASK WHERE { resource:Q1813369 property:P410 resource:Q1454304 }
Marshal of Poland Michał Rola-Żymierski
action is_in
entity Marshal of Poland
action find
entity Michał Rola-Żymierski
relation military rank
['Michał Rola-Żymierski', 'military rank', 'Marshal of Poland']
ASK WHERE { resource:Michał_Rola-Żymierski property:military_rank resource:Marshal_of_Poland }
[]
common name
SYSTEM
YES
(Q1813369,P410,Q1454304)
action is_in
entity Q1454304
action find
entity Q1813369
relation P410
[ANSWER]
['Q1813369', 'P410', 'Q1454304']
ASK WHERE { resource:Q1813369 property:P410 resource:Q1454304 }
Yes
action is_in
entity Marshal of Poland
action find
entity Michał Rola-Żymierski
relation military rank
['Michał Rola-Żymierski', 'military rank', 'Marshal of Poland']
ASK WHERE { resource:Michał_Rola-Żymierski property:military_rank resource:Marshal_of_Poland }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q11881359 Q33
P27
Q15617994
USER
Is Finland the country of citizenship of Martti Vainio ?
(Q11881359,P27,Q33)
action is_in
entity Q33
action find
entity Q11881359
relation P27
['Q11881359', 'P27', 'Q33']
ASK WHERE { resource:Q11881359 property:P27 resource:Q33 }
Martti Vainio Finland
action is_in
entity Finland
action find
entity Martti Vainio
relation country of citizenship
['Martti Vainio', 'country of citizenship', 'Finland']
ASK WHERE { resource:Martti_Vainio property:country_of_citizenship resource:Finland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q11881359,P27,Q33)
action is_in
entity Q33
action find
entity Q11881359
relation P27
[ANSWER]
['Q11881359', 'P27', 'Q33']
ASK WHERE { resource:Q11881359 property:P27 resource:Q33 }
Yes
action is_in
entity Finland
action find
entity Martti Vainio
relation country of citizenship
['Martti Vainio', 'country of citizenship', 'Finland']
ASK WHERE { resource:Martti_Vainio property:country_of_citizenship resource:Finland }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1454304 Q36
P17
Q15617994
USER
Does Marshal of Poland belong to Poland ?
(Q1454304,P17,Q36)
action is_in
entity Q36
action find
entity Q1454304
relation P17
['Q1454304', 'P17', 'Q36']
ASK WHERE { resource:Q1454304 property:P17 resource:Q36 }
Marshal of Poland Poland
action is_in
entity Poland
action find
entity Marshal of Poland
relation country
['Marshal of Poland', 'country', 'Poland']
ASK WHERE { resource:Marshal_of_Poland property:country resource:Poland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1454304,P17,Q36)
action is_in
entity Q36
action find
entity Q1454304
relation P17
[ANSWER]
['Q1454304', 'P17', 'Q36']
ASK WHERE { resource:Q1454304 property:P17 resource:Q36 }
Yes
action is_in
entity Poland
action find
entity Marshal of Poland
relation country
['Marshal of Poland', 'country', 'Poland']
ASK WHERE { resource:Marshal_of_Poland property:country resource:Poland }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q22693692 Q33
P17
Q15617994
USER
Is Diplomi-insinööri a part of Finland ?
(Q22693692,P17,Q33)
action is_in
entity Q33
action find
entity Q22693692
relation P17
['Q22693692', 'P17', 'Q33']
ASK WHERE { resource:Q22693692 property:P17 resource:Q33 }
Diplomi-insinööri Finland
action is_in
entity Finland
action find
entity Diplomi-insinööri
relation country
['Diplomi-insinööri', 'country', 'Finland']
ASK WHERE { resource:Diplomi-insinööri property:country resource:Finland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q22693692,P17,Q33)
action is_in
entity Q33
action find
entity Q22693692
relation P17
[ANSWER]
['Q22693692', 'P17', 'Q33']
ASK WHERE { resource:Q22693692 property:P17 resource:Q33 }
Yes
action is_in
entity Finland
action find
entity Diplomi-insinööri
relation country
['Diplomi-insinööri', 'country', 'Finland']
ASK WHERE { resource:Diplomi-insinööri property:country resource:Finland }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q8018834
P248
Q191067 Q11028 Q502895
USER
How many people have been referred in lesser number of articles and information than William Stewart ?
(c(Q502895),P248,c(Q191067)|c(Q11028))
action count
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q191067
action find_tuple_counts
relation P248
type Q502895
type Q11028
action count
action filter_multi_types
action find
entity Q8018834
relation P248
type Q191067
type Q11028
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q191067'}, {'concept': 'Q11028'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?u ) WHERE { { ?s property:P248 ?i . ?i rdf:type ontology:Q11028 . ?s rdf:type ontology:Q502895 } UNION { ?s property:P248 ?i . ?s rdf:type ontology:Q502895 . ?i rdf:type ontology:Q191067 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { { ?r rdf:type ontology:Q191067 } UNION { ?r rdf:type ontology:Q11028 } } . resource:Q8018834 property:P248 ?r } } . FILTER ( ?u < ?z ) }
William Stewart
action count
action less
action union
action find_tuple_counts
relation stated in
type common name
type article
action find_tuple_counts
relation stated in
type common name
type information
action count
action filter_multi_types
action find
entity William Stewart
relation stated in
type article
type information
[{'concept': 'common name'}, 'stated in', [{'concept': 'article'}, {'concept': 'information'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?u ) WHERE { { ?s property:stated_in ?i . ?i rdf:type ontology:information . ?s rdf:type ontology:common_name } UNION { ?s property:stated_in ?i . ?s rdf:type ontology:common_name . ?i rdf:type ontology:article } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { { ?r rdf:type ontology:article } UNION { ?r rdf:type ontology:information } } . resource:William_Stewart property:stated_in ?r } } . FILTER ( ?u < ?z ) }
[]
article information common name
SYSTEM
354
Q16859599 Q6130307 Q6255166 Q6255164 Q5239877 Q5239876 Q5144961 Q5239879 Q16013737 Q7342716 Q7342713 Q2699786 Q18529684 Q6237327 Q6237320 Q6237321 Q6237323 Q8017696 Q5232852 Q16859511 Q16011002 Q17402519 Q6257923 Q6255435 Q6262994 Q6262996 Q15456236 Q6249889 Q6255181 Q6249883 Q6255184 Q18527481 Q16225368 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6236088 Q18546647 Q6236083 Q6236081 Q6221407 Q5240345 Q16065533 Q9069823 Q7351119 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q16849502 Q16244253 Q22936292 Q16026267 Q18530177 Q10978488 Q18810870 Q16195622 Q6249899 Q1879480 Q661947 Q6258326 Q6246971 Q16859464 Q18810862 Q18810864 Q16106932 Q11035229 Q8019373 Q16023331 Q8019371 Q18530179 Q18527610 Q6260355 Q18534216 Q18534214 Q6130319 Q6130313 Q6260650 Q6255174 Q6260652 Q6260653 Q6249871 Q6260655 Q6249873 Q6255172 Q6249879 Q6221412 Q16060029 Q7351128 Q7351124 Q7351121 Q7351123 Q16908903 Q16863901 Q21511610 Q6237337 Q1776423 Q6228764 Q6228766 Q6246935 Q5232850 Q5232857 Q5232854 Q18546651 Q5232859 Q18529777 Q7795179 Q6257938 Q1916387 Q8018837 Q18527125 Q3116279 Q6145023 Q6145020 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q8004402 Q8004400 Q5537303 Q18530282 Q5537308 Q15990337 Q11154564 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q6239285 Q18531059 Q18527375 Q16850547 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q16059754 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130320 Q5606271 Q5606270 Q5606273 Q5606272 Q5606274 Q5606277 Q18546628 Q5144956 Q17626521 Q18546621 Q18559712 Q18559713 Q6221420 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q6221434 Q17423413 Q7493391 Q8020388 Q6239263 Q6237345 Q8020387 Q8020385 Q16062311 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q5239881 Q17308862 Q8019900 Q8019902 Q16859222 Q5240337 Q6228730 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16228915 Q15637844 Q4679001 Q6237308 Q6237302 Q16194812 Q8017685 Q8017687 Q15485947 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q6263006 Q6263007 Q15452052 Q6255417 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q6246952 Q5537315 Q6246950 Q6246958 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q16027113 Q6242044 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q16105467 Q6255177 Q5239906 Q5144957 Q6221432 Q6236101 Q5144950 Q5144959 Q5239888 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q5233458 Q15982602 Q5233453 Q5233457 Q14951093 Q8020399 Q6239258 Q8020394 Q8020396 Q8020390 Q21515457 Q17385895 Q16466630 Q16031827 Q16857661 Q6255286 Q5241196 Q6255179 Q6262733 Q6262982 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q6244744 Q6244748 Q6470045 Q2778111 Q18546659 Q18546658 Q18546653 Q1101329 Q18546650 Q18546656 Q18546655 Q5240358 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q17364116 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q16095641 Q10363011 Q6257915 Q6145009 Q6145007 Q6145001 Q5233462 Q5233466 Q5233469 Q333770 Q6251897 Q9311159 Q6242832 Q5537322 Q5537324 Q5537325 Q6246965 Q6246963 Q6246961 Q16066618 Q8020402 Q8019368 Q6262709 Q6262704 Q8019367 Q6262700 Q6242842 Q18527351 Q5241210 Q15990004 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q191067)|c(Q11028))
action count
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q191067
action find_tuple_counts
relation P248
type Q502895
type Q11028
action count
action filter_multi_types
action find
entity Q8018834
relation P248
type Q191067
type Q11028
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q191067'}, {'concept': 'Q11028'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?u ) WHERE { { ?s property:P248 ?i . ?i rdf:type ontology:Q11028 . ?s rdf:type ontology:Q502895 } UNION { ?s property:P248 ?i . ?s rdf:type ontology:Q502895 . ?i rdf:type ontology:Q191067 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { { ?r rdf:type ontology:Q191067 } UNION { ?r rdf:type ontology:Q11028 } } . resource:Q8018834 property:P248 ?r } } . FILTER ( ?u < ?z ) }
William Thompson James Brown John Roberts John Roberts David Smith David Smith Colin Campbell David Smith John Roberts Robert Campbell Robert Campbell Colin Campbell David Davies John Hall John Hall John Hall John Hall William Robinson David Davies John Robinson John Parker Greg Smith John Simpson John Rogers John Ward John Ward William Williams John Murphy John Roberts John Murphy John Roberts Robert Williams John Rogers John Lewis William Robinson John Gray John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Gray John Williams John Gray John Gray John Bell David Thomas John Gray Robert Williams Robert Williams Greg Smith James Walker Greg Smith Greg Smith Greg Smith Greg Smith John Smith John Smith David Wilson John Martin Gilles De Haes John Rogers John Brown John Jackson John Robinson John Kennedy John Murphy Léonard Limousin John Davies John Smith John Martin John Parker John Robinson John Robinson David Evans John Carter William Thompson William Walker William Thompson John Brown John Smith John Taylor John Ward John Taylor James Brown James Brown John Thompson John Roberts John Thompson John Thompson John Murphy John Thompson John Murphy John Roberts John Murphy John Bell David Davies Robert Williams Robert Williams Robert Williams Robert Williams William Walker David Davies Dunja Lango John Hall Raud the Strong John Davies John Davies John Martin David Davies 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 William Anderson George Brown John Randall Clarke George Brown James Walker David Evans 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 Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith John Smith Colin Campbell Colin Campbell John Roland Phillips David Christopher Davies David Lewis Davies John Bell John Murphy David Smith John Bell John Bell John Hill John Bell James Brown Shelby Harris William Williams John Hill John Hall William Williams William Williams John Martin John Martin William Walker John Rogers John Hill John Simpson David Smith Colin Campbell William Walker William Walker Robert Williams David Thomas John Davies John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell James Brown John Wilson David Smith Adam Dunkels John Hall John Hall David Smith William Robinson William Robinson John Walker 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 John Martin Dairis Bertāns George Brown John Murray John Kennedy John Lewis John Roberts John Jones William Thompson John Campbell John Campbell John Evans David Smith John Phillips John Phillips John Rogers John Roberts David Smith Colin Campbell John Bell John Gray Colin Campbell Colin Campbell David Smith David Wilson George Brown John Thompson John Evans Robert Campbell David Smith David Evans John Young David Evans David Evans John Jackson William Williams John Hill William Williams William Williams William Williams Rolando Valdès-Blain David Evans John Bell John Rogers John Hall John Robinson David Wilson John Roberts John Walker John Ward John Ward John Clarke John Clarke John Clarke John Clarke John Lewis John Lewis Lady Colin Campbell Greg Smith John Williams John Williams 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 Hall Risques Pereira John Simpson James Walker James Walker James Walker David Evans 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 William Thompson John Walker John Kennedy John Moore David Wilson John Gray William Thompson Carsten Tank George Smith
354
action count
action less
action union
action find_tuple_counts
relation stated in
type common name
type article
action find_tuple_counts
relation stated in
type common name
type information
action count
action filter_multi_types
action find
entity William Stewart
relation stated in
type article
type information
[{'concept': 'common name'}, 'stated in', [{'concept': 'article'}, {'concept': 'information'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?u ) WHERE { { ?s property:stated_in ?i . ?i rdf:type ontology:information . ?s rdf:type ontology:common_name } UNION { ?s property:stated_in ?i . ?s rdf:type ontology:common_name . ?i rdf:type ontology:article } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { { ?r rdf:type ontology:article } UNION { ?r rdf:type ontology:information } } . resource:William_Stewart property:stated_in ?r } } . FILTER ( ?u < ?z ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8018834
P54
Q12973014
USER
Which sports teams are that person a member of ?
action filter_type
action find
entity Q8018834
relation P54
type Q12973014
SELECT DISTINCT ?x WHERE { resource:Q8018834 property:P54 ?x . ?x rdf:type ontology:Q12973014 }
William Stewart
action filter_type
action find
entity William Stewart
relation member of sports team
type sports team
SELECT DISTINCT ?x WHERE { resource:William_Stewart property:member_of_sports_team ?x . ?x rdf:type ontology:sports_team }
[]
sports team
Q821330 Q3126578
SYSTEM
Oxford University Cricket Club, Hampshire County Cricket Club
Q821330 Q3126578
action filter_type
action find
entity Q8018834
relation P54
type Q12973014
[ANSWERS] are that person a member of
SELECT DISTINCT ?x WHERE { resource:Q8018834 property:P54 ?x . ?x rdf:type ontology:Q12973014 }
Oxford University Cricket Club Hampshire County Cricket Club
Oxford University Cricket Club and Hampshire County Cricket Club are that person a member of
Oxford University Cricket Club Hampshire County Cricket Club
action filter_type
action find
entity William Stewart
relation member of sports team
type sports team
SELECT DISTINCT ?x WHERE { resource:William_Stewart property:member_of_sports_team ?x . ?x rdf:type ontology:sports_team }
[]