Simple Question (Direct)
Simple Question
Q7396675
P264
Q334453
USER
Who sponsored the recoding of Sachal Vasandani ?
(Q7396675,P264,c(Q334453))
action filter_type
action find
entity Q7396675
relation P264
type Q334453
['Q7396675', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?e WHERE { resource:Q7396675 property:P264 ?e . ?e rdf:type ontology:Q334453 }
Sachal Vasandani
action filter_type
action find
entity Sachal Vasandani
relation record label
type division
['Sachal Vasandani', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?e WHERE { resource:Sachal_Vasandani property:record_label ?e . ?e rdf:type ontology:division }
[]
division
Q1757254
SYSTEM
Okeh Records
Q1757254
(Q7396675,P264,c(Q334453))
action filter_type
action find
entity Q7396675
relation P264
type Q334453
[ANSWER] sponsored the recoding of Sachal Vasandani
['Q7396675', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?e WHERE { resource:Q7396675 property:P264 ?e . ?e rdf:type ontology:Q334453 }
Okeh Records
Okeh Records sponsored the recoding of Sachal Vasandani
Okeh Records
action filter_type
action find
entity Sachal Vasandani
relation record label
type division
['Sachal Vasandani', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?e WHERE { resource:Sachal_Vasandani property:record_label ?e . ?e rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1757254
P136
Q151885
USER
What is the genre of that division ?
(Q1757254,P136,c(Q151885))
action filter_type
action find
entity Q1757254
relation P136
type Q151885
['Q1757254', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { resource:Q1757254 property:P136 ?h . ?h rdf:type ontology:Q151885 }
Okeh Records
action filter_type
action find
entity Okeh Records
relation genre
type concept
['Okeh Records', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { resource:Okeh_Records property:genre ?h . ?h rdf:type ontology:concept }
[]
concept
Q8341
SYSTEM
jazz
Q8341
(Q1757254,P136,c(Q151885))
action filter_type
action find
entity Q1757254
relation P136
type Q151885
The genre of that division is the [ANSWER]
['Q1757254', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { resource:Q1757254 property:P136 ?h . ?h rdf:type ontology:Q151885 }
jazz
The genre of that division is the jazz
jazz
action filter_type
action find
entity Okeh Records
relation genre
type concept
['Okeh Records', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { resource:Okeh_Records property:genre ?h . ?h rdf:type ontology:concept }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7422458
Q151885
USER
And what about Sarah Johns?
(Q7422458,P136,c(Q151885))
action filter_type
action find
entity Q7422458
relation P136
type Q151885
['Q7422458', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q151885 . resource:Q7422458 property:P136 ?f }
Sarah Johns
action filter_type
action find
entity Sarah Johns
relation genre
type concept
['Sarah Johns', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:concept . resource:Sarah_Johns property:genre ?f }
[]
concept
Q83440
SYSTEM
country music
Q83440
(Q7422458,P136,c(Q151885))
action filter_type
action find
entity Q7422458
relation P136
type Q151885
[ANSWER]
['Q7422458', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q151885 . resource:Q7422458 property:P136 ?f }
country music
country music
action filter_type
action find
entity Sarah Johns
relation genre
type concept
['Sarah Johns', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:concept . resource:Sarah_Johns property:genre ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7422458
P106
Q12737077
USER
What are the job of that person ?
(Q83440,P106,c(Q12737077))
action filter_type
action find
entity Q7422458
relation P106
type Q12737077
['Q83440', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q7422458 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Sarah Johns
action filter_type
action find
entity Sarah Johns
relation occupation
type occupation
['country music', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Sarah_Johns property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q488205 Q177220
SYSTEM
singer-songwriter, singer
Q488205 Q177220
(Q83440,P106,c(Q12737077))
action filter_type
action find
entity Q7422458
relation P106
type Q12737077
The job of that person are a [ANSWERS]
['Q83440', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q7422458 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
singer-songwriter singer
The job of that person are a singer-songwriter and singer
singer-songwriter singer
action filter_type
action find
entity Sarah Johns
relation occupation
type occupation
['country music', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Sarah_Johns property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q488205 Q177220
P136
Q502895
USER
Which people as singer-songwriter and singer as their class ?
(c(Q502895),P136,Q488205) (c(Q502895),P136,Q177220)
action union
action filter_type
action find_reverse
entity Q488205
relation P136
type Q502895
action filter_type
action find_reverse
entity Q177220
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q488205'] [{'concept': 'Q502895'}, 'P136', 'Q177220']
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:Q502895 . ?k property:P136 resource:Q488205 } UNION { ?k property:P136 resource:Q177220 . ?k rdf:type ontology:Q502895 } }
singer-songwriter singer
action union
action filter_type
action find_reverse
entity singer-songwriter
relation genre
type common name
action filter_type
action find_reverse
entity singer
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'singer-songwriter'] [{'concept': 'common name'}, 'genre', 'singer']
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:common_name . ?k property:genre resource:singer-songwriter } UNION { ?k property:genre resource:singer . ?k rdf:type ontology:common_name } }
[]
common name
Q6112934 Q466386
SYSTEM
Jack Hardy, Mary Travers
Q6112934 Q466386
(c(Q502895),P136,Q488205) (c(Q502895),P136,Q177220)
action union
action filter_type
action find_reverse
entity Q488205
relation P136
type Q502895
action filter_type
action find_reverse
entity Q177220
relation P136
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P136', 'Q488205'] [{'concept': 'Q502895'}, 'P136', 'Q177220']
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:Q502895 . ?k property:P136 resource:Q488205 } UNION { ?k property:P136 resource:Q177220 . ?k rdf:type ontology:Q502895 } }
Jack Hardy Mary Travers
Jack Hardy Mary Travers
action union
action filter_type
action find_reverse
entity singer-songwriter
relation genre
type common name
action filter_type
action find_reverse
entity singer
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'singer-songwriter'] [{'concept': 'common name'}, 'genre', 'singer']
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:common_name . ?k property:genre resource:singer-songwriter } UNION { ?k property:genre resource:singer . ?k rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q6112934 Q466386
P106
Q12737077
USER
Which occupations have those people as his/her 's career ?
(Q6112934,P106,c(Q12737077)) (Q466386,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q6112934', 'P106', {'concept': 'Q12737077'}] ['Q466386', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?f property:P106 ?n . ?n rdf:type ontology:Q12737077 . VALUES ( ?f ) { ( resource:Q6112934 ) ( resource:Q466386 ) } }
Jack Hardy Mary Travers
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Jack Hardy', 'occupation', {'concept': 'occupation'}] ['Mary Travers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?f property:occupation ?n . ?n rdf:type ontology:occupation . VALUES ( ?f ) { ( resource:Jack_Hardy ) ( resource:Mary_Travers ) } }
[]
occupation
Q488205 Q488205 Q36834
SYSTEM
singer-songwriter for 1st, 2nd, composer for 3rd
Q488205 Q488205 Q36834
(Q6112934,P106,c(Q12737077)) (Q466386,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS]
['Q6112934', 'P106', {'concept': 'Q12737077'}] ['Q466386', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?f property:P106 ?n . ?n rdf:type ontology:Q12737077 . VALUES ( ?f ) { ( resource:Q6112934 ) ( resource:Q466386 ) } }
singer-songwriter singer-songwriter composer
Singer-songwriter, singer-songwriter and composer have those people as his/her 's career
singer-songwriter singer-songwriter composer
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Jack Hardy', 'occupation', {'concept': 'occupation'}] ['Mary Travers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?f property:occupation ?n . ?n rdf:type ontology:occupation . VALUES ( ?f ) { ( resource:Jack_Hardy ) ( resource:Mary_Travers ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6112934
P1066
Q502895
USER
Who is a student of Jack Hardy ?
(c(Q502895),P1066,Q6112934)
action filter_type
action find_reverse
entity Q6112934
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q6112934']
SELECT DISTINCT ?u WHERE { ?u property:P1066 resource:Q6112934 . ?u rdf:type ontology:Q502895 }
Jack Hardy
action filter_type
action find_reverse
entity Jack Hardy
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Jack Hardy']
SELECT DISTINCT ?u WHERE { ?u property:student_of resource:Jack_Hardy . ?u rdf:type ontology:common_name }
[]
common name
Q21285662
SYSTEM
Luke Winslow-King
Q21285662
(c(Q502895),P1066,Q6112934)
action filter_type
action find_reverse
entity Q6112934
relation P1066
type Q502895
A student of Jack Hardy is a [ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q6112934']
SELECT DISTINCT ?u WHERE { ?u property:P1066 resource:Q6112934 . ?u rdf:type ontology:Q502895 }
Luke Winslow-King
A student of Jack Hardy is a Luke Winslow-King
Luke Winslow-King
action filter_type
action find_reverse
entity Jack Hardy
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Jack Hardy']
SELECT DISTINCT ?u WHERE { ?u property:student_of resource:Jack_Hardy . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6112934
P734
Q82799
USER
Who has the surname Jack Hardy ?
(Q6112934,P734,c(Q82799))
action filter_type
action find
entity Q6112934
relation P734
type Q82799
['Q6112934', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q82799 . resource:Q6112934 property:P734 ?h }
Jack Hardy
action filter_type
action find
entity Jack Hardy
relation family name
type name
['Jack Hardy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:name . resource:Jack_Hardy property:family_name ?h }
[]
name
Q16870512
SYSTEM
Hardy
Q16870512
(Q6112934,P734,c(Q82799))
action filter_type
action find
entity Q6112934
relation P734
type Q82799
[ANSWER] has the surname Jack [ANSWER]
['Q6112934', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q82799 . resource:Q6112934 property:P734 ?h }
Hardy
Hardy has the surname Jack Hardy
Hardy
action filter_type
action find
entity Jack Hardy
relation family name
type name
['Jack Hardy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:name . resource:Jack_Hardy property:family_name ?h }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q183 Q7422458
P530 P27
Q15617994
USER
Which administrative territories are the native countriesof Sarah Johns or have diplomatic relations with Germany ?
OR((Q7422458,P27,c(Q15617994)), (Q183,P530,c(Q15617994)))
action filter_type
action union
action find
entity Q7422458
relation P27
action find
entity Q183
relation P530
type Q15617994
{'OR': [['Q7422458', 'P27', {'concept': 'Q15617994'}], ['Q183', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q7422458 property:P27 ?c } UNION { resource:Q183 property:P530 ?c } } . ?c rdf:type ontology:Q15617994 }
Germany Sarah Johns
action filter_type
action union
action find
entity Sarah Johns
relation country of citizenship
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
{'OR': [['Sarah Johns', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Sarah_Johns property:country_of_citizenship ?c } UNION { resource:Germany property:diplomatic_relation ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q184 Q148 Q810 Q833 Q212 Q953 Q217 Q229 Q924
SYSTEM
Some of them are Netherlands, Belarus, People's Republic of China, Jordan, Malaysia, Ukraine, Zambia, Republic of Moldova, Cyprus, Tanzania
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
OR((Q7422458,P27,c(Q15617994)), (Q183,P530,c(Q15617994)))
action filter_type
action union
action find
entity Q7422458
relation P27
action find
entity Q183
relation P530
type Q15617994
[ANSWERS] are the native countriesof Sarah Johns or have diplomatic relations with Germany
{'OR': [['Q7422458', 'P27', {'concept': 'Q15617994'}], ['Q183', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q7422458 property:P27 ?c } UNION { resource:Q183 property:P530 ?c } } . ?c rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Netherlands, Belarus, People's Republic of China, Jordan, Malaysia, Ukraine, Zambia, Republic of Moldova, Cyprus and Tanzania are the native countriesof Sarah Johns or have diplomatic relations with Germany
Netherlands Belarus People's Republic of China Jordan Malaysia Ukraine Zambia Republic of Moldova Cyprus Tanzania
action filter_type
action union
action find
entity Sarah Johns
relation country of citizenship
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
{'OR': [['Sarah Johns', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Sarah_Johns property:country_of_citizenship ?c } UNION { resource:Germany property:diplomatic_relation ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q953
P1532
Q1194951
USER
Who plays for that administrative territory ?
(c(Q1194951),P1532,Q953)
action filter_type
action find_reverse
entity Q953
relation P1532
type Q1194951
[{'concept': 'Q1194951'}, 'P1532', 'Q953']
SELECT DISTINCT ?g WHERE { ?g property:P1532 resource:Q953 . ?g rdf:type ontology:Q1194951 }
Zambia
action filter_type
action find_reverse
entity Zambia
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Zambia']
SELECT DISTINCT ?g WHERE { ?g property:country_for_sport resource:Zambia . ?g rdf:type ontology:national_sports_team }
[]
national sports team
Clarification for simple ques.
Q55
SYSTEM
Did you mean Netherlands ?
Q55 Q184 Q148 Q810 Q833 Q212 Q953 Q217 Q229 Q924
(c(Q1194951),P1532,Q55) (c(Q1194951),P1532,Q184) (c(Q1194951),P1532,Q148) (c(Q1194951),P1532,Q810) (c(Q1194951),P1532,Q833) (c(Q1194951),P1532,Q212) (c(Q1194951),P1532,Q953) (c(Q1194951),P1532,Q217) (c(Q1194951),P1532,Q229) (c(Q1194951),P1532,Q924)
[ANSWER]
[{'concept': 'Q1194951'}, 'P1532', 'Q55'] [{'concept': 'Q1194951'}, 'P1532', 'Q184'] [{'concept': 'Q1194951'}, 'P1532', 'Q148'] [{'concept': 'Q1194951'}, 'P1532', 'Q810'] [{'concept': 'Q1194951'}, 'P1532', 'Q833'] [{'concept': 'Q1194951'}, 'P1532', 'Q212'] [{'concept': 'Q1194951'}, 'P1532', 'Q953'] [{'concept': 'Q1194951'}, 'P1532', 'Q217'] [{'concept': 'Q1194951'}, 'P1532', 'Q229'] [{'concept': 'Q1194951'}, 'P1532', 'Q924']
SELECT DISTINCT ?g WHERE { ?g property:P1532 resource:Q953 . ?g rdf:type ontology:Q1194951 }
Netherlands Belarus People's Republic of China Jordan Malaysia Ukraine Zambia Republic of Moldova Cyprus Tanzania
Did you mean Netherlands ?
Netherlands
[{'concept': 'national sports team'}, 'country for sport', 'Netherlands'] [{'concept': 'national sports team'}, 'country for sport', 'Belarus'] [{'concept': 'national sports team'}, 'country for sport', "People's Republic of China"] [{'concept': 'national sports team'}, 'country for sport', 'Jordan'] [{'concept': 'national sports team'}, 'country for sport', 'Malaysia'] [{'concept': 'national sports team'}, 'country for sport', 'Ukraine'] [{'concept': 'national sports team'}, 'country for sport', 'Zambia'] [{'concept': 'national sports team'}, 'country for sport', 'Republic of Moldova'] [{'concept': 'national sports team'}, 'country for sport', 'Cyprus'] [{'concept': 'national sports team'}, 'country for sport', 'Tanzania']
SELECT DISTINCT ?g WHERE { ?g property:country_for_sport resource:Zambia . ?g rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
USER
No, I meant Zambia. Could you tell me the answer for that?
(c(Q1194951),P1532,Q953)
Q953
[{'concept': 'Q1194951'}, 'P1532', 'Q953']
[{'concept': 'national sports team'}, 'country for sport', 'Zambia']
[]
Q206350
SYSTEM
Zambia national football team
Q206350
(c(Q1194951),P1532,Q953)
action filter_type
action find_reverse
entity Q953
relation P1532
type Q1194951
[ANSWER] plays for that administrative territory
[{'concept': 'Q1194951'}, 'P1532', 'Q953']
SELECT DISTINCT ?g WHERE { ?g property:P1532 resource:Q953 . ?g rdf:type ontology:Q1194951 }
Zambia national football team
Zambia national football team plays for that administrative territory
Zambia national football team
action filter_type
action find_reverse
entity Zambia
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Zambia']
SELECT DISTINCT ?g WHERE { ?g property:country_for_sport resource:Zambia . ?g rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q206350 Q503596 Q4701562
P17
Q15617994
USER
Is that national sports team present in Bruckberg, Middle Franconia and Akova ?
(Q206350,P17,Q503596) (Q206350,P17,Q4701562)
action is_in
entity Q206350
action intersection
action find_reverse
entity Q503596
relation P17
action find_reverse
entity Q4701562
relation P17
['Q206350', 'P17', 'Q503596'] ['Q206350', 'P17', 'Q4701562']
ASK WHERE { resource:Q206350 property:P17 resource:Q4701562 . resource:Q206350 property:P17 resource:Q503596 }
Zambia national football team Bruckberg, Middle Franconia Akova
action is_in
entity Zambia national football team
action intersection
action find_reverse
entity Bruckberg, Middle Franconia
relation country
action find_reverse
entity Akova
relation country
['Zambia national football team', 'country', 'Bruckberg, Middle Franconia'] ['Zambia national football team', 'country', 'Akova']
ASK WHERE { resource:Zambia_national_football_team property:country resource:Akova . resource:Zambia_national_football_team property:country resource:Bruckberg,_Middle_Franconia }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q206350,P17,Q503596) (Q206350,P17,Q4701562)
action is_in
entity Q206350
action intersection
action find_reverse
entity Q503596
relation P17
action find_reverse
entity Q4701562
relation P17
[ANSWER]
['Q206350', 'P17', 'Q503596'] ['Q206350', 'P17', 'Q4701562']
ASK WHERE { resource:Q206350 property:P17 resource:Q4701562 . resource:Q206350 property:P17 resource:Q503596 }
No
action is_in
entity Zambia national football team
action intersection
action find_reverse
entity Bruckberg, Middle Franconia
relation country
action find_reverse
entity Akova
relation country
['Zambia national football team', 'country', 'Bruckberg, Middle Franconia'] ['Zambia national football team', 'country', 'Akova']
ASK WHERE { resource:Zambia_national_football_team property:country resource:Akova . resource:Zambia_national_football_team property:country resource:Bruckberg,_Middle_Franconia }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q15180 Q212
P17
Q1048835
USER
Which political territories are located in Ukraine and Soviet Union ?
AND((c(Q1048835),P17,Q212), (c(Q1048835),P17,Q15180))
action filter_type
action intersection
action find_reverse
entity Q212
relation P17
action find_reverse
entity Q15180
relation P17
type Q1048835
{'AND': [[{'concept': 'Q1048835'}, 'P17', 'Q212'], [{'concept': 'Q1048835'}, 'P17', 'Q15180']]}
SELECT DISTINCT ?u WHERE { ?u property:P17 resource:Q212 . ?u property:P17 resource:Q15180 . ?u rdf:type ontology:Q1048835 }
Soviet Union Ukraine
action filter_type
action intersection
action find_reverse
entity Ukraine
relation country
action find_reverse
entity Soviet Union
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'country', 'Ukraine'], [{'concept': 'political territorial entity'}, 'country', 'Soviet Union']]}
SELECT DISTINCT ?u WHERE { ?u property:country resource:Ukraine . ?u property:country resource:Soviet_Union . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q4452864 Q171965 Q2180620 Q4332333 Q4270788 Q4522980 Q4410341 Q4105057 Q4481192 Q180981
SYSTEM
Some of them are Takhtaulove, Luhansk Oblast, Moryntsi, Ozyornoye, Lyse, Shepit, Svitlychne, Wasloutz, Faraonivka, Kirovohrad Oblast
Q4332333 Q4481192 Q2180620 Q170672 Q4522980 Q180981 Q171965 Q4452864 Q4105057 Q4410341 Q4270788
AND((c(Q1048835),P17,Q212), (c(Q1048835),P17,Q15180))
action filter_type
action intersection
action find_reverse
entity Q212
relation P17
action find_reverse
entity Q15180
relation P17
type Q1048835
[ANSWERS] are located in Ukraine and Soviet Union
{'AND': [[{'concept': 'Q1048835'}, 'P17', 'Q212'], [{'concept': 'Q1048835'}, 'P17', 'Q15180']]}
SELECT DISTINCT ?u WHERE { ?u property:P17 resource:Q212 . ?u property:P17 resource:Q15180 . ?u rdf:type ontology:Q1048835 }
Ozyornoye Faraonivka Moryntsi Dnipropetrovsk Oblast Shepit Kirovohrad Oblast Luhansk Oblast Takhtaulove Wasloutz Svitlychne Lyse
Takhtaulove, Luhansk Oblast, Moryntsi, Ozyornoye, Lyse, Shepit, Svitlychne, Wasloutz, Faraonivka and Kirovohrad Oblast are located in Ukraine and Soviet Union
Takhtaulove Luhansk Oblast Moryntsi Ozyornoye Lyse Shepit Svitlychne Wasloutz Faraonivka Kirovohrad Oblast
action filter_type
action intersection
action find_reverse
entity Ukraine
relation country
action find_reverse
entity Soviet Union
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'country', 'Ukraine'], [{'concept': 'political territorial entity'}, 'country', 'Soviet Union']]}
SELECT DISTINCT ?u WHERE { ?u property:country resource:Ukraine . ?u property:country resource:Soviet_Union . ?u rdf:type ontology:political_territorial_entity }
[]