Simple Question (Direct)
Simple Question
Q3925326
P27
Q15617994
USER
Which administrative territory is the native country of Publio Morbiducci ?
(Q3925326,P27,c(Q15617994))
action filter_type
action find
entity Q3925326
relation P27
type Q15617994
['Q3925326', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3925326 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Publio Morbiducci
action filter_type
action find
entity Publio Morbiducci
relation country of citizenship
type designation for an administrative territorial entity
['Publio Morbiducci', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Publio_Morbiducci property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3925326,P27,c(Q15617994))
action filter_type
action find
entity Q3925326
relation P27
type Q15617994
[ANSWER] is the native country of Publio Morbiducci
['Q3925326', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3925326 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Italy
Italy is the native country of Publio Morbiducci
Italy
action filter_type
action find
entity Publio Morbiducci
relation country of citizenship
type designation for an administrative territorial entity
['Publio Morbiducci', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Publio_Morbiducci property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3925326
P21
Q290
USER
Which sex does Publio Morbiducci possess ?
(Q3925326,P21,c(Q290))
action filter_type
action find
entity Q3925326
relation P21
type Q290
['Q3925326', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q3925326 property:P21 ?r . ?r rdf:type ontology:Q290 }
Publio Morbiducci
action filter_type
action find
entity Publio Morbiducci
relation gender
type sex
['Publio Morbiducci', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Publio_Morbiducci property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3925326,P21,c(Q290))
action filter_type
action find
entity Q3925326
relation P21
type Q290
Publio Morbiducci possesses un [ANSWER]
['Q3925326', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q3925326 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
Publio Morbiducci possesses un male
male
action filter_type
action find
entity Publio Morbiducci
relation gender
type sex
['Publio Morbiducci', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Publio_Morbiducci property:gender ?r . ?r rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3862807 Q38
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with Italy or are the countries of citizenship of Mor Seck ?
OR((Q38,P530,c(Q15617994)), (Q3862807,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q3862807
relation P27
type Q15617994
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q3862807', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q38 property:P530 ?s } UNION { resource:Q3862807 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Mor Seck Italy
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Mor Seck
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Mor Seck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Italy property:diplomatic_relation ?s } UNION { resource:Mor_Seck property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q889 Q419 Q114 Q30 Q218 Q733 Q403 Q1016 Q191 Q948
SYSTEM
Some of them are Afghanistan, Peru, Kenya, United States of America, Romania, Paraguay, Serbia, Libya, Estonia, Tunisia
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q739 Q227 Q948 Q1041 Q191 Q733 Q928 Q298 Q45 Q252 Q114 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q215 Q155 Q218 Q41 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q881
OR((Q38,P530,c(Q15617994)), (Q3862807,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q3862807
relation P27
type Q15617994
[ANSWERS] have diplomatic relations with Italy or are the countries of citizenship of Mor Seck
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q3862807', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q38 property:P530 ?s } UNION { resource:Q3862807 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Andorra Finland Luxembourg Japan United States of America Lithuania Poland Egypt Sweden Uruguay Switzerland Libya Colombia Azerbaijan Tunisia Senegal Estonia Paraguay Philippines Chile Portugal Indonesia Kenya Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Slovenia Brazil Romania Greece San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea Vietnam
Afghanistan, Peru, Kenya, United States of America, Romania, Paraguay, Serbia, Libya, Estonia and Tunisia have diplomatic relations with Italy or are the countries of citizenship of Mor Seck
Afghanistan Peru Kenya United States of America Romania Paraguay Serbia Libya Estonia Tunisia
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Mor Seck
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Mor Seck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Italy property:diplomatic_relation ?s } UNION { resource:Mor_Seck property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q139117
P530
Q15617994
USER
Do Metsweding District Municipality have diplomatic relations with those ones ?
(Q139117,P530,Q889) (Q139117,P530,Q419) (Q139117,P530,Q114) (Q139117,P530,Q30) (Q139117,P530,Q218) (Q139117,P530,Q733) (Q139117,P530,Q403) (Q139117,P530,Q1016) (Q139117,P530,Q191) (Q139117,P530,Q948)
action is_in
entity prev_answer
action find
entity Q139117
relation P530
['Q139117', 'P530', 'Q889'] ['Q139117', 'P530', 'Q419'] ['Q139117', 'P530', 'Q114'] ['Q139117', 'P530', 'Q30'] ['Q139117', 'P530', 'Q218'] ['Q139117', 'P530', 'Q733'] ['Q139117', 'P530', 'Q403'] ['Q139117', 'P530', 'Q1016'] ['Q139117', 'P530', 'Q191'] ['Q139117', 'P530', 'Q948']
ASK WHERE { VALUES ( ?y ) { ( resource:Q805 ) ( resource:Q219 ) ( resource:Q869 ) } . resource:Q139117 property:P530 ?y }
Metsweding District Municipality
action is_in
entity prev_answer
action find
entity Metsweding District Municipality
relation diplomatic relation
['Metsweding District Municipality', 'diplomatic relation', 'Afghanistan'] ['Metsweding District Municipality', 'diplomatic relation', 'Peru'] ['Metsweding District Municipality', 'diplomatic relation', 'Kenya'] ['Metsweding District Municipality', 'diplomatic relation', 'United States of America'] ['Metsweding District Municipality', 'diplomatic relation', 'Romania'] ['Metsweding District Municipality', 'diplomatic relation', 'Paraguay'] ['Metsweding District Municipality', 'diplomatic relation', 'Serbia'] ['Metsweding District Municipality', 'diplomatic relation', 'Libya'] ['Metsweding District Municipality', 'diplomatic relation', 'Estonia'] ['Metsweding District Municipality', 'diplomatic relation', 'Tunisia']
ASK WHERE { VALUES ( ?y ) { ( resource:Yemen ) ( resource:Bulgaria ) ( resource:Thailand ) } . resource:Metsweding_District_Municipality property:diplomatic_relation ?y }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q139117,P530,Q889) (Q139117,P530,Q419) (Q139117,P530,Q114) (Q139117,P530,Q30) (Q139117,P530,Q218) (Q139117,P530,Q733) (Q139117,P530,Q403) (Q139117,P530,Q1016) (Q139117,P530,Q191) (Q139117,P530,Q948)
action is_in
entity prev_answer
action find
entity Q139117
relation P530
[ANSWER]
['Q139117', 'P530', 'Q889'] ['Q139117', 'P530', 'Q419'] ['Q139117', 'P530', 'Q114'] ['Q139117', 'P530', 'Q30'] ['Q139117', 'P530', 'Q218'] ['Q139117', 'P530', 'Q733'] ['Q139117', 'P530', 'Q403'] ['Q139117', 'P530', 'Q1016'] ['Q139117', 'P530', 'Q191'] ['Q139117', 'P530', 'Q948']
ASK WHERE { VALUES ( ?y ) { ( resource:Q805 ) ( resource:Q219 ) ( resource:Q869 ) } . resource:Q139117 property:P530 ?y }
No
action is_in
entity prev_answer
action find
entity Metsweding District Municipality
relation diplomatic relation
['Metsweding District Municipality', 'diplomatic relation', 'Afghanistan'] ['Metsweding District Municipality', 'diplomatic relation', 'Peru'] ['Metsweding District Municipality', 'diplomatic relation', 'Kenya'] ['Metsweding District Municipality', 'diplomatic relation', 'United States of America'] ['Metsweding District Municipality', 'diplomatic relation', 'Romania'] ['Metsweding District Municipality', 'diplomatic relation', 'Paraguay'] ['Metsweding District Municipality', 'diplomatic relation', 'Serbia'] ['Metsweding District Municipality', 'diplomatic relation', 'Libya'] ['Metsweding District Municipality', 'diplomatic relation', 'Estonia'] ['Metsweding District Municipality', 'diplomatic relation', 'Tunisia']
ASK WHERE { VALUES ( ?y ) { ( resource:Yemen ) ( resource:Bulgaria ) ( resource:Thailand ) } . resource:Metsweding_District_Municipality property:diplomatic_relation ?y }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q201658 Q2342494
USER
Which administrative territories are the origins of atleast 1879 film genres or collectables ?
(c(Q201658)|c(Q2342494),P495,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
value 1879
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) ?m WHERE { { ?x property:P495 ?m . ?m rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 } UNION { ?x property:P495 ?m . ?x rdf:type ontology:Q201658 . ?m rdf:type ontology:Q15617994 } } GROUP BY ?m } . FILTER ( ?n >= 1879 ) }
action atleast
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
value 1879
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) ?m WHERE { { ?x property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable } UNION { ?x property:country_of_origin ?m . ?x rdf:type ontology:film_genre . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?m } . FILTER ( ?n >= 1879 ) }
[]
designation for an administrative territorial entity film genre collectable
Q145 Q30
SYSTEM
United Kingdom, United States of America
Q145 Q30
(c(Q201658)|c(Q2342494),P495,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
value 1879
[ANSWERS] are the origins of atleast 1879 film genres or collectables
[[{'concept': 'Q201658'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) ?m WHERE { { ?x property:P495 ?m . ?m rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 } UNION { ?x property:P495 ?m . ?x rdf:type ontology:Q201658 . ?m rdf:type ontology:Q15617994 } } GROUP BY ?m } . FILTER ( ?n >= 1879 ) }
United Kingdom United States of America
United Kingdom and United States of America are the origins of atleast 1879 film genres or collectables
United Kingdom United States of America
action atleast
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
value 1879
[[{'concept': 'film genre'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) ?m WHERE { { ?x property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable } UNION { ?x property:country_of_origin ?m . ?x rdf:type ontology:film_genre . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?m } . FILTER ( ?n >= 1879 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P108
Q502895
USER
Which person has United States of America as its employer ?
(c(Q502895),P108,Q30)
action filter_type
action find_reverse
entity Q30
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q30']
SELECT DISTINCT ?m WHERE { ?m property:P108 resource:Q30 . ?m rdf:type ontology:Q502895 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United States of America']
SELECT DISTINCT ?m WHERE { ?m property:employer resource:United_States_of_America . ?m rdf:type ontology:common_name }
[]
common name
Q231417
SYSTEM
Barbara Walters
Q231417
(c(Q502895),P108,Q30)
action filter_type
action find_reverse
entity Q30
relation P108
type Q502895
[ANSWER] has United States of America as its employer
[{'concept': 'Q502895'}, 'P108', 'Q30']
SELECT DISTINCT ?m WHERE { ?m property:P108 resource:Q30 . ?m rdf:type ontology:Q502895 }
Barbara Walters
Barbara Walters has United States of America as its employer
Barbara Walters
action filter_type
action find_reverse
entity United States of America
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United States of America']
SELECT DISTINCT ?m WHERE { ?m property:employer resource:United_States_of_America . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q948
P1376
Q515
USER
Which city is the county seat for Tunisia ?
(c(Q515),P1376,Q948)
action filter_type
action find_reverse
entity Q948
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q948']
SELECT DISTINCT ?w WHERE { ?w property:P1376 resource:Q948 . ?w rdf:type ontology:Q515 }
Tunisia
action filter_type
action find_reverse
entity Tunisia
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Tunisia']
SELECT DISTINCT ?w WHERE { ?w property:capital_of resource:Tunisia . ?w rdf:type ontology:city }
[]
city
Q3572
SYSTEM
Tunis
Q3572
(c(Q515),P1376,Q948)
action filter_type
action find_reverse
entity Q948
relation P1376
type Q515
[ANSWER]ia [ANSWER] is the county seat for [ANSWER]ia
[{'concept': 'Q515'}, 'P1376', 'Q948']
SELECT DISTINCT ?w WHERE { ?w property:P1376 resource:Q948 . ?w rdf:type ontology:Q515 }
Tunis
Tunisia Tunis is the county seat for Tunisia
Tunis
action filter_type
action find_reverse
entity Tunisia
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Tunisia']
SELECT DISTINCT ?w WHERE { ?w property:capital_of resource:Tunisia . ?w rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q948
P610
Q14524493
USER
What is the highest point of Tunisia ?
(Q948,P610,c(Q14524493))
action filter_type
action find
entity Q948
relation P610
type Q14524493
['Q948', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?e WHERE { resource:Q948 property:P610 ?e . ?e rdf:type ontology:Q14524493 }
Tunisia
action filter_type
action find
entity Tunisia
relation highest point
type terrain
['Tunisia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?e WHERE { resource:Tunisia property:highest_point ?e . ?e rdf:type ontology:terrain }
[]
terrain
Q1232136
SYSTEM
Jebel ech Chambi
Q1232136
(Q948,P610,c(Q14524493))
action filter_type
action find
entity Q948
relation P610
type Q14524493
The highest point of Tunisia is the [ANSWER]
['Q948', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?e WHERE { resource:Q948 property:P610 ?e . ?e rdf:type ontology:Q14524493 }
Jebel ech Chambi
The highest point of Tunisia is the Jebel ech Chambi
Jebel ech Chambi
action filter_type
action find
entity Tunisia
relation highest point
type terrain
['Tunisia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?e WHERE { resource:Tunisia property:highest_point ?e . ?e rdf:type ontology:terrain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q948
P159
Q874405
USER
Which social groups have headquarters located at Tunisia ?
(c(Q874405),P159,Q948)
action filter_type
action find_reverse
entity Q948
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q948']
SELECT DISTINCT ?q WHERE { ?q property:P159 resource:Q948 . ?q rdf:type ontology:Q874405 }
Tunisia
action filter_type
action find_reverse
entity Tunisia
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Tunisia']
SELECT DISTINCT ?q WHERE { ?q property:headquarters_location resource:Tunisia . ?q rdf:type ontology:social_group }
[]
social group
Q4867789 Q3075847
SYSTEM
Basma Association, Tunisian National Solidarity Fund
Q4867789 Q3075847
(c(Q874405),P159,Q948)
action filter_type
action find_reverse
entity Q948
relation P159
type Q874405
[ANSWERS] have headquarters located at Tunisia
[{'concept': 'Q874405'}, 'P159', 'Q948']
SELECT DISTINCT ?q WHERE { ?q property:P159 resource:Q948 . ?q rdf:type ontology:Q874405 }
Basma Association Tunisian National Solidarity Fund
Basma Association and Tunisian National Solidarity Fund have headquarters located at Tunisia
Basma Association Tunisian National Solidarity Fund
action filter_type
action find_reverse
entity Tunisia
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Tunisia']
SELECT DISTINCT ?q WHERE { ?q property:headquarters_location resource:Tunisia . ?q rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4867789 Q3075847
P159
Q15617994
USER
Where are the headquarters of Basma Association and Tunisian National Solidarity Fund located ?
(Q4867789,P159,c(Q15617994)) (Q3075847,P159,c(Q15617994))
action union
action filter_type
action find
entity Q4867789
relation P159
type Q15617994
action filter_type
action find
entity Q3075847
relation P159
type Q15617994
['Q4867789', 'P159', {'concept': 'Q15617994'}] ['Q3075847', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { resource:Q4867789 property:P159 ?c . ?c rdf:type ontology:Q15617994 } UNION { resource:Q3075847 property:P159 ?c . ?c rdf:type ontology:Q15617994 } }
Basma Association Tunisian National Solidarity Fund
action union
action filter_type
action find
entity Basma Association
relation headquarters location
type designation for an administrative territorial entity
action filter_type
action find
entity Tunisian National Solidarity Fund
relation headquarters location
type designation for an administrative territorial entity
['Basma Association', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Tunisian National Solidarity Fund', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { resource:Basma_Association property:headquarters_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Tunisian_National_Solidarity_Fund property:headquarters_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q948 Q948
SYSTEM
Tunisia
Q948 Q948
(Q4867789,P159,c(Q15617994)) (Q3075847,P159,c(Q15617994))
action union
action filter_type
action find
entity Q4867789
relation P159
type Q15617994
action filter_type
action find
entity Q3075847
relation P159
type Q15617994
Located in [ANSWER] and [ANSWER] are the headquarters of Basma Association and [ANSWER]n National Solidarity Fund
['Q4867789', 'P159', {'concept': 'Q15617994'}] ['Q3075847', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { resource:Q4867789 property:P159 ?c . ?c rdf:type ontology:Q15617994 } UNION { resource:Q3075847 property:P159 ?c . ?c rdf:type ontology:Q15617994 } }
Tunisia Tunisia
Located in Tunisia and Tunisia are the headquarters of Basma Association and Tunisian National Solidarity Fund
Tunisia Tunisia
action union
action filter_type
action find
entity Basma Association
relation headquarters location
type designation for an administrative territorial entity
action filter_type
action find
entity Tunisian National Solidarity Fund
relation headquarters location
type designation for an administrative territorial entity
['Basma Association', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Tunisian National Solidarity Fund', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { resource:Basma_Association property:headquarters_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Tunisian_National_Solidarity_Fund property:headquarters_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q948
P17
Q4164871
USER
Which position is present in Tunisia ?
(c(Q4164871),P17,Q948)
action filter_type
action find_reverse
entity Q948
relation P17
type Q4164871
[{'concept': 'Q4164871'}, 'P17', 'Q948']
SELECT DISTINCT ?q WHERE { ?q property:P17 resource:Q948 . ?q rdf:type ontology:Q4164871 }
Tunisia
action filter_type
action find_reverse
entity Tunisia
relation country
type position
[{'concept': 'position'}, 'country', 'Tunisia']
SELECT DISTINCT ?q WHERE { ?q property:country resource:Tunisia . ?q rdf:type ontology:position }
[]
position
Q20716252
SYSTEM
Minister of Justice
Q20716252
(c(Q4164871),P17,Q948)
action filter_type
action find_reverse
entity Q948
relation P17
type Q4164871
And [ANSWER] is present in Tunisia
[{'concept': 'Q4164871'}, 'P17', 'Q948']
SELECT DISTINCT ?q WHERE { ?q property:P17 resource:Q948 . ?q rdf:type ontology:Q4164871 }
Minister of Justice
And Minister of Justice is present in Tunisia
Minister of Justice
action filter_type
action find_reverse
entity Tunisia
relation country
type position
[{'concept': 'position'}, 'country', 'Tunisia']
SELECT DISTINCT ?q WHERE { ?q property:country resource:Tunisia . ?q rdf:type ontology:position }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q948
P30
Q2221906
USER
Which geographic location is Tunisia a part of ?
(Q948,P30,c(Q2221906))
action filter_type
action find
entity Q948
relation P30
type Q2221906
['Q948', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { resource:Q948 property:P30 ?h . ?h rdf:type ontology:Q2221906 }
Tunisia
action filter_type
action find
entity Tunisia
relation continent
type geographic location
['Tunisia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { resource:Tunisia property:continent ?h . ?h rdf:type ontology:geographic_location }
[]
geographic location
Q15
SYSTEM
Africa
Q15
(Q948,P30,c(Q2221906))
action filter_type
action find
entity Q948
relation P30
type Q2221906
[ANSWER] is Tunisia a part of
['Q948', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { resource:Q948 property:P30 ?h . ?h rdf:type ontology:Q2221906 }
Africa
Africa is Tunisia a part of
Africa
action filter_type
action find
entity Tunisia
relation continent
type geographic location
['Tunisia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { resource:Tunisia property:continent ?h . ?h rdf:type ontology:geographic_location }
[]