Simple Question (Direct)
Simple Question
Q2543873
P27
Q1048835
USER
Which political territory is the country of citizenship of Walter Caspari ?
(Q2543873,P27,c(Q1048835))
action filter_type
action find
entity Q2543873
relation P27
type Q1048835
['Q2543873', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q2543873 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Walter Caspari
action filter_type
action find
entity Walter Caspari
relation country of citizenship
type political territorial entity
['Walter Caspari', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Walter_Caspari property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q2543873,P27,c(Q1048835))
action filter_type
action find
entity Q2543873
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Walter Caspari
['Q2543873', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q2543873 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Germany
Germany is the country of citizenship of Walter Caspari
Germany
action filter_type
action find
entity Walter Caspari
relation country of citizenship
type political territorial entity
['Walter Caspari', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Walter_Caspari property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2543873
P19
Q15617994
USER
Which administrative territory was Walter Caspari born at ?
(Q2543873,P19,c(Q15617994))
action filter_type
action find
entity Q2543873
relation P19
type Q15617994
['Q2543873', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q2543873 property:P19 ?z }
Walter Caspari
action filter_type
action find
entity Walter Caspari
relation place of birth
type designation for an administrative territorial entity
['Walter Caspari', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Walter_Caspari property:place_of_birth ?z }
[]
designation for an administrative territorial entity
Q3922
SYSTEM
Detmold
Q3922
(Q2543873,P19,c(Q15617994))
action filter_type
action find
entity Q2543873
relation P19
type Q15617994
Walter Caspari was born in [ANSWER]
['Q2543873', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q2543873 property:P19 ?z }
Detmold
Walter Caspari was born in Detmold
Detmold
action filter_type
action find
entity Walter Caspari
relation place of birth
type designation for an administrative territorial entity
['Walter Caspari', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Walter_Caspari property:place_of_birth ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22790289
Q15617994
USER
And what about Bolanle Awe?
(Q22790289,P19,c(Q15617994))
action filter_type
action find
entity Q22790289
relation P19
type Q15617994
['Q22790289', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q22790289 property:P19 ?w . ?w rdf:type ontology:Q15617994 }
Bolanle Awe
action filter_type
action find
entity Bolanle Awe
relation place of birth
type designation for an administrative territorial entity
['Bolanle Awe', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Bolanle_Awe property:place_of_birth ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1033
SYSTEM
Nigeria
Q1033
(Q22790289,P19,c(Q15617994))
action filter_type
action find
entity Q22790289
relation P19
type Q15617994
[ANSWER]
['Q22790289', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q22790289 property:P19 ?w . ?w rdf:type ontology:Q15617994 }
Nigeria
Nigeria
action filter_type
action find
entity Bolanle Awe
relation place of birth
type designation for an administrative territorial entity
['Bolanle Awe', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Bolanle_Awe property:place_of_birth ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22790289
P106
Q12737077
USER
What is the job of Bolanle Awe ?
(Q22790289,P106,c(Q12737077))
action filter_type
action find
entity Q22790289
relation P106
type Q12737077
['Q22790289', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q22790289 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Bolanle Awe
action filter_type
action find
entity Bolanle Awe
relation occupation
type occupation
['Bolanle Awe', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Bolanle_Awe property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q1622272
SYSTEM
university teacher
Q1622272
(Q22790289,P106,c(Q12737077))
action filter_type
action find
entity Q22790289
relation P106
type Q12737077
The job of Bolanle Awe is a [ANSWER]
['Q22790289', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q22790289 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
university teacher
The job of Bolanle Awe is a university teacher
university teacher
action filter_type
action find
entity Bolanle Awe
relation occupation
type occupation
['Bolanle Awe', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Bolanle_Awe property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22790289
P69
Q3918
USER
Where were that person educated ?
(Q1622272,P69,c(Q3918))
action filter_type
action find
entity Q22790289
relation P69
type Q3918
['Q1622272', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?c WHERE { resource:Q22790289 property:P69 ?c . ?c rdf:type ontology:Q3918 }
Bolanle Awe
action filter_type
action find
entity Bolanle Awe
relation educated at
type university
['university teacher', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?c WHERE { resource:Bolanle_Awe property:educated_at ?c . ?c rdf:type ontology:university }
[]
university
Q34433 Q216273
SYSTEM
University of Oxford, University of St Andrews
Q34433 Q216273
(Q1622272,P69,c(Q3918))
action filter_type
action find
entity Q22790289
relation P69
type Q3918
Educated that person were the [ANSWERS]
['Q1622272', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?c WHERE { resource:Q22790289 property:P69 ?c . ?c rdf:type ontology:Q3918 }
University of Oxford University of St Andrews
Educated that person were the University of Oxford and University of St Andrews
University of Oxford University of St Andrews
action filter_type
action find
entity Bolanle Awe
relation educated at
type university
['university teacher', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?c WHERE { resource:Bolanle_Awe property:educated_at ?c . ?c rdf:type ontology:university }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation|Incomplete
Q318192 Q22790289
P69
Q3918
USER
But not Robert Recorde
AND((Q22790289,P69,c(Q3918)), NOT((Q318192,P69,c(Q3918))))
action filter_type
action difference
action find
entity Q22790289
relation P69
action find
entity Q318192
relation P69
type Q3918
{'AND': [['Q22790289', 'P69', {'concept': 'Q3918'}], {'NOT': [['Q318192', 'P69', {'concept': 'Q3918'}]]}]}
SELECT DISTINCT ?e WHERE { resource:Q22790289 property:P69 ?e . FILTER NOT EXISTS { resource:Q318192 property:P69 ?e } . ?e rdf:type ontology:Q3918 }
Robert Recorde Bolanle Awe
action filter_type
action difference
action find
entity Bolanle Awe
relation educated at
action find
entity Robert Recorde
relation educated at
type university
{'AND': [['Bolanle Awe', 'educated at', {'concept': 'university'}], {'NOT': [['Robert Recorde', 'educated at', {'concept': 'university'}]]}]}
SELECT DISTINCT ?e WHERE { resource:Bolanle_Awe property:educated_at ?e . FILTER NOT EXISTS { resource:Robert_Recorde property:educated_at ?e } . ?e rdf:type ontology:university }
[]
university
Q216273
SYSTEM
University of St Andrews
Q216273
AND((Q22790289,P69,c(Q3918)), NOT((Q318192,P69,c(Q3918))))
action filter_type
action difference
action find
entity Q22790289
relation P69
action find
entity Q318192
relation P69
type Q3918
[ANSWER]
{'AND': [['Q22790289', 'P69', {'concept': 'Q3918'}], {'NOT': [['Q318192', 'P69', {'concept': 'Q3918'}]]}]}
SELECT DISTINCT ?e WHERE { resource:Q22790289 property:P69 ?e . FILTER NOT EXISTS { resource:Q318192 property:P69 ?e } . ?e rdf:type ontology:Q3918 }
University of St Andrews
University of St Andrews
action filter_type
action difference
action find
entity Bolanle Awe
relation educated at
action find
entity Robert Recorde
relation educated at
type university
{'AND': [['Bolanle Awe', 'educated at', {'concept': 'university'}], {'NOT': [['Robert Recorde', 'educated at', {'concept': 'university'}]]}]}
SELECT DISTINCT ?e WHERE { resource:Bolanle_Awe property:educated_at ?e . FILTER NOT EXISTS { resource:Robert_Recorde property:educated_at ?e } . ?e rdf:type ontology:university }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q216273 Q145 Q51346
P17
Q15617994
USER
Is that university situated in United Kingdom and Alanno ?
(Q216273,P17,Q145) (Q216273,P17,Q51346)
action is_in
entity Q216273
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q51346
relation P17
['Q216273', 'P17', 'Q145'] ['Q216273', 'P17', 'Q51346']
ASK WHERE { resource:Q216273 property:P17 resource:Q145 . resource:Q216273 property:P17 resource:Q51346 }
University of St Andrews United Kingdom Alanno
action is_in
entity University of St Andrews
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Alanno
relation country
['University of St Andrews', 'country', 'United Kingdom'] ['University of St Andrews', 'country', 'Alanno']
ASK WHERE { resource:University_of_St_Andrews property:country resource:United_Kingdom . resource:University_of_St_Andrews property:country resource:Alanno }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q216273,P17,Q145) (Q216273,P17,Q51346)
action is_in
entity Q216273
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q51346
relation P17
[ANSWER]
['Q216273', 'P17', 'Q145'] ['Q216273', 'P17', 'Q51346']
ASK WHERE { resource:Q216273 property:P17 resource:Q145 . resource:Q216273 property:P17 resource:Q51346 }
YES and NO respectively
action is_in
entity University of St Andrews
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Alanno
relation country
['University of St Andrews', 'country', 'United Kingdom'] ['University of St Andrews', 'country', 'Alanno']
ASK WHERE { resource:University_of_St_Andrews property:country resource:United_Kingdom . resource:University_of_St_Andrews property:country resource:Alanno }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q183 Q233 Q1798622
P530
Q15617994
USER
Does Germany have diplomatic relations with Malta and governorate ?
(Q183,P530,Q233) (Q183,P530,Q1798622)
action is_in
entity Q183
action intersection
action find_reverse
entity Q233
relation P530
action find_reverse
entity Q1798622
relation P530
['Q183', 'P530', 'Q233'] ['Q183', 'P530', 'Q1798622']
ASK WHERE { resource:Q183 property:P530 resource:Q1798622 . resource:Q183 property:P530 resource:Q233 }
Germany Malta governorate
action is_in
entity Germany
action intersection
action find_reverse
entity Malta
relation diplomatic relation
action find_reverse
entity governorate
relation diplomatic relation
['Germany', 'diplomatic relation', 'Malta'] ['Germany', 'diplomatic relation', 'governorate']
ASK WHERE { resource:Germany property:diplomatic_relation resource:governorate . resource:Germany property:diplomatic_relation resource:Malta }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q183,P530,Q233) (Q183,P530,Q1798622)
action is_in
entity Q183
action intersection
action find_reverse
entity Q233
relation P530
action find_reverse
entity Q1798622
relation P530
[ANSWER]
['Q183', 'P530', 'Q233'] ['Q183', 'P530', 'Q1798622']
ASK WHERE { resource:Q183 property:P530 resource:Q1798622 . resource:Q183 property:P530 resource:Q233 }
YES and NO respectively
action is_in
entity Germany
action intersection
action find_reverse
entity Malta
relation diplomatic relation
action find_reverse
entity governorate
relation diplomatic relation
['Germany', 'diplomatic relation', 'Malta'] ['Germany', 'diplomatic relation', 'governorate']
ASK WHERE { resource:Germany property:diplomatic_relation resource:governorate . resource:Germany property:diplomatic_relation resource:Malta }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3345003 Q34433
P19 P159
Q515
USER
Which cities are the headquarter locations of University of Oxford or are the places of birth of Anabell Rivero ?
OR((Q34433,P159,c(Q515)), (Q3345003,P19,c(Q515)))
action filter_type
action union
action find
entity Q34433
relation P159
action find
entity Q3345003
relation P19
type Q515
{'OR': [['Q34433', 'P159', {'concept': 'Q515'}], ['Q3345003', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q34433 property:P159 ?x } UNION { resource:Q3345003 property:P19 ?x } } . ?x rdf:type ontology:Q515 }
Anabell Rivero University of Oxford
action filter_type
action union
action find
entity University of Oxford
relation headquarters location
action find
entity Anabell Rivero
relation place of birth
type city
{'OR': [['University of Oxford', 'headquarters location', {'concept': 'city'}], ['Anabell Rivero', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?x WHERE { { { resource:University_of_Oxford property:headquarters_location ?x } UNION { resource:Anabell_Rivero property:place_of_birth ?x } } . ?x rdf:type ontology:city }
[]
city
Q34217 Q1533
SYSTEM
Oxford, Caracas
Q34217 Q1533
OR((Q34433,P159,c(Q515)), (Q3345003,P19,c(Q515)))
action filter_type
action union
action find
entity Q34433
relation P159
action find
entity Q3345003
relation P19
type Q515
[ANSWERS] are the headquarter locations of University of Oxford or are the places of birth of Anabell Rivero
{'OR': [['Q34433', 'P159', {'concept': 'Q515'}], ['Q3345003', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q34433 property:P159 ?x } UNION { resource:Q3345003 property:P19 ?x } } . ?x rdf:type ontology:Q515 }
Oxford Caracas
Oxford and Caracas are the headquarter locations of University of Oxford or are the places of birth of Anabell Rivero
Oxford Caracas
action filter_type
action union
action find
entity University of Oxford
relation headquarters location
action find
entity Anabell Rivero
relation place of birth
type city
{'OR': [['University of Oxford', 'headquarters location', {'concept': 'city'}], ['Anabell Rivero', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?x WHERE { { { resource:University_of_Oxford property:headquarters_location ?x } UNION { resource:Anabell_Rivero property:place_of_birth ?x } } . ?x rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q216273
P69
Q502895
USER
How many people were a student at University of St Andrews ?
(c(Q502895),P69,Q216273)
action count
action filter_type
action find_reverse
entity Q216273
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q216273']
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:P69 resource:Q216273 . ?k rdf:type ontology:Q502895 }
University of St Andrews
action count
action filter_type
action find_reverse
entity University of St Andrews
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'University of St Andrews']
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:educated_at resource:University_of_St_Andrews . ?k rdf:type ontology:common_name }
[]
common name
SYSTEM
580
Q2171001 Q11971849 Q122290 Q7666047 Q1818992 Q1545460 Q5314527 Q18822342 Q4772404 Q762659 Q16499754 Q5301648 Q6255617 Q15968658 Q5540606 Q5386021 Q5218270 Q20027888 Q20027887 Q5540237 Q6132938 Q5238367 Q7027627 Q5530727 Q4719176 Q10652 Q138545 Q1699692 Q6239728 Q336791 Q5363069 Q7129119 Q5606657 Q5233414 Q5233416 Q264776 Q4759006 Q415928 Q14949107 Q14949101 Q7147024 Q7273938 Q1965255 Q183094 Q7146103 Q1333546 Q10479 Q3529088 Q6265617 Q6234925 Q1057041 Q3435547 Q2381189 Q7323613 Q6265228 Q539740 Q189937 Q428771 Q2733305 Q4759020 Q14948908 Q7345628 Q7174292 Q5301783 Q365181 Q17496343 Q5980637 Q2846555 Q7176658 Q2679370 Q1168239 Q7791880 Q2778350 Q1452552 Q6140221 Q20876913 Q19974197 Q7626375 Q6253585 Q6396199 Q7173081 Q5239587 Q945584 Q7349851 Q5052595 Q5237883 Q6831367 Q15994530 Q5687941 Q1395145 Q16931392 Q16065446 Q6259484 Q239501 Q185189 Q335098 Q1681420 Q5342870 Q8010763 Q17479227 Q6221469 Q334357 Q336111 Q20638875 Q8015759 Q4757978 Q2580738 Q40852 Q5542024 Q4758647 Q5560962 Q26202440 Q3351364 Q1379123 Q337000 Q731300 Q3525786 Q110974 Q8016781 Q6218248 Q6218243 Q7525306 Q327716 Q3057222 Q7345761 Q16859686 Q1765791 Q19875413 Q6259369 Q7793611 Q20675599 Q4746344 Q2576989 Q2366276 Q981990 Q949230 Q5562197 Q1893669 Q5538687 Q21061986 Q3435583 Q5980547 Q1071778 Q6235759 Q5931547 Q2545334 Q336208 Q6939260 Q271715 Q16216842 Q5232255 Q6257060 Q7926251 Q5592245 Q7365086 Q1386031 Q4708698 Q3379658 Q7343609 Q6220640 Q7526389 Q5300247 Q7965822 Q5528093 Q5112204 Q1068423 Q7508992 Q4719383 Q18526760 Q1173876 Q6145133 Q5528082 Q7790601 Q7350924 Q7273530 Q5722337 Q7183366 Q8015083 Q1984955 Q6144041 Q6988345 Q5259168 Q9262058 Q5277105 Q7609085 Q20744503 Q443907 Q7328474 Q6831284 Q5026250 Q1329203 Q432469 Q20740843 Q14945739 Q606585 Q16301001 Q924515 Q4756925 Q22667001 Q6375541 Q8724383 Q15994264 Q389666 Q16844117 Q3473359 Q4682217 Q3760500 Q315495 Q3394805 Q7611985 Q4798413 Q1583870 Q5585891 Q5107831 Q5290642 Q7493168 Q1063733 Q4887283 Q7344388 Q2347891 Q7911329 Q7411132 Q5593262 Q718435 Q8007549 Q6768676 Q6227463 Q6135420 Q6135425 Q7323792 Q7175631 Q7342443 Q7527022 Q6220644 Q6236643 Q1439561 Q7790366 Q1285630 Q6218245 Q2758864 Q6548547 Q4756860 Q2714246 Q18632117 Q7965888 Q158997 Q5728359 Q3119932 Q435816 Q17152182 Q726447 Q1329542 Q6261611 Q5092338 Q17279172 Q708980 Q979180 Q7329843 Q8067753 Q16093358 Q1160532 Q6131474 Q5107495 Q5539745 Q647150 Q4730988 Q5536661 Q6405538 Q17022923 Q7804225 Q5764533 Q715169 Q5301258 Q24073731 Q130567 Q3701242 Q8010027 Q6270165 Q4491812 Q18187023 Q4756858 Q787355 Q7341573 Q1680238 Q21068968 Q6231534 Q1173183 Q4758102 Q16846432 Q6137832 Q4756845 Q6226786 Q5543435 Q380869 Q8018838 Q7528051 Q2729820 Q333737 Q6139627 Q563069 Q5341792 Q6303317 Q7341596 Q16030477 Q7343166 Q2157371 Q2005797 Q266113 Q19665789 Q4965541 Q5930356 Q15691498 Q16727760 Q6548477 Q5325544 Q6780738 Q361653 Q443409 Q8007164 Q5730781 Q5231630 Q6421564 Q5525004 Q4757717 Q6108724 Q5052989 Q6142092 Q20984109 Q3041243 Q902546 Q21062367 Q1176763 Q14948941 Q14949032 Q460882 Q6835295 Q5927430 Q5717117 Q18206675 Q5615845 Q7349275 Q4727291 Q20713752 Q2255249 Q4718875 Q7347224 Q272864 Q8019570 Q5146234 Q5497702 Q472470 Q6385005 Q15429254 Q5542239 Q6132711 Q7822902 Q7146565 Q7349218 Q5339786 Q5450000 Q7348958 Q4678639 Q7345453 Q20731776 Q804927 Q608491 Q11034074 Q92855 Q3434493 Q662282 Q4727309 Q6263348 Q262861 Q4708767 Q5145078 Q5232448 Q4764117 Q11309446 Q7174066 Q5387141 Q18228529 Q7788673 Q14949056 Q5314611 Q2855423 Q8014263 Q5720908 Q165801 Q6263367 Q5181289 Q3132606 Q5344073 Q2619904 Q16201883 Q335981 Q512837 Q2579868 Q19980399 Q4941212 Q16066471 Q923718 Q5111967 Q1677658 Q7793201 Q5542242 Q5537261 Q1173680 Q6759389 Q391169 Q5645403 Q313906 Q7790116 Q5538483 Q5538484 Q12052714 Q19877395 Q18160936 Q6290233 Q23768737 Q5083218 Q19561264 Q977300 Q1660944 Q19974328 Q6134688 Q1009482 Q6146548 Q6244095 Q6536279 Q7341887 Q5585740 Q2847762 Q707825 Q36812 Q7349365 Q159592 Q3036050 Q4965455 Q14949143 Q7320855 Q3124592 Q3546366 Q918958 Q7343419 Q21661765 Q349771 Q4719094 Q1887050 Q3509767 Q4758051 Q4861799 Q6143662 Q4718350 Q18228421 Q3161406 Q8014053 Q389096 Q719623 Q2482444 Q1750468 Q20984601 Q8017564 Q5240735 Q723850 Q6698589 Q3177551 Q334971 Q4799090 Q7038057 Q6143811 Q7349321 Q14949115 Q14949114 Q14949116 Q6143223 Q257054 Q5544425 Q4764236 Q5336488 Q14507348 Q14949108 Q1174850 Q8014086 Q2900101 Q7795379 Q6728744 Q334480 Q19881592 Q1028861 Q5478999 Q14949138 Q14949133 Q14949132 Q14949130 Q14949137 Q14949134 Q505827 Q4708685 Q892818 Q8009274 Q6792723 Q5981402 Q14949129 Q14949124 Q14949126 Q14949127 Q14949120 Q14949121 Q14949122 Q3161454 Q4892099 Q4678756 Q6130260 Q6525715 Q5337411 Q5540138 Q4719844 Q5231838 Q19931412 Q7052039 Q5294766 Q5528127 Q19958019 Q5728139 Q21664307 Q6226339 Q7422143 Q7341939 Q332940 Q5294774 Q8014338 Q18921993 Q5540157 Q6386679 Q5302141 Q509471 Q2835607 Q327823 Q16976820 Q7794019 Q20027836 Q6769664 Q5545371 Q1065382 Q18527348 Q5294141 Q15990340 Q510424 Q3275944 Q1140191 Q950764 Q6247277 Q5528165 Q4718296 Q6145273 Q14949118 Q7340868 Q7807460 Q7609408 Q15042554 Q22790289 Q750104 Q304095 Q18670628 Q995067 Q7018876 Q3806508 Q346723 Q8018078 Q7344222 Q1332801 Q5236638 Q5236637 Q24250052 Q74329 Q16858149 Q7342128 Q1348255 Q18619123 Q7171870
(c(Q502895),P69,Q216273)
action count
action filter_type
action find_reverse
entity Q216273
relation P69
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P69', 'Q216273']
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:P69 resource:Q216273 . ?k rdf:type ontology:Q502895 }
Andrew Gray George Kennedy Young Jean-Paul Marat Séon Carsuel Leonard Huxley Peter John Wyllie Duncan McNeill, 1st Baron Colonsay Bill Harris Anthony Dickson Home Patrick Adamson Stephen A. Hayner Douglas J. Moo John Rose David Niven George Hill Eric Anderson Daniel Noble Hugh Ross Bob Reid George Hargreaves James Dundas David Panter Nick Nuttall Gemma Prescott Alexander Hume Alex Salmond John Scott Russell John Cuckney, Baron Cuckney John Honey Elizabeth Carnegy, Baroness Carnegy of Lour Elizabeth Kerner Pamela Chesters Gregor MacGregor David Erskine, 11th Earl of Buchan David Erskine Angie Bray Andrew Zawacki Akanu Ibiam Muffy Calder Joseph Bancroft Patrick Lindsay R. R. Rockingham Gill Narendra Patel, Baron Patel Adam Ferguson Patrick Bell Thomas Bowdler Catherine, Duchess of Cambridge Timothy Williams John de Ralston John Garrow Patrick Brydone Robert Jones James Beaton Richard Abbott John Young Bown Joe Ward John Knox Robert Henryson Saba Douglas-Hamilton Andrew de Durisdeer William Colvill Robert Horton Peter Goodwin Douglas Mason James Wilson Ernest William Brady Iain Torrance Andrew Balfour Peter Rollock James Drummond, 4th Earl of Perth Henry Craik Thomas Livingston Douglas Argyll Robertson Fred Watson James Mylne Paul Litchfield Thomas Lockhart Stuart Butler John Purvis Kevin Dunion Peter Burt David Scott Neil Smith Robert Small Catherine Cobham David N. Hempton Michael J. Belton Rosemary Hutton Hazel Irvine Michelle Duncan Iain Campbell David Berry John Stroyan Fay Weldon William Cullen, Baron Cullen of Whitekirk Thomas Bruce, 7th Earl of Elgin Jamie Stone Edward Farrer William Hamilton Andrew Jameson, Lord Ardwall John Bellenden Michael Forsyth, Baron Forsyth of Drumlean Lynda Clark, Baroness Clark of Calton Raymond Keiller Butchart William Moodie Andrew McLellan William Tennant Edward Jenner George Mackenzie, 1st Earl of Cromartie Andrew Stewart Gilbert Hay Elizabeth Cutter Olivier Sarkozy James Wedderburn Alexander Henderson Ian Stevenson Kim Elgie James Black William Perfect John Adamson John Adamson Siobhan Redmond Hugo Swire Ernest William Lyons Holt Robert I. Frost Alexander Dicsone Thomas Shaw, 1st Baron Craigmyle Chris Law John Strang Thomas Rodger Morris McInnes Amina Mama William Wallace Patrick Forbes Robert Fergusson Francis Robert Japp Gillian Baverstock Marco Biagi George Durie Daniel Hutto Robert Kirk Iain McHardy Chic Brodie John Gordon Hugh Lyon Playfair Walter Ledermann Alexander Scrymgeour, 12th Earl of Dundee Murray Grigor Christopher Chope Luke Williams David Caves John Scott Victor Premasagar Graeme Davis Ronald Mackay Alexander Wilson Alastair Crooke Philippe Cousteau, Jr. Robert Douglas John Barclay Sir David Carnegie, 4th Baronet Doug Anderson Walter Perry Gavin Campbell, 1st Marquess of Breadalbane Christopher Davidson Douglas Scott Falconer Sidney Clarke Alexander Leighton James Gourlay Clunie David Butler James Wardrop Gavin Brown Thomas Henry Duthie Robert Wedderburn R. C. Stevenson Henry Guthry Philip Colbert William Manderstown Nicholas Moore James Taylor Neil Campbell Denny Delk Frances Murray Dilys Breese Stephen Doughty Ria Lina G. W. S. Barrow Richard Poole Michael Hulse Cameron Glasgow Peter Comensoli James Browne Iain Ferguson Roger Lewis Richard Oram Jules Knight Hugh Blair Andrew Fairfoul Ben Twiston-Davies Kate Holt Patrick Abercromby John Maxwell Anderson John Playfair Hugh Montgomerie, 3rd Earl of Eglinton Sarah Hall Adenike Grange George Gillespie Ian McDiarmid Norman Kemp Smith Steve Boardman Arthur David Ritchie James Bowman Lindsay Gordon Sutherland Chris Rea Dominic Sandbrook Sheila Watson Charles B. Macdonald Benedict Jones Robert Fleming Stewart Duke-Elder Valerie Sanderson Samuel Cockburn Graham Spiers Bertie Charles Forbes William Dalrymple Mark M. Newell John Craig James Halyburton James Hamilton, 1st Viscount Claneboye Richard Arthur Peter Mandaville Robert Bruce Sir Guy Campbell, 5th Baronet John Barclay John Guthrie Gordon Jackson Thomas Halyburton Marlyn Glen John Adamson Alexander Duff Lily Nicksay Andrew Dutney Andrew Bell Helen-Ann Hartley Walter Quin Russell Kirk Henry Sinclair William Chisholm John Arbuthnot Jack Somerville William Wright Jay Parini John Urquhart Cameron Cherry Drummond, 16th Baroness Strange Belinda Wilkes Patrick Hamilton James Graham, 1st Marquis of Montrose Richard Watson Dickson Zbigniew Pełczyński Emily Lyle Daniel Edwin Rutherford James Clinkskill Chris Morgan George Gledstanes William Dunbar Allan Stewart George Ballingall Kieron O'Hara Angus Wallace Tim Samuels John Goodsir George Buchanan Douglas Black Mike Glazer John Fulton, Baron Fulton Damian Hopley William Gordon Rutherfurd Jolyon Connell Duncan Forbes Dick W. Emuchay Andrew Durie Maxwell T. Masters Robert Archibald Armstrong James D. Murray James Crabb John Elder Dave Duncan Andrew Nairne Ifedayo Oladapo James Law Andrew Duncan John Colville George Pirie Alastair Reynolds William Stewart Sir John Scott of Scotstarvet John Wood Lyon Playfair, 1st Baron Playfair James Melville Thomas Chalmers Edward Barry Judith Bumpus Robert Arnot William Alexander Young Robert Cox Robert Groves Sandeman William Craigie Malcolm Bruce José Zalabardo Brian Viner Hugh Cleghorn Thomas Finlayson Henderson Joan Busfield Lily Dougall Eamonn Butler Mary Snell-Hornby James A. Michener Catherine Stihler William Couper Henry de Lichton David Boyle, Lord Boyle Klyne Snodgrass Gary Dunion Andrew Lawrence Richard Webb Duarte Catherine Zara Raymond James Riddell Marco Schöller Duncan Macrae Thomas Thomson Lindy Grant David Stuart James Graeme John Tulloch Jonathan Taylor Thomas Michael Wesley Hubert Lacey Henry Adamson Okechukwu Nwadiuto Emuchay Guildford Slingsby Robert Richardson Alistair Irwin Philippa Roe James Crichton Alexander Forbes Robert MacGregor Mitchell James II of Scotland William Turnbull Colleen Bell Frederick Easson William Elford Leach Keith Shannon Nicola Clayton George Mathewson James Donaldson Tony Mason Patrick Gillespie Robert Reid Edmund Robertson, 1st Baron Lochee Findlay S. Douglas Robert Pont Adam Anderson Robert Herbert Story Peter Dangerfield Balfour Stewart Alan Haworth, Baron Haworth John Glas Ian Sommerville Robert Balfour James Ogilvy Alistair Moffat John Wedderburn Danny Blanchflower Alastair Reid Colin Falconer David Cockburn Angus Fulton James Main Dixon Peter Francis Eric Motley Iain T. A. C. Adamson Thomas Craig Matthew Armour Duncan Sommerville John Scott Keltie William Lamb alias Paniter Henry Erskine Hilary McKay John Weemes Craig Oliver Henry Balnaves Edward Lawrence Wheelwright Archibald Constable Michael Byers John Hamilton-Gordon, 1st Marquess of Aberdeen and Temair Anne Pringle William Maitland of Lethington Aleksandar Boskovic Bonaventure Hepburn Lord Colin Campbell Robert Aytoun Christopher Booth William Douglas, 10th Earl of Angus Thomas Pole George Matthew McNaughton George Britton Halford David Beaton Margaret Fairlie Barry Gardiner Hamish Watt James Gregory Thomas Goss George Dempster of Dunnichen George Denholm Armour Hikmat Abu Zayd E. Calvin Beisner Deirdre Mullins Joshua Stacher Asha de Vos Charles W. J. Withers Gordon Lowden Archibald Campbell, 1st Marquess of Argyll John Hunt Alexander Gunn James Glenie George Mackenzie Jamie Allan Brown John Lauder Lewis Ayres Robert Baron Gordon Ritchie Andrew Forman Michael Berry Prince William, Duke of Cambridge Robert Rollock John Napier Donald MacCrimmon MacKay Brian Taylor Colin Young Rhoda Power William Forbes Skene Tyrone Howe John Leslie Robert Davidson Bryan Molloy Andrew Melville Alexander Haslam Malcolm Longair Victor Omololu Olunloyo Andrew Montford Barney White-Spunner James Stuart Stewart Alexander Berry Barbara Woodward James Sharp William Kirk Dickson Gavin Douglas Robert Moray Frank Close Leslie Hilton Brown Andrew H. Wallace William Richmond David W. Potter David Lyndsay Lucy Yeomans Jerzy Pietrkiewicz John Campbell, 9th Duke of Argyll Arthur Hobhouse Nina Myskow James Stuart Robert Robertson Zoe Fairbairns Sir John Eliot, 1st Baronet Henry Forrest James Simson Dougal Dixon George Sessford Angus Robertson Fulton Eddie Shirras Thomas Simson Pratt William Crichton David Jackson William Knighton Bethwell Allan Ogot Thomas Young Madsen Pirie George Reid Calum Kerr Donald Luddington Frances Ward George Wishart John Paterson John Munro of Tain Louise Minchin John Winram Alan T. Peacock Andrew Lang Alastair Balls John Graham, 1st Viscount Dundee William Fowler Maureen Muggeridge Ian Diamond John Mantle John Alfred Lush Margaret MacPherson John Macrae John Jebb John Forfar Frances Josephy James Valentine Berkeley Smith Adam Bond James Brodie of Brodie Leonard Searle Edgar Paul Boyko George Hadow Alexander Philip, Lord Philip David Bruce Nicolas Vilant Norman Cameron Donald Macgregor Gavin Dunbar Vanessa Harding Henry Scrimgeour Peter Comrie John Clephane Sarah Bryant Robert Batty John MacGregor, Baron MacGregor of Pulham Market Donald Mackenzie Smeaton William Lauder John Sackville George Haliburton Kelvin Holdsworth Douglas Young William Wright Alfredo Lalanne Desmond Swayne Ian Duncan Thomas Smeton Alexander M. S. Green Mark Sedwill George Turner Orton Charles Lyell George Cook Donald Campbell Michael Ward John Hutton Balfour Helen Bannerman Crispin Bonham-Carter James Alexander Green John Maxwell Gavin Hamilton Alexander Balfour James Wedderburn James Guthrie Robbie Collin Timothy Pont Stephen Haliczer Andrew Mackenzie Bolanle Awe Mark Lazarowicz Michael Fallon Abraham Hume Bryan Nelson Thomas Dundas, 1st Baron Dundas James Irvine Golding Bird William Samson Robert F. Thompson William M'Intosh David Lindsay David Lindsay Sabina Klimek Lewis Moonie, Baron Moonie David Page Robert Blackadder John Pringle Peter Daniel Anthonisz Pete Brown
580
action count
action filter_type
action find_reverse
entity University of St Andrews
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'University of St Andrews']
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:educated_at resource:University_of_St_Andrews . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P194
Q1752346 Q11204 Q15617994
USER
Which administrative territories have max number of assemblies and legislatures as their representative body ?
(c(Q15617994),P194,c(Q1752346)|c(Q11204))
action argmax
action union
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action find_tuple_counts
relation P194
type Q15617994
type Q11204
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?o ) { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?w ) WHERE { VALUES ( ?i ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } . ?y rdf:type ?i } GROUP BY ?n } } . { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?e ) WHERE { { ?m property:P194 ?q . ?m rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1752346 } UNION { ?m rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q11204 . ?m property:P194 ?q } } GROUP BY ?m } . FILTER ( ?e = ?o ) }
action argmax
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?o ) { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?w ) WHERE { VALUES ( ?i ) { ( ontology:assembly ) ( ontology:legislature ) } . ?y rdf:type ?i } GROUP BY ?n } } . { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?e ) WHERE { { ?m property:legislative_body ?q . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:assembly } UNION { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:legislature . ?m property:legislative_body ?q } } GROUP BY ?m } . FILTER ( ?e = ?o ) }
[]
assembly legislature designation for an administrative territorial entity
Q159 Q948 Q794
SYSTEM
Russia, Tunisia, Iran
Q159 Q794 Q6465 Q948
(c(Q15617994),P194,c(Q1752346)|c(Q11204))
action argmax
action union
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action find_tuple_counts
relation P194
type Q15617994
type Q11204
[ANSWERS] have max number of assemblies and legislatures as their representative body
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?o ) { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?w ) WHERE { VALUES ( ?i ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } . ?y rdf:type ?i } GROUP BY ?n } } . { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?e ) WHERE { { ?m property:P194 ?q . ?m rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1752346 } UNION { ?m rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q11204 . ?m property:P194 ?q } } GROUP BY ?m } . FILTER ( ?e = ?o ) }
Russia Iran department of France Tunisia
Russia, Tunisia and Iran have max number of assemblies and legislatures as their representative body
Russia Tunisia Iran
action argmax
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?o ) { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?w ) WHERE { VALUES ( ?i ) { ( ontology:assembly ) ( ontology:legislature ) } . ?y rdf:type ?i } GROUP BY ?n } } . { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?e ) WHERE { { ?m property:legislative_body ?q . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:assembly } UNION { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:legislature . ?m property:legislative_body ?q } } GROUP BY ?m } . FILTER ( ?e = ?o ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
Which administrative territories were the sources of inspiration for approximately the same number of fictional locations as that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|More/Less|Single entity type|Clarification
Q948
SYSTEM
Did you mean Tunisia ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean Tunisia ?
Tunisia
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant Iran. Could you tell me the answer for that?
(c(Q3895768),P941,c(Q15617994))
Q794
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
Q159 Q55 Q142
SYSTEM
Russia, Netherlands, France
Q142 Q159 Q424 Q794 Q33 Q954 Q31 Q889 Q55
(c(Q3895768),P941,c(Q15617994))
[ANSWERS] were the sources of inspiration for approximately the same number of fictional locations as that administrative territory
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
France Russia Cambodia Iran Finland Zimbabwe Belgium Afghanistan Netherlands
Russia, Netherlands and France were the sources of inspiration for approximately the same number of fictional locations as that administrative territory
Russia Netherlands France
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories are known to have diplomatic connections with approximately 66 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 66
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { FILTER ( ?m = 66 ) . { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?m ) WHERE { ?p rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 . ?p property:P530 ?d } GROUP BY ?p } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 66
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { FILTER ( ?m = 66 ) . { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?m ) WHERE { ?p rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?d } GROUP BY ?p } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q408 Q16
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 66
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { FILTER ( ?m = 66 ) . { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?m ) WHERE { ?p rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 . ?p property:P530 ?d } GROUP BY ?p } }
Australia Canada
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 66
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { FILTER ( ?m = 66 ) . { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?m ) WHERE { ?p rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?d } GROUP BY ?p } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2947463 Q22790289
P27
Q15617994
USER
Which administrative territories are Bolanle Awe or In Jae-keun a civilian of ?
OR((Q22790289,P27,c(Q15617994)), (Q2947463,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q22790289
relation P27
action find
entity Q2947463
relation P27
type Q15617994
{'OR': [['Q22790289', 'P27', {'concept': 'Q15617994'}], ['Q2947463', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { { resource:Q22790289 property:P27 ?u } UNION { resource:Q2947463 property:P27 ?u } } }
In Jae-keun Bolanle Awe
action filter_type
action union
action find
entity Bolanle Awe
relation country of citizenship
action find
entity In Jae-keun
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bolanle Awe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['In Jae-keun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Bolanle_Awe property:country_of_citizenship ?u } UNION { resource:In_Jae-keun property:country_of_citizenship ?u } } }
[]
designation for an administrative territorial entity
Q884 Q1033
SYSTEM
South Korea, Nigeria
Q884 Q1033
OR((Q22790289,P27,c(Q15617994)), (Q2947463,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q22790289
relation P27
action find
entity Q2947463
relation P27
type Q15617994
[ANSWERS] are Bolanle Awe or In Jae-keun a civilian of
{'OR': [['Q22790289', 'P27', {'concept': 'Q15617994'}], ['Q2947463', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { { resource:Q22790289 property:P27 ?u } UNION { resource:Q2947463 property:P27 ?u } } }
South Korea Nigeria
South Korea and Nigeria are Bolanle Awe or In Jae-keun a civilian of
South Korea Nigeria
action filter_type
action union
action find
entity Bolanle Awe
relation country of citizenship
action find
entity In Jae-keun
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bolanle Awe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['In Jae-keun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Bolanle_Awe property:country_of_citizenship ?u } UNION { resource:In_Jae-keun property:country_of_citizenship ?u } } }
[]