Simple Question (Direct)
Simple Question
Q5539435
P410
Q4189293
USER
Which title was the military rank conferred upon George Fraser Kerr ?
(Q5539435,P410,c(Q4189293))
action filter_type
action find
entity Q5539435
relation P410
type Q4189293
['Q5539435', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?k WHERE { resource:Q5539435 property:P410 ?k . ?k rdf:type ontology:Q4189293 }
George Fraser Kerr
action filter_type
action find
entity George Fraser Kerr
relation military rank
type title
['George Fraser Kerr', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?k WHERE { resource:George_Fraser_Kerr property:military_rank ?k . ?k rdf:type ontology:title }
[]
title
Q19100
SYSTEM
captain
Q19100
(Q5539435,P410,c(Q4189293))
action filter_type
action find
entity Q5539435
relation P410
type Q4189293
The [ANSWER] was the military rank conferred upon George Fraser Kerr
['Q5539435', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?k WHERE { resource:Q5539435 property:P410 ?k . ?k rdf:type ontology:Q4189293 }
captain
The captain was the military rank conferred upon George Fraser Kerr
captain
action filter_type
action find
entity George Fraser Kerr
relation military rank
type title
['George Fraser Kerr', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?k WHERE { resource:George_Fraser_Kerr property:military_rank ?k . ?k rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5539435
P607
Q198
USER
What was was George Fraser Kerr a part of ?
(Q5539435,P607,c(Q198))
action filter_type
action find
entity Q5539435
relation P607
type Q198
['Q5539435', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { resource:Q5539435 property:P607 ?k . ?k rdf:type ontology:Q198 }
George Fraser Kerr
action filter_type
action find
entity George Fraser Kerr
relation conflict
type war
['George Fraser Kerr', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { resource:George_Fraser_Kerr property:conflict ?k . ?k rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q5539435,P607,c(Q198))
action filter_type
action find
entity Q5539435
relation P607
type Q198
George Fraser Kerr was a part of [ANSWER]
['Q5539435', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { resource:Q5539435 property:P607 ?k . ?k rdf:type ontology:Q198 }
World War I
George Fraser Kerr was a part of World War I
World War I
action filter_type
action find
entity George Fraser Kerr
relation conflict
type war
['George Fraser Kerr', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { resource:George_Fraser_Kerr property:conflict ?k . ?k rdf:type ontology:war }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q361 Q11881041
P607
Q502895
USER
Did that war take part in Markku Aalto ?
(Q11881041,P607,Q361)
action is_in
entity Q11881041
action find
entity Q361
relation P607
['Q11881041', 'P607', 'Q361']
ASK WHERE { resource:Q361 property:P607 resource:Q11881041 }
World War I Markku Aalto
action is_in
entity Markku Aalto
action find
entity World War I
relation conflict
['Markku Aalto', 'conflict', 'World War I']
ASK WHERE { resource:World_War_I property:conflict resource:Markku_Aalto }
[]
common name
SYSTEM
NO
(Q11881041,P607,Q361)
action is_in
entity Q11881041
action find
entity Q361
relation P607
[ANSWER]
['Q11881041', 'P607', 'Q361']
ASK WHERE { resource:Q361 property:P607 resource:Q11881041 }
No
action is_in
entity Markku Aalto
action find
entity World War I
relation conflict
['Markku Aalto', 'conflict', 'World War I']
ASK WHERE { resource:World_War_I property:conflict resource:Markku_Aalto }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q361 Q1072275
P921
Q838948
USER
How many works of art have World War I or inedia as their main topic ?
(c(Q838948),P921,Q361) (c(Q838948),P921,Q1072275)
action count
action union
action filter_type
action find_reverse
entity Q361
relation P921
type Q838948
action filter_type
action find_reverse
entity Q1072275
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q361'] [{'concept': 'Q838948'}, 'P921', 'Q1072275']
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:P921 resource:Q361 . ?k rdf:type ontology:Q838948 } UNION { ?k property:P921 resource:Q1072275 . ?k rdf:type ontology:Q838948 } }
World War I inedia
action count
action union
action filter_type
action find_reverse
entity World War I
relation main subject
type work of art
action filter_type
action find_reverse
entity inedia
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'World War I'] [{'concept': 'work of art'}, 'main subject', 'inedia']
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:main_subject resource:World_War_I . ?k rdf:type ontology:work_of_art } UNION { ?k property:main_subject resource:inedia . ?k rdf:type ontology:work_of_art } }
[]
work of art
SYSTEM
6
Q936425 Q228186 Q451182 Q272599 Q1994591 Q7723046
(c(Q838948),P921,Q361) (c(Q838948),P921,Q1072275)
action count
action union
action filter_type
action find_reverse
entity Q361
relation P921
type Q838948
action filter_type
action find_reverse
entity Q1072275
relation P921
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P921', 'Q361'] [{'concept': 'Q838948'}, 'P921', 'Q1072275']
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:P921 resource:Q361 . ?k rdf:type ontology:Q838948 } UNION { ?k property:P921 resource:Q1072275 . ?k rdf:type ontology:Q838948 } }
A Very Long Engagement Lawrence of Arabia In the Beginning There Was Light All Quiet on the Western Front No Way to Heaven The Cinder Path
6
action count
action union
action filter_type
action find_reverse
entity World War I
relation main subject
type work of art
action filter_type
action find_reverse
entity inedia
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'World War I'] [{'concept': 'work of art'}, 'main subject', 'inedia']
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { ?k property:main_subject resource:World_War_I . ?k rdf:type ontology:work_of_art } UNION { ?k property:main_subject resource:inedia . ?k rdf:type ontology:work_of_art } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4492636 Q11881041
P27
Q15617994
USER
Which administrative territories are Markku Aalto or Gints Freimanis a civilian of ?
OR((Q11881041,P27,c(Q15617994)), (Q4492636,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11881041
relation P27
action find
entity Q4492636
relation P27
type Q15617994
{'OR': [['Q11881041', 'P27', {'concept': 'Q15617994'}], ['Q4492636', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q11881041 property:P27 ?d } UNION { resource:Q4492636 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
Gints Freimanis Markku Aalto
action filter_type
action union
action find
entity Markku Aalto
relation country of citizenship
action find
entity Gints Freimanis
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Markku Aalto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gints Freimanis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Markku_Aalto property:country_of_citizenship ?d } UNION { resource:Gints_Freimanis property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q211
SYSTEM
Finland, Latvia
Q33 Q211
OR((Q11881041,P27,c(Q15617994)), (Q4492636,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11881041
relation P27
action find
entity Q4492636
relation P27
type Q15617994
[ANSWERS] are Markku Aalto or Gints Freimanis a civilian of
{'OR': [['Q11881041', 'P27', {'concept': 'Q15617994'}], ['Q4492636', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q11881041 property:P27 ?d } UNION { resource:Q4492636 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
Finland Latvia
Finland and Latvia are Markku Aalto or Gints Freimanis a civilian of
Finland Latvia
action filter_type
action union
action find
entity Markku Aalto
relation country of citizenship
action find
entity Gints Freimanis
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Markku Aalto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gints Freimanis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Markku_Aalto property:country_of_citizenship ?d } UNION { resource:Gints_Freimanis property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q9342340
P27
Q502895
USER
Are Stanisław Kozyrski a native of those administrative territories ?
(Q9342340,P27,Q33) (Q9342340,P27,Q211)
action is_in
entity prev_answer
action find
entity Q9342340
relation P27
['Q9342340', 'P27', 'Q33'] ['Q9342340', 'P27', 'Q211']
ASK WHERE { resource:Q9342340 property:P27 ?o . VALUES ( ?o ) { ( resource:Q33 ) ( resource:Q211 ) } }
Stanisław Kozyrski
action is_in
entity prev_answer
action find
entity Stanisław Kozyrski
relation country of citizenship
['Stanisław Kozyrski', 'country of citizenship', 'Finland'] ['Stanisław Kozyrski', 'country of citizenship', 'Latvia']
ASK WHERE { resource:Stanisław_Kozyrski property:country_of_citizenship ?o . VALUES ( ?o ) { ( resource:Finland ) ( resource:Latvia ) } }
[]
common name
SYSTEM
NO
(Q9342340,P27,Q33) (Q9342340,P27,Q211)
action is_in
entity prev_answer
action find
entity Q9342340
relation P27
[ANSWER]
['Q9342340', 'P27', 'Q33'] ['Q9342340', 'P27', 'Q211']
ASK WHERE { resource:Q9342340 property:P27 ?o . VALUES ( ?o ) { ( resource:Q33 ) ( resource:Q211 ) } }
No
action is_in
entity prev_answer
action find
entity Stanisław Kozyrski
relation country of citizenship
['Stanisław Kozyrski', 'country of citizenship', 'Finland'] ['Stanisław Kozyrski', 'country of citizenship', 'Latvia']
ASK WHERE { resource:Stanisław_Kozyrski property:country_of_citizenship ?o . VALUES ( ?o ) { ( resource:Finland ) ( resource:Latvia ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q1072275
P364 P921
Q838948
USER
Which works of art were primarily based on inedia and have English as their original language of creation ?
AND((c(Q838948),P921,Q1072275), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q1072275
relation P921
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P921', 'Q1072275'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P921 resource:Q1072275 . ?g property:P364 resource:Q1860 }
English inedia
action filter_type
action intersection
action find_reverse
entity inedia
relation main subject
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'main subject', 'inedia'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:main_subject resource:inedia . ?g property:original_language_of_work resource:English }
[]
work of art
Q1994591
SYSTEM
No Way to Heaven
Q1994591
AND((c(Q838948),P921,Q1072275), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q1072275
relation P921
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWER] was primarily based on inedia and have English as their original language of creation
{'AND': [[{'concept': 'Q838948'}, 'P921', 'Q1072275'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P921 resource:Q1072275 . ?g property:P364 resource:Q1860 }
No Way to Heaven
No Way to Heaven was primarily based on inedia and have English as their original language of creation
No Way to Heaven
action filter_type
action intersection
action find_reverse
entity inedia
relation main subject
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'main subject', 'inedia'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:main_subject resource:inedia . ?g property:original_language_of_work resource:English }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q19100
P410
Q502895 Q6619679
USER
How many people and fictional humanoids holds a military rank named captain ?
(c(Q502895),P410,Q19100) (c(Q6619679),P410,Q19100)
action count
action union
action filter_type
action find_reverse
entity Q19100
relation P410
type Q502895
action filter_type
action find_reverse
entity Q19100
relation P410
type Q6619679
[{'concept': 'Q502895'}, 'P410', 'Q19100'] [{'concept': 'Q6619679'}, 'P410', 'Q19100']
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { ?z property:P410 resource:Q19100 . ?z rdf:type ontology:Q6619679 } UNION { ?z property:P410 resource:Q19100 . ?z rdf:type ontology:Q502895 } }
captain
action count
action union
action filter_type
action find_reverse
entity captain
relation military rank
type common name
action filter_type
action find_reverse
entity captain
relation military rank
type fictional humanoid
[{'concept': 'common name'}, 'military rank', 'captain'] [{'concept': 'fictional humanoid'}, 'military rank', 'captain']
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { ?z property:military_rank resource:captain . ?z rdf:type ontology:fictional_humanoid } UNION { ?z property:military_rank resource:captain . ?z rdf:type ontology:common_name } }
[]
common name fictional humanoid
SYSTEM
715 people and 10 fictional humanoids
Q2915786 Q9354823 Q210900 Q8317185 Q43723 Q6275646 Q17302908 Q11737781 Q8068104 Q1733851 Q2273016 Q9341663 Q11698654 Q20203251 Q11735973 Q11358697 Q9282100 Q20202205 Q9156905 Q2880637 Q7298683 Q20429922 Q6307536 Q23948189 Q16259751 Q17421457 Q2545122 Q24434557 Q9381774 Q5077314 Q4090400 Q321206 Q5731004 Q2827697 Q26487203 Q7519254 Q12272473 Q26741516 Q21705980 Q156070 Q21007684 Q18545304 Q9256051 Q12743267 Q4307340 Q14623282 Q587545 Q20706196 Q3532971 Q12322016 Q12807073 Q25465689 Q68865 Q9345539 Q382059 Q3742933 Q12786192 Q20263186 Q4094640 Q13500033 Q21115197 Q11717351 Q3572689 Q7982460 Q7958904 Q12727213 Q108486 Q219842 Q374329 Q3445085 Q5386386 Q78337 Q21061308 Q5543036 Q4152605 Q11725369 Q11754306 Q7606201 Q3383562 Q17488678 Q57259 Q11718949 Q5408395 Q6078783 Q952107 Q2977895 Q22989968 Q5748561 Q4759697 Q18435421 Q6679211 Q19629819 Q5549593 Q7943653 Q3120446 Q20021857 Q5371185 Q16991383 Q11551398 Q2937289 Q1961992 Q91984 Q3189461 Q12726447 Q7176133 Q5492744 Q4939242 Q20432635 Q9262959 Q25464742 Q19823640 Q2714816 Q5498028 Q11716920 Q3184281 Q183381 Q111805 Q12730718 Q1893561 Q2857422 Q2927100 Q11763300 Q4215777 Q21118200 Q1355081 Q68179 Q3068636 Q17275716 Q550892 Q23948179 Q3646729 Q21334008 Q3057449 Q16440727 Q20432124 Q11724494 Q539712 Q11718301 Q315858 Q11778681 Q18538974 Q5408591 Q5540488 Q21027676 Q4722214 Q21066082 Q2523516 Q8831201 Q590061 Q21029385 Q7326408 Q11738346 Q9197522 Q9382224 Q2497621 Q9012116 Q25318 Q16606098 Q6273856 Q1388565 Q63415 Q5446906 Q4309825 Q3592064 Q62336 Q9256087 Q20429287 Q4797951 Q2559186 Q4132265 Q4730500 Q11684458 Q62710 Q3184302 Q8019378 Q7358237 Q5077913 Q11836183 Q3525062 Q4381809 Q2958730 Q4790981 Q26828164 Q25465310 Q24026732 Q11754454 Q10521937 Q5497346 Q5659911 Q20431195 Q2651917 Q954532 Q5537424 Q17386814 Q964811 Q15621738 Q4372281 Q11866978 Q990661 Q670030 Q16511973 Q18356530 Q1823748 Q5081785 Q5238964 Q11779889 Q7599215 Q6962992 Q4180088 Q11731305 Q5414308 Q7183854 Q718335 Q584430 Q18563279 Q18544951 Q7941848 Q7944484 Q4979404 Q599324 Q5544264 Q2834499 Q1981239 Q7943691 Q364451 Q11769546 Q459752 Q7307855 Q2997156 Q309840 Q23948191 Q87010 Q720105 Q20431417 Q6752765 Q17563610 Q20429526 Q6833093 Q7942653 Q20010854 Q26900155 Q446435 Q14623387 Q11769319 Q11627216 Q4462411 Q2105010 Q15621474 Q577169 Q1305940 Q11730266 Q3156140 Q11769799 Q5539435 Q4183910 Q88324 Q11780929 Q11719314 Q6660915 Q19927874 Q20430733 Q3170632 Q312495 Q5131396 Q659202 Q11730906 Q9342769 Q21154263 Q9381915 Q2567 Q11730865 Q7942401 Q5342615 Q18529588 Q4757290 Q4245011 Q6029546 Q7606026 Q9382219 Q25462622 Q11730463 Q11713715 Q2370281 Q26254059 Q15244137 Q11729991 Q57716 Q26558 Q8338635 Q20668493 Q5741607 Q20828208 Q17627580 Q11420544 Q11717538 Q5725922 Q7347948 Q27613800 Q16542949 Q20664276 Q25465679 Q6218326 Q5542310 Q4211675 Q12043325 Q12288802 Q66576 Q1563116 Q6687177 Q3085594 Q24192430 Q6778831 Q1035128 Q169549 Q9179808 Q18339912 Q10312509 Q20040033 Q3435589 Q12724193 Q18644621 Q17280534 Q6282862 Q655736 Q5236789 Q8041265 Q11692968 Q11715945 Q11813744 Q20431293 Q12800626 Q9209778 Q11724531 Q2865911 Q4723509 Q24027775 Q74943 Q9251296 Q16335346 Q2306581 Q12790817 Q5036407 Q3568209 Q11769038 Q11711181 Q9388350 Q9369651 Q7534778 Q25930356 Q19697872 Q2960243 Q27450432 Q11696150 Q3525494 Q23014840 Q20791834 Q12796772 Q6776941 Q19628734 Q8014690 Q5728369 Q27429826 Q7289173 Q20016350 Q20431770 Q8041222 Q20891862 Q25464890 Q3778893 Q11688546 Q57610 Q11587320 Q4199583 Q681094 Q25267497 Q5982526 Q5407628 Q11717378 Q1283836 Q20829480 Q20739900 Q11731574 Q11874541 Q3264902 Q9256004 Q1306437 Q5200703 Q9355055 Q276193 Q20430225 Q4318305 Q12282988 Q714490 Q128985 Q19934846 Q3346435 Q20903389 Q7326602 Q8006718 Q9262231 Q9369620 Q1546700 Q3260929 Q20429886 Q9287942 Q9354562 Q106964 Q4129557 Q11812017 Q26914008 Q983888 Q12737508 Q20084136 Q18645471 Q18911617 Q311240 Q9354933 Q21520229 Q95514 Q4667570 Q11813949 Q27546670 Q9374052 Q1324097 Q2314736 Q2959878 Q11781854 Q13573953 Q1680388 Q2919684 Q25465935 Q5723860 Q1389049 Q23948112 Q20046444 Q5549973 Q4722135 Q7782113 Q12287173 Q7941591 Q88624 Q527944 Q5735309 Q2596360 Q17421408 Q4354738 Q12791770 Q9382872 Q9169209 Q920694 Q24852309 Q3173904 Q16487482 Q435971 Q7307886 Q5537174 Q57157 Q12727728 Q21061321 Q16566140 Q11730627 Q241134 Q3563621 Q1685471 Q9381806 Q126115 Q846210 Q9341717 Q2417748 Q3293178 Q25462733 Q4883799 Q22994279 Q12805914 Q708903 Q20071543 Q3817312 Q9262370 Q25465702 Q9374996 Q319470 Q7343996 Q9254596 Q3261760 Q11992539 Q11731209 Q7342142 Q9262931 Q20856775 Q16440982 Q7939832 Q9389610 Q18817907 Q20188955 Q12742388 Q1004222 Q5337329 Q9341626 Q18162996 Q11724703 Q25462635 Q11717160 Q4199250 Q20122305 Q9262471 Q5499081 Q11764249 Q14475998 Q20429603 Q2832540 Q5621117 Q9156491 Q8863508 Q23948156 Q4710558 Q3158373 Q5545007 Q4764072 Q17627088 Q25465064 Q21708024 Q9147779 Q16504198 Q12026902 Q6381187 Q4095811 Q9176642 Q21155120 Q444566 Q401548 Q17486397 Q18540990 Q20972025 Q11724359 Q6831152 Q48674 Q17350065 Q671538 Q11730082 Q11780000 Q4983041 Q5387193 Q15780843 Q1989026 Q11866170 Q16564182 Q23948121 Q546404 Q1869281 Q2915424 Q16059005 Q6790083 Q5392968 Q18587350 Q5408405 Q5301664 Q20430718 Q20081053 Q20894008 Q3568714 Q1957703 Q8328745 Q606771 Q20430390 Q14594623 Q12787121 Q8008011 Q20432530 Q9157621 Q20429508 Q9199172 Q11779711 Q14623276 Q11853370 Q9341527 Q5544929 Q959399 Q8330110 Q18549201 Q1702104 Q3426060 Q11896615 Q20430628 Q9390091 Q44990 Q7385384 Q17696805 Q3084268 Q3357019 Q12787052 Q20857966 Q8067720 Q9354602 Q18633181 Q6250689 Q868851 Q331709 Q2085290 Q14623273 Q11779877 Q11779701 Q366526 Q22911579 Q11887337 Q6250485 Q11736234 Q1111593 Q26257557 Q12790823 Q18644919 Q22809956 Q16059678 Q2695385 Q19693071 Q7443760 Q1442217 Q25464751 Q11738242 Q25468191 Q207738 Q16059774 Q4939270 Q3310953 Q21029103 Q26769398 Q5618956 Q24259041 Q550431 Q946928 Q4331606 Q6184584 Q7942677 Q3083407 Q20431005 Q2042485 Q4070780 Q2959888 Q6947665 Q8865096 Q124334 Q16707893 Q17626706 Q5659895 Q11725358 Q20010934 Q1350908 Q9389827 Q3839283 Q2602672 Q865313 Q153322 Q9288769 Q8001743 Q3848154 Q20430051 Q2769535 Q17496561 Q168014 Q16160671 Q12799830 Q20432527 Q16543983 Q12026180 Q9322577 Q20059843 Q201490 Q5806774 Q12737632 Q535987 Q12784615 Q5080113 Q88761 Q5302077 Q16681179 Q5145649 Q4993054 Q5498280 Q6136783 Q5497513 Q3525715 Q20429688 Q14623385 Q11729123 Q20431619 Q11781867 Q70851 Q26199543 Q20429370 Q1150789 Q17638079 Q18349963 Q4197128 Q9354173 Q9354079 Q684449 Q25462722 Q5408376 Q16800162 Q9250879 Q512202 Q23944049 Q20429934 Q159582 Q1914912 Q9255952 Q25465711 Q27491470 Q12749142 Q2736087 Q3310391 Q704489 Q17386808 Q11689859 Q5700531 Q2426157 Q20251817 Q18414383 Q19756487 Q449577 Q26701430 Q18571727 Q11738313 Q2673986 Q11729865 Q1727360
(c(Q502895),P410,Q19100) (c(Q6619679),P410,Q19100)
action count
action union
action filter_type
action find_reverse
entity Q19100
relation P410
type Q502895
action filter_type
action find_reverse
entity Q19100
relation P410
type Q6619679
[ANSWER]
[{'concept': 'Q502895'}, 'P410', 'Q19100'] [{'concept': 'Q6619679'}, 'P410', 'Q19100']
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { ?z property:P410 resource:Q19100 . ?z rdf:type ontology:Q6619679 } UNION { ?z property:P410 resource:Q19100 . ?z rdf:type ontology:Q502895 } }
Ensio Siilasvuo Tadeusz Schiele Pedro de Alvarado René-Georges Weill Benjamin Netanyahu Tsutomu Sakuma Brenda Sue Fulton Kazimierz Czapla Zdzisław Broński Karlheinz Viereck Francis Octavius Grenfell Stanisław Brzeski Franciszek Kruk-Grzybowski Ioan Basarabescu Karol Borysowicz Ryōtarō Jōbō Grzegorz Sołogub Bertrand de Guiroye Antoni Kasztelan George David Eduard Johan Hotz Raymond Couraud Nicolae Sinescu Julian Royds Gribble Mihail Schina Noël Perrotot Thomas R. Kerr Walter Kolbow Carlos Augusto Peixoto de Alencar Władysław Dehnel Charles Edward Wilson Ivan Boyko Pavel Kutakhov Henryk Flame Ahmet Ali Çelikten Gábor Deák Simon Mailloux Asen Trayanov Captain Charles Joseph Cornet Otakar Jaroš Eugène Scalarone Nicolae Petala Eugeniusz Szaposznikow Vasile Zottu Alexandru Şerbănescu Kazimierz Tarnawski Franciszek Karwowski Hans Christoffer von Rohr Tounsi Tayeb Kjeld Merstrand Đorđe Jovanović Ioan Herescu Melitta Schenk Gräfin von Stauffenberg Stefania Wojtulanis-Karpińska Afanasy Beloborodov Fernando Malvezzi Boris Podvršnik Jean-Baptiste Gentil Cornelius Borozdin Jean de Bazelaire de Ruppierre Florent Groberg Jan Drzewiecki Yoshio Yoshida Wendell Oliver Pruitt Wacław Zagórski Dumitru Stratilescu Otto Hartmann André Citroën Ernest Medina Mato Dukovac Eric Douglas Cummings Harald Kujat Jacques Adolphe Ernest Phélippon George Onions Iosif Husakoŭski Jerzy Schoen-Wolski Leon Koczy Stefan Michnik Pierre-Yves Guézou Shangara Singh Mann Hans-Joachim Marseille Jan Schram Eugeniusz Horbaczewski Isamu Mochizuki Władysław Raginis Claude Noisot John Horsey Antonio Díaz Andrzej Romocki William Nassau de Zuylestein Lord Edward Manners Claire Mérouze Gerald Spring Rice, 6th Baron Monteagle of Brandon Eugeniusz Romański Guillaume de Sainte-Maure Nicolas-Joseph Vail Emil Bitsch Sakari Wallinmaa Yasutarou Egarashi Capitaine Abé Johannes Bernardus Herman Willemsz Geeroms Hartmut Mehdorn Julien Delière David Praporgescu Peter Norton Franz Dörr Bolesław Gładych Constantin Tănăsescu Franciszek Stal Constantin Neculcea Gheorghe Văleanu Louis-Alexandre de Launay, comte d'Antraigues Frederick Heyliger Jan Anasiewicz Joseph-Gaspard de Tascher de La Pagerie Vasily Zaytsev Arthur Văitoianu Ioan Rășcanu Marcin Hintz Antonio Ricaurte Brutus Magnier Lucjan Kulikowski Aleksandr Karpov Emil von Schelhorn Franco Lucchini Helmut Lipfert Ferdinand Oreille de Carrière Robert Mowat Alexander Koldunov Dimitrie Lambru Wacław Radziszewski Jerry Lawson Seán Heuston Benjamin Holt Ticknor Constantin Costescu Jerzy Czarniecki Prince Igor Constantinovich of Russia Jan Maciej Jasielski Aleksey Arakcheyev Michał Cwynar Constantin Christescu Aimo Huhtala George Henry Tatham Paton Jean-Georges Rousseau de Larac Alfred Alexander Leitch Andrew Hastie Cornelis Ysaac Bloys van Treslong Paavo Berg Heinrich Kostrba Ioan Pătrașcu Richard Henry Savage Kazimierz Sporny Cyprian Odorkiewicz Władysław Potocki David Dragunsky Joanes de Suhigaraychipi Charles-Ange Laisant Stanisław Ordyk Koreshige Inuzuka Hans Wind Dirk Niebel Field Eugene Kindley Joseph Malone Étienne Beudant Baron Wilhelm von Biela Eugeniusz Witkowski Constantin Petala Arthur Batten-Pooll George Beurling Josif Nikolajevič Galatte Allan Brown Adolf Juzof Walter Krupinski Joseph-Henri de Monspey William Thompson Lusk Roger Goad Charles G. Boyd Stanisław Betlej Thomas Drummond Kosta Protić Charles Claser Aristide Razu Capt. Keith Gregory Ioan Oprescu Helge Lurås Leon Światopełk-Mirski Hendrik Fredrik Dreyer Frederick Barter Harold Albert Kullberg Nicolae Arghirescu Evert Willem Pfeiffer Mick Mannock George Burdon McKean Jacob Bicker Zygmunt Karwacki Auguste-Xavier Okolowicz Vitaly Popkov Jorma Kariluoto Eric Landon Simonson Issa Pliyev Carl Johan Sjöberg Marquis Calmes Józef Kowalski Charles Pye David Reginald Younger Mieczysław Morawski Stanisław Radziwon Robert A. Little Dmitry Zhidkov Józef Rzepka Eustace Jotham Philip John Gardner Paul Cellucci William de la Pole, 1st Duke of Suffolk Felix Rapf Sir William Abdy, 6th Baronet Lucjan Giżyński Kazimierz Wünsche Bruno Stolle Stanisław Sojczyński George Sanders Alexis Dulong Alexander Molodchy Roman Rożałowski Georgy Beregovoy Marian Malinowski Hugo Black Reg Saunders Nikolai Gastello Francis Gary Powers Romulus Scărișoreanu Wilhelm Reinhard Mario Carli Ioan Rașcu Manuel N. Flores Jacek Wyszogrodzki Gheorghe Burghele Michael Norell Karol Kryński Claudius Billon Ian Kennison Georges Guynemer Stefan Matuszczyk Marian Borzemski Kojiro Nnishizumi Rudolf Trenkel Christiaan Boers Léon Kirn Albert Ball Janusz Meissner Józef Grabiński Ivan Lyudnikov Marian Łoziński George Fraser Kerr Iacob Zadik Egon Ramms Mikołaj Tarnowski Jan Tytus Dołęga-Zakrzewski Ljubiša Diković Ioan "Provincialul" Popovici Ioan Anastasiu Jean Bassompierre Andrei Grechko Clement Robertson Georges Madon Józef Marjański Stanisław Patalan Joseph Doriol Władysław Jurgenson Richard von Weizsäcker Józef Maciąg Marian Kenig Edward Donald Bellew Igor Brinar Andrew Henry Mikhail Vasilyevich Kuznetsov Petteri Orpo Stefan Bastyr Władysław Polesiński Nicolae Mihăescu Józef Kaczoruk Irena Bańkowska Philippe Liébert Arthur Vansittart Albert von Escher Józef Budziakowski Oswald Boelcke William Kidd Jean Nicolas Sénot Konrad Strycharczyk Herminia Naglerowa Louis-François-Eloi Le Sergeant d'Hendecourt Paul-André Odent Shōzō Kokubu Jan Giergielewicz Henry Mitchell Jones Robert Nairac Alajos Fráter Edward Jóźwicki Anders Örbom Gheorghe Rusescu John Aidan Liddell George McElroy Pavel Kamozin Otto Wagner Nikolaos Kontogouris Max von Stephanitz Duane Hudson Louis Fleeming Jenkin François Poot Stanisław Klimek Mary Ambree Captain Hook Zebulon Pike Bronisław Malinowski William Bellairs João de Meneses, capitão de Arzila e Azamor Kotakari Motoyoshi Robert Knowles Cleante Davidoglu Matjaž Piškur Viktor Nikodem Joseph Edward Woodall William Wallace David Lowe MacIntyre Władysław Łukasiuk Dariusz Michałowski Jadwiga Piekarska Paul von Osterroht Dumitru Cocorăscu Rüdiger von Kirchmayr Dominik Kiełkiewicz Jerzy Dominik Artur Carlos de Barros Basto Alfred Teumer Joseph de Luzy Heini Dittmar Edward Zajączek Mieczysław Kordos Elmer Gedeon Heinz-Martin Hadeball Abbas Ali Wop May Maria Mirecka-Loryś Ignacy Gazurek Zbigniew Szostak Wacław Denhoff-Czarnocki Skevos Zervos Sam Cahill Tadeusz Chłopik Charles Smith Rutherford Marcel Maillard Edward Bugajski Thomas Prosper Jullien Jean François Théodore Severin Nikola Levenov Miran Stanovnik Martin Zander Philippe Zoummeroff William Lonsdale Henry Singleton Pennell Józef Bandzo Rambahadur Limbu Manuel Pineda Munoz Aristide Lecca Władysław Koba Alexandru Referendaru Traian Găiseanu Guglielmo Chiarini Bolesław Karpiński Wilm Hosenfeld Keinosuke Ishiguro Nikolai Ilyin Marie-Joseph-Camille Doré Stanisław Bieńkowski Ian Oswald Liddell Eugene Paul Bennett Jan Dziewanowski Edgar Johnston Stefan Grabowski Bernard-Édouard Bourières Józef Walicki Lammio Luc Robet Eugeniusz Nowakiewicz Frederick Selous Cyril Edward Gourley Tadeusz Zawadziński Lavr Kornilov Ioan "Epure" Popovici Joris Andringa Kiril Botev William Quantrill Harold Macmillan Dimitrij Lokovšek Nuno de Montemor Alfred Sheldon Pennoyer Richard Humpton William Charles Campbell Franciszek Barteczek Wacław Aleksandrowicz Grigori Bakhtchivandji Louis-Édouard Lemarchand Grigore Simionescu Henryk Bibrowicz Tadeusz Ludwik Dworak Georg Ritter von Hengl Władysław Wysocki Percy Jack Clayson Eduard Kulenkamp Juan Aldama Paraschiv Vasilescu Paul Garre Tomaž Venišnik Henry Butler Stoney Pyotr Rumyantsev Tadeusz Sędzielowski Ștefan Mihail Hans-Joachim Buddecke Abid Ali Paweł Blew Henryk Jagiełło Wiktor Karczewski Lewis Nixon Anna Yegorova Charles Ménard Mirosław Leśniewski Domingo Rasera James FitzGibbon Ioan Culcer Alexandru Constantinidi Henry James Knight Stig Wennerström Matei Castriș Gheorghe Georgescu Gerard Crole Alfonza W. Davis Theodore Wright Mihail Aslan Wiktor Dobrzański Werner Teske Pavlos Melas Herbert Puschmann Henri Cihoski Samuel B. Horne Franz Schall Iztok Podbregar Włodzimierz Wolny Bernard Drzyzga Aladár Emánuel Korompay Charles Kettles Jean Perdriau Henryk Borowski John Alcock Reg Wright George Boyd-Rochfort Hanna Reitsch Ernest Broșteanu Louis Adolphe Phélippon Kazimierz Nieżychowski Józef Kromkay Pavel Argeyev Constantin Cantacuzino Jean Danjou Władysław Dąbrowski Abraham Cohn Ryusaku Yanagimoto Stanisław Chałupa Giovanni Narcis Hakkenberg Marina Chechneva Ioan Vernescu Bellenden Seymour Hutcheson Antoni Wróblewski Vladimir Kunčič Hu Zongnan Jules Tariot Zdzisław Henneberg Franciszek Foltyn Grigore Basarabescu Wincenty Fryszczyn Ivan Kozhedub Robert Edwin Phillips Erik Lærum Louis Du Pont Duchambon de Vergor Vítězslav Lepařík Józef Pszenny Robert Blair Franciszek Skąpski Jean Pron Benjamin Holt Ticknor Vojislav Lukačević Zdzisław Baczyński Jean-Fernand Civiale Dumitru Cotescu Toma Lișcu Bulldog Drummond Edgar Kinghorn Myles Stanisław Blok Bernard Frederick Trench Jerzy Hipolit Palusiński Marin E. Ionescu Jan Błażejewski Dumitru Iliescu Pierre Bosselut Franciszek Jach Frederick William Hedges Lumsden Cummings Mieczysław Jonikas Petre Frunză Alexander Yefimov Gustav Frielinghaus Antoni Biegun Stefan Miler Emanoil Manolescu Mladian Albert Jacka Jacques Bouteloup dit Va-de-bon-cœur George Symons Angus Buchanan Thomas Dacres Butler Dumitru Colori José María Larios Alfred Paczkowski Denis de Lagarde Josef Žižka Kazimierz Kamieński Anatoli Brandys Bolesław Dunin-Wąsowicz Jean Baptiste Theurel Polina Osipenko Sakae Ōba Harold J. Greene Ioan "Sanitarul" Popescu Marin Niculescu Jerzy Bartnik Michael Hintze René Fonck Joseph Burgeat Jan Chmurowicz Józef Czerniawski Mieczysław Sylwester Bobrownicki-Libchen Buckey O'Neill Eric Norman Frankland Bell Svein Hauan Semyon Trofimovich Bychkov Jarmo Lindberg Józef Kraszewski Alexandru Anastasiu Benjamin Sisko Christiaan Frederik van den Berg Eremia Grigorescu Patrick De Lacey Matthew Arlington Batson Ernest Davies Janez Gomzi Eugeniusz Stasiecki Douglas John Bell Constantin Anastasiade Louis-François-Hector Le Gendre d'Onsenbray Paul de Rafélis de Saint-Sauveur William Howard Livens Aleksey Alelyukhin Claude Raoul-Duval Pavle Đurišić Alexandru Socec Bart Burns Cornelius C. Jadwin William Drummond Stewart Nicolae Rujinschi Antoni Wiszowaty Grigore Bunescu Czesław Józef Niekraszewicz Mieczysław Dukalski Stanisław Szuro August Mäkiniemi Stanisław Andrzejewski George Stuart Henderson José Ramón Fernández Jean Volvey Ioan Vlădescu Jack Ward René Darbois Tauno Iisalo Alexandru Hartel Zenon Jachymek Georg von Frundsberg Ryszard Białous Irena Małczuk François Aubert Oscar Monteiro Torres Claud Robert James Thompson Kristen Marie Griest Zbigniew Babiński Tadeusz Michał Opulski Mikko Kärnä John Norwood Constantin Prezan Absalom Tatom Karol Wojtyła Nikodem Sobik Mieczysław Medwecki Mieczysław Daab Bohdan Arct Paweł Szyfter Pentti Iisalo John Niel Randle Karol Orłoś Allan Ohata Rumen Radev Heinz Strüning Peter Jazbinšek Fernand Anginieur John W. Clark Willem Adam Meelhuysen Alfred Milbrat Alexander Goodlett Clark Sergei Denisov Marcel Olteanu Kazimierz Pogorzelski Nicolae Botea Aleksey Brusilov Nicholas Geschwind Bolesław Zajączkowski Michel Temporal Arthur-Marie-Gabriel du Passage Władysław Bartela James De Wolf Constantin Teodorescu Viktor Orekhov Joseph Sulkowski Michael Odintsov Jerry Vasconcells Zygmunt Kujawski François-Jacques Logerais dit Pimousse Constantin Manolescu Joost Peter van Aerssen Beijeren van Voshol Vasili Sergeyevich Arkhipov Charles N'Tchoréré Myles Deering Karol Słowik Henry Wirz Hugh Wodehouse Pearse William E. Goodman Harold Ackroyd Jerzy Salski Georges Ruffier Erhard Pachaly Zdzisław Radomski Luigi Arbib Pascucci Karel Kuttelwascher Miles Standish Alexander Pechersky Henryk Szczęsny Wilfred Beaver Jan Piwnik Alexandru Mărgineanu Pieter Cornelis André de la Porte Armin Kutzsche Zbigniew Burzyński Georg Ahlholm Rajko Cibic Gheorghe Dabija Ernest Durkalec Josef Jüttner Romuald Rodziewicz Ludovic Chadabet Roy Brown Diego de Ospina y Medinilla Paul Angelescu Francis, Duke of Teck Andrej Čehovin Charles Lavers Adolf Ritter von Tutschek Douglas Walter Belcher Boris Novikov Colin Wallace Karlis Neretnieks Frederick Libby James Jackman Frederick Charles Booth Thomas de Scales, 7th Baron Scales Ioan Muică Stefan Antoni Dembiński Julian Słoniewski Gheorghe Sănătescu Mirosław Michalski Rudolf Berthold Humayun Khan Constantin Scărișoreanu Nikolay Gylayev René Noël Rosse Abu Abdulrahman al-Bilawi Pjotr Ivanovič Ivelič Tadeusz Czerwiński Tadeusz Bieńkowski Gustave Paul Cluseret Ioan Ghinescu Eugeniusz Biskupski Ivan Delija Edward Giergielewicz Stanisław Jankowski Józef Abratowski Ioan Jitianu Alexander Pokryshkin Mbaye Diagne Eugeniusz Konopacki Petre Greceanu Telesfor Banaszkiewicz Božo Lazarević Amédée-François Frézier Michel Morière Prince Constantine Constantinovich of Russia Roelof Bicker Cezary Haller Heinz-Edgar Berres Willem Karel Johannes Stoop Kaarna Joachim Charles de Seiglière Andrzej Włodarkiewicz Vladimir Lyakhov Justin Field Albin Mlakar Kazimierz Sejda Anske Hielke Kuipers Józef Antoni Kenig Norman Gregg
715 people and 10 fictional humanoids
action count
action union
action filter_type
action find_reverse
entity captain
relation military rank
type common name
action filter_type
action find_reverse
entity captain
relation military rank
type fictional humanoid
[{'concept': 'common name'}, 'military rank', 'captain'] [{'concept': 'fictional humanoid'}, 'military rank', 'captain']
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { ?z property:military_rank resource:captain . ?z rdf:type ontology:fictional_humanoid } UNION { ?z property:military_rank resource:captain . ?z rdf:type ontology:common_name } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q33
P495
Q811704 Q39546
USER
How many classes or tools originate at Finland ?
(c(Q811704),P495,Q33) (c(Q39546),P495,Q33)
action count
action union
action filter_type
action find_reverse
entity Q33
relation P495
type Q811704
action filter_type
action find_reverse
entity Q33
relation P495
type Q39546
[{'concept': 'Q811704'}, 'P495', 'Q33'] [{'concept': 'Q39546'}, 'P495', 'Q33']
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { VALUES ( ?w ) { ( ontology:Q811704 ) ( ontology:Q39546 ) } . ?p rdf:type ?w }
Finland
action count
action union
action filter_type
action find_reverse
entity Finland
relation country of origin
type class
action filter_type
action find_reverse
entity Finland
relation country of origin
type tool
[{'concept': 'class'}, 'country of origin', 'Finland'] [{'concept': 'tool'}, 'country of origin', 'Finland']
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { VALUES ( ?w ) { ( ontology:class ) ( ontology:tool ) } . ?p rdf:type ?w }
[]
class tool
SYSTEM
6
Q4350781 Q898548 Q6305343 Q1400657 Q2522230 Q4640616
(c(Q811704),P495,Q33) (c(Q39546),P495,Q33)
action count
action union
action filter_type
action find_reverse
entity Q33
relation P495
type Q811704
action filter_type
action find_reverse
entity Q33
relation P495
type Q39546
[ANSWER]
[{'concept': 'Q811704'}, 'P495', 'Q33'] [{'concept': 'Q39546'}, 'P495', 'Q33']
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { VALUES ( ?w ) { ( ontology:Q811704 ) ( ontology:Q39546 ) } . ?p rdf:type ?w }
VR Class Dr16 VR Class Dv12 VR Class Dr14 VR Class Dr12 VR Class Hr11 55 S 55
6
action count
action union
action filter_type
action find_reverse
entity Finland
relation country of origin
type class
action filter_type
action find_reverse
entity Finland
relation country of origin
type tool
[{'concept': 'class'}, 'country of origin', 'Finland'] [{'concept': 'tool'}, 'country of origin', 'Finland']
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { VALUES ( ?w ) { ( ontology:class ) ( ontology:tool ) } . ?p rdf:type ?w }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q13034555 Q1994591
P27 P495
Q15617994
USER
Which administrative territories are the countries of origin of No Way to Heaven or do David Ross belong to ?
OR((Q1994591,P495,c(Q15617994)), (Q13034555,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1994591
relation P495
action find
entity Q13034555
relation P27
type Q15617994
{'OR': [['Q1994591', 'P495', {'concept': 'Q15617994'}], ['Q13034555', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q13034555 property:P27 ?l } UNION { resource:Q1994591 property:P495 ?l } } }
David Ross No Way to Heaven
action filter_type
action union
action find
entity No Way to Heaven
relation country of origin
action find
entity David Ross
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['No Way to Heaven', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['David Ross', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:David_Ross property:country_of_citizenship ?l } UNION { resource:No_Way_to_Heaven property:country_of_origin ?l } } }
[]
designation for an administrative territorial entity
Q39 Q258
SYSTEM
Switzerland, South Africa
Q39 Q258
OR((Q1994591,P495,c(Q15617994)), (Q13034555,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1994591
relation P495
action find
entity Q13034555
relation P27
type Q15617994
[ANSWERS] are the countries of origin of No Way to Heaven or do David Ross belong to
{'OR': [['Q1994591', 'P495', {'concept': 'Q15617994'}], ['Q13034555', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . { { resource:Q13034555 property:P27 ?l } UNION { resource:Q1994591 property:P495 ?l } } }
Switzerland South Africa
Switzerland and South Africa are the countries of origin of No Way to Heaven or do David Ross belong to
Switzerland South Africa
action filter_type
action union
action find
entity No Way to Heaven
relation country of origin
action find
entity David Ross
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['No Way to Heaven', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['David Ross', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:David_Ross property:country_of_citizenship ?l } UNION { resource:No_Way_to_Heaven property:country_of_origin ?l } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q39
P17
Q15617994
USER
Which administrative territory does that one belong to ?
(Q39,P17,c(Q15617994))
action filter_type
action find
entity Q39
relation P17
type Q15617994
['Q39', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q39 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Switzerland
action filter_type
action find
entity Switzerland
relation country
type designation for an administrative territorial entity
['Switzerland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Switzerland property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q39
SYSTEM
Did you mean Switzerland ?
Q39 Q258
(Q39,P17,c(Q15617994)) (Q258,P17,c(Q15617994))
[ANSWER]
['Q39', 'P17', {'concept': 'Q15617994'}] ['Q258', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q39 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Switzerland South Africa
Did you mean Switzerland ?
Switzerland
['Switzerland', 'country', {'concept': 'designation for an administrative territorial entity'}] ['South Africa', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Switzerland property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q39,P17,c(Q15617994))
['Q39', 'P17', {'concept': 'Q15617994'}]
['Switzerland', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q39
SYSTEM
Switzerland
Q39
(Q39,P17,c(Q15617994))
action filter_type
action find
entity Q39
relation P17
type Q15617994
That one belongs to the [ANSWER]
['Q39', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q39 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Switzerland
That one belongs to the Switzerland
Switzerland
action filter_type
action find
entity Switzerland
relation country
type designation for an administrative territorial entity
['Switzerland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Switzerland property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q208484
P607
Q198 Q2235308 Q502895
USER
How many wars were around the same number of ship types and people a part of as Lebanese Civil War ?
(c(Q2235308)|c(Q502895),P607,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q208484
relation P607
type Q2235308
type Q502895
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?s ) WHERE { { ?p property:P607 ?j . ?j rdf:type ontology:Q198 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P607 ?j . ?j rdf:type ontology:Q198 . ?p rdf:type ontology:Q2235308 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P607 resource:Q208484 . { { ?w rdf:type ontology:Q2235308 } UNION { ?w rdf:type ontology:Q502895 } } } } . FILTER ( ?s = ?l ) }
Lebanese Civil War
action count
action approx
action union
action find_reverse_tuple_counts
relation conflict
type war
type ship type
action find_reverse_tuple_counts
relation conflict
type war
type common name
action count
action filter_multi_types
action find_reverse
entity Lebanese Civil War
relation conflict
type ship type
type common name
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?s ) WHERE { { ?p property:conflict ?j . ?j rdf:type ontology:war . ?p rdf:type ontology:common_name } UNION { ?p property:conflict ?j . ?j rdf:type ontology:war . ?p rdf:type ontology:ship_type } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:conflict resource:Lebanese_Civil_War . { { ?w rdf:type ontology:ship_type } UNION { ?w rdf:type ontology:common_name } } } } . FILTER ( ?s = ?l ) }
[]
war ship type common name
SYSTEM
49
Q8683 Q211855 Q1006311 Q795269 Q3067868 Q3778746 Q920894 Q81545 Q10859 Q163883 Q18121212 Q1021160 Q15860072 Q17984356 Q1072889 Q1980081 Q633862 Q209297 Q242352 Q2105495 Q178810 Q545449 Q2658255 Q16954835 Q208484 Q4971401 Q2086498 Q1049945 Q75984 Q1021172 Q1021175 Q1122110 Q43378 Q8676 Q1127302 Q1052332 Q1070890 Q188972 Q12302518 Q475678 Q213394 Q17183365 Q17507684 Q179975 Q18159629 Q2672972 Q243620 Q79911 Q142529
(c(Q2235308)|c(Q502895),P607,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q208484
relation P607
type Q2235308
type Q502895
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?s ) WHERE { { ?p property:P607 ?j . ?j rdf:type ontology:Q198 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P607 ?j . ?j rdf:type ontology:Q198 . ?p rdf:type ontology:Q2235308 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P607 resource:Q208484 . { { ?w rdf:type ontology:Q2235308 } UNION { ?w rdf:type ontology:Q502895 } } } } . FILTER ( ?s = ?l ) }
Cold War Finnish Civil War war of national liberation Sierra Leone Civil War Colombian Civil War Sioux Wars First Italian War of Independence 2011 Libyan Civil War Spanish Civil War Ten-Day War American-led intervention in Syria Armagnac–Burgundian Civil War 2014–16 Russian military intervention in Ukraine Iraqi Civil War Chilean War of Independence Civil war in Afghanistan Cold War Farroupilha Revolution Yugoslav Wars 1383-85 Portuguese Interregnum Syrian Civil War Iraq War Byzantine civil war of 1341–1347 Nagorno-Karabakh conflict Lebanese Civil War British military intervention in the Sierra Leone Civil War First Barons' War Jacobite rising of 1745 Dirty War Republic of the Congo Civil War First Ivorian Civil War Civil war in Tajikistan Thousand Days' War American Civil War Estonian War of Independence War in Somalia Georgian Civil War Greek Civil War Civil war in Afghanistan Mexican Drug War Sri Lankan Civil War Sectarian violence in Iraq (2006–07) military intervention against ISIL Chinese Civil War American-led intervention in Iraq Uruguayan Civil War Somali Civil War Russian Civil War Algerian Civil War
49
action count
action approx
action union
action find_reverse_tuple_counts
relation conflict
type war
type ship type
action find_reverse_tuple_counts
relation conflict
type war
type common name
action count
action filter_multi_types
action find_reverse
entity Lebanese Civil War
relation conflict
type ship type
type common name
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?s ) WHERE { { ?p property:conflict ?j . ?j rdf:type ontology:war . ?p rdf:type ontology:common_name } UNION { ?p property:conflict ?j . ?j rdf:type ontology:war . ?p rdf:type ontology:ship_type } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:conflict resource:Lebanese_Civil_War . { { ?w rdf:type ontology:ship_type } UNION { ?w rdf:type ontology:common_name } } } } . FILTER ( ?s = ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q361
P607
Q198 Q2235308 Q502895
USER
And also tell me about World War I?
(c(Q2235308)|c(Q502895),P607,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q361
relation P607
type Q2235308
type Q502895
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:Q2235308 ) ( ontology:Q502895 ) } . ?d rdf:type ?f } GROUP BY ?e } . FILTER ( ?v = ?z ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:P607 resource:Q361 . { { ?g rdf:type ontology:Q2235308 } UNION { ?g rdf:type ontology:Q502895 } } } } }
World War I
action count
action approx
action union
action find_reverse_tuple_counts
relation conflict
type war
type ship type
action find_reverse_tuple_counts
relation conflict
type war
type common name
action count
action filter_multi_types
action find_reverse
entity World War I
relation conflict
type ship type
type common name
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:ship_type ) ( ontology:common_name ) } . ?d rdf:type ?f } GROUP BY ?e } . FILTER ( ?v = ?z ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:conflict resource:World_War_I . { { ?g rdf:type ontology:ship_type } UNION { ?g rdf:type ontology:common_name } } } } }
[]
war ship type common name
SYSTEM
2
Q362 Q361
(c(Q2235308)|c(Q502895),P607,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q361
relation P607
type Q2235308
type Q502895
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:Q2235308 ) ( ontology:Q502895 ) } . ?d rdf:type ?f } GROUP BY ?e } . FILTER ( ?v = ?z ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:P607 resource:Q361 . { { ?g rdf:type ontology:Q2235308 } UNION { ?g rdf:type ontology:Q502895 } } } } }
World War II World War I
2
action count
action approx
action union
action find_reverse_tuple_counts
relation conflict
type war
type ship type
action find_reverse_tuple_counts
relation conflict
type war
type common name
action count
action filter_multi_types
action find_reverse
entity World War I
relation conflict
type ship type
type common name
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:ship_type ) ( ontology:common_name ) } . ?d rdf:type ?f } GROUP BY ?e } . FILTER ( ?v = ?z ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:conflict resource:World_War_I . { { ?g rdf:type ontology:ship_type } UNION { ?g rdf:type ontology:common_name } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q398
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with more number of administrative territories than Bahrain ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q398
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?j ) WHERE { ?f property:P530 ?d . ?f rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q398 property:P530 ?l } } . FILTER ( ?j > ?g ) }
Bahrain
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bahrain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?j ) WHERE { ?f property:diplomatic_relation ?d . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bahrain property:diplomatic_relation ?l } } . FILTER ( ?j > ?g ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
66
Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q733 Q230 Q27 Q28 Q843 Q184 Q228 Q227 Q225 Q222 Q96 Q347 Q17 Q902 Q298 Q114 Q212 Q213 Q218 Q916 Q79 Q77 Q858 Q948 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q398
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?j ) WHERE { ?f property:P530 ?d . ?f rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q398 property:P530 ?l } } . FILTER ( ?j > ?g ) }
Israel Yemen Peru India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Paraguay Georgia Ireland Hungary Pakistan Belarus Andorra Azerbaijan Bosnia and Herzegovina Albania Mexico Liechtenstein Japan Bangladesh Chile Kenya Ukraine Czech Republic Romania Angola Egypt Uruguay Syria Tunisia Libya Cape Verde Spain Zambia
66
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bahrain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?j ) WHERE { ?f property:diplomatic_relation ?d . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bahrain property:diplomatic_relation ?l } } . FILTER ( ?j > ?g ) }
[]