Simple Question (Direct)
Simple Question
Q4770968
P69
Q3918
USER
Where was Antara Biswas educated ?
(Q4770968,P69,c(Q3918))
action filter_type
action find
entity Q4770968
relation P69
type Q3918
['Q4770968', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q3918 . resource:Q4770968 property:P69 ?d }
Antara Biswas
action filter_type
action find
entity Antara Biswas
relation educated at
type university
['Antara Biswas', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:university . resource:Antara_Biswas property:educated_at ?d }
[]
university
Q1145306
SYSTEM
University of Calcutta
Q1145306
(Q4770968,P69,c(Q3918))
action filter_type
action find
entity Q4770968
relation P69
type Q3918
Antara Biswas was educated by [ANSWER]
['Q4770968', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q3918 . resource:Q4770968 property:P69 ?d }
University of Calcutta
Antara Biswas was educated by University of Calcutta
University of Calcutta
action filter_type
action find
entity Antara Biswas
relation educated at
type university
['Antara Biswas', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:university . resource:Antara_Biswas property:educated_at ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4770968
P21
Q290
USER
Which sex does that person belong to ?
(Q1145306,P21,c(Q290))
action filter_type
action find
entity Q4770968
relation P21
type Q290
['Q1145306', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q4770968 property:P21 ?o }
Antara Biswas
action filter_type
action find
entity Antara Biswas
relation gender
type sex
['University of Calcutta', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Antara_Biswas property:gender ?o }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1145306,P21,c(Q290))
action filter_type
action find
entity Q4770968
relation P21
type Q290
That person belongs to [ANSWER]
['Q1145306', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q4770968 property:P21 ?o }
female
That person belongs to female
female
action filter_type
action find
entity Antara Biswas
relation gender
type sex
['University of Calcutta', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Antara_Biswas property:gender ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4770968
P106
Q12737077
USER
What is the job of that person ?
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q4770968
relation P106
type Q12737077
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q4770968 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Antara Biswas
action filter_type
action find
entity Antara Biswas
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Antara_Biswas property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q4770968
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q4770968 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
actor
The job of that person is an actor
actor
action filter_type
action find
entity Antara Biswas
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Antara_Biswas property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q16204007 Q4770968
P106
Q12737077
USER
Or Katie Cole?
OR((Q4770968,P106,c(Q12737077)), (Q16204007,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4770968
relation P106
action find
entity Q16204007
relation P106
type Q12737077
{'OR': [['Q4770968', 'P106', {'concept': 'Q12737077'}], ['Q16204007', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q4770968 property:P106 ?j } UNION { resource:Q16204007 property:P106 ?j } } . ?j rdf:type ontology:Q12737077 }
Katie Cole Antara Biswas
action filter_type
action union
action find
entity Antara Biswas
relation occupation
action find
entity Katie Cole
relation occupation
type occupation
{'OR': [['Antara Biswas', 'occupation', {'concept': 'occupation'}], ['Katie Cole', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Antara_Biswas property:occupation ?j } UNION { resource:Katie_Cole property:occupation ?j } } . ?j rdf:type ontology:occupation }
[]
occupation
Q753110 Q486748 Q33999 Q177220
SYSTEM
songwriter, pianist, actor, singer
Q753110 Q486748 Q33999 Q177220
OR((Q4770968,P106,c(Q12737077)), (Q16204007,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4770968
relation P106
action find
entity Q16204007
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q4770968', 'P106', {'concept': 'Q12737077'}], ['Q16204007', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q4770968 property:P106 ?j } UNION { resource:Q16204007 property:P106 ?j } } . ?j rdf:type ontology:Q12737077 }
songwriter pianist actor singer
songwriter pianist actor singer
action filter_type
action union
action find
entity Antara Biswas
relation occupation
action find
entity Katie Cole
relation occupation
type occupation
{'OR': [['Antara Biswas', 'occupation', {'concept': 'occupation'}], ['Katie Cole', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Antara_Biswas property:occupation ?j } UNION { resource:Katie_Cole property:occupation ?j } } . ?j rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q633
P106
Q502895
USER
Do Neil Young have the profession as those occupations ?
(Q633,P106,Q753110) (Q633,P106,Q486748) (Q633,P106,Q33999) (Q633,P106,Q177220)
action is_in
entity prev_answer
action find
entity Q633
relation P106
['Q633', 'P106', 'Q753110'] ['Q633', 'P106', 'Q486748'] ['Q633', 'P106', 'Q33999'] ['Q633', 'P106', 'Q177220']
ASK WHERE { resource:Q633 property:P106 ?i . VALUES ( ?i ) { ( resource:Q753110 ) ( resource:Q486748 ) ( resource:Q33999 ) } }
Neil Young
action is_in
entity prev_answer
action find
entity Neil Young
relation occupation
['Neil Young', 'occupation', 'songwriter'] ['Neil Young', 'occupation', 'pianist'] ['Neil Young', 'occupation', 'actor'] ['Neil Young', 'occupation', 'singer']
ASK WHERE { resource:Neil_Young property:occupation ?i . VALUES ( ?i ) { ( resource:songwriter ) ( resource:pianist ) ( resource:actor ) } }
[]
common name
SYSTEM
YES
(Q633,P106,Q753110) (Q633,P106,Q486748) (Q633,P106,Q33999) (Q633,P106,Q177220)
action is_in
entity prev_answer
action find
entity Q633
relation P106
[ANSWER]
['Q633', 'P106', 'Q753110'] ['Q633', 'P106', 'Q486748'] ['Q633', 'P106', 'Q33999'] ['Q633', 'P106', 'Q177220']
ASK WHERE { resource:Q633 property:P106 ?i . VALUES ( ?i ) { ( resource:Q753110 ) ( resource:Q486748 ) ( resource:Q33999 ) } }
Yes
action is_in
entity prev_answer
action find
entity Neil Young
relation occupation
['Neil Young', 'occupation', 'songwriter'] ['Neil Young', 'occupation', 'pianist'] ['Neil Young', 'occupation', 'actor'] ['Neil Young', 'occupation', 'singer']
ASK WHERE { resource:Neil_Young property:occupation ?i . VALUES ( ?i ) { ( resource:songwriter ) ( resource:pianist ) ( resource:actor ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4770968 Q334653
P27
Q15617994
USER
Is Abtweiler the country of citizenship of Antara Biswas ?
(Q4770968,P27,Q334653)
action is_in
entity Q334653
action find
entity Q4770968
relation P27
['Q4770968', 'P27', 'Q334653']
ASK WHERE { resource:Q4770968 property:P27 resource:Q334653 }
Antara Biswas Abtweiler
action is_in
entity Abtweiler
action find
entity Antara Biswas
relation country of citizenship
['Antara Biswas', 'country of citizenship', 'Abtweiler']
ASK WHERE { resource:Antara_Biswas property:country_of_citizenship resource:Abtweiler }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4770968,P27,Q334653)
action is_in
entity Q334653
action find
entity Q4770968
relation P27
[ANSWER]
['Q4770968', 'P27', 'Q334653']
ASK WHERE { resource:Q4770968 property:P27 resource:Q334653 }
No
action is_in
entity Abtweiler
action find
entity Antara Biswas
relation country of citizenship
['Antara Biswas', 'country of citizenship', 'Abtweiler']
ASK WHERE { resource:Antara_Biswas property:country_of_citizenship resource:Abtweiler }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11677305 Q4770968
P27
Q15617994
USER
Which administrative territories are Antara Biswas or Kōshirō Shikano an inhabitant of ?
OR((Q4770968,P27,c(Q15617994)), (Q11677305,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4770968
relation P27
action find
entity Q11677305
relation P27
type Q15617994
{'OR': [['Q4770968', 'P27', {'concept': 'Q15617994'}], ['Q11677305', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { ?m property:P27 ?h . VALUES ( ?m ) { ( resource:Q11677305 ) ( resource:Q4770968 ) } } }
Kōshirō Shikano Antara Biswas
action filter_type
action union
action find
entity Antara Biswas
relation country of citizenship
action find
entity Kōshirō Shikano
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Antara Biswas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kōshirō Shikano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?m property:country_of_citizenship ?h . VALUES ( ?m ) { ( resource:Kōshirō_Shikano ) ( resource:Antara_Biswas ) } } }
[]
designation for an administrative territorial entity
Q17 Q668
SYSTEM
Japan, India
Q17 Q668
OR((Q4770968,P27,c(Q15617994)), (Q11677305,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4770968
relation P27
action find
entity Q11677305
relation P27
type Q15617994
[ANSWERS] are Antara Biswas or Kōshirō Shikano an inhabitant of
{'OR': [['Q4770968', 'P27', {'concept': 'Q15617994'}], ['Q11677305', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . { ?m property:P27 ?h . VALUES ( ?m ) { ( resource:Q11677305 ) ( resource:Q4770968 ) } } }
Japan India
Japan and India are Antara Biswas or Kōshirō Shikano an inhabitant of
Japan India
action filter_type
action union
action find
entity Antara Biswas
relation country of citizenship
action find
entity Kōshirō Shikano
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Antara Biswas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kōshirō Shikano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?m property:country_of_citizenship ?h . VALUES ( ?m ) { ( resource:Kōshirō_Shikano ) ( resource:Antara_Biswas ) } } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
How many administrative territories were lesser number of fictional locations inspired by than that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) 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 ( COUNT ( * ) AS ?x ) 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|Count over More/Less|Single entity type|Clarification
Q668
SYSTEM
Did you mean India ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean India ?
India
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
10
Q142 Q159 Q424 Q55416 Q794 Q33 Q954 Q31 Q889 Q55
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
France Russia Cambodia Chioggia Iran Finland Zimbabwe Belgium Afghanistan Netherlands
10
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q297097 Q633
P86 P676
Q7725634
USER
Which literary works have Neil Young as their lyricist or have Jack Johnson as the melodist ?
OR((c(Q7725634),P676,Q633), (c(Q7725634),P86,Q297097))
action filter_type
action union
action find_reverse
entity Q633
relation P676
action find_reverse
entity Q297097
relation P86
type Q7725634
{'OR': [[{'concept': 'Q7725634'}, 'P676', 'Q633'], [{'concept': 'Q7725634'}, 'P86', 'Q297097']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q7725634 . { { ?i property:P676 resource:Q633 } UNION { ?i property:P86 resource:Q297097 } } }
Jack Johnson Neil Young
action filter_type
action union
action find_reverse
entity Neil Young
relation lyrics by
action find_reverse
entity Jack Johnson
relation composer
type literary work
{'OR': [[{'concept': 'literary work'}, 'lyrics by', 'Neil Young'], [{'concept': 'literary work'}, 'composer', 'Jack Johnson']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:literary_work . { { ?i property:lyrics_by resource:Neil_Young } UNION { ?i property:composer resource:Jack_Johnson } } }
[]
literary work
Q20877601 Q21189433 Q3136771 Q12718533 Q21283110 Q4840280 Q21477119 Q7638310 Q4788454 Q12713944
SYSTEM
Some of them are Unknown Legend, After the Garden, The Needle and the Damage Done, Time Fades Away, Johnny Magic, Bad Fog of Loneliness, Bandit, Sun Green, Are You Ready for the Country, Burned
Q20888769 Q21403230 Q21045644 Q21401917 Q21009630 Q21012203 Q21040996 Q10268789 Q20984709 Q20886577 Q21043412 Q21944831 Q12718202 Q21127295 Q21857422 Q3136771 Q21294966 Q14660878 Q20890640 Q21401921 Q21189404 Q18327027 Q21857425 Q12713379 Q20968844 Q20923748 Q21189433 Q21127018 Q20986992 Q20648592 Q21283492 Q12713944 Q21013056 Q21013053 Q21482364 Q21032398 Q4973317 Q12267980 Q21294973 Q21500839 Q4840280 Q7634881 Q20921842 Q21127066 Q21130388 Q20877601 Q20967947 Q12717982 Q2829452 Q21142650 Q21030193 Q20983794 Q20874674 Q21035698 Q20967026 Q20019170 Q21041536 Q17040861 Q16251751 Q2805621 Q21013241 Q21283825 Q20917754 Q6929209 Q21032583 Q20967715 Q7992869 Q20967950 Q20967952 Q21405737 Q12718533 Q6456191 Q20492731 Q17059364 Q20874723 Q21009071 Q20987150 Q21013090 Q5291722 Q21283110 Q21013552 Q7638310 Q20899351 Q21477119 Q5653875 Q2137506 Q3001871 Q21482350 Q21012275 Q21662137 Q21405858 Q21043738 Q21189311 Q20966037 Q20871832 Q16962615 Q21013667 Q20968654 Q3756063 Q20968652 Q21027931 Q20967986 Q20715230 Q3352752 Q20888436 Q21583958 Q16035183 Q20907581 Q21665181 Q20968012 Q20895685 Q3146429 Q4690658 Q7557270 Q21996613 Q21996618 Q21013205 Q20979043 Q20986989 Q10569960 Q21857449 Q549370 Q4788454 Q21405776
OR((c(Q7725634),P676,Q633), (c(Q7725634),P86,Q297097))
action filter_type
action union
action find_reverse
entity Q633
relation P676
action find_reverse
entity Q297097
relation P86
type Q7725634
[ANSWERS] have Neil Young as their lyricist or have Jack Johnson as the melodist
{'OR': [[{'concept': 'Q7725634'}, 'P676', 'Q633'], [{'concept': 'Q7725634'}, 'P86', 'Q297097']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q7725634 . { { ?i property:P676 resource:Q633 } UNION { ?i property:P86 resource:Q297097 } } }
War Of Man This Town Fool For Your Love Inca Queen Ten Men Workin' This Note's For You Western Hero Drink the Water Stupid Girl Sleeps with Angels When Your Lonely Heart Breaks This Old House See the Sky About to Rain Goin' Home On the way Home The Needle and the Damage Done The Old Laughing Lady Pocahontas Mansion On The Hill Too Lonely He Was The King Angry World I am a Child Ambulance Blues Little Thing Called Love Get Back to the Country After the Garden The Last Trip to Tulsa Wonderin' A Rock Star Bucks a Coffee Shop Who's Gonna Stand Up Burned Weight of the World Touch the Night Driftin' Back People on the Street Broken Arrow Thrasher Mellow my Mind One of These Days Bad Fog of Loneliness Sugar Mountain Captain Kennedy On the Beach Differently Unknown Legend Opera Star Revolution Blues Alabama The Painter My Boy Big Time Sedan Delivery From Hank to Hendrix Peace and Love Dance, Dance, Dance Throw Your Hatred Down Wrecking Ball Grey Riders Down by the River We R in Control Walk with Me Stayin' Power Mr. Soul Someday Let's Roll When You Dance I Can Really Love Crime in the City Over and Over Bite the Bullet Time Fades Away L.A. Tonight's the Night Tell Me Why Will to Love Old Ways Sample and Hold Long walk Home Don't Let It Bring You Down Johnny Magic Come On Baby Let's Go Downtown Sun Green Lookin' for a Love Bandit Lotta Love Ohio Cowgirl in the Sand Love and Only Love Computer Age Nowadays Clancy Can't Even Sing Piece of Crap Razor Love When God Made Me Change Your Mind Harvest Moon Downtown Shots Drive Back Powderfinger Walk On Are There Any More Real Cowboys? Southern Pacific A Man Needs a Maid Only Love Can Break Your Heart Long May You Run Albuquerque Philadelphia Mideast Vacation Out Of My Mind Midnight on the Bay Hey Babe I've Been Waiting for You After the Gold Rush Soldier Prime of Life Everybody I Love You Love to Burn Look Out For My Love Cry, Cry, Cry Love Is a Rose American Dream Hey Hey, My My Are You Ready for the Country Don't Cry No Tears
Unknown Legend, After the Garden, The Needle and the Damage Done, Time Fades Away, Johnny Magic, Bad Fog of Loneliness, Bandit, Sun Green, Are You Ready for the Country and Burned have Neil Young as their lyricist or have Jack Johnson as the melodist
Unknown Legend After the Garden The Needle and the Damage Done Time Fades Away Johnny Magic Bad Fog of Loneliness Bandit Sun Green Are You Ready for the Country Burned
action filter_type
action union
action find_reverse
entity Neil Young
relation lyrics by
action find_reverse
entity Jack Johnson
relation composer
type literary work
{'OR': [[{'concept': 'literary work'}, 'lyrics by', 'Neil Young'], [{'concept': 'literary work'}, 'composer', 'Jack Johnson']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:literary_work . { { ?i property:lyrics_by resource:Neil_Young } UNION { ?i property:composer resource:Jack_Johnson } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6236607 Q4770968
P27
Q15617994
USER
Which administrative territories do Antara Biswas or Jeff Werner belong to ?
OR((Q4770968,P27,c(Q15617994)), (Q6236607,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4770968
relation P27
action find
entity Q6236607
relation P27
type Q15617994
{'OR': [['Q4770968', 'P27', {'concept': 'Q15617994'}], ['Q6236607', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q4770968 property:P27 ?e } UNION { resource:Q6236607 property:P27 ?e } } }
Jeff Werner Antara Biswas
action filter_type
action union
action find
entity Antara Biswas
relation country of citizenship
action find
entity Jeff Werner
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Antara Biswas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jeff Werner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Antara_Biswas property:country_of_citizenship ?e } UNION { resource:Jeff_Werner property:country_of_citizenship ?e } } }
[]
designation for an administrative territorial entity
Q668 Q34
SYSTEM
India, Sweden
Q668 Q34
OR((Q4770968,P27,c(Q15617994)), (Q6236607,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4770968
relation P27
action find
entity Q6236607
relation P27
type Q15617994
Antara Biswas or Jeff Werner belong to [ANSWERS]
{'OR': [['Q4770968', 'P27', {'concept': 'Q15617994'}], ['Q6236607', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q4770968 property:P27 ?e } UNION { resource:Q6236607 property:P27 ?e } } }
India Sweden
Antara Biswas or Jeff Werner belong to India and Sweden
India Sweden
action filter_type
action union
action find
entity Antara Biswas
relation country of citizenship
action find
entity Jeff Werner
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Antara Biswas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jeff Werner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Antara_Biswas property:country_of_citizenship ?e } UNION { resource:Jeff_Werner property:country_of_citizenship ?e } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21387702
P27
Q502895
USER
Are Piotr Tukałło civilians of those administrative territories ?
(Q21387702,P27,Q668) (Q21387702,P27,Q34)
action is_in
entity prev_answer
action find
entity Q21387702
relation P27
['Q21387702', 'P27', 'Q668'] ['Q21387702', 'P27', 'Q34']
ASK WHERE { VALUES ( ?u ) { ( resource:Q668 ) ( resource:Q34 ) } . resource:Q21387702 property:P27 ?u }
Piotr Tukałło
action is_in
entity prev_answer
action find
entity Piotr Tukałło
relation country of citizenship
['Piotr Tukałło', 'country of citizenship', 'India'] ['Piotr Tukałło', 'country of citizenship', 'Sweden']
ASK WHERE { VALUES ( ?u ) { ( resource:India ) ( resource:Sweden ) } . resource:Piotr_Tukałło property:country_of_citizenship ?u }
[]
common name
SYSTEM
NO
(Q21387702,P27,Q668) (Q21387702,P27,Q34)
action is_in
entity prev_answer
action find
entity Q21387702
relation P27
[ANSWER]
['Q21387702', 'P27', 'Q668'] ['Q21387702', 'P27', 'Q34']
ASK WHERE { VALUES ( ?u ) { ( resource:Q668 ) ( resource:Q34 ) } . resource:Q21387702 property:P27 ?u }
No
action is_in
entity prev_answer
action find
entity Piotr Tukałło
relation country of citizenship
['Piotr Tukałło', 'country of citizenship', 'India'] ['Piotr Tukałło', 'country of citizenship', 'Sweden']
ASK WHERE { VALUES ( ?u ) { ( resource:India ) ( resource:Sweden ) } . resource:Piotr_Tukałło property:country_of_citizenship ?u }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q15617994 Q41176 Q1048835
USER
Which administrative territories are atleast 4692 buildings and political territories located in ?
(c(Q41176)|c(Q1048835),P17,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q41176
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1048835
value 4692
[[{'concept': 'Q41176'}, {'concept': 'Q1048835'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?c >= 4692 ) . { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?c ) WHERE { { ?t property:P17 ?i . ?i rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q41176 } UNION { ?t rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 . ?t property:P17 ?i } } GROUP BY ?i } }
action atleast
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type building
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political territorial entity
value 4692
[[{'concept': 'building'}, {'concept': 'political territorial entity'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?c >= 4692 ) . { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?c ) WHERE { { ?t property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:building } UNION { ?t rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:country ?i } } GROUP BY ?i } }
[]
designation for an administrative territorial entity building political territorial entity
Q30 Q145 Q29
SYSTEM
United States of America, United Kingdom, Spain
Q145 Q30 Q212 Q29
(c(Q41176)|c(Q1048835),P17,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q41176
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1048835
value 4692
[ANSWERS] are atleast 4692 buildings and political territories located in
[[{'concept': 'Q41176'}, {'concept': 'Q1048835'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?c >= 4692 ) . { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?c ) WHERE { { ?t property:P17 ?i . ?i rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q41176 } UNION { ?t rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 . ?t property:P17 ?i } } GROUP BY ?i } }
United Kingdom United States of America Ukraine Spain
United States of America, United Kingdom and Spain are atleast 4692 buildings and political territories located in
United States of America United Kingdom Spain
action atleast
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type building
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political territorial entity
value 4692
[[{'concept': 'building'}, {'concept': 'political territorial entity'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?c >= 4692 ) . { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?c ) WHERE { { ?t property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:building } UNION { ?t rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:country ?i } } GROUP BY ?i } }
[]