Simple Question (Direct)
Simple Question
Q71294
P166
Q18328097
USER
What was awarded to Horst von Mellenthin ?
(Q71294,P166,c(Q18328097))
action filter_type
action find
entity Q71294
relation P166
type Q18328097
['Q71294', 'P166', {'concept': 'Q18328097'}]
SELECT DISTINCT ?r WHERE { resource:Q71294 property:P166 ?r . ?r rdf:type ontology:Q18328097 }
Horst von Mellenthin
action filter_type
action find
entity Horst von Mellenthin
relation award received
type courage award
['Horst von Mellenthin', 'award received', {'concept': 'courage award'}]
SELECT DISTINCT ?r WHERE { resource:Horst_von_Mellenthin property:award_received ?r . ?r rdf:type ontology:courage_award }
[]
courage award
Q17412908
SYSTEM
German Cross in Gold
Q17412908
(Q71294,P166,c(Q18328097))
action filter_type
action find
entity Q71294
relation P166
type Q18328097
Germany [ANSWER] was awarded to Horst von Mellenthin
['Q71294', 'P166', {'concept': 'Q18328097'}]
SELECT DISTINCT ?r WHERE { resource:Q71294 property:P166 ?r . ?r rdf:type ontology:Q18328097 }
German Cross in Gold
Germany German Cross in Gold was awarded to Horst von Mellenthin
German Cross in Gold
action filter_type
action find
entity Horst von Mellenthin
relation award received
type courage award
['Horst von Mellenthin', 'award received', {'concept': 'courage award'}]
SELECT DISTINCT ?r WHERE { resource:Horst_von_Mellenthin property:award_received ?r . ?r rdf:type ontology:courage_award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q71294
P410
Q4189293
USER
Which title was the military rank conferred upon that person ?
(Q17412908,P410,c(Q4189293))
action filter_type
action find
entity Q71294
relation P410
type Q4189293
['Q17412908', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?g WHERE { resource:Q71294 property:P410 ?g . ?g rdf:type ontology:Q4189293 }
Horst von Mellenthin
action filter_type
action find
entity Horst von Mellenthin
relation military rank
type title
['German Cross in Gold', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?g WHERE { resource:Horst_von_Mellenthin property:military_rank ?g . ?g rdf:type ontology:title }
[]
title
Q664101
SYSTEM
General of the Artillery
Q664101
(Q17412908,P410,c(Q4189293))
action filter_type
action find
entity Q71294
relation P410
type Q4189293
The [ANSWER] was the military rank conferred upon that person
['Q17412908', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?g WHERE { resource:Q71294 property:P410 ?g . ?g rdf:type ontology:Q4189293 }
General of the Artillery
The General of the Artillery was the military rank conferred upon that person
General of the Artillery
action filter_type
action find
entity Horst von Mellenthin
relation military rank
type title
['German Cross in Gold', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?g WHERE { resource:Horst_von_Mellenthin property:military_rank ?g . ?g rdf:type ontology:title }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q91033 Q71294
P410
Q4189293
USER
And also Rolf Wuthmann
AND((Q71294,P410,c(Q4189293)), (Q91033,P410,c(Q4189293)))
action filter_type
action intersection
action find
entity Q71294
relation P410
action find
entity Q91033
relation P410
type Q4189293
{'AND': [['Q71294', 'P410', {'concept': 'Q4189293'}], ['Q91033', 'P410', {'concept': 'Q4189293'}]]}
SELECT DISTINCT ?x WHERE { resource:Q71294 property:P410 ?x . resource:Q91033 property:P410 ?x . ?x rdf:type ontology:Q4189293 }
Rolf Wuthmann Horst von Mellenthin
action filter_type
action intersection
action find
entity Horst von Mellenthin
relation military rank
action find
entity Rolf Wuthmann
relation military rank
type title
{'AND': [['Horst von Mellenthin', 'military rank', {'concept': 'title'}], ['Rolf Wuthmann', 'military rank', {'concept': 'title'}]]}
SELECT DISTINCT ?x WHERE { resource:Horst_von_Mellenthin property:military_rank ?x . resource:Rolf_Wuthmann property:military_rank ?x . ?x rdf:type ontology:title }
[]
title
Q664101
SYSTEM
General of the Artillery
Q664101
AND((Q71294,P410,c(Q4189293)), (Q91033,P410,c(Q4189293)))
action filter_type
action intersection
action find
entity Q71294
relation P410
action find
entity Q91033
relation P410
type Q4189293
[ANSWER]
{'AND': [['Q71294', 'P410', {'concept': 'Q4189293'}], ['Q91033', 'P410', {'concept': 'Q4189293'}]]}
SELECT DISTINCT ?x WHERE { resource:Q71294 property:P410 ?x . resource:Q91033 property:P410 ?x . ?x rdf:type ontology:Q4189293 }
General of the Artillery
General of the Artillery
action filter_type
action intersection
action find
entity Horst von Mellenthin
relation military rank
action find
entity Rolf Wuthmann
relation military rank
type title
{'AND': [['Horst von Mellenthin', 'military rank', {'concept': 'title'}], ['Rolf Wuthmann', 'military rank', {'concept': 'title'}]]}
SELECT DISTINCT ?x WHERE { resource:Horst_von_Mellenthin property:military_rank ?x . resource:Rolf_Wuthmann property:military_rank ?x . ?x rdf:type ontology:title }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4799890 Q71294
P607
Q198
USER
Which wars did Horst von Mellenthin or Arthur P. Bagby, Jr. take part in ?
OR((Q71294,P607,c(Q198)), (Q4799890,P607,c(Q198)))
action filter_type
action union
action find
entity Q71294
relation P607
action find
entity Q4799890
relation P607
type Q198
{'OR': [['Q71294', 'P607', {'concept': 'Q198'}], ['Q4799890', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q71294 property:P607 ?l } UNION { resource:Q4799890 property:P607 ?l } } . ?l rdf:type ontology:Q198 }
Arthur P. Bagby, Jr. Horst von Mellenthin
action filter_type
action union
action find
entity Horst von Mellenthin
relation conflict
action find
entity Arthur P. Bagby, Jr.
relation conflict
type war
{'OR': [['Horst von Mellenthin', 'conflict', {'concept': 'war'}], ['Arthur P. Bagby, Jr.', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Horst_von_Mellenthin property:conflict ?l } UNION { resource:Arthur_P._Bagby,_Jr. property:conflict ?l } } . ?l rdf:type ontology:war }
[]
war
Q362 Q8676 Q361
SYSTEM
World War II, American Civil War, World War I
Q362 Q8676 Q361
OR((Q71294,P607,c(Q198)), (Q4799890,P607,c(Q198)))
action filter_type
action union
action find
entity Q71294
relation P607
action find
entity Q4799890
relation P607
type Q198
[ANSWERS] did Horst von Mellenthin or Arthur P. Bagby, Jr. take part in
{'OR': [['Q71294', 'P607', {'concept': 'Q198'}], ['Q4799890', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q71294 property:P607 ?l } UNION { resource:Q4799890 property:P607 ?l } } . ?l rdf:type ontology:Q198 }
World War II American Civil War World War I
World War II, American Civil War and World War I did Horst von Mellenthin or Arthur P. Bagby, Jr. take part in
World War II American Civil War World War I
action filter_type
action union
action find
entity Horst von Mellenthin
relation conflict
action find
entity Arthur P. Bagby, Jr.
relation conflict
type war
{'OR': [['Horst von Mellenthin', 'conflict', {'concept': 'war'}], ['Arthur P. Bagby, Jr.', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Horst_von_Mellenthin property:conflict ?l } UNION { resource:Arthur_P._Bagby,_Jr. property:conflict ?l } } . ?l rdf:type ontology:war }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q8017685
P248
Q2342494 Q223393 Q502895
USER
How many people have been stated in around the same number of collectables or literary genres as William Robinson ?
(c(Q502895),P248,c(Q2342494)|c(Q223393))
action count
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q2342494
action find_tuple_counts
relation P248
type Q502895
type Q223393
action count
action filter_multi_types
action find
entity Q8017685
relation P248
type Q2342494
type Q223393
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q2342494'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) ?m WHERE { { ?u rdf:type ontology:Q2342494 . ?m rdf:type ontology:Q502895 . ?m property:P248 ?u } UNION { ?m property:P248 ?u . ?m rdf:type ontology:Q502895 . ?u rdf:type ontology:Q223393 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q8017685 property:P248 ?l . { { ?l rdf:type ontology:Q2342494 } UNION { ?l rdf:type ontology:Q223393 } } } } . FILTER ( ?r = ?v ) }
William Robinson
action count
action approx
action union
action find_tuple_counts
relation stated in
type common name
type collectable
action find_tuple_counts
relation stated in
type common name
type literary genre
action count
action filter_multi_types
action find
entity William Robinson
relation stated in
type collectable
type literary genre
[{'concept': 'common name'}, 'stated in', [{'concept': 'collectable'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) ?m WHERE { { ?u rdf:type ontology:collectable . ?m rdf:type ontology:common_name . ?m property:stated_in ?u } UNION { ?m property:stated_in ?u . ?m rdf:type ontology:common_name . ?u rdf:type ontology:literary_genre } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:William_Robinson property:stated_in ?l . { { ?l rdf:type ontology:collectable } UNION { ?l rdf:type ontology:literary_genre } } } } . FILTER ( ?r = ?v ) }
[]
collectable literary genre common name
SYSTEM
321
Q16859599 Q6130307 Q6255166 Q6255164 Q5239877 Q5239876 Q5144961 Q16210814 Q7342713 Q5239896 Q5239895 Q2699786 Q18529684 Q6237327 Q6237320 Q6237323 Q8017696 Q5232852 Q17402519 Q6257923 Q6255435 Q6262996 Q6262991 Q15456236 Q6249889 Q6255181 Q6255184 Q18527481 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6260667 Q16062974 Q18546647 Q6236083 Q6236081 Q5240345 Q16065533 Q9069823 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q5606268 Q16857953 Q16849502 Q16244253 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 Q16060029 Q7351128 Q7351124 Q7351123 Q16863901 Q21511610 Q3528952 Q1776423 Q6228764 Q6228766 Q6246935 Q5232857 Q5232854 Q18546651 Q5232859 Q18529777 Q7795179 Q6257938 Q1916387 Q18527125 Q3116279 Q6145023 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q8004400 Q18530282 Q5537308 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q6239285 Q18531059 Q18527375 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q16059754 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130325 Q6130320 Q5606270 Q5606272 Q5606274 Q5606277 Q18546628 Q17626521 Q18546621 Q18559712 Q18559713 Q6221420 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 Q6228730 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16065305 Q16228915 Q15637844 Q4679001 Q6237308 Q6237302 Q8017685 Q8017687 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q6263006 Q6263007 Q6255417 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q6246952 Q6246950 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q16027113 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 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 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(Q2342494)|c(Q223393))
action count
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q2342494
action find_tuple_counts
relation P248
type Q502895
type Q223393
action count
action filter_multi_types
action find
entity Q8017685
relation P248
type Q2342494
type Q223393
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q2342494'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) ?m WHERE { { ?u rdf:type ontology:Q2342494 . ?m rdf:type ontology:Q502895 . ?m property:P248 ?u } UNION { ?m property:P248 ?u . ?m rdf:type ontology:Q502895 . ?u rdf:type ontology:Q223393 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q8017685 property:P248 ?l . { { ?l rdf:type ontology:Q2342494 } UNION { ?l rdf:type ontology:Q223393 } } } } . FILTER ( ?r = ?v ) }
William Thompson James Brown John Roberts John Roberts David Smith David Smith Colin Campbell David Evans Robert Campbell David Smith David Smith Colin Campbell David Davies John Hall John Hall John Hall William Robinson David Davies Greg Smith John Simpson John Rogers John Ward John Ward William Williams John Murphy John Roberts John Roberts Robert Williams John Lewis William Robinson John Gray John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Thompson 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 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 David Davies Robert Williams Robert Williams Robert Williams 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 John Jones Greg Smith 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 John Walker John Clarke John Clarke David Thomas Borja Mendia John Kennedy John Kennedy Li Ruihuan John Hill William Brown John Murray 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 Bell 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 Davies 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 Kennedy John Ward John Ward John Davies 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 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 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 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
321
action count
action approx
action union
action find_tuple_counts
relation stated in
type common name
type collectable
action find_tuple_counts
relation stated in
type common name
type literary genre
action count
action filter_multi_types
action find
entity William Robinson
relation stated in
type collectable
type literary genre
[{'concept': 'common name'}, 'stated in', [{'concept': 'collectable'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) ?m WHERE { { ?u rdf:type ontology:collectable . ?m rdf:type ontology:common_name . ?m property:stated_in ?u } UNION { ?m property:stated_in ?u . ?m rdf:type ontology:common_name . ?u rdf:type ontology:literary_genre } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:William_Robinson property:stated_in ?l . { { ?l rdf:type ontology:collectable } UNION { ?l rdf:type ontology:literary_genre } } } } . FILTER ( ?r = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q16857661
P248
Q2342494 Q223393 Q502895
USER
And also tell me about John Hall?
(c(Q502895),P248,c(Q2342494)|c(Q223393))
action count
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q2342494
action find_tuple_counts
relation P248
type Q502895
type Q223393
action count
action filter_multi_types
action find
entity Q16857661
relation P248
type Q2342494
type Q223393
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q2342494'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?m WHERE { VALUES ( ?p ) { ( ontology:Q223393 ) ( ontology:Q2342494 ) } . ?w rdf:type ?p } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Q16857661 property:P248 ?t . { { ?t rdf:type ontology:Q2342494 } UNION { ?t rdf:type ontology:Q223393 } } } } . FILTER ( ?d = ?e ) }
John Hall
action count
action approx
action union
action find_tuple_counts
relation stated in
type common name
type collectable
action find_tuple_counts
relation stated in
type common name
type literary genre
action count
action filter_multi_types
action find
entity John Hall
relation stated in
type collectable
type literary genre
[{'concept': 'common name'}, 'stated in', [{'concept': 'collectable'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?m WHERE { VALUES ( ?p ) { ( ontology:literary_genre ) ( ontology:collectable ) } . ?w rdf:type ?p } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:John_Hall property:stated_in ?t . { { ?t rdf:type ontology:collectable } UNION { ?t rdf:type ontology:literary_genre } } } } . FILTER ( ?d = ?e ) }
[]
collectable literary genre common name
SYSTEM
321
Q16859599 Q6130307 Q6255166 Q6255164 Q5239877 Q5239876 Q5144961 Q16210814 Q7342713 Q5239896 Q5239895 Q2699786 Q18529684 Q6237327 Q6237320 Q6237323 Q8017696 Q5232852 Q17402519 Q6257923 Q6255435 Q6262996 Q6262991 Q15456236 Q6249889 Q6255181 Q6255184 Q18527481 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6260667 Q16062974 Q18546647 Q6236083 Q6236081 Q5240345 Q16065533 Q9069823 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q5606268 Q16857953 Q16849502 Q16244253 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 Q16060029 Q7351128 Q7351124 Q7351123 Q16863901 Q21511610 Q3528952 Q1776423 Q6228764 Q6228766 Q6246935 Q5232857 Q5232854 Q18546651 Q5232859 Q18529777 Q7795179 Q6257938 Q1916387 Q18527125 Q3116279 Q6145023 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q8004400 Q18530282 Q5537308 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q6239285 Q18531059 Q18527375 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q16059754 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130325 Q6130320 Q5606270 Q5606272 Q5606274 Q5606277 Q18546628 Q17626521 Q18546621 Q18559712 Q18559713 Q6221420 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 Q6228730 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16065305 Q16228915 Q15637844 Q4679001 Q6237308 Q6237302 Q8017685 Q8017687 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q6263006 Q6263007 Q6255417 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q6246952 Q6246950 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q16027113 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 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 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(Q2342494)|c(Q223393))
action count
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q2342494
action find_tuple_counts
relation P248
type Q502895
type Q223393
action count
action filter_multi_types
action find
entity Q16857661
relation P248
type Q2342494
type Q223393
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q2342494'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?m WHERE { VALUES ( ?p ) { ( ontology:Q223393 ) ( ontology:Q2342494 ) } . ?w rdf:type ?p } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Q16857661 property:P248 ?t . { { ?t rdf:type ontology:Q2342494 } UNION { ?t rdf:type ontology:Q223393 } } } } . FILTER ( ?d = ?e ) }
William Thompson James Brown John Roberts John Roberts David Smith David Smith Colin Campbell David Evans Robert Campbell David Smith David Smith Colin Campbell David Davies John Hall John Hall John Hall William Robinson David Davies Greg Smith John Simpson John Rogers John Ward John Ward William Williams John Murphy John Roberts John Roberts Robert Williams John Lewis William Robinson John Gray John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Thompson 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 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 David Davies Robert Williams Robert Williams Robert Williams 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 John Jones Greg Smith 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 John Walker John Clarke John Clarke David Thomas Borja Mendia John Kennedy John Kennedy Li Ruihuan John Hill William Brown John Murray 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 Bell 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 Davies 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 Kennedy John Ward John Ward John Davies 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 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 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 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
321
action count
action approx
action union
action find_tuple_counts
relation stated in
type common name
type collectable
action find_tuple_counts
relation stated in
type common name
type literary genre
action count
action filter_multi_types
action find
entity John Hall
relation stated in
type collectable
type literary genre
[{'concept': 'common name'}, 'stated in', [{'concept': 'collectable'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?m WHERE { VALUES ( ?p ) { ( ontology:literary_genre ) ( ontology:collectable ) } . ?w rdf:type ?p } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:John_Hall property:stated_in ?t . { { ?t rdf:type ontology:collectable } UNION { ?t rdf:type ontology:literary_genre } } } } . FILTER ( ?d = ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q362
P276
Q1190554
USER
What is situated at World War II ?
(c(Q1190554),P276,Q362)
action filter_type
action find_reverse
entity Q362
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q362']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q362 . ?g rdf:type ontology:Q1190554 }
World War II
action filter_type
action find_reverse
entity World War II
relation location
type event
[{'concept': 'event'}, 'location', 'World War II']
SELECT DISTINCT ?g WHERE { ?g property:location resource:World_War_II . ?g rdf:type ontology:event }
[]
event
Q15769736
SYSTEM
Battle of Toulon
Q15769736
(c(Q1190554),P276,Q362)
action filter_type
action find_reverse
entity Q362
relation P276
type Q1190554
[ANSWER] is situated at World War II
[{'concept': 'Q1190554'}, 'P276', 'Q362']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q362 . ?g rdf:type ontology:Q1190554 }
Battle of Toulon
Battle of Toulon is situated at World War II
Battle of Toulon
action filter_type
action find_reverse
entity World War II
relation location
type event
[{'concept': 'event'}, 'location', 'World War II']
SELECT DISTINCT ?g WHERE { ?g property:location resource:World_War_II . ?g rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q71294
P106
Q12737077
USER
What is the profession of Horst von Mellenthin ?
(Q71294,P106,c(Q12737077))
action filter_type
action find
entity Q71294
relation P106
type Q12737077
['Q71294', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q71294 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Horst von Mellenthin
action filter_type
action find
entity Horst von Mellenthin
relation occupation
type occupation
['Horst von Mellenthin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Horst_von_Mellenthin property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q189290
SYSTEM
officer
Q189290
(Q71294,P106,c(Q12737077))
action filter_type
action find
entity Q71294
relation P106
type Q12737077
The profession of Horst von Mellenthin is an [ANSWER]
['Q71294', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q71294 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
officer
The profession of Horst von Mellenthin is an officer
officer
action filter_type
action find
entity Horst von Mellenthin
relation occupation
type occupation
['Horst von Mellenthin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Horst_von_Mellenthin property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q198 Q838948 Q2342494
USER
How many wars were the main subjects of around 437 works of art or collectables 's work ?
(c(Q838948)|c(Q2342494),P921,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
value 437
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?q ) WHERE { VALUES ( ?c ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?a rdf:type ?c } GROUP BY ?e } . FILTER ( ?q = 437 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action find_reverse_tuple_counts
relation main subject
type war
type collectable
value 437
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?q ) WHERE { VALUES ( ?c ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?a rdf:type ?c } GROUP BY ?e } . FILTER ( ?q = 437 ) }
[]
war work of art collectable
SYSTEM
3
Q8683 Q10859 Q361
(c(Q838948)|c(Q2342494),P921,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
value 437
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?q ) WHERE { VALUES ( ?c ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?a rdf:type ?c } GROUP BY ?e } . FILTER ( ?q = 437 ) }
Cold War Spanish Civil War World War I
3
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action find_reverse_tuple_counts
relation main subject
type war
type collectable
value 437
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?q ) WHERE { VALUES ( ?c ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?a rdf:type ?c } GROUP BY ?e } . FILTER ( ?q = 437 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15769736
P17
Q15617994
USER
Which administrative territory is Battle of Toulon present in ?
(Q15769736,P17,c(Q15617994))
action filter_type
action find
entity Q15769736
relation P17
type Q15617994
['Q15769736', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q15769736 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Battle of Toulon
action filter_type
action find
entity Battle of Toulon
relation country
type designation for an administrative territorial entity
['Battle of Toulon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Battle_of_Toulon property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q15769736,P17,c(Q15617994))
action filter_type
action find
entity Q15769736
relation P17
type Q15617994
Which administrative territory is Battle of Toulon present in
['Q15769736', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q15769736 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
France
Which administrative territory is Battle of Toulon present in
France
action filter_type
action find
entity Battle of Toulon
relation country
type designation for an administrative territorial entity
['Battle of Toulon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Battle_of_Toulon property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q142 Q17
P530
Q15617994
USER
Does Japan have diplomatic relationships with France ?
(Q142,P530,Q17)
action is_in
entity Q17
action find
entity Q142
relation P530
['Q142', 'P530', 'Q17']
ASK WHERE { resource:Q142 property:P530 resource:Q17 }
France Japan
action is_in
entity Japan
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'Japan']
ASK WHERE { resource:France property:diplomatic_relation resource:Japan }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q142,P530,Q17)
action is_in
entity Q17
action find
entity Q142
relation P530
[ANSWER]
['Q142', 'P530', 'Q17']
ASK WHERE { resource:Q142 property:P530 resource:Q17 }
Yes
action is_in
entity Japan
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'Japan']
ASK WHERE { resource:France property:diplomatic_relation resource:Japan }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17412908 Q156014
P361
Q618779
USER
Is German Cross in Gold a component of German Cross ?
(Q17412908,P361,Q156014)
action is_in
entity Q156014
action find
entity Q17412908
relation P361
['Q17412908', 'P361', 'Q156014']
ASK WHERE { resource:Q17412908 property:P361 resource:Q156014 }
German Cross in Gold German Cross
action is_in
entity German Cross
action find
entity German Cross in Gold
relation part of
['German Cross in Gold', 'part of', 'German Cross']
ASK WHERE { resource:German_Cross_in_Gold property:part_of resource:German_Cross }
[]
award
SYSTEM
YES
(Q17412908,P361,Q156014)
action is_in
entity Q156014
action find
entity Q17412908
relation P361
[ANSWER]
['Q17412908', 'P361', 'Q156014']
ASK WHERE { resource:Q17412908 property:P361 resource:Q156014 }
Yes
action is_in
entity German Cross
action find
entity German Cross in Gold
relation part of
['German Cross in Gold', 'part of', 'German Cross']
ASK WHERE { resource:German_Cross_in_Gold property:part_of resource:German_Cross }
[]