Simple Question (Direct)
Simple Question
Q1712156
P21
Q290
USER
What is the sex of Julie Bikle ?
(Q1712156,P21,c(Q290))
action filter_type
action find
entity Q1712156
relation P21
type Q290
['Q1712156', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q1712156 property:P21 ?w . ?w rdf:type ontology:Q290 }
Julie Bikle
action filter_type
action find
entity Julie Bikle
relation gender
type sex
['Julie Bikle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Julie_Bikle property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1712156,P21,c(Q290))
action filter_type
action find
entity Q1712156
relation P21
type Q290
The sex of Julie Bikle is the [ANSWER]
['Q1712156', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q1712156 property:P21 ?w . ?w rdf:type ontology:Q290 }
female
The sex of Julie Bikle is the female
female
action filter_type
action find
entity Julie Bikle
relation gender
type sex
['Julie Bikle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Julie_Bikle property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1712156
P27
Q15617994
USER
Which administrative territory is Julie Bikle an inhabitant of ?
(Q1712156,P27,c(Q15617994))
action filter_type
action find
entity Q1712156
relation P27
type Q15617994
['Q1712156', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q1712156 property:P27 ?j }
Julie Bikle
action filter_type
action find
entity Julie Bikle
relation country of citizenship
type designation for an administrative territorial entity
['Julie Bikle', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Julie_Bikle property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q1712156,P27,c(Q15617994))
action filter_type
action find
entity Q1712156
relation P27
type Q15617994
[ANSWER] is Julie Bikle an inhabitant of
['Q1712156', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q1712156 property:P27 ?j }
Switzerland
Switzerland is Julie Bikle an inhabitant of
Switzerland
action filter_type
action find
entity Julie Bikle
relation country of citizenship
type designation for an administrative territorial entity
['Julie Bikle', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Julie_Bikle property:country_of_citizenship ?j }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1712156
Q1048835
USER
And which political territory?
(Q1712156,P27,c(Q1048835))
action filter_type
action find
entity Q1712156
relation P27
type Q1048835
['Q1712156', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q1712156 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
Julie Bikle
action filter_type
action find
entity Julie Bikle
relation country of citizenship
type political territorial entity
['Julie Bikle', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Julie_Bikle property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1712156,P27,c(Q1048835))
action filter_type
action find
entity Q1712156
relation P27
type Q1048835
[ANSWER]
['Q1712156', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q1712156 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Julie Bikle
relation country of citizenship
type political territorial entity
['Julie Bikle', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Julie_Bikle property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q52021 Q183
P530 P495
Q15617994
USER
Which administrative territories have a diplomatic relationship with Germany or are the countries of origin of The Kick ?
OR((Q183,P530,c(Q15617994)), (Q52021,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q52021
relation P495
type Q15617994
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q52021', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q183 property:P530 ?s } UNION { resource:Q52021 property:P495 ?s } } . ?s rdf:type ontology:Q15617994 }
The Kick Germany
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity The Kick
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['The Kick', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Germany property:diplomatic_relation ?s } UNION { resource:The_Kick property:country_of_origin ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q238 Q222 Q796 Q794 Q229 Q419 Q227 Q1049 Q810 Q1045
SYSTEM
Some of them are San Marino, Albania, Iraq, Iran, Cyprus, Peru, Azerbaijan, Sudan, Jordan, Somalia
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 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 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((Q183,P530,c(Q15617994)), (Q52021,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q52021
relation P495
type Q15617994
[ANSWERS] have a diplomatic relationship with Germany or are the countries of origin of The Kick
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q52021', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q183 property:P530 ?s } UNION { resource:Q52021 property:P495 ?s } } . ?s 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 Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra 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
San Marino, Albania, Iraq, Iran, Cyprus, Peru, Azerbaijan, Sudan, Jordan and Somalia have a diplomatic relationship with Germany or are the countries of origin of The Kick
San Marino Albania Iraq Iran Cyprus Peru Azerbaijan Sudan Jordan Somalia
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity The Kick
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['The Kick', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Germany property:diplomatic_relation ?s } UNION { resource:The_Kick property:country_of_origin ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q238 Q222 Q796 Q794 Q229 Q419 Q227 Q1049 Q810 Q1045
P1001
Q14660
USER
Which flags preside the jurisdiction over those administrative territories ?
(c(Q14660),P1001,Q238) (c(Q14660),P1001,Q222) (c(Q14660),P1001,Q796) (c(Q14660),P1001,Q794) (c(Q14660),P1001,Q229) (c(Q14660),P1001,Q419) (c(Q14660),P1001,Q227) (c(Q14660),P1001,Q1049) (c(Q14660),P1001,Q810) (c(Q14660),P1001,Q1045)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q14660
[{'concept': 'Q14660'}, 'P1001', 'Q238'] [{'concept': 'Q14660'}, 'P1001', 'Q222'] [{'concept': 'Q14660'}, 'P1001', 'Q796'] [{'concept': 'Q14660'}, 'P1001', 'Q794'] [{'concept': 'Q14660'}, 'P1001', 'Q229'] [{'concept': 'Q14660'}, 'P1001', 'Q419'] [{'concept': 'Q14660'}, 'P1001', 'Q227'] [{'concept': 'Q14660'}, 'P1001', 'Q1049'] [{'concept': 'Q14660'}, 'P1001', 'Q810'] [{'concept': 'Q14660'}, 'P1001', 'Q1045']
SELECT DISTINCT ?i WHERE { ?i property:P1001 ?t . VALUES ( ?t ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } . ?i rdf:type ontology:Q14660 }
San Marino Albania Iraq Iran Cyprus Peru Azerbaijan Sudan Jordan Somalia
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'San Marino'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Albania'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Iraq'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Iran'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Cyprus'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Peru'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Azerbaijan'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Sudan'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Jordan'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Somalia']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction ?t . VALUES ( ?t ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } . ?i rdf:type ontology:flag }
[]
flag
Q82236 Q162781 Q4633
SYSTEM
Flag of Azerbaijan, flag of Iraq, Flag of Cyprus
Q168925 Q48409 Q162781 Q126622 Q4633 Q160255 Q82236 Q102198 Q170064 Q159538
(c(Q14660),P1001,Q238) (c(Q14660),P1001,Q222) (c(Q14660),P1001,Q796) (c(Q14660),P1001,Q794) (c(Q14660),P1001,Q229) (c(Q14660),P1001,Q419) (c(Q14660),P1001,Q227) (c(Q14660),P1001,Q1049) (c(Q14660),P1001,Q810) (c(Q14660),P1001,Q1045)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q14660
[ANSWERS] preside the jurisdiction over those administrative territories
[{'concept': 'Q14660'}, 'P1001', 'Q238'] [{'concept': 'Q14660'}, 'P1001', 'Q222'] [{'concept': 'Q14660'}, 'P1001', 'Q796'] [{'concept': 'Q14660'}, 'P1001', 'Q794'] [{'concept': 'Q14660'}, 'P1001', 'Q229'] [{'concept': 'Q14660'}, 'P1001', 'Q419'] [{'concept': 'Q14660'}, 'P1001', 'Q227'] [{'concept': 'Q14660'}, 'P1001', 'Q1049'] [{'concept': 'Q14660'}, 'P1001', 'Q810'] [{'concept': 'Q14660'}, 'P1001', 'Q1045']
SELECT DISTINCT ?i WHERE { ?i property:P1001 ?t . VALUES ( ?t ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } . ?i rdf:type ontology:Q14660 }
Flag of San Marino flag of Albania flag of Iraq Flag of Iran Flag of Cyprus flag of Peru Flag of Azerbaijan Flag of Sudan Flag of Jordan Flag of Somalia
Flag of Azerbaijan, flag of Iraq and Flag of Cyprus preside the jurisdiction over those administrative territories
Flag of Azerbaijan flag of Iraq Flag of Cyprus
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'San Marino'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Albania'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Iraq'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Iran'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Cyprus'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Peru'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Azerbaijan'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Sudan'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Jordan'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Somalia']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction ?t . VALUES ( ?t ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } . ?i rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q229
P1376
Q56061
USER
What is the capital of Cyprus ?
(c(Q56061),P1376,Q229)
action filter_type
action find_reverse
entity Q229
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q229']
SELECT DISTINCT ?t WHERE { ?t property:P1376 resource:Q229 . ?t rdf:type ontology:Q56061 }
Cyprus
action filter_type
action find_reverse
entity Cyprus
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Cyprus']
SELECT DISTINCT ?t WHERE { ?t property:capital_of resource:Cyprus . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3856
SYSTEM
Nicosia
Q3856
(c(Q56061),P1376,Q229)
action filter_type
action find_reverse
entity Q229
relation P1376
type Q56061
The capital of Cyprus is in [ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q229']
SELECT DISTINCT ?t WHERE { ?t property:P1376 resource:Q229 . ?t rdf:type ontology:Q56061 }
Nicosia
The capital of Cyprus is in Nicosia
Nicosia
action filter_type
action find_reverse
entity Cyprus
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Cyprus']
SELECT DISTINCT ?t WHERE { ?t property:capital_of resource:Cyprus . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3856
P276
Q483110
USER
What are situated at that administrative territory ?
(c(Q483110),P276,Q3856)
action filter_type
action find_reverse
entity Q3856
relation P276
type Q483110
[{'concept': 'Q483110'}, 'P276', 'Q3856']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q3856 . ?v rdf:type ontology:Q483110 }
Nicosia
action filter_type
action find_reverse
entity Nicosia
relation location
type stadium
[{'concept': 'stadium'}, 'location', 'Nicosia']
SELECT DISTINCT ?v WHERE { ?v property:location resource:Nicosia . ?v rdf:type ontology:stadium }
[]
stadium
Q19897792 Q19820684
SYSTEM
Orfeas Stadium, Kykkos Stadium
Q19897792 Q19820684
(c(Q483110),P276,Q3856)
action filter_type
action find_reverse
entity Q3856
relation P276
type Q483110
[ANSWERS] are situated at that administrative territory
[{'concept': 'Q483110'}, 'P276', 'Q3856']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q3856 . ?v rdf:type ontology:Q483110 }
Orfeas Stadium Kykkos Stadium
Orfeas Stadium and Kykkos Stadium are situated at that administrative territory
Orfeas Stadium Kykkos Stadium
action filter_type
action find_reverse
entity Nicosia
relation location
type stadium
[{'concept': 'stadium'}, 'location', 'Nicosia']
SELECT DISTINCT ?v WHERE { ?v property:location resource:Nicosia . ?v rdf:type ontology:stadium }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P127
Q163740 Q483110
USER
Which nonprofit organizations are the owners of max number of stadia ?
(c(Q483110),P127,Q6365149)
action argmax
action find_reverse_tuple_counts
relation P127
type Q163740
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q6365149']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?i ) { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P127 ?m . ?m rdf:type ontology:Q163740 . ?v rdf:type ontology:Q483110 } GROUP BY ?m } } . { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P127 ?u . ?u rdf:type ontology:Q163740 . ?d rdf:type ontology:Q483110 } GROUP BY ?u } . FILTER ( ?a = ?i ) }
action argmax
action find_reverse_tuple_counts
relation owned by
type nonprofit organization
type stadium
[{'concept': 'stadium'}, 'owned by', 'Kansas Wesleyan University']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?i ) { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:owned_by ?m . ?m rdf:type ontology:nonprofit_organization . ?v rdf:type ontology:stadium } GROUP BY ?m } } . { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:owned_by ?u . ?u rdf:type ontology:nonprofit_organization . ?d rdf:type ontology:stadium } GROUP BY ?u } . FILTER ( ?a = ?i ) }
[]
nonprofit organization stadium
Q1191335 Q2164222
SYSTEM
Colgate University, Rollins College
Q1191335 Q2164222
(c(Q483110),P127,Q6365149)
action argmax
action find_reverse_tuple_counts
relation P127
type Q163740
type Q483110
[ANSWERS] are the owners of max number of stadia
[{'concept': 'Q483110'}, 'P127', 'Q6365149']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?i ) { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P127 ?m . ?m rdf:type ontology:Q163740 . ?v rdf:type ontology:Q483110 } GROUP BY ?m } } . { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P127 ?u . ?u rdf:type ontology:Q163740 . ?d rdf:type ontology:Q483110 } GROUP BY ?u } . FILTER ( ?a = ?i ) }
Colgate University Rollins College
Colgate University and Rollins College are the owners of max number of stadia
Colgate University Rollins College
action argmax
action find_reverse_tuple_counts
relation owned by
type nonprofit organization
type stadium
[{'concept': 'stadium'}, 'owned by', 'Kansas Wesleyan University']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?i ) { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:owned_by ?m . ?m rdf:type ontology:nonprofit_organization . ?v rdf:type ontology:stadium } GROUP BY ?m } } . { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:owned_by ?u . ?u rdf:type ontology:nonprofit_organization . ?d rdf:type ontology:stadium } GROUP BY ?u } . FILTER ( ?a = ?i ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q91452 Q229
P530 P27
Q1048835
USER
Which political territories have a diplomatic relationship with Cyprus and are Bernhard Thalheim an inhabitant of ?
AND((Q229,P530,c(Q1048835)), (Q91452,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q229
relation P530
action find
entity Q91452
relation P27
type Q1048835
{'AND': [['Q229', 'P530', {'concept': 'Q1048835'}], ['Q91452', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { resource:Q229 property:P530 ?g . resource:Q91452 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Bernhard Thalheim Cyprus
action filter_type
action intersection
action find
entity Cyprus
relation diplomatic relation
action find
entity Bernhard Thalheim
relation country of citizenship
type political territorial entity
{'AND': [['Cyprus', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Bernhard Thalheim', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Cyprus property:diplomatic_relation ?g . resource:Bernhard_Thalheim property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q229,P530,c(Q1048835)), (Q91452,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q229
relation P530
action find
entity Q91452
relation P27
type Q1048835
[ANSWER] have a diplomatic relationship with Cyprus and are Bernhard Thalheim an inhabitant of
{'AND': [['Q229', 'P530', {'concept': 'Q1048835'}], ['Q91452', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { resource:Q229 property:P530 ?g . resource:Q91452 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Germany
Germany have a diplomatic relationship with Cyprus and are Bernhard Thalheim an inhabitant of
Germany
action filter_type
action intersection
action find
entity Cyprus
relation diplomatic relation
action find
entity Bernhard Thalheim
relation country of citizenship
type political territorial entity
{'AND': [['Cyprus', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Bernhard Thalheim', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Cyprus property:diplomatic_relation ?g . resource:Bernhard_Thalheim property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q20264439 Q794
P27 P17
Q15617994
USER
Which administrative territories are Iran located in or are the countries of citizenship of Sophie Verbeeck ?
OR((Q794,P17,c(Q15617994)), (Q20264439,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q794
relation P17
action find
entity Q20264439
relation P27
type Q15617994
{'OR': [['Q794', 'P17', {'concept': 'Q15617994'}], ['Q20264439', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q794 property:P17 ?n } UNION { resource:Q20264439 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
Sophie Verbeeck Iran
action filter_type
action union
action find
entity Iran
relation country
action find
entity Sophie Verbeeck
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Iran', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sophie Verbeeck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Iran property:country ?n } UNION { resource:Sophie_Verbeeck property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q31 Q794
SYSTEM
France, Belgium, Iran
Q142 Q31 Q794
OR((Q794,P17,c(Q15617994)), (Q20264439,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q794
relation P17
action find
entity Q20264439
relation P27
type Q15617994
Iran are located in [ANSWERS] or are the countries of citizenship of Sophie Verbeeck
{'OR': [['Q794', 'P17', {'concept': 'Q15617994'}], ['Q20264439', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q794 property:P17 ?n } UNION { resource:Q20264439 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
France Belgium Iran
Iran are located in France, Belgium and Iran or are the countries of citizenship of Sophie Verbeeck
France Belgium Iran
action filter_type
action union
action find
entity Iran
relation country
action find
entity Sophie Verbeeck
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Iran', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sophie Verbeeck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Iran property:country ?n } UNION { resource:Sophie_Verbeeck property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]