Simple Question (Direct)
Simple Question
Q2878371
P495
Q15617994
USER
What are the origins of Back Soon ?
(Q2878371,P495,c(Q15617994))
action filter_type
action find
entity Q2878371
relation P495
type Q15617994
['Q2878371', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q2878371 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
Back Soon
action filter_type
action find
entity Back Soon
relation country of origin
type designation for an administrative territorial entity
['Back Soon', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Back_Soon property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q189
SYSTEM
France, Iceland
Q142 Q189
(Q2878371,P495,c(Q15617994))
action filter_type
action find
entity Q2878371
relation P495
type Q15617994
The origins of Back Soon are in [ANSWERS]
['Q2878371', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q2878371 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
France Iceland
The origins of Back Soon are in France and Iceland
France Iceland
action filter_type
action find
entity Back Soon
relation country of origin
type designation for an administrative territorial entity
['Back Soon', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Back_Soon property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2878371
P58
Q502895
USER
Who were the screenwriters for that work of art ?
(Q142,P58,c(Q502895)) (Q189,P58,c(Q502895))
action filter_type
action find
entity Q2878371
relation P58
type Q502895
['Q142', 'P58', {'concept': 'Q502895'}] ['Q189', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q2878371 property:P58 ?h . ?h rdf:type ontology:Q502895 }
Back Soon
action filter_type
action find
entity Back Soon
relation screenwriter
type common name
['France', 'screenwriter', {'concept': 'common name'}] ['Iceland', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Back_Soon property:screenwriter ?h . ?h rdf:type ontology:common_name }
[]
common name
Q3511511 Q3167155
SYSTEM
Sólveig Anspach, Jean-Luc Gaget
Q3511511 Q3167155
(Q142,P58,c(Q502895)) (Q189,P58,c(Q502895))
action filter_type
action find
entity Q2878371
relation P58
type Q502895
The screenwriters for that work of art were [ANSWERS]
['Q142', 'P58', {'concept': 'Q502895'}] ['Q189', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q2878371 property:P58 ?h . ?h rdf:type ontology:Q502895 }
Sólveig Anspach Jean-Luc Gaget
The screenwriters for that work of art were Sólveig Anspach and Jean-Luc Gaget
Sólveig Anspach Jean-Luc Gaget
action filter_type
action find
entity Back Soon
relation screenwriter
type common name
['France', 'screenwriter', {'concept': 'common name'}] ['Iceland', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Back_Soon property:screenwriter ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3511511 Q3167155
P58
Q838948
USER
Which works of art are those people a screenwriter of ?
(c(Q838948),P58,Q3511511) (c(Q838948),P58,Q3167155)
action filter_type
action find_reverse
entity prev_answer
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q3511511'] [{'concept': 'Q838948'}, 'P58', 'Q3167155']
SELECT DISTINCT ?p WHERE { VALUES ( ?j ) { ( resource:Q3511511 ) ( resource:Q3167155 ) } . ?p property:P58 ?j . ?p rdf:type ontology:Q838948 }
Sólveig Anspach Jean-Luc Gaget
action filter_type
action find_reverse
entity prev_answer
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Sólveig Anspach'] [{'concept': 'work of art'}, 'screenwriter', 'Jean-Luc Gaget']
SELECT DISTINCT ?p WHERE { VALUES ( ?j ) { ( resource:Sólveig_Anspach ) ( resource:Jean-Luc_Gaget ) } . ?p property:screenwriter ?j . ?p rdf:type ontology:work_of_art }
[]
work of art
Q16661555 Q12151357 Q2878371
SYSTEM
Lulu femme nue, Queen of Montreuil, Back Soon
Q2878371 Q16661919 Q23925080 Q16661555 Q12151357 Q2878371
(c(Q838948),P58,Q3511511) (c(Q838948),P58,Q3167155)
action filter_type
action find_reverse
entity prev_answer
relation P58
type Q838948
[ANSWERS] are those people a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q3511511'] [{'concept': 'Q838948'}, 'P58', 'Q3167155']
SELECT DISTINCT ?p WHERE { VALUES ( ?j ) { ( resource:Q3511511 ) ( resource:Q3167155 ) } . ?p property:P58 ?j . ?p rdf:type ontology:Q838948 }
Back Soon Made in the USA The Aquatic Effect Lulu femme nue Queen of Montreuil Back Soon
Lulu femme nue, Queen of Montreuil and Back Soon are those people a screenwriter of
Lulu femme nue Queen of Montreuil Back Soon
action filter_type
action find_reverse
entity prev_answer
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Sólveig Anspach'] [{'concept': 'work of art'}, 'screenwriter', 'Jean-Luc Gaget']
SELECT DISTINCT ?p WHERE { VALUES ( ?j ) { ( resource:Sólveig_Anspach ) ( resource:Jean-Luc_Gaget ) } . ?p property:screenwriter ?j . ?p rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q12151357
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
(Q12151357,P364,c(Q34770))
action filter_type
action find
entity Q12151357
relation P364
type Q34770
['Q12151357', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q12151357 property:P364 ?e . ?e rdf:type ontology:Q34770 }
Queen of Montreuil
action filter_type
action find
entity Queen of Montreuil
relation original language of work
type language
['Queen of Montreuil', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Queen_of_Montreuil property:original_language_of_work ?e . ?e rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q2878371
SYSTEM
Did you mean Back Soon ?
Q16661555 Q12151357 Q2878371
(Q16661555,P364,c(Q34770)) (Q12151357,P364,c(Q34770)) (Q2878371,P364,c(Q34770))
[ANSWER]
['Q16661555', 'P364', {'concept': 'Q34770'}] ['Q12151357', 'P364', {'concept': 'Q34770'}] ['Q2878371', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q12151357 property:P364 ?e . ?e rdf:type ontology:Q34770 }
Lulu femme nue Queen of Montreuil Back Soon
Did you mean Back Soon ?
Back Soon
['Lulu femme nue', 'original language of work', {'concept': 'language'}] ['Queen of Montreuil', 'original language of work', {'concept': 'language'}] ['Back Soon', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Queen_of_Montreuil property:original_language_of_work ?e . ?e rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
No, I meant Queen of Montreuil. Could you tell me the answer for that?
(Q12151357,P364,c(Q34770))
Q12151357
['Q12151357', 'P364', {'concept': 'Q34770'}]
['Queen of Montreuil', 'original language of work', {'concept': 'language'}]
[]
Q1860
SYSTEM
English
Q1860
(Q12151357,P364,c(Q34770))
action filter_type
action find
entity Q12151357
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
['Q12151357', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q12151357 property:P364 ?e . ?e rdf:type ontology:Q34770 }
English
English was used originally for the creation of that work of art
English
action filter_type
action find
entity Queen of Montreuil
relation original language of work
type language
['Queen of Montreuil', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Queen_of_Montreuil property:original_language_of_work ?e . ?e rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q8020390
P248
Q11204 Q1914636 Q502895
USER
How many people have been stated in approximately the same number of legislatures or activities as William Williams ?
(c(Q502895),P248,c(Q11204)|c(Q1914636))
action count
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q11204
action find_tuple_counts
relation P248
type Q502895
type Q1914636
action count
action filter_multi_types
action find
entity Q8020390
relation P248
type Q11204
type Q1914636
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q11204'}, {'concept': 'Q1914636'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) ?v WHERE { { ?v property:P248 ?f . ?f rdf:type ontology:Q11204 . ?v rdf:type ontology:Q502895 } UNION { ?v property:P248 ?f . ?f rdf:type ontology:Q1914636 . ?v rdf:type ontology:Q502895 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q8020390 property:P248 ?c . { { ?c rdf:type ontology:Q11204 } UNION { ?c rdf:type ontology:Q1914636 } } } } . FILTER ( ?d = ?u ) }
William Williams
action count
action approx
action union
action find_tuple_counts
relation stated in
type common name
type legislature
action find_tuple_counts
relation stated in
type common name
type activity
action count
action filter_multi_types
action find
entity William Williams
relation stated in
type legislature
type activity
[{'concept': 'common name'}, 'stated in', [{'concept': 'legislature'}, {'concept': 'activity'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) ?v WHERE { { ?v property:stated_in ?f . ?f rdf:type ontology:legislature . ?v rdf:type ontology:common_name } UNION { ?v property:stated_in ?f . ?f rdf:type ontology:activity . ?v rdf:type ontology:common_name } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:William_Williams property:stated_in ?c . { { ?c rdf:type ontology:legislature } UNION { ?c rdf:type ontology:activity } } } } . FILTER ( ?d = ?u ) }
[]
legislature activity common name
SYSTEM
352
Q16859599 Q6130307 Q6255164 Q5144961 Q5239879 Q16210814 Q16013737 Q7342716 Q7342713 Q5239896 Q5239895 Q2699786 Q18529684 Q6237327 Q6237320 Q6237321 Q6237323 Q8017696 Q6237329 Q5232852 Q16859511 Q16011002 Q17402519 Q6255435 Q6262994 Q6262996 Q6262991 Q6249889 Q6255181 Q6249883 Q6255184 Q15996304 Q18527481 Q16225368 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6260667 Q6236088 Q16062974 Q18546647 Q6236083 Q6236081 Q6221407 Q5240345 Q16065533 Q9069823 Q7351119 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q18546633 Q18546632 Q5606268 Q16857953 Q16849502 Q16244253 Q22936292 Q16026267 Q18530177 Q10978488 Q18810870 Q16195622 Q6249899 Q1879480 Q661947 Q6258326 Q6246971 Q16859464 Q18810862 Q18810864 Q11035229 Q8019373 Q16023331 Q8019371 Q18530179 Q18527610 Q5241202 Q18534216 Q18534214 Q6130313 Q6260650 Q6255174 Q6260652 Q6260653 Q6249871 Q6260655 Q6249873 Q6255172 Q6221412 Q16060029 Q7351128 Q7351124 Q7351121 Q7351123 Q16908903 Q16863901 Q21511610 Q3528952 Q6237337 Q1776423 Q6255426 Q6228764 Q6246935 Q5232850 Q5232854 Q18546651 Q18529777 Q7795179 Q6257938 Q1916387 Q8018837 Q18527125 Q3116279 Q8018834 Q6145023 Q6145020 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q16015315 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 Q6130325 Q6130320 Q5606271 Q5606270 Q5606273 Q5606272 Q5606274 Q18546628 Q5144956 Q17626521 Q18546621 Q18559712 Q18559713 Q6221420 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q15994621 Q15994622 Q6221434 Q17423413 Q7493391 Q8020388 Q6237345 Q8020387 Q8020385 Q16062311 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q17308862 Q5239884 Q8019902 Q15995818 Q16859222 Q5240337 Q6228730 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16065305 Q15637844 Q4679001 Q6237308 Q16194812 Q8017687 Q15485947 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q15452052 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q5537315 Q6246950 Q6246958 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q16027113 Q16043626 Q6242044 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q6255177 Q5239906 Q5144957 Q6221432 Q6236101 Q5144950 Q5144959 Q6255170 Q5239888 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q5239886 Q5233458 Q15982602 Q5233453 Q5233457 Q14951093 Q8020399 Q6239258 Q8020394 Q8020390 Q6221424 Q21515457 Q17385895 Q16466630 Q16031827 Q16857661 Q6255286 Q5241196 Q6255179 Q6262982 Q6262980 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q15994581 Q6244744 Q6470045 Q2778111 Q18546659 Q18546658 Q16859187 Q18546653 Q1101329 Q18546650 Q18546656 Q18546655 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q17364116 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q16095641 Q6263011 Q10363011 Q6257915 Q6145009 Q6145005 Q5233462 Q5233466 Q5233469 Q333770 Q6251897 Q9311159 Q6242832 Q5537322 Q5537324 Q5537325 Q6246961 Q16066618 Q8020402 Q8019368 Q6262709 Q6262704 Q8019367 Q6262700 Q6242842 Q16225515 Q18527351 Q5241210 Q15990004 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q11204)|c(Q1914636))
action count
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q11204
action find_tuple_counts
relation P248
type Q502895
type Q1914636
action count
action filter_multi_types
action find
entity Q8020390
relation P248
type Q11204
type Q1914636
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q11204'}, {'concept': 'Q1914636'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) ?v WHERE { { ?v property:P248 ?f . ?f rdf:type ontology:Q11204 . ?v rdf:type ontology:Q502895 } UNION { ?v property:P248 ?f . ?f rdf:type ontology:Q1914636 . ?v rdf:type ontology:Q502895 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q8020390 property:P248 ?c . { { ?c rdf:type ontology:Q11204 } UNION { ?c rdf:type ontology:Q1914636 } } } } . FILTER ( ?d = ?u ) }
William Thompson James Brown John Roberts Colin Campbell David Smith David Evans John Roberts Robert Campbell Robert Campbell David Smith David Smith Colin Campbell David Davies John Hall John Hall John Hall John Hall William Robinson John Hall David Davies John Robinson John Parker Greg Smith John Rogers John Ward John Ward John Ward John Murphy John Roberts John Murphy John Roberts John Martin Robert Williams John Rogers 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 John Bell David Thomas John Gray Robert Williams Robert Williams Greg Smith James Walker Greg Smith Greg Smith Greg Smith John Smith John Smith Greg Smith John Martin 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 John Carter William Thompson William Walker William Thompson John Brown John Smith David Wilson John Ward John Taylor James Brown John Thompson John Roberts John Thompson John Thompson John Murphy John Thompson John Murphy John Roberts John Bell David Davies Robert Williams Robert Williams Robert Williams Robert Williams William Walker David Davies Dunja Lango George Brown John Hall Raud the Strong John Rogers John Davies John Martin David Davies David Davies John Williams James Brown Thomas Williams John Simpson David Smith William Stewart John Jones Greg Smith William Stewart James Walker James Walker John Martin William Robinson John Brown John Brown John Brown John Walker John Murphy John Brown John Walker John Robinson David Thomas 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 James Brown 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 Martin John Martin John Bell James Brown Shelby Harris William Williams John Hall William Williams William Williams John Martin John Martin William Walker John Rogers John Hill John Simpson Colin Campbell David Smith William Walker John Thompson Robert Williams David Thomas John Davies John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell James Brown George Brown David Smith Adam Dunkels John Hall David Smith William Robinson John Walker William Robinson William Robinson David Wilson John Jackson David Wilson David Wilson John Rogers John Kennedy John Ward John Ward John Davies George Brown George Brown John Martin John Martin Dairis Bertāns George Brown John Murray John Kennedy John Lewis John Roberts William Thompson John Jones William Thompson John Campbell John Campbell John Evans David Smith John Phillips John Phillips John Roberts David Smith Colin Campbell John Bell John Gray Colin Campbell Colin Campbell John Roberts David Smith David Wilson George Brown John Thompson John Evans Robert Campbell David Smith David Smith David Evans John Young David Evans David Evans John Jackson William Williams John Hill William Williams William Williams John Bell Rolando Valdès-Blain David Evans John Bell John Rogers John Hall John Robinson David Wilson John Roberts John Ward 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 James Walker John Williams John Rogers John Williams John Williams John Williams 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 John Ward Risques Pereira John Simpson 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 Ward William Williams William Thompson John Walker John Walker William Thompson John Walker John Kennedy John Simpson John Moore David Wilson John Gray William Thompson Carsten Tank George Smith
352
action count
action approx
action union
action find_tuple_counts
relation stated in
type common name
type legislature
action find_tuple_counts
relation stated in
type common name
type activity
action count
action filter_multi_types
action find
entity William Williams
relation stated in
type legislature
type activity
[{'concept': 'common name'}, 'stated in', [{'concept': 'legislature'}, {'concept': 'activity'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) ?v WHERE { { ?v property:stated_in ?f . ?f rdf:type ontology:legislature . ?v rdf:type ontology:common_name } UNION { ?v property:stated_in ?f . ?f rdf:type ontology:activity . ?v rdf:type ontology:common_name } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:William_Williams property:stated_in ?c . { { ?c rdf:type ontology:legislature } UNION { ?c rdf:type ontology:activity } } } } . FILTER ( ?d = ?u ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q838948 Q107425 Q502895
USER
Which works of art are atmost 1 landscapes or people a component of ?
(c(Q107425)|c(Q502895),P361,c(Q838948))
action atmost
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q107425
action find_reverse_tuple_counts
relation P361
type Q838948
type Q502895
value 1
[[{'concept': 'Q107425'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?u <= 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?u ) WHERE { { ?q rdf:type ontology:Q838948 . ?v rdf:type ontology:Q107425 . ?v property:P361 ?q } UNION { ?v property:P361 ?q . ?q rdf:type ontology:Q838948 . ?v rdf:type ontology:Q502895 } } GROUP BY ?q } }
action atmost
action union
action find_reverse_tuple_counts
relation part of
type work of art
type landscape
action find_reverse_tuple_counts
relation part of
type work of art
type common name
value 1
[[{'concept': 'landscape'}, {'concept': 'common name'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?u <= 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?u ) WHERE { { ?q rdf:type ontology:work_of_art . ?v rdf:type ontology:landscape . ?v property:part_of ?q } UNION { ?v property:part_of ?q . ?q rdf:type ontology:work_of_art . ?v rdf:type ontology:common_name } } GROUP BY ?q } }
[]
work of art landscape common name
Q205028 Q102438 Q15624215
SYSTEM
Iron Man 2, Harry Potter and the Philosopher's Stone, Lucy
Q2312028 Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q222867 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q632753 Q60072 Q489772 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q107425)|c(Q502895),P361,c(Q838948))
action atmost
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q107425
action find_reverse_tuple_counts
relation P361
type Q838948
type Q502895
value 1
[ANSWERS] are atmost 1 landscapes or people a component of
[[{'concept': 'Q107425'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?u <= 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?u ) WHERE { { ?q rdf:type ontology:Q838948 . ?v rdf:type ontology:Q107425 . ?v property:P361 ?q } UNION { ?v property:P361 ?q . ?q rdf:type ontology:Q838948 . ?v rdf:type ontology:Q502895 } } GROUP BY ?q } }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's Lucy The Merchant of Venice Alice Comedies The Bowman and The Spearman The Towering Inferno Harry Potter and the Philosopher's Stone Sing, Baby, Sing The Martian Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Dick Tracy Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature predella Iron Man 2 The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Inferno Hunnestad Monument Babes in Arms The Sound of Music Seven Wonders of the Ancient World Hamlet Space Pirate Captain Harlock baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Cold War Porto San Giorgio Polyptych The Witches triptych Teheran 43 Henry VI (play) Part 1-3 Monty Python's The Meaning of Life Supergirl drawing Meditation Playing for Keeps Arabian Nights Carefree The Oldest Profession Kill Bill Volume 2 The Legend of Lucy Keyes DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
Iron Man 2, Harry Potter and the Philosopher's Stone and Lucy are atmost 1 landscapes or people a component of
Iron Man 2 Harry Potter and the Philosopher's Stone Lucy
action atmost
action union
action find_reverse_tuple_counts
relation part of
type work of art
type landscape
action find_reverse_tuple_counts
relation part of
type work of art
type common name
value 1
[[{'concept': 'landscape'}, {'concept': 'common name'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?u <= 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?u ) WHERE { { ?q rdf:type ontology:work_of_art . ?v rdf:type ontology:landscape . ?v property:part_of ?q } UNION { ?v property:part_of ?q . ?q rdf:type ontology:work_of_art . ?v rdf:type ontology:common_name } } GROUP BY ?q } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q838948 Q15709879 Q386724
USER
Which works of art are expressed in max number of artwork series and works ?
(c(Q15709879)|c(Q386724),P180,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
[[{'concept': 'Q15709879'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?m WHERE { { ?c property:P180 ?m . ?m rdf:type ontology:Q838948 . ?c rdf:type ontology:Q15709879 } UNION { ?c property:P180 ?m . ?m rdf:type ontology:Q838948 . ?c rdf:type ontology:Q386724 } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?a WHERE { { ?f property:P180 ?a . ?f rdf:type ontology:Q15709879 . ?a rdf:type ontology:Q838948 } UNION { ?f property:P180 ?a . ?f rdf:type ontology:Q386724 . ?a rdf:type ontology:Q838948 } } GROUP BY ?a } . FILTER ( ?k = ?l ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type artwork series
action find_reverse_tuple_counts
relation depicts
type work of art
type work
[[{'concept': 'artwork series'}, {'concept': 'work'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?m WHERE { { ?c property:depicts ?m . ?m rdf:type ontology:work_of_art . ?c rdf:type ontology:artwork_series } UNION { ?c property:depicts ?m . ?m rdf:type ontology:work_of_art . ?c rdf:type ontology:work } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?a WHERE { { ?f property:depicts ?a . ?f rdf:type ontology:artwork_series . ?a rdf:type ontology:work_of_art } UNION { ?f property:depicts ?a . ?f rdf:type ontology:work . ?a rdf:type ontology:work_of_art } } GROUP BY ?a } . FILTER ( ?k = ?l ) }
[]
work of art artwork series work
Q599302
SYSTEM
Column of Antoninus Pius
Q599302
(c(Q15709879)|c(Q386724),P180,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
[ANSWER] is expressed in max number of artwork series and works
[[{'concept': 'Q15709879'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?m WHERE { { ?c property:P180 ?m . ?m rdf:type ontology:Q838948 . ?c rdf:type ontology:Q15709879 } UNION { ?c property:P180 ?m . ?m rdf:type ontology:Q838948 . ?c rdf:type ontology:Q386724 } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?a WHERE { { ?f property:P180 ?a . ?f rdf:type ontology:Q15709879 . ?a rdf:type ontology:Q838948 } UNION { ?f property:P180 ?a . ?f rdf:type ontology:Q386724 . ?a rdf:type ontology:Q838948 } } GROUP BY ?a } . FILTER ( ?k = ?l ) }
Column of Antoninus Pius
Column of Antoninus Pius is expressed in max number of artwork series and works
Column of Antoninus Pius
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type artwork series
action find_reverse_tuple_counts
relation depicts
type work of art
type work
[[{'concept': 'artwork series'}, {'concept': 'work'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) ?m WHERE { { ?c property:depicts ?m . ?m rdf:type ontology:work_of_art . ?c rdf:type ontology:artwork_series } UNION { ?c property:depicts ?m . ?m rdf:type ontology:work_of_art . ?c rdf:type ontology:work } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?a WHERE { { ?f property:depicts ?a . ?f rdf:type ontology:artwork_series . ?a rdf:type ontology:work_of_art } UNION { ?f property:depicts ?a . ?f rdf:type ontology:work . ?a rdf:type ontology:work_of_art } } GROUP BY ?a } . FILTER ( ?k = ?l ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q599302
P195
Q33506
USER
Which museum contains that work of art in it ?
(Q599302,P195,c(Q33506))
action filter_type
action find
entity Q599302
relation P195
type Q33506
['Q599302', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q33506 . resource:Q599302 property:P195 ?d }
Column of Antoninus Pius
action filter_type
action find
entity Column of Antoninus Pius
relation collection
type museum
['Column of Antoninus Pius', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:museum . resource:Column_of_Antoninus_Pius property:collection ?d }
[]
museum
Q182955
SYSTEM
Vatican Museums
Q182955
(Q599302,P195,c(Q33506))
action filter_type
action find
entity Q599302
relation P195
type Q33506
[ANSWER] contains that work of art in it
['Q599302', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q33506 . resource:Q599302 property:P195 ?d }
Vatican Museums
Vatican Museums contains that work of art in it
Vatican Museums
action filter_type
action find
entity Column of Antoninus Pius
relation collection
type museum
['Column of Antoninus Pius', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:museum . resource:Column_of_Antoninus_Pius property:collection ?d }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q22678603 Q599302
P195
Q33506
USER
Or Programmed Print - the Vertical Line Program?
OR((Q599302,P195,c(Q33506)), (Q22678603,P195,c(Q33506)))
action filter_type
action union
action find
entity Q599302
relation P195
action find
entity Q22678603
relation P195
type Q33506
{'OR': [['Q599302', 'P195', {'concept': 'Q33506'}], ['Q22678603', 'P195', {'concept': 'Q33506'}]]}
SELECT DISTINCT ?b WHERE { { ?r property:P195 ?b . VALUES ( ?r ) { ( resource:Q599302 ) ( resource:Q22678603 ) } } . ?b rdf:type ontology:Q33506 }
Programmed Print - the Vertical Line Program Column of Antoninus Pius
action filter_type
action union
action find
entity Column of Antoninus Pius
relation collection
action find
entity Programmed Print - the Vertical Line Program
relation collection
type museum
{'OR': [['Column of Antoninus Pius', 'collection', {'concept': 'museum'}], ['Programmed Print - the Vertical Line Program', 'collection', {'concept': 'museum'}]]}
SELECT DISTINCT ?b WHERE { { ?r property:collection ?b . VALUES ( ?r ) { ( resource:Column_of_Antoninus_Pius ) ( resource:Programmed_Print_-_the_Vertical_Line_Program ) } } . ?b rdf:type ontology:museum }
[]
museum
Q182955 Q11234584
SYSTEM
Vatican Museums, Museum of Modern Art
Q182955 Q11234584
OR((Q599302,P195,c(Q33506)), (Q22678603,P195,c(Q33506)))
action filter_type
action union
action find
entity Q599302
relation P195
action find
entity Q22678603
relation P195
type Q33506
[ANSWERS]
{'OR': [['Q599302', 'P195', {'concept': 'Q33506'}], ['Q22678603', 'P195', {'concept': 'Q33506'}]]}
SELECT DISTINCT ?b WHERE { { ?r property:P195 ?b . VALUES ( ?r ) { ( resource:Q599302 ) ( resource:Q22678603 ) } } . ?b rdf:type ontology:Q33506 }
Vatican Museums Museum of Modern Art
Vatican Museums Museum of Modern Art
action filter_type
action union
action find
entity Column of Antoninus Pius
relation collection
action find
entity Programmed Print - the Vertical Line Program
relation collection
type museum
{'OR': [['Column of Antoninus Pius', 'collection', {'concept': 'museum'}], ['Programmed Print - the Vertical Line Program', 'collection', {'concept': 'museum'}]]}
SELECT DISTINCT ?b WHERE { { ?r property:collection ?b . VALUES ( ?r ) { ( resource:Column_of_Antoninus_Pius ) ( resource:Programmed_Print_-_the_Vertical_Line_Program ) } } . ?b rdf:type ontology:museum }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P112
Q502895
USER
How many people are the names of the founders of that museum ?
(Q182955,P112,c(Q502895))
['Q182955', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q182955 property:Q26950764 ?z . ?z rdf:type ontology:Q502895 }
['Vatican Museums', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Vatican_Museums property:founder ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q182955
SYSTEM
Did you mean Vatican Museums ?
(Q182955,P112,c(Q502895)) (Q11234584,P112,c(Q502895))
[ANSWER]
['Q182955', 'P112', {'concept': 'Q502895'}] ['Q11234584', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q182955 property:Q26950764 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Vatican Museums ?
Vatican Museums
['Vatican Museums', 'founder', {'concept': 'common name'}] ['Museum of Modern Art', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Vatican_Museums property:founder ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q182955,P112,c(Q502895))
['Q182955', 'P112', {'concept': 'Q502895'}]
['Vatican Museums', 'founder', {'concept': 'common name'}]
[]
SYSTEM
1
Q80516
(Q182955,P112,c(Q502895))
[ANSWER]
['Q182955', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q182955 property:Q26950764 ?z . ?z rdf:type ontology:Q502895 }
Julius II
1
['Vatican Museums', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Vatican_Museums property:founder ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q182955
P195
Q3305213
USER
How many paintings belong to Vatican Museums ?
(c(Q3305213),P195,Q182955)
action count
action filter_type
action find_reverse
entity Q182955
relation P195
type Q3305213
[{'concept': 'Q3305213'}, 'P195', 'Q182955']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P195 resource:Q182955 . ?d rdf:type ontology:Q3305213 }
Vatican Museums
action count
action filter_type
action find_reverse
entity Vatican Museums
relation collection
type painting
[{'concept': 'painting'}, 'collection', 'Vatican Museums']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:collection resource:Vatican_Museums . ?d rdf:type ontology:painting }
[]
painting
SYSTEM
25
Q3605053 Q3765109 Q2564496 Q500242 Q1450935 Q2531790 Q2719737 Q567861 Q1619548 Q3962310 Q774018 Q844675 Q549953 Q3482971 Q2716974 Q2294201 Q186953 Q1886263 Q594213 Q2405750 Q3736321 Q2529969 Q1996932 Q2715152 Q2568776
(c(Q3305213),P195,Q182955)
action count
action filter_type
action find_reverse
entity Q182955
relation P195
type Q3305213
[ANSWER]
[{'concept': 'Q3305213'}, 'P195', 'Q182955']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P195 resource:Q182955 . ?d rdf:type ontology:Q3305213 }
Adam and Eve Prophet Jonah The Battle of Ostia The Creation of Adam The Coronation of Charlemagne The Fire in the Borgo Deliverance of Saint Peter The Last Judgment The Oath of Leo III Sixtus IV Appointing Platina as Prefect of the Vatican Library Stanza di Eliodoro Sistine Chapel ceiling Disputation of the Holy Sacrament Delphic Sibyl The Meeting of Leo the Great and Attila The Expulsion of Heliodorus from the Temple School of Athens The Crucifixion of St. Peter Aldobrandini Wedding The Vision of the Cross Hezekiah, Manasseh and Amon The Mass at Bolsena The Battle of the Milvian Bridge The Parnassus Cardinal and Theological Virtues
25
action count
action filter_type
action find_reverse
entity Vatican Museums
relation collection
type painting
[{'concept': 'painting'}, 'collection', 'Vatican Museums']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:collection resource:Vatican_Museums . ?d rdf:type ontology:painting }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q182955
P1037
Q502895
USER
Which person manages that museum ?
action filter_type
action find
entity Q182955
relation P1037
type Q502895
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q182955 property:P1037 ?j }
Vatican Museums
action filter_type
action find
entity Vatican Museums
relation manager/director
type common name
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Vatican_Museums property:manager/director ?j }
[]
common name
Q913004
SYSTEM
Antonio Paolucci
Q913004
action filter_type
action find
entity Q182955
relation P1037
type Q502895
[ANSWER] manages that museum
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q182955 property:P1037 ?j }
Antonio Paolucci
Antonio Paolucci manages that museum
Antonio Paolucci
action filter_type
action find
entity Vatican Museums
relation manager/director
type common name
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Vatican_Museums property:manager/director ?j }
[]