Simple Question (Direct)
Simple Question
Q201303
P21
Q290
USER
Which sex does Tigranes the Great belong to ?
(Q201303,P21,c(Q290))
action filter_type
action find
entity Q201303
relation P21
type Q290
['Q201303', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q201303 property:P21 ?y . ?y rdf:type ontology:Q290 }
Tigranes the Great
action filter_type
action find
entity Tigranes the Great
relation gender
type sex
['Tigranes the Great', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Tigranes_the_Great property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q201303,P21,c(Q290))
action filter_type
action find
entity Q201303
relation P21
type Q290
Tigranes the Great belongs to [ANSWER]
['Q201303', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q201303 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
Tigranes the Great belongs to male
male
action filter_type
action find
entity Tigranes the Great
relation gender
type sex
['Tigranes the Great', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Tigranes_the_Great property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q201303
P40
Q502895
USER
Who has Tigranes the Great as an offspring ?
(c(Q502895),P40,Q201303)
action filter_type
action find_reverse
entity Q201303
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q201303']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q201303 . ?r rdf:type ontology:Q502895 }
Tigranes the Great
action filter_type
action find_reverse
entity Tigranes the Great
relation child
type common name
[{'concept': 'common name'}, 'child', 'Tigranes the Great']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Tigranes_the_Great . ?r rdf:type ontology:common_name }
[]
common name
Q598373
SYSTEM
Tigranes I
Q598373
(c(Q502895),P40,Q201303)
action filter_type
action find_reverse
entity Q201303
relation P40
type Q502895
[ANSWER] has Tigranes the Great as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q201303']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q201303 . ?r rdf:type ontology:Q502895 }
Tigranes I
Tigranes I has Tigranes the Great as an offspring
Tigranes I
action filter_type
action find_reverse
entity Tigranes the Great
relation child
type common name
[{'concept': 'common name'}, 'child', 'Tigranes the Great']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Tigranes_the_Great . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q201303
P22
Q502895
USER
Which male person has a child named Tigranes the Great ?
(Q201303,P22,c(Q502895))
action filter_type
action find
entity Q201303
relation P22
type Q502895
['Q201303', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q201303 property:P22 ?c }
Tigranes the Great
action filter_type
action find
entity Tigranes the Great
relation father
type common name
['Tigranes the Great', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Tigranes_the_Great property:father ?c }
[]
common name
Q598373
SYSTEM
Tigranes I
Q598373
(Q201303,P22,c(Q502895))
action filter_type
action find
entity Q201303
relation P22
type Q502895
And [ANSWER] has a child named Tigranes the Great
['Q201303', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q201303 property:P22 ?c }
Tigranes I
And Tigranes I has a child named Tigranes the Great
Tigranes I
action filter_type
action find
entity Tigranes the Great
relation father
type common name
['Tigranes the Great', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Tigranes_the_Great property:father ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q598373
P25
Q502895
USER
Who was the mom of that one ?
(Q598373,P25,c(Q502895))
action filter_type
action find
entity Q598373
relation P25
type Q502895
['Q598373', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q598373 property:P25 ?j }
Tigranes I
action filter_type
action find
entity Tigranes I
relation mother
type common name
['Tigranes I', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Tigranes_I property:mother ?j }
[]
common name
Q3850963
SYSTEM
Satenik
Q3850963
(Q598373,P25,c(Q502895))
action filter_type
action find
entity Q598373
relation P25
type Q502895
The mom of that one was the [ANSWER]
['Q598373', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q598373 property:P25 ?j }
Satenik
The mom of that one was the Satenik
Satenik
action filter_type
action find
entity Tigranes I
relation mother
type common name
['Tigranes I', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Tigranes_I property:mother ?j }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 569 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 569
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?p = 569 ) . { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?r } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 569
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?p = 569 ) . { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?r } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 569
[ANSWERS] are played by around 569 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?p = 569 ) . { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?r } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by around 569 people
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 569
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?p = 569 ) . { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?r } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P870
Q34379 Q9748
USER
Which musical instruments are used as instrumentation in approximately the same number of concertoes as that musical instrument ?
(c(Q9748),P870,c(Q34379))
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
musical instrument concerto
Comparative|More/Less|Single entity type|Clarification
Q1178361
SYSTEM
Did you mean davul ?
(c(Q9748),P870,c(Q34379))
[ANSWER]
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
Did you mean davul ?
davul
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (All)
USER
No, I meant harpsichord. Could you tell me the answer for that?
(c(Q9748),P870,c(Q34379))
Q81982
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
[]
Q521151 Q81982 Q80284
SYSTEM
baryton, harpsichord, viola
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q1444 Q39777 Q11404 Q206987 Q81982
(c(Q9748),P870,c(Q34379))
[ANSWERS] are used as instrumentation in approximately the same number of concertoes as that musical instrument
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta organ maraca drum vibraphone harpsichord
Baryton, harpsichord and viola are used as instrumentation in approximately the same number of concertoes as that musical instrument
baryton harpsichord viola
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q546469 Q201303
P53
Q13417114
USER
Which noble families are the royal families that Tigranes the Great or Peter I of Cyprus are a part of ?
OR((Q201303,P53,c(Q13417114)), (Q546469,P53,c(Q13417114)))
action filter_type
action union
action find
entity Q201303
relation P53
action find
entity Q546469
relation P53
type Q13417114
{'OR': [['Q201303', 'P53', {'concept': 'Q13417114'}], ['Q546469', 'P53', {'concept': 'Q13417114'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?f ) { ( resource:Q201303 ) ( resource:Q546469 ) } . ?f property:P53 ?x } . ?x rdf:type ontology:Q13417114 }
Peter I of Cyprus Tigranes the Great
action filter_type
action union
action find
entity Tigranes the Great
relation noble family
action find
entity Peter I of Cyprus
relation noble family
type noble family
{'OR': [['Tigranes the Great', 'noble family', {'concept': 'noble family'}], ['Peter I of Cyprus', 'noble family', {'concept': 'noble family'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?f ) { ( resource:Tigranes_the_Great ) ( resource:Peter_I_of_Cyprus ) } . ?f property:noble_family ?x } . ?x rdf:type ontology:noble_family }
[]
noble family
Q597494 Q378193
SYSTEM
Artaxiad Dynasty, House of Lusignan
Q597494 Q378193
OR((Q201303,P53,c(Q13417114)), (Q546469,P53,c(Q13417114)))
action filter_type
action union
action find
entity Q201303
relation P53
action find
entity Q546469
relation P53
type Q13417114
[ANSWERS] are the royal families that Tigranes the Great or Peter I of Cyprus are a part of
{'OR': [['Q201303', 'P53', {'concept': 'Q13417114'}], ['Q546469', 'P53', {'concept': 'Q13417114'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?f ) { ( resource:Q201303 ) ( resource:Q546469 ) } . ?f property:P53 ?x } . ?x rdf:type ontology:Q13417114 }
Artaxiad Dynasty House of Lusignan
Artaxiad Dynasty and House of Lusignan are the royal families that Tigranes the Great or Peter I of Cyprus are a part of
Artaxiad Dynasty House of Lusignan
action filter_type
action union
action find
entity Tigranes the Great
relation noble family
action find
entity Peter I of Cyprus
relation noble family
type noble family
{'OR': [['Tigranes the Great', 'noble family', {'concept': 'noble family'}], ['Peter I of Cyprus', 'noble family', {'concept': 'noble family'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?f ) { ( resource:Tigranes_the_Great ) ( resource:Peter_I_of_Cyprus ) } . ?f property:noble_family ?x } . ?x rdf:type ontology:noble_family }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q597494
P112
Q502895
USER
What is the name of the founder of Artaxiad Dynasty ?
(Q597494,P112,c(Q502895))
action filter_type
action find
entity Q597494
relation P112
type Q502895
['Q597494', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q597494 property:P112 ?y . ?y rdf:type ontology:Q502895 }
Artaxiad Dynasty
action filter_type
action find
entity Artaxiad Dynasty
relation founder
type common name
['Artaxiad Dynasty', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Artaxiad_Dynasty property:founder ?y . ?y rdf:type ontology:common_name }
[]
common name
Q319478
SYSTEM
Artaxias I
Q319478
(Q597494,P112,c(Q502895))
action filter_type
action find
entity Q597494
relation P112
type Q502895
The name of the founder of Artaxiad Dynasty is [ANSWER]
['Q597494', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q597494 property:P112 ?y . ?y rdf:type ontology:Q502895 }
Artaxias I
The name of the founder of Artaxiad Dynasty is Artaxias I
Artaxias I
action filter_type
action find
entity Artaxiad Dynasty
relation founder
type common name
['Artaxiad Dynasty', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Artaxiad_Dynasty property:founder ?y . ?y rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q319478 Q399
P27
Q15617994
USER
Is Armenia the country of citizenship of that person ?
(Q319478,P27,Q399)
action is_in
entity Q399
action find
entity Q319478
relation P27
['Q319478', 'P27', 'Q399']
ASK WHERE { resource:Q319478 property:P27 resource:Q399 }
Artaxias I Armenia
action is_in
entity Armenia
action find
entity Artaxias I
relation country of citizenship
['Artaxias I', 'country of citizenship', 'Armenia']
ASK WHERE { resource:Artaxias_I property:country_of_citizenship resource:Armenia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q319478,P27,Q399)
action is_in
entity Q399
action find
entity Q319478
relation P27
[ANSWER]
['Q319478', 'P27', 'Q399']
ASK WHERE { resource:Q319478 property:P27 resource:Q399 }
Yes
action is_in
entity Armenia
action find
entity Artaxias I
relation country of citizenship
['Artaxias I', 'country of citizenship', 'Armenia']
ASK WHERE { resource:Artaxias_I property:country_of_citizenship resource:Armenia }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P825
Q502895 Q7725634 Q16970
USER
Which people are min number of literary works or churches dedicated to ?
(c(Q7725634)|c(Q16970),P825,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P825
type Q502895
type Q16970
[[{'concept': 'Q7725634'}, {'concept': 'Q16970'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?d ) { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?w ) WHERE { { ?x rdf:type ontology:Q502895 . ?y rdf:type ontology:Q7725634 . ?y property:P825 ?x } UNION { ?y property:P825 ?x . ?x rdf:type ontology:Q502895 . ?y rdf:type ontology:Q16970 } } GROUP BY ?x } } . { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?t ) WHERE { { ?q property:P825 ?k . ?k rdf:type ontology:Q502895 . ?q rdf:type ontology:Q7725634 } UNION { ?q property:P825 ?k . ?k rdf:type ontology:Q502895 . ?q rdf:type ontology:Q16970 } } GROUP BY ?k } . FILTER ( ?t = ?d ) }
action argmin
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action find_reverse_tuple_counts
relation dedicated to
type common name
type church
[[{'concept': 'literary work'}, {'concept': 'church'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?d ) { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?w ) WHERE { { ?x rdf:type ontology:common_name . ?y rdf:type ontology:literary_work . ?y property:dedicated_to ?x } UNION { ?y property:dedicated_to ?x . ?x rdf:type ontology:common_name . ?y rdf:type ontology:church } } GROUP BY ?x } } . { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?t ) WHERE { { ?q property:dedicated_to ?k . ?k rdf:type ontology:common_name . ?q rdf:type ontology:literary_work } UNION { ?q property:dedicated_to ?k . ?k rdf:type ontology:common_name . ?q rdf:type ontology:church } } GROUP BY ?k } . FILTER ( ?t = ?d ) }
[]
common name literary work church
Q8016 Q937 Q23559
SYSTEM
Winston Churchill, Albert Einstein, Benito Mussolini
Q101698 Q152457 Q7402197 Q282498 Q4304989 Q4452364 Q7859824 Q181707 Q360420 Q1357149 Q318636 Q4218975 Q249719 Q18684004 Q534049 Q16846308 Q983142 Q314700 Q676555 Q11403872 Q85210 Q312747 Q12688 Q336692 Q770633 Q611078 Q207113 Q20748855 Q44344 Q16202312 Q184935 Q65318 Q658756 Q1774929 Q382053 Q88927 Q572684 Q17812378 Q3190301 Q93373 Q457863 Q43675 Q150767 Q2575112 Q989 Q3109901 Q157176 Q2288858 Q44047 Q352978 Q1442 Q2959487 Q972905 Q937 Q935 Q849 Q283447 Q179718 Q313737 Q2974965 Q7593283 Q1948037 Q747 Q5858974 Q173061 Q607495 Q235863 Q8605 Q19629510 Q5147053 Q43999 Q295090 Q18412922 Q351670 Q683792 Q3348840 Q2639031 Q685156 Q888326 Q62068 Q297 Q171411 Q558261 Q87621 Q94316 Q1236699 Q458014 Q11074321 Q7683954 Q7401372 Q93341 Q4218947 Q442516 Q313548 Q935496 Q461258 Q151967 Q132684 Q45380 Q192236 Q4130411 Q4127503 Q14345 Q38337 Q7446899 Q1398314 Q732526 Q200895 Q65290 Q1889720 Q55398 Q1394 Q22985873 Q43945 Q1064 Q4275175 Q1284971 Q5561411 Q612390 Q44039 Q44032 Q20643690 Q9025343 Q37693 Q704817 Q1666 Q120180 Q41117 Q174231 Q23900430 Q200188 Q170547 Q43399 Q417686 Q276404 Q541634 Q244383 Q5249703 Q155540 Q381815 Q878671 Q6699463 Q443559 Q535 Q2381536 Q115550 Q9439 Q539 Q42887 Q272899 Q187550 Q2594000 Q313942 Q464192 Q379753 Q461104 Q298185 Q966298 Q1196817 Q433995 Q43600 Q271651 Q244852 Q5593 Q183085 Q57240 Q737198 Q466428 Q1246313 Q2376505 Q85760 Q160257 Q284560 Q314846 Q41568 Q20173462 Q1429 Q697765 Q25089 Q20683560 Q724153 Q1425 Q1427 Q160614 Q369691 Q313093 Q43982 Q44248 Q1078192 Q32613 Q66005 Q191039 Q20644286 Q236326 Q42511 Q3719466 Q44258 Q18363 Q3401960 Q163900 Q4340905 Q7179512 Q11633375 Q499022 Q719428 Q237149 Q17590 Q311080 Q6695484 Q37064 Q160445 Q5623897 Q7732 Q1288566 Q541694 Q152727 Q29179 Q313970 Q6918007 Q3262373 Q426814 Q7327 Q35548 Q570845 Q231690 Q6527 Q8195163 Q18535501 Q502943 Q44024 Q44020 Q77187 Q6955878 Q5837054 Q9455 Q2573616 Q313196 Q691402 Q369668 Q1714244 Q297483 Q1380238 Q1496 Q1036864 Q102527 Q51056 Q3392202 Q15432686 Q3398098 Q539427 Q462255 Q1088014 Q314802 Q2454699 Q8016 Q8018 Q645141 Q215333 Q272280 Q2853967 Q165274 Q700317 Q171977 Q316599 Q1398704 Q11403852 Q5318618 Q13132095 Q311791 Q4161262 Q167477 Q501 Q297742 Q2093405 Q183332 Q12872638 Q19595674 Q269520 Q2722964 Q204503 Q78657 Q234908 Q71231 Q7402252 Q4893207 Q27036912 Q727717 Q17308940 Q1132756 Q35149 Q23892327 Q636533 Q11619989 Q154353 Q13131020 Q119957 Q2025679 Q160149 Q382005 Q3401592 Q3770666 Q154232 Q551735 Q3618054 Q349287 Q537553 Q154045 Q3399340 Q1430 Q767 Q552220 Q215572 Q3099236 Q157100 Q160435 Q3398315 Q472635 Q92467 Q316658 Q23894387 Q23991012 Q711836 Q3069570 Q6258837 Q1016482 Q709118 Q328341 Q581537 Q93362 Q538335 Q179971 Q11368835 Q773580 Q164294 Q164522 Q117710 Q11403867 Q461600 Q712653 Q23559 Q7401328 Q130777 Q130805 Q1268 Q504529 Q603655 Q352748 Q6108547 Q20643663 Q6804706 Q1153323 Q17509259 Q11107790 Q43669 Q18126070 Q558148 Q289215 Q351715 Q33477 Q149727 Q7349 Q468122 Q16859956 Q1834624 Q444380 Q1183310 Q360798 Q3372785 Q1769 Q1446 Q310462 Q10881970 Q170842 Q12718 Q132232 Q47120 Q63070 Q87567 Q216873 Q232803 Q238090 Q374467 Q3781346 Q174367 Q6203829 Q680538 Q179858 Q894757 Q5992912 Q3395811 Q7110271 Q45682 Q472851 Q982696 Q317997 Q221263 Q51885 Q123062 Q181689 Q964608 Q218690 Q80513 Q469572 Q5984068 Q151803 Q16766274 Q1293017 Q743830 Q3405091 Q16636868 Q82122 Q299179 Q1407 Q1405 Q836214 Q51673 Q1337419 Q13132105 Q3305109 Q5623522 Q41309 Q354786
(c(Q7725634)|c(Q16970),P825,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P825
type Q502895
type Q16970
Min number of literary works or churches are of [ANSWERS]
[[{'concept': 'Q7725634'}, {'concept': 'Q16970'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?d ) { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?w ) WHERE { { ?x rdf:type ontology:Q502895 . ?y rdf:type ontology:Q7725634 . ?y property:P825 ?x } UNION { ?y property:P825 ?x . ?x rdf:type ontology:Q502895 . ?y rdf:type ontology:Q16970 } } GROUP BY ?x } } . { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?t ) WHERE { { ?q property:P825 ?k . ?k rdf:type ontology:Q502895 . ?q rdf:type ontology:Q7725634 } UNION { ?q property:P825 ?k . ?k rdf:type ontology:Q502895 . ?q rdf:type ontology:Q16970 } } GROUP BY ?k } . FILTER ( ?t = ?d ) }
Gaetano Donizetti Saint Roch Saint Sulien Gaspar Melchor de Jovellanos Mawgan Tathan Tyfrydog Charles Fourier Serge Lifar Giacomo Bassi Neville Marriner Saint Keyne Yui Caroline Weber Saint Petroc Saint Rhian Julian the Hospitaller Joachim Francis of Assisi Kitabatake Akiyoshi Karl Ritter von Stremayr Leopoldo Alas Jean Jaurès Rodolphe Kreutzer Padarn António José de Ávila, 1st Duke of Ávila and Bolama Hippolytus Llawddog Hilary of Poitiers Nidan Mihai Eminescu Kibitsuhiko-no-mikoto Alof de Wignacourt Ferreolus Antonio Sant'Elia Louis de Montfort Thomas-Alexandre Dumas Francisco Pintado Fe Just of Lyon Archduke Rudolf of Austria Ingeborg Bronsart von Schellendorf Philip the Apostle Benjamin Britten Winefride John Paul II Gohard Władysław Szpilman Moriyoshi-shinnō James, son of Alphaeus Antoine Wiertz Septimius Severus Charles Joseph Lenoir Léon Goossens Albert Einstein Isaac Newton François Villon Lambert of Maastricht Catherine of Alexandria Drusus Julius Caesar Clair of Nantes St Govan Moritz Reichsgraf von Fries Pierre Corneille Fermín Canella Secades Syd Barrett Giuseppe De Nittis Genevieve Simón Bolívar Saint Goustan Collet Barker James Léon Gambetta Johann Georg von Browne-Camus Komitas Vardapet Kitabatake Chikafusa Octave Gréard Illtud Karl Alois, Prince Lichnowsky Bob Wills Princess Augusta of Hesse-Kassel Diego Velázquez Oda Nobunaga Saint Servatius Antonie Brentano Kikuchi Taketoki Giuseppe Sinigaglia Ottaviano Petrucci Kaneyoshi-shinnō Tanwg Iestyn Miles Davis Ceidio ap Einion Germanus of Auxerre Absalon Abundius Yamato Takeru Saint Blaise Saint-John Perse John Lewis Thomas Becket Anastasia Vyaltseva Ferrutio Roh Moo-hyun Alexandre Dumas Seiriol Paul Ladmirault José Guadalupe Posada Agatha of Sicily Constantine, Prince of Hohenzollern-Hechingen Cadoc Bernadette Soubirous Vladimir Lenin Elizabeth Jean Scott Jude the Apostle Alessandro Manzoni Maethlu Victor Maurus José Tartiere y Lenegre Beuno Ludwig II of Bavaria Egon Schiele Claude-Emma Debussy Luis Riera Posada Paul Gauguin Gorgonius Jacques Brel Alexander III of Russia Kim Il-sung Meiji Gwenog Jimmu Anthony the Great Andrew Nazarius Takeda Shingen Bobby Bland Rose of Lima Decuman Hans von Bülow Edmund the Martyr Untash-Napirisha Ludwika Jędrzejewicz Elizabeth Sprague Coolidge Victor Hugo Brynach Nicholas of Flüe Queen Victoria Giuseppe Diego Garibaldi Pacheco Clement I Sebastian of Portugal Toyotomi Hideyoshi Diego Brosset Go-Daigo Vladimir Stasov Benito Jerónimo Feijóo y Montenegro Jaroslav Vrchlický Samuel Sánchez Kusunoki Masatsura Maeda Toshiie Fujiwara no Kamatari Matthew the Apostle Michel Eugène Chevreul Gediminas Pablo Picasso Isabella II of Spain Ernst Bloch Kevin of Glendalough Philomena Dorothea von Ertmann Edith Cowan Giulietta Guicciardi Wanda Landowska Manuel Puig Emperor Kammu Michel de Montaigne Natalia Vladimirovna Trouhanowa Antoninus Pius Rudolf Maister Woody Allen Saeran Jesse Lauriston Livermore Trajan Hadrian Skanderbeg Saint Ursula Herman Boerhaave Bartholomew the Apostle Jerome Dubricius Minamoto no Yoshiie Margrave Christian Ludwig of Brandenburg-Schwedt Germanicus Mathilde Zemlinsky Columba H. G. Wells Edmund Clarence Stedman Basil of Caesarea Alfonso XIII of Spain Fagan Saint Francis Xavier Bridget O'Connor Peulan Prince Toyokiirihiko Emmanuel Fremiet William Michael Rossetti Ida Rubinstein Lawrence of Rome Uesugi Kenshin Trillo Alexander Fleming Saint Boniface Gwynno Louis XVI of France Len Lye Joseph Merk Frederick William, Elector of Brandenburg Francisco Franco Anton Arensky Motoharu Sano Louis Jou Emmanuel de Rohan-Polduc Yuri Gagarin Paul Cézanne Joseph Franz von Lobkowitz B. R. Ambedkar Jean-Jacques Rousseau Alfonso Iglesias Celynnin Andrey Razumovsky Athanasius of Alexandria Saint Matthias Ferdinand von Hompesch zu Bolheim Defendens Ernesto Winter Blanco Vallabhbhai Patel Eric Fletcher Waters Louis Desaix Philip IV of Spain William Osler Justin the Confessor Ferdinando I de' Medici, Grand Duke of Tuscany Hugh d'Avranches, 1st Earl of Chester Ferdinand Magellan Kitabatake Akiie Robert Falcon Scott Franz Joseph I of Austria Plechelm Georges Vallet Sadwrn Johann Jacob Bach Marino Lejarreta Tewdrig Tenji Cadwaladr Winston Churchill Augustine of Hippo Armando Palacio Valdés Carl Czerny Æthelwold Antoine Gailleton Jacques Prévert Yasuhito Chichibu Tokugawa Ieyasu Saint Maurice Alexander Wilhelm Gottschalg Kitabatake Morichika Dyfodwg Tybïe Nikolai Rubinstein Dyfnan Anthony of Padua Charles Baudelaire Margaret the Virgin Digain Saint Sebastian David of Euboea Tyfei Shōken Albinus of Angers Pablo Martín Melitón de Sarasate y Navascués Alfred Grünfeld Nezami| Charles the Bald Twrog Sabino Fernández Campo, 1st Count of Latores Cwyfan Ramón Pérez de Ayala James William Davison Sakai Tadatsugu Wilhelm Röntgen Morhaiarn Pedro Rodríguez, Conde de Campomanes Prince Uji no Wakiiratsuko François Arago Rhidian Alexis Roland-Manuel Albert Thomas Mark Rothko Sugawara no Michizane Cynllo Giuseppe Ghislanzoni Alexander Suvorov Edgar Quinet Annibale Cressoni Sutoku Ludwig Schuncke Alexei Nikolaevich Cybi Marcus Aurelius Antoninus Stéphane Mallarmé Giuseppe Zanardelli Felix Nussbaum Minamoto no Tsunemoto Margaret of Austria, Duchess of Savoy Gerrit Rietveld Tudno Gustav, Prince of Vasa Theodor Avé-Lallemant Go-Toba Rhwydrus Senwyr Philippe Pot Fernando de Valdés y Salas John Thomas Stanley, 1st Baron Stanley of Alderley Burkhard Nadolny Tim Birkin Robert Smithson Saint Cadfan Archduke Maximilian Francis of Austria Marianne Kirchgessner Chūai Shizuko Nogi Gianni Brera Saint Anna Hieda no Are Lorin Maazel Kitabatake Akinobu Teréz Brunszvik Henri Vernes Benito Mussolini Gredifael Kazimir Malevich George I of Great Britain Frédéric Chopin Theodore of Tarsus Fidelis of Como John Spencer Ricardo Vázquez-Prada Blanco Hélène Bardac Mechell Danguolė Rasalaitė Saint Elli Kristjan Cavazza Thomas the Apostle Isan Leonard of Noblac Alejandro Boliviano Fruela I of Asturias Eugène Delacroix Saint Giles Joseph Haydn Nogi Maresuke Cawrdaf Gummarus Imogen Holst Deiniol Saint Eligius Paulino Vicente (padre) Alexander Severus Caracalla Saigō Takamori Itsuse no Mikoto Sergei Koroliov Auguste Comte Clara Schumann David Oistrakh Mary Magdalene Anton Rubinstein Pierre Puvis de Chavannes Empress Jingu Sholem Aleichem Gabriel of Our Lady of Sorrows Aida Lafuente Penaos Djoser Jiří Tancibudek Saint Teilo Urho Kekkonen Botwulf of Thorney Manuel Fernández Avello Dolores Medio Oudoceus Jean Sibelius Count Ferdinand Ernst Gabriel von Waldstein Bassel Khartabil Ōjin Philibert II, Duke of Savoy Thecla Jacques Necker Blind Willie McTell Lucien Pissarro Raymond Queneau Saint Cecilia John Nicholson Luis Noval Ferrao Piet Mondrian Michelle Vian Tysilio Wulfram of Sens Dyfan Crallo Jean-Baptiste de Lamarck Kōmei Tiberius Augustus Princess Tōchi Mark Antony Emilio Alarcos Llorach Tysul Donatus of Evorea Gwenllwyfo Franz Liszt Jean-Louis-Ernest Meissonier
Min number of literary works or churches are of Winston Churchill, Albert Einstein and Benito Mussolini
Winston Churchill Albert Einstein Benito Mussolini
action argmin
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action find_reverse_tuple_counts
relation dedicated to
type common name
type church
[[{'concept': 'literary work'}, {'concept': 'church'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?d ) { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?w ) WHERE { { ?x rdf:type ontology:common_name . ?y rdf:type ontology:literary_work . ?y property:dedicated_to ?x } UNION { ?y property:dedicated_to ?x . ?x rdf:type ontology:common_name . ?y rdf:type ontology:church } } GROUP BY ?x } } . { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?t ) WHERE { { ?q property:dedicated_to ?k . ?k rdf:type ontology:common_name . ?q rdf:type ontology:literary_work } UNION { ?q property:dedicated_to ?k . ?k rdf:type ontology:common_name . ?q rdf:type ontology:church } } GROUP BY ?k } . FILTER ( ?t = ?d ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q8016 Q937 Q23559
P26
Q502895
USER
Who are the spouses of Winston Churchill, Albert Einstein and Benito Mussolini ?
(Q8016,P26,c(Q502895)) (Q937,P26,c(Q502895)) (Q23559,P26,c(Q502895))
action union
action filter_type
action find
entity Q8016
relation P26
type Q502895
action filter_type
action find
entity Q937
relation P26
type Q502895
action filter_type
action find
entity Q23559
relation P26
type Q502895
['Q8016', 'P26', {'concept': 'Q502895'}] ['Q937', 'P26', {'concept': 'Q502895'}] ['Q23559', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?q property:P26 ?r . VALUES ( ?q ) { ( resource:Q937 ) ( resource:Q8016 ) } }
Winston Churchill Albert Einstein Benito Mussolini
action union
action filter_type
action find
entity Winston Churchill
relation spouse
type common name
action filter_type
action find
entity Albert Einstein
relation spouse
type common name
action filter_type
action find
entity Benito Mussolini
relation spouse
type common name
['Winston Churchill', 'spouse', {'concept': 'common name'}] ['Albert Einstein', 'spouse', {'concept': 'common name'}] ['Benito Mussolini', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?q property:spouse ?r . VALUES ( ?q ) { ( resource:Albert_Einstein ) ( resource:Winston_Churchill ) } }
[]
common name
Q263454 Q76346 Q714884
SYSTEM
Clementine Churchill, Baroness Spencer-Churchill, Mileva Marić, Rachele Mussolini
Q263454 Q76346 Q68761 Q714884 Q570794
(Q8016,P26,c(Q502895)) (Q937,P26,c(Q502895)) (Q23559,P26,c(Q502895))
action union
action filter_type
action find
entity Q8016
relation P26
type Q502895
action filter_type
action find
entity Q937
relation P26
type Q502895
action filter_type
action find
entity Q23559
relation P26
type Q502895
The spouses of Winston Churchill , Albert Einstein and Benito Mussolini are [ANSWERS]
['Q8016', 'P26', {'concept': 'Q502895'}] ['Q937', 'P26', {'concept': 'Q502895'}] ['Q23559', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?q property:P26 ?r . VALUES ( ?q ) { ( resource:Q937 ) ( resource:Q8016 ) } }
Clementine Churchill, Baroness Spencer-Churchill Mileva Marić Elsa Einstein Rachele Mussolini Ida Dalser
The spouses of Winston Churchill , Albert Einstein and Benito Mussolini are Clementine Churchill, Baroness Spencer-Churchill, Mileva Marić and Rachele Mussolini
Clementine Churchill, Baroness Spencer-Churchill Mileva Marić Rachele Mussolini
action union
action filter_type
action find
entity Winston Churchill
relation spouse
type common name
action filter_type
action find
entity Albert Einstein
relation spouse
type common name
action filter_type
action find
entity Benito Mussolini
relation spouse
type common name
['Winston Churchill', 'spouse', {'concept': 'common name'}] ['Albert Einstein', 'spouse', {'concept': 'common name'}] ['Benito Mussolini', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?q property:spouse ?r . VALUES ( ?q ) { ( resource:Albert_Einstein ) ( resource:Winston_Churchill ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q263454 Q76346 Q714884
P21
Q290
USER
Which sexes do those people possess ?
(Q263454,P21,c(Q290)) (Q76346,P21,c(Q290)) (Q714884,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q263454', 'P21', {'concept': 'Q290'}] ['Q76346', 'P21', {'concept': 'Q290'}] ['Q714884', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?v property:P21 ?j . ?j rdf:type ontology:Q290 . VALUES ( ?v ) { ( resource:Q263454 ) ( resource:Q76346 ) ( resource:Q68761 ) } }
Clementine Churchill, Baroness Spencer-Churchill Mileva Marić Rachele Mussolini
action filter_type
action find
entity prev_answer
relation gender
type sex
['Clementine Churchill, Baroness Spencer-Churchill', 'gender', {'concept': 'sex'}] ['Mileva Marić', 'gender', {'concept': 'sex'}] ['Rachele Mussolini', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?v property:gender ?j . ?j rdf:type ontology:sex . VALUES ( ?v ) { ( resource:Clementine_Churchill,_Baroness_Spencer-Churchill ) ( resource:Mileva_Marić ) ( resource:Elsa_Einstein ) } }
[]
sex
Q6581072 Q6581072 Q6581072
SYSTEM
female
Q6581072 Q6581072 Q6581072
(Q263454,P21,c(Q290)) (Q76346,P21,c(Q290)) (Q714884,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people possess a [ANSWER], [ANSWER] and [ANSWER]
['Q263454', 'P21', {'concept': 'Q290'}] ['Q76346', 'P21', {'concept': 'Q290'}] ['Q714884', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?v property:P21 ?j . ?j rdf:type ontology:Q290 . VALUES ( ?v ) { ( resource:Q263454 ) ( resource:Q76346 ) ( resource:Q68761 ) } }
female female female
Those people possess a female, female and female
female female female
action filter_type
action find
entity prev_answer
relation gender
type sex
['Clementine Churchill, Baroness Spencer-Churchill', 'gender', {'concept': 'sex'}] ['Mileva Marić', 'gender', {'concept': 'sex'}] ['Rachele Mussolini', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?v property:gender ?j . ?j rdf:type ontology:sex . VALUES ( ?v ) { ( resource:Clementine_Churchill,_Baroness_Spencer-Churchill ) ( resource:Mileva_Marić ) ( resource:Elsa_Einstein ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q263454
P466
Q3947
USER
What was inhabited by Clementine Churchill, Baroness Spencer-Churchill ?
(c(Q3947),P466,Q263454)
action filter_type
action find_reverse
entity Q263454
relation P466
type Q3947
[{'concept': 'Q3947'}, 'P466', 'Q263454']
SELECT DISTINCT ?a WHERE { ?a property:P466 resource:Q263454 . ?a rdf:type ontology:Q3947 }
Clementine Churchill, Baroness Spencer-Churchill
action filter_type
action find_reverse
entity Clementine Churchill, Baroness Spencer-Churchill
relation occupant
type house
[{'concept': 'house'}, 'occupant', 'Clementine Churchill, Baroness Spencer-Churchill']
SELECT DISTINCT ?a WHERE { ?a property:occupant resource:Clementine_Churchill,_Baroness_Spencer-Churchill . ?a rdf:type ontology:house }
[]
house
Q1067909
SYSTEM
Chartwell
Q1067909
(c(Q3947),P466,Q263454)
action filter_type
action find_reverse
entity Q263454
relation P466
type Q3947
[ANSWER] was inhabited by Clementine Churchill, Baroness Spencer-Churchill
[{'concept': 'Q3947'}, 'P466', 'Q263454']
SELECT DISTINCT ?a WHERE { ?a property:P466 resource:Q263454 . ?a rdf:type ontology:Q3947 }
Chartwell
Chartwell was inhabited by Clementine Churchill, Baroness Spencer-Churchill
Chartwell
action filter_type
action find_reverse
entity Clementine Churchill, Baroness Spencer-Churchill
relation occupant
type house
[{'concept': 'house'}, 'occupant', 'Clementine Churchill, Baroness Spencer-Churchill']
SELECT DISTINCT ?a WHERE { ?a property:occupant resource:Clementine_Churchill,_Baroness_Spencer-Churchill . ?a rdf:type ontology:house }
[]