Simple Question (Direct)
Simple Question
Q7762341
P161
Q502895
USER
Who were casted in The Savage Eye ?
(Q7762341,P161,c(Q502895))
action filter_type
action find
entity Q7762341
relation P161
type Q502895
['Q7762341', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q7762341 property:P161 ?b . ?b rdf:type ontology:Q502895 }
The Savage Eye
action filter_type
action find
entity The Savage Eye
relation cast member
type common name
['The Savage Eye', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Savage_Eye property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
common name
Q1456739 Q4858739 Q562339
SYSTEM
Herschel Bernardi, Barbara Baxley, Gary Merrill
Q1456739 Q4858739 Q562339
(Q7762341,P161,c(Q502895))
action filter_type
action find
entity Q7762341
relation P161
type Q502895
[ANSWERS] were casted in The Savage Eye
['Q7762341', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q7762341 property:P161 ?b . ?b rdf:type ontology:Q502895 }
Herschel Bernardi Barbara Baxley Gary Merrill
Herschel Bernardi, Barbara Baxley and Gary Merrill were casted in The Savage Eye
Herschel Bernardi Barbara Baxley Gary Merrill
action filter_type
action find
entity The Savage Eye
relation cast member
type common name
['The Savage Eye', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Savage_Eye property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1456739 Q4858739 Q562339
P161
Q838948
USER
Which works of art have those people in their star cast ?
(c(Q838948),P161,Q1456739) (c(Q838948),P161,Q4858739) (c(Q838948),P161,Q562339)
action filter_type
action find_reverse
entity prev_answer
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1456739'] [{'concept': 'Q838948'}, 'P161', 'Q4858739'] [{'concept': 'Q838948'}, 'P161', 'Q562339']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q838948 . ?y property:P161 ?g . VALUES ( ?g ) { ( resource:Q1456739 ) ( resource:Q4858739 ) ( resource:Q562339 ) } }
Herschel Bernardi Barbara Baxley Gary Merrill
action filter_type
action find_reverse
entity prev_answer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Herschel Bernardi'] [{'concept': 'work of art'}, 'cast member', 'Barbara Baxley'] [{'concept': 'work of art'}, 'cast member', 'Gary Merrill']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:work_of_art . ?y property:cast_member ?g . VALUES ( ?g ) { ( resource:Herschel_Bernardi ) ( resource:Barbara_Baxley ) ( resource:Gary_Merrill ) } }
[]
work of art
Q1129778 Q200299 Q387370
SYSTEM
East of Eden, All About Eve, Irma la Douce
Q387370 Q7762341 Q1152663 Q7044096 Q18153008 Q1197204 Q6937726 Q616491 Q7762341 Q824784 Q4659843 Q1129778 Q3546792 Q5265137 Q12126581 Q3875596 Q1398816 Q20814486 Q1660685 Q1422473 Q747912 Q1304513 Q7762341 Q2497079 Q3988351 Q1263867 Q1194888 Q3821999 Q212675 Q25835 Q21527747 Q3202745 Q787765 Q603803 Q1755917 Q2292627 Q13423529 Q3906084 Q1345327 Q200299 Q3178503 Q7759101
(c(Q838948),P161,Q1456739) (c(Q838948),P161,Q4858739) (c(Q838948),P161,Q562339)
action filter_type
action find_reverse
entity prev_answer
relation P161
type Q838948
[ANSWERS] have those people in their star cast
[{'concept': 'Q838948'}, 'P161', 'Q1456739'] [{'concept': 'Q838948'}, 'P161', 'Q4858739'] [{'concept': 'Q838948'}, 'P161', 'Q562339']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q838948 . ?y property:P161 ?g . VALUES ( ?g ) { ( resource:Q1456739 ) ( resource:Q4858739 ) ( resource:Q562339 ) } }
Irma la Douce The Savage Eye Journey Back to Oz No Deposit, No Return 1001 Arabian Nights The Front Murder by Contract Love with the Proper Stranger The Savage Eye Countdown A Stranger Is Watching East of Eden Witness to Murder Destination Inner Space Night Without Sleep The Incident Where the Sidewalk Ends Crash Landing The Pleasure of His Company Slattery's Hurricane The Frogmen Phone Call from a Stranger The Savage Eye Around the World Under the Sea The Missouri Traveler The Last Challenge Twelve O'Clock High The Girl in White Mysterious Island Cast a Giant Shadow The Human Jungle The Wonderful Country The Great Impostor Clambake The Power Winged Victory The Black Dakotas Run, Psycho, Run Decision Before Dawn All About Eve Another Man's Poison The Quiet One
East of Eden, All About Eve and Irma la Douce have those people in their star cast
East of Eden All About Eve Irma la Douce
action filter_type
action find_reverse
entity prev_answer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Herschel Bernardi'] [{'concept': 'work of art'}, 'cast member', 'Barbara Baxley'] [{'concept': 'work of art'}, 'cast member', 'Gary Merrill']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:work_of_art . ?y property:cast_member ?g . VALUES ( ?g ) { ( resource:Herschel_Bernardi ) ( resource:Barbara_Baxley ) ( resource:Gary_Merrill ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q200299
P2554
Q502895
USER
Which person created the production designs of All About Eve ?
(Q200299,P2554,c(Q502895))
action filter_type
action find
entity Q200299
relation P2554
type Q502895
['Q200299', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q200299 property:P2554 ?h . ?h rdf:type ontology:Q502895 }
All About Eve
action filter_type
action find
entity All About Eve
relation production designer
type common name
['All About Eve', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:All_About_Eve property:production_designer ?h . ?h rdf:type ontology:common_name }
[]
common name
Q586320
SYSTEM
Lyle R. Wheeler
Q586320
(Q200299,P2554,c(Q502895))
action filter_type
action find
entity Q200299
relation P2554
type Q502895
The [ANSWER] created the production designs of All About Eve
['Q200299', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q200299 property:P2554 ?h . ?h rdf:type ontology:Q502895 }
Lyle R. Wheeler
The Lyle R. Wheeler created the production designs of All About Eve
Lyle R. Wheeler
action filter_type
action find
entity All About Eve
relation production designer
type common name
['All About Eve', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:All_About_Eve property:production_designer ?h . ?h rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q586320 Q624396
P27
Q15617994
USER
Does Lyle R. Wheeler belong to Wehretal ?
(Q586320,P27,Q624396)
action is_in
entity Q624396
action find
entity Q586320
relation P27
['Q586320', 'P27', 'Q624396']
ASK WHERE { resource:Q586320 property:P27 resource:Q624396 }
Lyle R. Wheeler Wehretal
action is_in
entity Wehretal
action find
entity Lyle R. Wheeler
relation country of citizenship
['Lyle R. Wheeler', 'country of citizenship', 'Wehretal']
ASK WHERE { resource:Lyle_R._Wheeler property:country_of_citizenship resource:Wehretal }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q586320,P27,Q624396)
action is_in
entity Q624396
action find
entity Q586320
relation P27
[ANSWER]
['Q586320', 'P27', 'Q624396']
ASK WHERE { resource:Q586320 property:P27 resource:Q624396 }
No
action is_in
entity Wehretal
action find
entity Lyle R. Wheeler
relation country of citizenship
['Lyle R. Wheeler', 'country of citizenship', 'Wehretal']
ASK WHERE { resource:Lyle_R._Wheeler property:country_of_citizenship resource:Wehretal }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4858739 Q7978913
P27
Q15617994
USER
Is Barbara Baxley a civilian of Webster County School District ?
(Q4858739,P27,Q7978913)
action is_in
entity Q7978913
action find
entity Q4858739
relation P27
['Q4858739', 'P27', 'Q7978913']
ASK WHERE { resource:Q4858739 property:P27 resource:Q7978913 }
Barbara Baxley Webster County School District
action is_in
entity Webster County School District
action find
entity Barbara Baxley
relation country of citizenship
['Barbara Baxley', 'country of citizenship', 'Webster County School District']
ASK WHERE { resource:Barbara_Baxley property:country_of_citizenship resource:Webster_County_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4858739,P27,Q7978913)
action is_in
entity Q7978913
action find
entity Q4858739
relation P27
[ANSWER]
['Q4858739', 'P27', 'Q7978913']
ASK WHERE { resource:Q4858739 property:P27 resource:Q7978913 }
No
action is_in
entity Webster County School District
action find
entity Barbara Baxley
relation country of citizenship
['Barbara Baxley', 'country of citizenship', 'Webster County School District']
ASK WHERE { resource:Barbara_Baxley property:country_of_citizenship resource:Webster_County_School_District }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q7462389 Q4858739
P27
Q15617994
USER
Which administrative territories do Barbara Baxley and Shai Reshef belong to ?
AND((Q4858739,P27,c(Q15617994)), (Q7462389,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q4858739
relation P27
action find
entity Q7462389
relation P27
type Q15617994
{'AND': [['Q4858739', 'P27', {'concept': 'Q15617994'}], ['Q7462389', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q7462389 property:P27 ?o . resource:Q4858739 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Shai Reshef Barbara Baxley
action filter_type
action intersection
action find
entity Barbara Baxley
relation country of citizenship
action find
entity Shai Reshef
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Barbara Baxley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Shai Reshef', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Shai_Reshef property:country_of_citizenship ?o . resource:Barbara_Baxley property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q4858739,P27,c(Q15617994)), (Q7462389,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q4858739
relation P27
action find
entity Q7462389
relation P27
type Q15617994
Barbara Baxley and Shai Reshef belong to the [ANSWER]
{'AND': [['Q4858739', 'P27', {'concept': 'Q15617994'}], ['Q7462389', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q7462389 property:P27 ?o . resource:Q4858739 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
United States of America
Barbara Baxley and Shai Reshef belong to the United States of America
United States of America
action filter_type
action intersection
action find
entity Barbara Baxley
relation country of citizenship
action find
entity Shai Reshef
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Barbara Baxley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Shai Reshef', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Shai_Reshef property:country_of_citizenship ?o . resource:Barbara_Baxley property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q30 Q408
P530
Q1048835
USER
Does Australia have a diplomatic relationship with United States of America ?
(Q30,P530,Q408)
action is_in
entity Q408
action find
entity Q30
relation P530
['Q30', 'P530', 'Q408']
ASK WHERE { resource:Q30 property:P530 resource:Q408 }
United States of America Australia
action is_in
entity Australia
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Australia']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Australia }
[]
political territorial entity
SYSTEM
YES
(Q30,P530,Q408)
action is_in
entity Q408
action find
entity Q30
relation P530
[ANSWER]
['Q30', 'P530', 'Q408']
ASK WHERE { resource:Q30 property:P530 resource:Q408 }
Yes
action is_in
entity Australia
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Australia']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Australia }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q664511 Q408
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Australia and are Mezilesí present in ?
AND((Q408,P530,c(Q15617994)), (Q664511,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q664511
relation P17
type Q15617994
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q664511', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { resource:Q408 property:P530 ?c . resource:Q664511 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Mezilesí Australia
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Mezilesí
relation country
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Mezilesí', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { resource:Australia property:diplomatic_relation ?c . resource:Mezilesí property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
AND((Q408,P530,c(Q15617994)), (Q664511,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q664511
relation P17
type Q15617994
[ANSWER] have diplomatic relationships with Australia and are Mezilesí present in
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q664511', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { resource:Q408 property:P530 ?c . resource:Q664511 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Czech Republic
Czech Republic have diplomatic relationships with Australia and are Mezilesí present in
Czech Republic
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Mezilesí
relation country
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Mezilesí', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { resource:Australia property:diplomatic_relation ?c . resource:Mezilesí property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213
P47
Q1048835
USER
Which political territories are adjacent to that administrative territory ?
(Q213,P47,c(Q1048835))
action filter_type
action find
entity Q213
relation P47
type Q1048835
['Q213', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q213 property:P47 ?k . ?k rdf:type ontology:Q1048835 }
Czech Republic
action filter_type
action find
entity Czech Republic
relation shares border with
type political territorial entity
['Czech Republic', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Czech_Republic property:shares_border_with ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q40
SYSTEM
Germany, Austria
Q183 Q40
(Q213,P47,c(Q1048835))
action filter_type
action find
entity Q213
relation P47
type Q1048835
[ANSWERS] are adjacent to that administrative territory
['Q213', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q213 property:P47 ?k . ?k rdf:type ontology:Q1048835 }
Germany Austria
Germany and Austria are adjacent to that administrative territory
Germany Austria
action filter_type
action find
entity Czech Republic
relation shares border with
type political territorial entity
['Czech Republic', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Czech_Republic property:shares_border_with ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q578908
Q1048835
USER
And also tell me about Tormos?
(Q578908,P47,c(Q1048835))
action filter_type
action find
entity Q578908
relation P47
type Q1048835
['Q578908', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q578908 property:P47 ?c . ?c rdf:type ontology:Q1048835 }
Tormos
action filter_type
action find
entity Tormos
relation shares border with
type political territorial entity
['Tormos', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Tormos property:shares_border_with ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q102835 Q1637136 Q1753061
SYSTEM
Pego, Benimeli, Benidoleig
Q1637136 Q1983198 Q1995214 Q983550 Q102835 Q1753061 Q1983216
(Q578908,P47,c(Q1048835))
action filter_type
action find
entity Q578908
relation P47
type Q1048835
[ANSWERS]
['Q578908', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q578908 property:P47 ?c . ?c rdf:type ontology:Q1048835 }
Benimeli El Ràfol d'Almúnia Sagra, Alicante Orba Pego Benidoleig Sanet y Negrals
Pego Benimeli Benidoleig
action filter_type
action find
entity Tormos
relation shares border with
type political territorial entity
['Tormos', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Tormos property:shares_border_with ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q538335
P825
Q502895 Q44539 Q7725634
USER
How many people are more number of temples or literary works dedicated to than Marianne Kirchgessner ?
(c(Q44539)|c(Q7725634),P825,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q538335
relation P825
type Q44539
type Q7725634
[[{'concept': 'Q44539'}, {'concept': 'Q7725634'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) ?d WHERE { { ?d rdf:type ontology:Q502895 . ?w rdf:type ontology:Q44539 . ?w property:P825 ?d } UNION { ?w property:P825 ?d . ?d rdf:type ontology:Q502895 . ?w rdf:type ontology:Q7725634 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:P825 resource:Q538335 . { { ?i rdf:type ontology:Q44539 } UNION { ?i rdf:type ontology:Q7725634 } } } } . FILTER ( ?e > ?v ) }
Marianne Kirchgessner
action count
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity Marianne Kirchgessner
relation dedicated to
type temple
type literary work
[[{'concept': 'temple'}, {'concept': 'literary work'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) ?d WHERE { { ?d rdf:type ontology:common_name . ?w rdf:type ontology:temple . ?w property:dedicated_to ?d } UNION { ?w property:dedicated_to ?d . ?d rdf:type ontology:common_name . ?w rdf:type ontology:literary_work } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:dedicated_to resource:Marianne_Kirchgessner . { { ?i rdf:type ontology:temple } UNION { ?i rdf:type ontology:literary_work } } } } . FILTER ( ?e > ?v ) }
[]
common name temple literary work
SYSTEM
147
Q152457 Q7402197 Q4304989 Q4452364 Q7859824 Q4218975 Q534049 Q16846308 Q314700 Q392 Q770633 Q207113 Q20748855 Q44344 Q16202312 Q183126 Q88927 Q457903 Q43675 Q2575112 Q3109901 Q44047 Q448890 Q161775 Q48438 Q283447 Q179718 Q2974965 Q9200 Q43999 Q2639031 Q2959955 Q44269 Q7683954 Q7401372 Q4218947 Q442516 Q151967 Q192236 Q7446899 Q200895 Q1889720 Q33923 Q43945 Q4275175 Q1284971 Q612390 Q704817 Q23900430 Q170547 Q43399 Q244383 Q244380 Q460876 Q5249703 Q8023 Q381815 Q2381536 Q170726 Q43600 Q737198 Q466428 Q20683560 Q369691 Q43982 Q44248 Q1078192 Q454840 Q236326 Q3401960 Q163900 Q7179512 Q17590 Q6695484 Q160445 Q5623897 Q18535501 Q2361972 Q44024 Q44020 Q6955878 Q1714244 Q3392202 Q3398098 Q1088014 Q20757530 Q2454699 Q8018 Q272280 Q165479 Q316599 Q5318618 Q13132095 Q4161262 Q167477 Q297742 Q2093405 Q183332 Q19595674 Q2722964 Q7402252 Q27036912 Q23892327 Q2360522 Q13131020 Q3401592 Q354519 Q3399340 Q457433 Q44015 Q128267 Q3398315 Q23894387 Q23991012 Q581537 Q133704 Q164294 Q7401328 Q328804 Q504529 Q163366 Q6804706 Q17509259 Q43669 Q18126070 Q558148 Q31966 Q16859956 Q1834624 Q503886 Q1183310 Q360798 Q63070 Q680538 Q894757 Q7110271 Q51885 Q40662 Q80513 Q1293017 Q743830 Q3405091 Q16636868 Q331697 Q13132105 Q3305109 Q5623522
(c(Q44539)|c(Q7725634),P825,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q538335
relation P825
type Q44539
type Q7725634
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q7725634'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) ?d WHERE { { ?d rdf:type ontology:Q502895 . ?w rdf:type ontology:Q44539 . ?w property:P825 ?d } UNION { ?w property:P825 ?d . ?d rdf:type ontology:Q502895 . ?w rdf:type ontology:Q7725634 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:P825 resource:Q538335 . { { ?i rdf:type ontology:Q44539 } UNION { ?i rdf:type ontology:Q7725634 } } } } . FILTER ( ?e > ?v ) }
Saint Roch Saint Sulien Mawgan Tathan Tyfrydog Saint Keyne Saint Petroc Saint Rhian Joachim Bob Dylan Padarn Hippolytus Llawddog Hilary of Poitiers Nidan Ramakrishna Louis de Montfort Saint Bavo Philip the Apostle Winefride Gohard James, son of Alphaeus Charlotte Saunders Cushman Stephen Saint George Lambert of Maastricht Catherine of Alexandria Clair of Nantes Paul James Illtud Charles Panzéra Saint Nicholas Tanwg Iestyn Ceidio ap Einion Germanus of Auxerre Saint Blaise Thomas Becket Seiriol Agatha of Sicily Cadoc Peter Jude the Apostle Maethlu Victor Maurus Beuno Gorgonius Gwenog Anthony the Great Andrew Rose of Lima Saint Denis Lenny Bruce Decuman Nelson Mandela Edmund the Martyr Brynach Enrico Caruso Matthew the Apostle Kevin of Glendalough Philomena Saeran Saint Ursula Bartholomew the Apostle Jerome Dubricius William Cullen Bryant Columba Fagan Saint Francis Xavier Peulan Lawrence of Rome Trillo Saint Boniface Gwynno Celynnin Winwaloe Athanasius of Alexandria Saint Matthias Defendens Justin the Confessor Plechelm Sadwrn Tewdrig Madame Autard de Bragard Cadwaladr Augustine of Hippo Æthelwold Saint Patrick Saint Maurice Dyfodwg Tybïe Dyfnan Anthony of Padua Margaret the Virgin Digain Saint Sebastian Tyfei Albinus of Angers Twrog Cwyfan Morhaiarn Anna Petrovna Kern Rhidian Cynllo Charley Patton Cybi Sara Dylan John the Apostle Joseph Tudno Rhwydrus Senwyr Saint Cadfan Martin of Tours Saint Anna Gredifael John the Evangelist Theodore of Tarsus Ezra Pound Mechell Saint Elli Thomas the Apostle Isan Leonard of Noblac Mark the Evangelist Cawrdaf Gummarus Sterling Morrison Deiniol Saint Eligius Mary Magdalene Saint Teilo Botwulf of Thorney Oudoceus Thecla John the Baptist Saint Cecilia Tysilio Wulfram of Sens Dyfan Crallo Saint David Tysul Donatus of Evorea Gwenllwyfo
147
action count
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity Marianne Kirchgessner
relation dedicated to
type temple
type literary work
[[{'concept': 'temple'}, {'concept': 'literary work'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) ?d WHERE { { ?d rdf:type ontology:common_name . ?w rdf:type ontology:temple . ?w property:dedicated_to ?d } UNION { ?w property:dedicated_to ?d . ?d rdf:type ontology:common_name . ?w rdf:type ontology:literary_work } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:dedicated_to resource:Marianne_Kirchgessner . { { ?i rdf:type ontology:temple } UNION { ?i rdf:type ontology:literary_work } } } } . FILTER ( ?e > ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q11619989
P825
Q502895 Q44539 Q7725634
USER
And also tell me about Prince Uji no Wakiiratsuko?
(c(Q44539)|c(Q7725634),P825,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q11619989
relation P825
type Q44539
type Q7725634
[[{'concept': 'Q44539'}, {'concept': 'Q7725634'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:P825 resource:Q11619989 . { ?j rdf:type ?q . VALUES ( ?q ) { ( ontology:Q44539 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?x > ?f ) . { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?x ) WHERE { { ?r property:P825 ?t . ?r rdf:type ontology:Q7725634 . ?t rdf:type ontology:Q502895 } UNION { ?r property:P825 ?t . ?t rdf:type ontology:Q502895 . ?r rdf:type ontology:Q44539 } } GROUP BY ?t } }
Prince Uji no Wakiiratsuko
action count
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity Prince Uji no Wakiiratsuko
relation dedicated to
type temple
type literary work
[[{'concept': 'temple'}, {'concept': 'literary work'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:dedicated_to resource:Prince_Uji_no_Wakiiratsuko . { ?j rdf:type ?q . VALUES ( ?q ) { ( ontology:temple ) ( ontology:literary_work ) } } } } . FILTER ( ?x > ?f ) . { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?x ) WHERE { { ?r property:dedicated_to ?t . ?r rdf:type ontology:literary_work . ?t rdf:type ontology:common_name } UNION { ?r property:dedicated_to ?t . ?t rdf:type ontology:common_name . ?r rdf:type ontology:temple } } GROUP BY ?t } }
[]
common name temple literary work
SYSTEM
147
Q152457 Q7402197 Q4304989 Q4452364 Q7859824 Q4218975 Q534049 Q16846308 Q314700 Q392 Q770633 Q207113 Q20748855 Q44344 Q16202312 Q183126 Q88927 Q457903 Q43675 Q2575112 Q3109901 Q44047 Q448890 Q161775 Q48438 Q283447 Q179718 Q2974965 Q9200 Q43999 Q2639031 Q2959955 Q44269 Q7683954 Q7401372 Q4218947 Q442516 Q151967 Q192236 Q7446899 Q200895 Q1889720 Q33923 Q43945 Q4275175 Q1284971 Q612390 Q704817 Q23900430 Q170547 Q43399 Q244383 Q244380 Q460876 Q5249703 Q8023 Q381815 Q2381536 Q170726 Q43600 Q737198 Q466428 Q20683560 Q369691 Q43982 Q44248 Q1078192 Q454840 Q236326 Q3401960 Q163900 Q7179512 Q17590 Q6695484 Q160445 Q5623897 Q18535501 Q2361972 Q44024 Q44020 Q6955878 Q1714244 Q3392202 Q3398098 Q1088014 Q20757530 Q2454699 Q8018 Q272280 Q165479 Q316599 Q5318618 Q13132095 Q4161262 Q167477 Q297742 Q2093405 Q183332 Q19595674 Q2722964 Q7402252 Q27036912 Q23892327 Q2360522 Q13131020 Q3401592 Q354519 Q3399340 Q457433 Q44015 Q128267 Q3398315 Q23894387 Q23991012 Q581537 Q133704 Q164294 Q7401328 Q328804 Q504529 Q163366 Q6804706 Q17509259 Q43669 Q18126070 Q558148 Q31966 Q16859956 Q1834624 Q503886 Q1183310 Q360798 Q63070 Q680538 Q894757 Q7110271 Q51885 Q40662 Q80513 Q1293017 Q743830 Q3405091 Q16636868 Q331697 Q13132105 Q3305109 Q5623522
(c(Q44539)|c(Q7725634),P825,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q11619989
relation P825
type Q44539
type Q7725634
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q7725634'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:P825 resource:Q11619989 . { ?j rdf:type ?q . VALUES ( ?q ) { ( ontology:Q44539 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?x > ?f ) . { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?x ) WHERE { { ?r property:P825 ?t . ?r rdf:type ontology:Q7725634 . ?t rdf:type ontology:Q502895 } UNION { ?r property:P825 ?t . ?t rdf:type ontology:Q502895 . ?r rdf:type ontology:Q44539 } } GROUP BY ?t } }
Saint Roch Saint Sulien Mawgan Tathan Tyfrydog Saint Keyne Saint Petroc Saint Rhian Joachim Bob Dylan Padarn Hippolytus Llawddog Hilary of Poitiers Nidan Ramakrishna Louis de Montfort Saint Bavo Philip the Apostle Winefride Gohard James, son of Alphaeus Charlotte Saunders Cushman Stephen Saint George Lambert of Maastricht Catherine of Alexandria Clair of Nantes Paul James Illtud Charles Panzéra Saint Nicholas Tanwg Iestyn Ceidio ap Einion Germanus of Auxerre Saint Blaise Thomas Becket Seiriol Agatha of Sicily Cadoc Peter Jude the Apostle Maethlu Victor Maurus Beuno Gorgonius Gwenog Anthony the Great Andrew Rose of Lima Saint Denis Lenny Bruce Decuman Nelson Mandela Edmund the Martyr Brynach Enrico Caruso Matthew the Apostle Kevin of Glendalough Philomena Saeran Saint Ursula Bartholomew the Apostle Jerome Dubricius William Cullen Bryant Columba Fagan Saint Francis Xavier Peulan Lawrence of Rome Trillo Saint Boniface Gwynno Celynnin Winwaloe Athanasius of Alexandria Saint Matthias Defendens Justin the Confessor Plechelm Sadwrn Tewdrig Madame Autard de Bragard Cadwaladr Augustine of Hippo Æthelwold Saint Patrick Saint Maurice Dyfodwg Tybïe Dyfnan Anthony of Padua Margaret the Virgin Digain Saint Sebastian Tyfei Albinus of Angers Twrog Cwyfan Morhaiarn Anna Petrovna Kern Rhidian Cynllo Charley Patton Cybi Sara Dylan John the Apostle Joseph Tudno Rhwydrus Senwyr Saint Cadfan Martin of Tours Saint Anna Gredifael John the Evangelist Theodore of Tarsus Ezra Pound Mechell Saint Elli Thomas the Apostle Isan Leonard of Noblac Mark the Evangelist Cawrdaf Gummarus Sterling Morrison Deiniol Saint Eligius Mary Magdalene Saint Teilo Botwulf of Thorney Oudoceus Thecla John the Baptist Saint Cecilia Tysilio Wulfram of Sens Dyfan Crallo Saint David Tysul Donatus of Evorea Gwenllwyfo
147
action count
action greater
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity Prince Uji no Wakiiratsuko
relation dedicated to
type temple
type literary work
[[{'concept': 'temple'}, {'concept': 'literary work'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:dedicated_to resource:Prince_Uji_no_Wakiiratsuko . { ?j rdf:type ?q . VALUES ( ?q ) { ( ontology:temple ) ( ontology:literary_work ) } } } } . FILTER ( ?x > ?f ) . { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?x ) WHERE { { ?r property:dedicated_to ?t . ?r rdf:type ontology:literary_work . ?t rdf:type ontology:common_name } UNION { ?r property:dedicated_to ?t . ?t rdf:type ontology:common_name . ?r rdf:type ontology:temple } } GROUP BY ?t } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q241
P530
Q1048835 Q15617994
USER
Which administrative territories have tactful political relations with around the same number of political territories as Cuba ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q241
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?c ) WHERE { ?y property:P530 ?j . ?y rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1048835 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Q241 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?c = ?e ) }
Cuba
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Cuba
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?c ) WHERE { ?y property:diplomatic_relation ?j . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Cuba property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c = ?e ) }
[]
political territorial entity designation for an administrative territorial entity
Q55 Q148 Q184
SYSTEM
Netherlands, People's Republic of China, Belarus
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q241
relation P530
type Q15617994
[ANSWERS] have tactful political relations with around the same number of political territories as Cuba
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?c ) WHERE { ?y property:P530 ?j . ?y rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1048835 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Q241 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?c = ?e ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, People's Republic of China and Belarus have tactful political relations with around the same number of political territories as Cuba
Netherlands People's Republic of China Belarus
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Cuba
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?c ) WHERE { ?y property:diplomatic_relation ?j . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Cuba property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c = ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q55
P530
Q1048835 Q15617994
USER
And also tell me about Netherlands?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q55
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?p ) WHERE { ?h property:P530 ?l . ?l rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q55 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?p = ?i ) }
Netherlands
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Netherlands
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?p ) WHERE { ?h property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Netherlands property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p = ?i ) }
[]
political territorial entity designation for an administrative territorial entity
Q30 Q159 Q55
SYSTEM
United States of America, Russia, Netherlands
Q702 Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q55
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?p ) WHERE { ?h property:P530 ?l . ?l rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q55 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?p = ?i ) }
Federated States of Micronesia Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
United States of America Russia Netherlands
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Netherlands
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?p ) WHERE { ?h property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Netherlands property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p = ?i ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4979892
P530
Q1048835
USER
Do Brutus Township, Michigan have ambassadorial relations with those administrative territories ?
(Q4979892,P530,Q30) (Q4979892,P530,Q159) (Q4979892,P530,Q55)
action is_in
entity prev_answer
action find
entity Q4979892
relation P530
['Q4979892', 'P530', 'Q30'] ['Q4979892', 'P530', 'Q159'] ['Q4979892', 'P530', 'Q55']
ASK WHERE { resource:Q4979892 property:P530 ?k . VALUES ( ?k ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
Brutus Township, Michigan
action is_in
entity prev_answer
action find
entity Brutus Township, Michigan
relation diplomatic relation
['Brutus Township, Michigan', 'diplomatic relation', 'United States of America'] ['Brutus Township, Michigan', 'diplomatic relation', 'Russia'] ['Brutus Township, Michigan', 'diplomatic relation', 'Netherlands']
ASK WHERE { resource:Brutus_Township,_Michigan property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]
political territorial entity
SYSTEM
NO
(Q4979892,P530,Q30) (Q4979892,P530,Q159) (Q4979892,P530,Q55)
action is_in
entity prev_answer
action find
entity Q4979892
relation P530
[ANSWER]
['Q4979892', 'P530', 'Q30'] ['Q4979892', 'P530', 'Q159'] ['Q4979892', 'P530', 'Q55']
ASK WHERE { resource:Q4979892 property:P530 ?k . VALUES ( ?k ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
No
action is_in
entity prev_answer
action find
entity Brutus Township, Michigan
relation diplomatic relation
['Brutus Township, Michigan', 'diplomatic relation', 'United States of America'] ['Brutus Township, Michigan', 'diplomatic relation', 'Russia'] ['Brutus Township, Michigan', 'diplomatic relation', 'Netherlands']
ASK WHERE { resource:Brutus_Township,_Michigan property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q562339 Q676360
P27
Q15617994
USER
Does Gary Merrill belong to Mandel ?
(Q562339,P27,Q676360)
action is_in
entity Q676360
action find
entity Q562339
relation P27
['Q562339', 'P27', 'Q676360']
ASK WHERE { resource:Q562339 property:P27 resource:Q676360 }
Gary Merrill Mandel
action is_in
entity Mandel
action find
entity Gary Merrill
relation country of citizenship
['Gary Merrill', 'country of citizenship', 'Mandel']
ASK WHERE { resource:Gary_Merrill property:country_of_citizenship resource:Mandel }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q562339,P27,Q676360)
action is_in
entity Q676360
action find
entity Q562339
relation P27
[ANSWER]
['Q562339', 'P27', 'Q676360']
ASK WHERE { resource:Q562339 property:P27 resource:Q676360 }
No
action is_in
entity Mandel
action find
entity Gary Merrill
relation country of citizenship
['Gary Merrill', 'country of citizenship', 'Mandel']
ASK WHERE { resource:Gary_Merrill property:country_of_citizenship resource:Mandel }
[]