Simple Question (Direct)
Simple Question
Q6144710
P39
Q12737077
USER
Which occupation was a position for which Nobuhiko Ushiba was appointed ?
(Q6144710,P39,c(Q12737077))
action filter_type
action find
entity Q6144710
relation P39
type Q12737077
['Q6144710', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q6144710 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Nobuhiko Ushiba
action filter_type
action find
entity Nobuhiko Ushiba
relation position held
type occupation
['Nobuhiko Ushiba', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Nobuhiko_Ushiba property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q16147003
SYSTEM
Japanese Ambassador to the United States
Q16147003
(Q6144710,P39,c(Q12737077))
action filter_type
action find
entity Q6144710
relation P39
type Q12737077
The [ANSWER] was a position for which Nobuhiko Ushiba was appointed
['Q6144710', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q6144710 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Japanese Ambassador to the United States
The Japanese Ambassador to the United States was a position for which Nobuhiko Ushiba was appointed
Japanese Ambassador to the United States
action filter_type
action find
entity Nobuhiko Ushiba
relation position held
type occupation
['Nobuhiko Ushiba', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Nobuhiko_Ushiba property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6144710
P166
Q618779
USER
Which award was Nobuhiko Ushiba awarded with ?
(Q6144710,P166,c(Q618779))
action filter_type
action find
entity Q6144710
relation P166
type Q618779
['Q6144710', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q6144710 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Nobuhiko Ushiba
action filter_type
action find
entity Nobuhiko Ushiba
relation award received
type award
['Nobuhiko Ushiba', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Nobuhiko_Ushiba property:award_received ?f . ?f rdf:type ontology:award }
[]
award
Q11288429
SYSTEM
Grand Cordon of the Order of the Paulownia Flowers
Q11288429
(Q6144710,P166,c(Q618779))
action filter_type
action find
entity Q6144710
relation P166
type Q618779
Nobuhiko Ushiba was awarded the [ANSWER]
['Q6144710', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q6144710 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Grand Cordon of the Order of the Paulownia Flowers
Nobuhiko Ushiba was awarded the Grand Cordon of the Order of the Paulownia Flowers
Grand Cordon of the Order of the Paulownia Flowers
action filter_type
action find
entity Nobuhiko Ushiba
relation award received
type award
['Nobuhiko Ushiba', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Nobuhiko_Ushiba property:award_received ?f . ?f rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6144710
P106
Q12737077 Q4164871
USER
How many occupations or positions are the job of Nobuhiko Ushiba ?
(Q6144710,P106,c(Q12737077)) (Q6144710,P106,c(Q4164871))
action count
action union
action filter_type
action find
entity Q6144710
relation P106
type Q12737077
action filter_type
action find
entity Q6144710
relation P106
type Q4164871
['Q6144710', 'P106', {'concept': 'Q12737077'}] ['Q6144710', 'P106', {'concept': 'Q4164871'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { VALUES ( ?y ) { ( ontology:Q4164871 ) ( ontology:Q12737077 ) } . ?d rdf:type ?y }
Nobuhiko Ushiba
action count
action union
action filter_type
action find
entity Nobuhiko Ushiba
relation occupation
type occupation
action filter_type
action find
entity Nobuhiko Ushiba
relation occupation
type position
['Nobuhiko Ushiba', 'occupation', {'concept': 'occupation'}] ['Nobuhiko Ushiba', 'occupation', {'concept': 'position'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { VALUES ( ?y ) { ( ontology:position ) ( ontology:occupation ) } . ?d rdf:type ?y }
[]
occupation position
SYSTEM
2
Q193391 Q121998
(Q6144710,P106,c(Q12737077)) (Q6144710,P106,c(Q4164871))
action count
action union
action filter_type
action find
entity Q6144710
relation P106
type Q12737077
action filter_type
action find
entity Q6144710
relation P106
type Q4164871
[ANSWER]
['Q6144710', 'P106', {'concept': 'Q12737077'}] ['Q6144710', 'P106', {'concept': 'Q4164871'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { VALUES ( ?y ) { ( ontology:Q4164871 ) ( ontology:Q12737077 ) } . ?d rdf:type ?y }
diplomat ambassador
2
action count
action union
action filter_type
action find
entity Nobuhiko Ushiba
relation occupation
type occupation
action filter_type
action find
entity Nobuhiko Ushiba
relation occupation
type position
['Nobuhiko Ushiba', 'occupation', {'concept': 'occupation'}] ['Nobuhiko Ushiba', 'occupation', {'concept': 'position'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { VALUES ( ?y ) { ( ontology:position ) ( ontology:occupation ) } . ?d rdf:type ?y }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2690437 Q6144710
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Nobuhiko Ushiba or are Baishazhou Subdistrict a part of ?
OR((Q6144710,P27,c(Q15617994)), (Q2690437,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6144710
relation P27
action find
entity Q2690437
relation P17
type Q15617994
{'OR': [['Q6144710', 'P27', {'concept': 'Q15617994'}], ['Q2690437', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q6144710 property:P27 ?y } UNION { resource:Q2690437 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Baishazhou Subdistrict Nobuhiko Ushiba
action filter_type
action union
action find
entity Nobuhiko Ushiba
relation country of citizenship
action find
entity Baishazhou Subdistrict
relation country
type designation for an administrative territorial entity
{'OR': [['Nobuhiko Ushiba', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Baishazhou Subdistrict', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Nobuhiko_Ushiba property:country_of_citizenship ?y } UNION { resource:Baishazhou_Subdistrict property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q148
SYSTEM
Japan, People's Republic of China
Q17 Q148
OR((Q6144710,P27,c(Q15617994)), (Q2690437,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6144710
relation P27
action find
entity Q2690437
relation P17
type Q15617994
[ANSWERS] are the native countriesof Nobuhiko Ushiba or are Baishazhou Subdistrict a part of
{'OR': [['Q6144710', 'P27', {'concept': 'Q15617994'}], ['Q2690437', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q6144710 property:P27 ?y } UNION { resource:Q2690437 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Japan People's Republic of China
Japan and People's Republic of China are the native countriesof Nobuhiko Ushiba or are Baishazhou Subdistrict a part of
Japan People's Republic of China
action filter_type
action union
action find
entity Nobuhiko Ushiba
relation country of citizenship
action find
entity Baishazhou Subdistrict
relation country
type designation for an administrative territorial entity
{'OR': [['Nobuhiko Ushiba', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Baishazhou Subdistrict', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Nobuhiko_Ushiba property:country_of_citizenship ?y } UNION { resource:Baishazhou_Subdistrict property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q868332
P17
Q107425
USER
Are Capo Colonna situated in those administrative territories ?
(Q868332,P17,Q17) (Q868332,P17,Q148)
action is_in
entity prev_answer
action find
entity Q868332
relation P17
['Q868332', 'P17', 'Q17'] ['Q868332', 'P17', 'Q148']
ASK WHERE { resource:Q868332 property:P17 ?k . VALUES ( ?k ) { ( resource:Q17 ) ( resource:Q148 ) } }
Capo Colonna
action is_in
entity prev_answer
action find
entity Capo Colonna
relation country
['Capo Colonna', 'country', 'Japan'] ['Capo Colonna', 'country', "People's Republic of China"]
ASK WHERE { resource:Capo_Colonna property:country ?k . VALUES ( ?k ) { ( resource:Japan ) ( resource:People's_Republic_of_China ) } }
[]
landscape
SYSTEM
NO
(Q868332,P17,Q17) (Q868332,P17,Q148)
action is_in
entity prev_answer
action find
entity Q868332
relation P17
[ANSWER]
['Q868332', 'P17', 'Q17'] ['Q868332', 'P17', 'Q148']
ASK WHERE { resource:Q868332 property:P17 ?k . VALUES ( ?k ) { ( resource:Q17 ) ( resource:Q148 ) } }
No
action is_in
entity prev_answer
action find
entity Capo Colonna
relation country
['Capo Colonna', 'country', 'Japan'] ['Capo Colonna', 'country', "People's Republic of China"]
ASK WHERE { resource:Capo_Colonna property:country ?k . VALUES ( ?k ) { ( resource:Japan ) ( resource:People's_Republic_of_China ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q8064832 Q868332
P27 P17
Q15617994
USER
Which administrative territories are Capo Colonna situated in or are the native countriesof Zainab Abdulkadir Kure ?
OR((Q868332,P17,c(Q15617994)), (Q8064832,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q868332
relation P17
action find
entity Q8064832
relation P27
type Q15617994
{'OR': [['Q868332', 'P17', {'concept': 'Q15617994'}], ['Q8064832', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q868332 property:P17 ?o } UNION { resource:Q8064832 property:P27 ?o } } }
Zainab Abdulkadir Kure Capo Colonna
action filter_type
action union
action find
entity Capo Colonna
relation country
action find
entity Zainab Abdulkadir Kure
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Capo Colonna', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Zainab Abdulkadir Kure', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Capo_Colonna property:country ?o } UNION { resource:Zainab_Abdulkadir_Kure property:country_of_citizenship ?o } } }
[]
designation for an administrative territorial entity
Q38 Q1033
SYSTEM
Italy, Nigeria
Q38 Q1033
OR((Q868332,P17,c(Q15617994)), (Q8064832,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q868332
relation P17
action find
entity Q8064832
relation P27
type Q15617994
Capo Colonna are situated in [ANSWERS] or are the native countriesof Zainab Abdulkadir Kure
{'OR': [['Q868332', 'P17', {'concept': 'Q15617994'}], ['Q8064832', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q868332 property:P17 ?o } UNION { resource:Q8064832 property:P27 ?o } } }
Italy Nigeria
Capo Colonna are situated in Italy and Nigeria or are the native countriesof Zainab Abdulkadir Kure
Italy Nigeria
action filter_type
action union
action find
entity Capo Colonna
relation country
action find
entity Zainab Abdulkadir Kure
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Capo Colonna', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Zainab Abdulkadir Kure', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Capo_Colonna property:country ?o } UNION { resource:Zainab_Abdulkadir_Kure property:country_of_citizenship ?o } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4256663 Q11288429
P361 P166
Q618779
USER
Which awards are Grand Cordon of the Order of the Paulownia Flowers a part of or were won by Anatol Laŭkoŭ ?
OR((Q11288429,P361,c(Q618779)), (Q4256663,P166,c(Q618779)))
action filter_type
action union
action find
entity Q11288429
relation P361
action find
entity Q4256663
relation P166
type Q618779
{'OR': [['Q11288429', 'P361', {'concept': 'Q618779'}], ['Q4256663', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q11288429 property:P361 ?o } UNION { resource:Q4256663 property:P166 ?o } } . ?o rdf:type ontology:Q618779 }
Anatol Laŭkoŭ Grand Cordon of the Order of the Paulownia Flowers
action filter_type
action union
action find
entity Grand Cordon of the Order of the Paulownia Flowers
relation part of
action find
entity Anatol Laŭkoŭ
relation award received
type award
{'OR': [['Grand Cordon of the Order of the Paulownia Flowers', 'part of', {'concept': 'award'}], ['Anatol Laŭkoŭ', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Grand_Cordon_of_the_Order_of_the_Paulownia_Flowers property:part_of ?o } UNION { resource:Anatol_Laŭkoŭ property:award_received ?o } } . ?o rdf:type ontology:award }
[]
award
Q337463 Q1156958
SYSTEM
Order of the Red Banner, Order of the Paulownia Flowers
Q337463 Q1156958
OR((Q11288429,P361,c(Q618779)), (Q4256663,P166,c(Q618779)))
action filter_type
action union
action find
entity Q11288429
relation P361
action find
entity Q4256663
relation P166
type Q618779
Grand Cordon of the Order of the Paulownia Flowers a part of or were won by Anatol Laŭkoŭ are awarded [ANSWERS]
{'OR': [['Q11288429', 'P361', {'concept': 'Q618779'}], ['Q4256663', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q11288429 property:P361 ?o } UNION { resource:Q4256663 property:P166 ?o } } . ?o rdf:type ontology:Q618779 }
Order of the Red Banner Order of the Paulownia Flowers
Grand Cordon of the Order of the Paulownia Flowers a part of or were won by Anatol Laŭkoŭ are awarded Order of the Red Banner and Order of the Paulownia Flowers
Order of the Red Banner Order of the Paulownia Flowers
action filter_type
action union
action find
entity Grand Cordon of the Order of the Paulownia Flowers
relation part of
action find
entity Anatol Laŭkoŭ
relation award received
type award
{'OR': [['Grand Cordon of the Order of the Paulownia Flowers', 'part of', {'concept': 'award'}], ['Anatol Laŭkoŭ', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Grand_Cordon_of_the_Order_of_the_Paulownia_Flowers property:part_of ?o } UNION { resource:Anatol_Laŭkoŭ property:award_received ?o } } . ?o rdf:type ontology:award }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q2221906 Q82794 Q15617994
USER
Which administrative territories are a part of atmost 1 geographic locations and geographic regions ?
(c(Q15617994),P361,c(Q2221906)|c(Q82794))
action atmost
action union
action find_tuple_counts
relation P361
type Q15617994
type Q2221906
action find_tuple_counts
relation P361
type Q15617994
type Q82794
value 1
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q2221906'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?a WHERE { FILTER ( ?s <= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?s ) WHERE { VALUES ( ?u ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } . ?t rdf:type ?u } GROUP BY ?a } }
action atmost
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'geographic location'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?a WHERE { FILTER ( ?s <= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?s ) WHERE { VALUES ( ?u ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } . ?t rdf:type ?u } GROUP BY ?a } }
[]
geographic location geographic region designation for an administrative territorial entity
Q38 Q148 Q43
SYSTEM
Italy, People's Republic of China, Turkey
Q288929 Q804 Q505785 Q314953 Q505789 Q2010810 Q511707 Q629629 Q334658 Q490442 Q506590 Q414 Q57857 Q21671144 Q281976 Q2871 Q550212 Q800 Q31586 Q489250 Q505048 Q184864 Q505739 Q553785 Q516362 Q511697 Q502786 Q531972 Q547269 Q506186 Q505817 Q306451 Q627586 Q505552 Q504328 Q627460 Q533626 Q528673 Q203830 Q181443 Q21850324 Q518154 Q507049 Q503339 Q504813 Q389298 Q627506 Q437679 Q536475 Q1796912 Q551234 Q511462 Q504282 Q264385 Q504955 Q627513 Q507100 Q517471 Q259102 Q505242 Q513796 Q504493 Q256423 Q529250 Q384382 Q180990 Q504259 Q119474 Q517577 Q513642 Q523922 Q701470 Q512016 Q203121 Q774406 Q404041 Q503526 Q524223 Q502692 Q503820 Q513868 Q532430 Q503825 Q629556 Q733 Q503358 Q514957 Q512066 Q503454 Q521569 Q504174 Q2313565 Q502745 Q504074 Q676178 Q502591 Q506003 Q262193 Q260736 Q713458 Q258172 Q548611 Q513261 Q503737 Q520900 Q502604 Q513542 Q574455 Q507804 Q783 Q1617121 Q174658 Q505372 Q355390 Q504673 Q503854 Q502859 Q503908 Q507412 Q14803 Q502580 Q503858 Q524350 Q525036 Q5701009 Q526462 Q489005 Q32070 Q550543 Q526007 Q32077 Q511280 Q143075 Q706938 Q503432 Q552430 Q539787 Q504985 Q176619 Q298 Q572087 Q585518 Q5668673 Q511126 Q251897 Q505583 Q546100 Q187503 Q572318 Q505589 Q1958624 Q505537 Q516761 Q454436 Q503872 Q550719 Q510011 Q558835 Q505079 Q511540 Q5084 Q542788 Q505201 Q504217 Q503574 Q683578 Q508787 Q736 Q513290 Q516315 Q506608 Q717 Q701332 Q506239 Q162003 Q165818 Q528238 Q267723 Q490326 Q749863 Q161129 Q513198 Q1787362 Q199053 Q511339 Q627424 Q526087 Q786024 Q503074 Q503250 Q503254 Q532046 Q516289 Q252426 Q531799 Q188315 Q834894 Q834920 Q21848848 Q262395 Q526069 Q509648 Q503382 Q33788 Q510530 Q517967 Q528284 Q1869695 Q554282 Q253496 Q507938 Q503773 Q528127 Q194203 Q488974 Q184188 Q510845 Q503403 Q2904452 Q1612711 Q478258 Q504003 Q547380 Q503790 Q258021 Q668 Q204953 Q503814 Q521085 Q1355455 Q517499 Q511207 Q566569 Q491632 Q502654 Q528465 Q203754 Q258790 Q510903 Q505382 Q505796 Q176219 Q505026 Q526121 Q22575704 Q505388 Q502720 Q31596 Q504995 Q488592 Q43014 Q505295 Q31598 Q43 Q549052 Q792 Q511508 Q790 Q531840 Q510762 Q514438 Q263850 Q510751 Q511294 Q7126796 Q511113 Q507352 Q526509 Q1917569 Q254501 Q383134 Q504316 Q504311 Q489123 Q241 Q34102 Q242 Q532 Q174307 Q314715 Q502700 Q512970 Q542907 Q503039 Q504866 Q259742 Q503035 Q258041 Q278967 Q509296 Q73551 Q558860 Q558945 Q120802 Q627500 Q38 Q505419 Q558868 Q524280 Q558847 Q503628 Q6063801 Q508729 Q517447 Q503195 Q256533 Q503588 Q525809 Q164009 Q280312 Q511972 Q427292 Q554134 Q504264 Q627484 Q316088 Q533133 Q232 Q512905 Q505809 Q532923 Q627477 Q254933 Q129003 Q627472 Q931366 Q705725 Q529701 Q12584 Q546448 Q504041 Q256051 Q503367 Q537414 Q503441 Q167661 Q504048 Q516249 Q834912 Q548982 Q502758 Q525931 Q531745 Q503699 Q511656 Q504163 Q511857 Q385664 Q512753 Q514208 Q127896 Q513573 Q508486 Q999609 Q528548 Q529010 Q686312 Q520870 Q647644 Q506544 Q637308 Q512127 Q506541 Q505345 Q13674 Q568473 Q186115 Q511032 Q503849 Q503965 Q750 Q549098 Q373582 Q561223 Q411004 Q199205 Q525796 Q510090 Q512055 Q513584 Q503990 Q255041 Q645832 Q505009 Q545248 Q512193 Q502717 Q511955 Q530556 Q502887 Q505116 Q254657 Q505111 Q514499 Q585444 Q513059 Q507245 Q510952 Q528727 Q258993 Q1572183 Q505593 Q572242 Q531813 Q504896 Q504181 Q511941 Q491818 Q77 Q510035 Q491811 Q265110 Q489260 Q558824 Q508471 Q72731 Q218427 Q505237 Q2741956 Q169039 Q503092 Q627445 Q503544 Q521954 Q549073 Q489285 Q506206 Q640310 Q506200 Q508930 Q505214 Q516330 Q508945 Q175698 Q542837 Q503149 Q513029 Q503061 Q556312 Q572182 Q558914 Q505284 Q513182 Q511325 Q627437 Q504089 Q430752 Q504080 Q504128 Q2661988 Q503950 Q532072 Q505842 Q183261 Q254076 Q504686 Q503400 Q521007 Q503393 Q511998 Q503955 Q266204 Q487328 Q506057 Q524573 Q2115448 Q512892 Q256575 Q521488 Q139676 Q502947 Q205497 Q508863 Q508517 Q502825 Q288569 Q502820 Q503085 Q513013 Q503202 Q504407 Q491740 Q512844 Q2765 Q511582 Q503801 Q504015 Q503805 Q505835 Q514237 Q552645 Q550512 Q508611 Q565257 Q566594 Q425952 Q705805 Q629503 Q302916 Q503894 Q545202 Q514340 Q512766 Q510590 Q739 Q503999 Q505394 Q255217 Q2307369 Q313651 Q503812 Q518030 Q14825 Q3327870 Q504711 Q504659 Q2899 Q516376 Q137593 Q531856 Q524234 Q182131 Q53381 Q627413 Q511269 Q569566 Q547243 Q505651 Q510982 Q374423 Q505578 Q258978 Q627566 Q526102 Q505571 Q512860 Q510964 Q504304 Q505607 Q505087 Q558882 Q527328 Q503016 Q504872 Q72425 Q549641 Q440661 Q529278 Q430649 Q505400 Q511408 Q230613 Q505408 Q3773354 Q558956 Q514327 Q503784 Q536874 Q504277 Q505636 Q503596 Q542892 Q511883 Q503617 Q522417 Q527529 Q625844 Q504374 Q504270 Q697685 Q223 Q73536 Q532000 Q508216 Q512917 Q17135847 Q520834 Q526537 Q378511 Q542809 Q524638 Q525889 Q257338 Q509320 Q551142 Q209495 Q122073 Q537429 Q19702215 Q504056 Q17396881 Q266039 Q508822 Q503372 Q436841 Q558852 Q525900 Q511811 Q503689 Q504113 Q280952 Q504110 Q504289 Q552129 Q796575 Q547059 Q549554 Q572343 Q491545 Q2503881 Q552122 Q355456 Q266726 Q256113 Q503055 Q436522 Q166228 Q502874 Q512033 Q270217 Q189058 Q510813 Q504169 Q504026 Q510872 Q189904 Q1902230 Q504695 Q504691 Q502971 Q503977 Q508149 Q511188 Q547205 Q73209 Q505751 Q505756 Q558811 Q505909 Q278169 Q512734 Q503233 Q504585 Q544776 Q270328 Q503479 Q583385 Q514486 Q552415 Q811 Q552419 Q504321 Q509368 Q549167 Q558842 Q490185 Q1617853 Q259795 Q510922 Q572873 Q21853467 Q255396 Q531867 Q504938 Q275579 Q1285601 Q505352 Q505727 Q531945 Q502793 Q547278 Q505547 Q627597 Q2904 Q489100 Q505542 Q505228 Q510047 Q526566 Q821435 Q627451 Q524395 Q624292 Q505221 Q506195 Q518095 Q254967 Q12536 Q148 Q528740 Q504808 Q558829 Q554078 Q7042 Q508908 Q511351 Q558968 Q261742 Q525945 Q266170 Q505612 Q589408 Q504521 Q508698 Q504486 Q503237 Q252916 Q506065 Q505068 Q517548 Q517233 Q511917 Q549007 Q525864 Q14175407 Q583335 Q628969 Q251915 Q528104 Q490167 Q2631599 Q490162 Q508592 Q509068 Q510100 Q508714 Q503555 Q503550 Q509410 Q589490 Q681224 Q529416 Q513956 Q503345 Q502930 Q503831 Q146846 Q258835 Q4628 Q251423 Q533019 Q504412 Q491751 Q158919 Q504417 Q311327 Q546335 Q426741 Q504679 Q31618 Q505823 Q505073 Q256895 Q513923 Q504095 Q503884 Q432528 Q513882 Q513556 Q837065 Q1601810 Q505363 Q507305 Q507819 Q18524218 Q503901 Q504667 Q169573 Q627576 Q511486 Q502597 Q502846 Q505762 Q510077 Q247903 Q521215 Q505766 Q511175 Q514454 Q490902 Q2198187 Q3942 Q504705 Q786 Q178365 Q504700 Q505676 Q505319 Q514359 Q545308 Q572696 Q96 Q550790 Q258682 Q505560 Q509987 Q503837 Q516343 Q526136 Q528579 Q508054 Q3247681 Q14889 Q505566 Q504968 Q632425 Q558803 Q550708 Q623929 Q2838 Q622456 Q632429 Q704288 Q256920 Q1849719 Q508414 Q524691 Q14788575 Q503067 Q511477 Q504208 Q503504 Q521676 Q484170 Q701312 Q531714 Q512928 Q261177 Q506228 Q528142 Q551112 Q161258 Q510791 Q258844 Q503519 Q503048 Q240874 Q585591 Q503510 Q2993203 Q269304 Q512876 Q504052 Q419 Q520820 Q508832 Q589530 Q254310 Q218693 Q511825 Q522677 Q263451 Q525915 Q558891 Q515854 Q505869 Q186467 Q503515 Q260271 Q504795 Q253780 Q506584 Q489160 Q507921 Q503602 Q503768 Q1222 Q503609 Q503945 Q774 Q514914 Q517994 Q502806 Q305056 Q262790 Q512144 Q508177 Q504037 Q253521 Q403583 Q502829 Q566574 Q514312 Q270295 Q511871 Q510734 Q31640 Q491723 Q583414 Q504425 Q513853 Q503460 Q503464 Q6247
(c(Q15617994),P361,c(Q2221906)|c(Q82794))
action atmost
action union
action find_tuple_counts
relation P361
type Q15617994
type Q2221906
action find_tuple_counts
relation P361
type Q15617994
type Q82794
value 1
[ANSWERS] are a part of atmost 1 geographic locations and geographic regions
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q2221906'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?a WHERE { FILTER ( ?s <= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?s ) WHERE { VALUES ( ?u ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } . ?t rdf:type ?u } GROUP BY ?a } }
Unterroth Panama Pförring Kirchdorf Alerheim Oberreichenbach Sugenheim Glonn Abtswind Hettenshausen Blankenbach Argentina Zschorlau Mezhetchina Moos Hagen Heyersdorf Costa Rica Neukirchen bei Sulzbach-Rosenberg Ilmmünster Oberickelsheim Megara Leupoldsgrün Walsdorf Offenhausen Oberpframmern Eschenbach in der Oberpfalz Lamerdingen Medlingen Kinsau Bad Bayersoien Außernzell Wolfersdorf Neusitz Schondra Pollenfeld Kröning Langenpreising Oberreute Walkertshofen Gireyevo Weißenohe Hagenbüchach Huisheim Gräfendorf Ebern Breitenthal Altenthann Gebenbach Kühbach Velden Wiesenbach Oberleichtersbach Altfraunhofen Rüdenau Gallmersgarten Aufseß Wiesthal Kastl Kupferberg Jengen Maihingen Elsendorf Weng Aislingen Oberschweinbach Elfershausen Otzing Wittislingen Georgenberg Attenkirchen Kirchweidach Ruderatshofen Schmiechen Aurachtal Aidhausen Steindorf Sulzemoos Issigau Weißdorf Kraftisried Niederfüllbach Rohrenfels Wallerfing Paraguay Marktbergel Bergheim Neuching Daiting Wettringen Schnabelwaid Spreng Creußen Rügland Viereck Wolframs-Eschenbach Paunzhausen Jesenwang Baierbach Manhay Holzheim district of the Czech Republic Obersüßbach Rain Großaitingen Teuschnitz Eitting Alfeld Baisweil Honduras Heßdorf Haunsheim Ippesheim Adelschlag Kasendorf Saal an der Donau Ellgau Wörnitz Wilburgstetten Weiden in der Oberpfalz Schauenstein Töpen Henfenfeld Moosach Gorji Rural District Kutzenhausen Gotteszell Schiltberg Lauter Walderbach Deuerling Haag Wollbach Werder Trogen Happurg Markt Berolzheim Heimbuchenthal Markt Bibart Chile Igling Stockheim Qombovan Rural District Ködnitz Pöttmes Schondorf am Ammersee Karbach Zell Hasloch Sengenthal Mühlhausen Hummeltal Fuchstal Palatinate-Sulzbach Kirchlauter Alesheim Weihenzell Villenbach Markt Taschendorf Welden hamlet Hartenstein Kaltental Witzmannsberg Insingen Superga Bundorf Ecuador Maierhöfen Aletshausen Sulzfeld am Main Venezuela Emmerting Mönchberg Maitenbeth Eching am Ammersee Waldstetten Pörnbach Sünching Marnehuizen Neumarkt-Sankt Veit Hergensweiler Sacro Monte di Crea Ziemetshausen Landensberg Röckingen Nennslingen Stammham Wiesenthau Maßbach Untermeitingen Fischen Eggenthal Mammendorf Oberneukirchen Porto Venere Sachsenkam Ofterschwang Lyskovo Achslach Oberroth Gundelfingen an der Donau Bachhagel New Caledonia Volkenschwand Tittling Walpertskirchen Lonnerstadt Ferdinandshof Aham Speinshart Hainsfarth Reichenbach arrondissement of France Bach an der Donau canton of France (until 2015) Irsee Schöfweg Birel Qaanaaqs municipality Caltagirone Willanzheim Rieden Theisseil Aiglsbach India Albertshofen Buchbrunn Rechtmehring Erlbach Egglkofen Treffelstein Waal Mötzing Bürgstadt Wörth Bolsterlang Etzenricht Riedenberg Tännesberg Großweil Eschenlohe Münchsteinach Gleißenberg administrative quarter in France Oberscheinfeld Thurmansbang Emtmannsberg Hemmersheim Wörth an der Donau Sabbioneta Illesheim Neustadt am Kulm Turkey Westendorf El Salvador Postau Haiti Lohkirchen Wechingen Langenmosen Baiern Finningen Röfingen Palatinate-Zweibrücken-Vohenstrauss-Parkstein Grafengehaig Ebelsbach Buch am Buchrain Mehring Aidenbach Seukendorf Leuchtenberg Heigenbrücken Brunn Cuba Modica Belize village Essing Partenstein Diebach Kleinaitingen Bonstetten Hochstadt am Main Markt Einersheim Todtenweis Dormitz Aindling Kraiburg Bichl Massing Niederlauer Holzheim Mickhausen Greifenberg Italy Pilsach Lutzingen Reckendorf Strahlungen Benediktbeuern parish of Venezuela Syrgenstein Haag an der Amper Unterdießen Kochel Prebitz Hausen Hofheim Principality of Lüneburg Rettenbach am Auerberg Stadtsteinach Vorra Heinrichsthal Schernfeld Sommerach Hattenhofen Kazakhstan Biebelried Redwitz an der Rodach Reichersbeuern Unterreit Oberding French Southern and Antarctic Lands Scheuring Unterneukirchen Königsfeld Burgwindheim Maine-et-Loire Mödingen Buchhofen Baar Wolferstadt Furth Wallerstein Rödelsee Bischbrunn Schalkham Karsbach Heidenheim Wemding Burgsalach Buch Ihrlerstein Neufraunhofen Untersteinach Seeg Wehringen Finning Jettenbach Gerzen Aura im Sinngrund Kohlberg Buckenhof Holzheim Rettenbach Duchy of Amalfi Hiltenfingen Baar Poxdorf Wipfratal Illschwang Hörgertshausen Baudenbach Ragusa Burgraviate of Nuremberg Montmartre Harsdorf Gädheim Wildenberg Bolivia Rettenbach Plech Lancken-Granitz Aitrang Ziertheim Stettfeld Gachenbach Stöttwang Riegsee Rüdenhausen Schönberg Dasing Simmershofen Schönbrunn im Steigerwald Odelzhausen Eppenschlag Gesees Priesendorf Otting Großenseebach Adelshofen Nordendorf Wang administrative district of Prague Langenneufnach Offingen Obersinn Weidenbach Perach Halsbach Hurlach Ornbau Gars Neuhof an der Zenn Ehingen, Middle Franconia Stötten am Auerberg Wiesent Uruguay Lalling Laaber Buchloe Palazzolo Acreide Unsleben Gössenheim Sparneck Allershausen Dammbach Heckbous Burk Kleinsendelbach Tschirn Mitteleschenbach Ebrach Raitenbuch Reichertshofen Eresing Buckautal Weilersbach Neuhütten Emskirchen Thundorf in Unterfranken Retzstadt Ellzee Ettenstatt Pleystein Scherstetten Buchdorf Oettingen in Bayern Gottfrieding Heustreu Diespeck Sommerkahl Ergersheim, Middle Franconia Hunding Ohrenbach Stamsried Windelsbach Rögling urban settlement in Russia Nordheim am Main Eisenberg Sigmarszell Stadelhofen Pfaffing Kleinwallstadt Schöllnach Obermichelbach Kirchenthumbach Guttenberg Pösing Kirchdorf Marktl Allmannshofen Engelthal Intra-city territory of a federal city Hohenpolding Reischach Weiltingen Zachenberg Pressath Hopferau Mindelstetten Mittelsinn Buch am Wald Wiesen Auhausen Pinzberg Heretsried Ichenhausen Rugendorf Riekofen Aßling Gelsenkirchen Wurmsham Kirchendemenreuth Esselbach Deisenhausen Bubesheim Oberbergkirchen Taufkirchen Weitnau Grattersdorf Bad Bertrich Wald Iggensbach Emmering Walting Wiesenbronn Burgpreppach Greiling Reichertsheim Röllbach Gremsdorf Colombia Bechtsrieth Uehlfeld Kottgeisering Spardorf Theres Burgsinn Neunkirchen, Lower Franconia Memmingen municipal corporation in the United States Berngau Rentweinsdorf Mülheim an der Ruhr Mespelbrunn Birgland Train Veitsbronn Betzenstein Tolmezzo Unterleinleiter Geroda Gerach Wald Schwaigen Fellen Parkstein Prittriching Hinterschmiding Ehingen Laugna Thaining Inning am Holz Binswangen Fuchsstadt Philippsreut Markt Nordheim Nordheim vor der Rhön Glashütten Dombühl Scheinfeld Pozzuoli Lisberg Althegnenberg Kühlenthal Amerdingen Spatzenhausen Weigenheim Zusamaltheim Unterammergau Alagonia Burglauer Niedertaufkirchen Schaufling Weigendorf Sulzthal Obermeitingen Bruckberg, Middle Franconia Roden Genderkingen Grafrath Apfeldorf Obermaiselstein Görzke Püchersreuth Rannungen House of Nassau-Weilburg Greenland Weißensberg Missen-Wilhams Westendorf Bächingen quarter of Genoa Etzelwang Kirchberg Mittelneufnach Steinfeld Balderschwang Westheim Adelzhausen Westerngrund Wartenberg historical province of France Wittelshofen Röthenbach Gemeinde Oberdollendorf Riedbach Turgutlu (city) and Turgutlu (district) Reichenbach am Regen Neustadt am Main Hahnbach Altenbuch Hollstadt Meinheim Berglern Attenhofen Ederheim Seehausen am Staffelsee Tagmersheim Ramsthal Hirschbach ant colony Gnotzheim Bidingen Ebershausen Wolfsegg Uttenreuth Königstein Adelshofen, Middle Franconia Dürrlauingen Ernsgaden Hiltpoltstein Alteglofsheim Wiesentheid Trautskirchen Unterthingau Monterosso al Mare Zellingen Gerolfingen Forheim Stiefenhofen Schollbrunn Zenting Marloffstein Wonfurt Seybothenreuth Schillingsfürst Störnstein Erlenbach bei Marktheidenfeld Gerhardshofen Duggendorf Weiding Ermershausen Dachsbach Hohenroth Höchstädt an der Donau Donaustauf Vilgertshofen Effeltrich Ebermannstadt Waidhofen Vernazza Irchenrieth Oberstreu Osterzell Grünenbach Nicaragua Gestratz Euerdorf Kleinkahl Dittenheim Aubstadt Kallmünz Tyrlaching Geisenfeld Tuchenbach Gößnitz Romanovo Mauern Friesenried Haldenwang Mering Novi Zagreb – zapad Aura an der Saale Fürsteneck Biessenhofen Gattendorf Vorbach Schwifting Steinkirchen Herne Ruhmannsfelden Reichling Oberottmarshausen Weiherhammer Frauenneuharting district of Berlin Gammelsdorf Langquaid Wenzlow Münsterhausen Kunreuth Weidenberg Petersdorf Abbasid caliphate People's Republic of China Langenfeld Baunach Rödelmaier Neuendorf Amberg Rechtenbach Waltenhausen Hendungen Eitensheim Pfofeld Kreuzwertheim Mainstockheim Sulzdorf an der Lederhecke Monheim Schwarzenbach Niederschönenfeld Hetzles administrative quarter Klosterlechfeld Kleinlangheim Gollhofen Thüngen Ludwigschorgast Bergen Höttingen District 6 Hausen Pfaffenhofen an der Roth Teugn Untrasried Pielenhofen district of Uzbekistan Pfakofen Hafenlohr Ettal Geslau Birkenfeld Obergriesbach Ehingen am Ries Krombach Salz Röttenbach Lengenwang Burgebrach Emersacker Wertingen Perlesreut Zangberg Ustersbach Faroe Islands Sielenbach Beutelsbach Pfarrweisach Pfatter Feilitzsch Segnitz Castell Langenaltheim Megesheim Obernbreit Michelsneukirchen Saulgrub Gutenstetten Münster Obergünzburg Schneckenlohe Kirchenpingarten Ohlstadt Görisried Leutenbach Tiefenbach Heldenstein Mittelstetten Schlammersdorf Gundremmingen canton of France (starting March 2015) Trebgast Trabitz Schirmitz Kötz Pastetten Gräfenberg Kirchehrenbach Windach Gebsattel Zöschingen Falkenstein Munningen Winterbach Mistelbach Aufhausen Stehnen Aschaffenburg Steinsfeld Dominican Republic Stegaurach Berg im Gau Roßhaupten Mistelgau Oberostendorf Pfaffenhofen an der Glonn Grub am Forst Mexico Schlehdorf Niederbergkirchen Rieden am Forggensee Egweil Mönchsdeggingen Pforzen Glött Wörth an der Isar Neu Wulmstorf governorate of Saudi Arabia Schwabach Deiningen Seinsheim Schwenningen Herbstadt Wattendorf Gräben Oberhausen Lage Hinrichshagen Duchy of Holstein Albaching municipal formation in Russia Kleinheubach Langerringen rural settlement Marktzeuln Mamming Malching Reimlingen Eurasburg commune of France Feichten Schönberg Gessertshausen Hausen Mitwitz Weihmichl Polling Clipperton Island Böhmfeld Ergoldsbach Plankenfels Hollfeld Wilhelmsdorf, Bavaria Sulzfeld Marktoffingen Ropsha Biburg Fünfstetten Martinsheim Peru Schöllkrippen Urspringen Höchheim Landsberied Zolling Ottenhofen Nassenfels Oberdolling Brunnen Trappstadt Rott Vestenbergsgreuth Mönchsroth Marktleugast Herrngiersdorf Großlangheim Erharting Wieseth Brennberg Pürgen Wonsees Balzhausen Aosta Valley Hohenaltheim Siegenburg Guatemala Blindheim Rotthalmünster Marktgraitz Ponitz Schöngeising Egmating Himmelstadt Breitbrunn Bayerbach bei Ergoldsbach Aichen Dentlein Bruck Rattenkirchen Riomaggiore Rückholz Günzach Unterschwaningen Holzheim am Forst Schönau an der Brend Oberpöring Hofstetten Pirk Innernzell Mantua
Italy, People's Republic of China and Turkey are a part of atmost 1 geographic locations and geographic regions
Italy People's Republic of China Turkey
action atmost
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'geographic location'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?a WHERE { FILTER ( ?s <= 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?s ) WHERE { VALUES ( ?u ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } . ?t rdf:type ?u } GROUP BY ?a } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have tactful political relations with those administrative territories ?
(Q183,P530,Q38) (Q183,P530,Q148) (Q183,P530,Q43)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q38'] ['Q183', 'P530', 'Q148'] ['Q183', 'P530', 'Q43']
ASK WHERE { VALUES ( ?p ) { ( resource:Q288929 ) ( resource:Q804 ) ( resource:Q505785 ) } . resource:Q183 property:P530 ?p }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Italy'] ['Germany', 'diplomatic relation', "People's Republic of China"] ['Germany', 'diplomatic relation', 'Turkey']
ASK WHERE { VALUES ( ?p ) { ( resource:Unterroth ) ( resource:Panama ) ( resource:Pförring ) } . resource:Germany property:diplomatic_relation ?p }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q38) (Q183,P530,Q148) (Q183,P530,Q43)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q38'] ['Q183', 'P530', 'Q148'] ['Q183', 'P530', 'Q43']
ASK WHERE { VALUES ( ?p ) { ( resource:Q288929 ) ( resource:Q804 ) ( resource:Q505785 ) } . resource:Q183 property:P530 ?p }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Italy'] ['Germany', 'diplomatic relation', "People's Republic of China"] ['Germany', 'diplomatic relation', 'Turkey']
ASK WHERE { VALUES ( ?p ) { ( resource:Unterroth ) ( resource:Panama ) ( resource:Pförring ) } . resource:Germany property:diplomatic_relation ?p }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q928314 Q11288429
P166
Q502895
USER
Which people were awarded with Grand Cordon of the Order of the Paulownia Flowers and Bronze Star Medal ?
AND((c(Q502895),P166,Q11288429), (c(Q502895),P166,Q928314))
action filter_type
action intersection
action find_reverse
entity Q11288429
relation P166
action find_reverse
entity Q928314
relation P166
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q11288429'], [{'concept': 'Q502895'}, 'P166', 'Q928314']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P166 resource:Q928314 . ?w property:P166 resource:Q11288429 }
Bronze Star Medal Grand Cordon of the Order of the Paulownia Flowers
action filter_type
action intersection
action find_reverse
entity Grand Cordon of the Order of the Paulownia Flowers
relation award received
action find_reverse
entity Bronze Star Medal
relation award received
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'Grand Cordon of the Order of the Paulownia Flowers'], [{'concept': 'common name'}, 'award received', 'Bronze Star Medal']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:award_received resource:Bronze_Star_Medal . ?w property:award_received resource:Grand_Cordon_of_the_Order_of_the_Paulownia_Flowers }
[]
common name
Q127417
SYSTEM
Douglas MacArthur
Q127417
AND((c(Q502895),P166,Q11288429), (c(Q502895),P166,Q928314))
action filter_type
action intersection
action find_reverse
entity Q11288429
relation P166
action find_reverse
entity Q928314
relation P166
type Q502895
The [ANSWER] was awarded with Grand Cordon of the Order of the Paulownia Flowers and Bronze Star Medal
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q11288429'], [{'concept': 'Q502895'}, 'P166', 'Q928314']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P166 resource:Q928314 . ?w property:P166 resource:Q11288429 }
Douglas MacArthur
The Douglas MacArthur was awarded with Grand Cordon of the Order of the Paulownia Flowers and Bronze Star Medal
Douglas MacArthur
action filter_type
action intersection
action find_reverse
entity Grand Cordon of the Order of the Paulownia Flowers
relation award received
action find_reverse
entity Bronze Star Medal
relation award received
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'Grand Cordon of the Order of the Paulownia Flowers'], [{'concept': 'common name'}, 'award received', 'Bronze Star Medal']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:award_received resource:Bronze_Star_Medal . ?w property:award_received resource:Grand_Cordon_of_the_Order_of_the_Paulownia_Flowers }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
How many administrative territories have diplomatic relationships with approximately 15 political territories and administrative territories ?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 15
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?h ) WHERE { VALUES ( ?c ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?t rdf:type ?c } GROUP BY ?a } . FILTER ( ?h = 15 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 15
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?h ) WHERE { VALUES ( ?c ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?t rdf:type ?c } GROUP BY ?a } . FILTER ( ?h = 15 ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
29
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q711 Q252 Q403 Q258 Q43 Q41 Q796 Q794 Q884 Q31 Q34 Q423 Q27 Q843 Q347 Q17 Q213 Q916 Q79 Q1016 Q1011 Q953
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 15
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?h ) WHERE { VALUES ( ?c ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?t rdf:type ?c } GROUP BY ?a } . FILTER ( ?h = 15 ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Mongolia Indonesia Serbia South Africa Turkey Greece Iraq Iran South Korea Belgium Sweden North Korea Ireland Pakistan Liechtenstein Japan Czech Republic Angola Egypt Libya Cape Verde Zambia
29
action count
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 15
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?h ) WHERE { VALUES ( ?c ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?t rdf:type ?c } GROUP BY ?a } . FILTER ( ?h = 15 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P123
Q166142
USER
Which application produced People's Republic of China ?
(c(Q166142),P123,Q148)
action filter_type
action find_reverse
entity Q148
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q148']
SELECT DISTINCT ?i WHERE { ?i property:P123 resource:Q148 . ?i rdf:type ontology:Q166142 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation publisher
type application
[{'concept': 'application'}, 'publisher', "People's Republic of China"]
SELECT DISTINCT ?i WHERE { ?i property:publisher resource:People's_Republic_of_China . ?i rdf:type ontology:application }
[]
application
Q142972
SYSTEM
Perfect World
Q142972
(c(Q166142),P123,Q148)
action filter_type
action find_reverse
entity Q148
relation P123
type Q166142
[ANSWER] produced People's Republic of China
[{'concept': 'Q166142'}, 'P123', 'Q148']
SELECT DISTINCT ?i WHERE { ?i property:P123 resource:Q148 . ?i rdf:type ontology:Q166142 }
Perfect World
Perfect World produced People's Republic of China
Perfect World
action filter_type
action find_reverse
entity People's Republic of China
relation publisher
type application
[{'concept': 'application'}, 'publisher', "People's Republic of China"]
SELECT DISTINCT ?i WHERE { ?i property:publisher resource:People's_Republic_of_China . ?i rdf:type ontology:application }
[]