Simple Question (Direct)
Simple Question
Q2475935
P937
Q56061
USER
What is the location where Ulrich Hefner worked ?
(Q2475935,P937,c(Q56061))
action filter_type
action find
entity Q2475935
relation P937
type Q56061
['Q2475935', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q2475935 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Ulrich Hefner
action filter_type
action find
entity Ulrich Hefner
relation work location
type administrative territorial entity
['Ulrich Hefner', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Ulrich_Hefner property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q61717
SYSTEM
Lauda-Königshofen
Q61717
(Q2475935,P937,c(Q56061))
action filter_type
action find
entity Q2475935
relation P937
type Q56061
The location Ulrich Hefner worked is in [ANSWER]
['Q2475935', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q2475935 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Lauda-Königshofen
The location Ulrich Hefner worked is in Lauda-Königshofen
Lauda-Königshofen
action filter_type
action find
entity Ulrich Hefner
relation work location
type administrative territorial entity
['Ulrich Hefner', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Ulrich_Hefner property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2475935
P21
Q290
USER
What is the sex of Ulrich Hefner ?
(Q2475935,P21,c(Q290))
action filter_type
action find
entity Q2475935
relation P21
type Q290
['Q2475935', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q2475935 property:P21 ?c . ?c rdf:type ontology:Q290 }
Ulrich Hefner
action filter_type
action find
entity Ulrich Hefner
relation gender
type sex
['Ulrich Hefner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Ulrich_Hefner property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2475935,P21,c(Q290))
action filter_type
action find
entity Q2475935
relation P21
type Q290
The sex of Ulrich Hefner is the [ANSWER]
['Q2475935', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q2475935 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
The sex of Ulrich Hefner is the male
male
action filter_type
action find
entity Ulrich Hefner
relation gender
type sex
['Ulrich Hefner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Ulrich_Hefner property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24263646
Q290
USER
And what about Ustad Ghulam Abbas Khan?
(Q24263646,P21,c(Q290))
action filter_type
action find
entity Q24263646
relation P21
type Q290
['Q24263646', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q24263646 property:P21 ?o . ?o rdf:type ontology:Q290 }
Ustad Ghulam Abbas Khan
action filter_type
action find
entity Ustad Ghulam Abbas Khan
relation gender
type sex
['Ustad Ghulam Abbas Khan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Ustad_Ghulam_Abbas_Khan property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q24263646,P21,c(Q290))
action filter_type
action find
entity Q24263646
relation P21
type Q290
[ANSWER]
['Q24263646', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q24263646 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Ustad Ghulam Abbas Khan
relation gender
type sex
['Ustad Ghulam Abbas Khan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Ustad_Ghulam_Abbas_Khan property:gender ?o . ?o rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q7350166
P21
Q502895
USER
Is Robert Sutton, 2nd Baron Lexinton a that sex ?
(Q7350166,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q7350166
relation P21
['Q7350166', 'P21', 'Q6581097']
ASK WHERE { resource:Q7350166 property:P21 resource:Q6581097 }
male Robert Sutton, 2nd Baron Lexinton
action is_in
entity male
action find
entity Robert Sutton, 2nd Baron Lexinton
relation gender
['Robert Sutton, 2nd Baron Lexinton', 'gender', 'male']
ASK WHERE { resource:Robert_Sutton,_2nd_Baron_Lexinton property:gender resource:male }
[]
common name
SYSTEM
YES
(Q7350166,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q7350166
relation P21
[ANSWER]
['Q7350166', 'P21', 'Q6581097']
ASK WHERE { resource:Q7350166 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Robert Sutton, 2nd Baron Lexinton
relation gender
['Robert Sutton, 2nd Baron Lexinton', 'gender', 'male']
ASK WHERE { resource:Robert_Sutton,_2nd_Baron_Lexinton property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2475935 Q207111
P27
Q1048835
USER
Is Ulrich Hefner a civilian of North Lanarkshire ?
(Q2475935,P27,Q207111)
action is_in
entity Q207111
action find
entity Q2475935
relation P27
['Q2475935', 'P27', 'Q207111']
ASK WHERE { resource:Q2475935 property:P27 resource:Q207111 }
Ulrich Hefner North Lanarkshire
action is_in
entity North Lanarkshire
action find
entity Ulrich Hefner
relation country of citizenship
['Ulrich Hefner', 'country of citizenship', 'North Lanarkshire']
ASK WHERE { resource:Ulrich_Hefner property:country_of_citizenship resource:North_Lanarkshire }
[]
political territorial entity
SYSTEM
NO
(Q2475935,P27,Q207111)
action is_in
entity Q207111
action find
entity Q2475935
relation P27
[ANSWER]
['Q2475935', 'P27', 'Q207111']
ASK WHERE { resource:Q2475935 property:P27 resource:Q207111 }
No
action is_in
entity North Lanarkshire
action find
entity Ulrich Hefner
relation country of citizenship
['Ulrich Hefner', 'country of citizenship', 'North Lanarkshire']
ASK WHERE { resource:Ulrich_Hefner property:country_of_citizenship resource:North_Lanarkshire }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61717
P19
Q502895
USER
Which people have place of birth as Lauda-Königshofen ?
(c(Q502895),P19,Q61717)
action filter_type
action find_reverse
entity Q61717
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q61717']
SELECT DISTINCT ?s WHERE { ?s property:P19 resource:Q61717 . ?s rdf:type ontology:Q502895 }
Lauda-Königshofen
action filter_type
action find_reverse
entity Lauda-Königshofen
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Lauda-Königshofen']
SELECT DISTINCT ?s WHERE { ?s property:place_of_birth resource:Lauda-Königshofen . ?s rdf:type ontology:common_name }
[]
common name
Q2172666 Q108300 Q1277824
SYSTEM
Rudolf Freidhof, Fritz Stein, Roland Gerber
Q108300 Q89254 Q2426024 Q1277824 Q4536123 Q110408 Q2638087 Q1730710 Q2172666 Q816967 Q1666725 Q43995 Q127003 Q64947
(c(Q502895),P19,Q61717)
action filter_type
action find_reverse
entity Q61717
relation P19
type Q502895
[ANSWERS] have place of birth as Lauda-Königshofen
[{'concept': 'Q502895'}, 'P19', 'Q61717']
SELECT DISTINCT ?s WHERE { ?s property:P19 resource:Q61717 . ?s rdf:type ontology:Q502895 }
Fritz Stein Manuela Ruben Thomas Matussek Roland Gerber Ludwig Hugo Franz von Jagemann Johann Gottfried von Aschhausen Albert Hehn Karl Dernfeld Rudolf Freidhof Benedikt Knittel Josef Holler Thorsten Weidner Joseph Schmitt Heinrich Ehrler
Rudolf Freidhof, Fritz Stein and Roland Gerber have place of birth as Lauda-Königshofen
Rudolf Freidhof Fritz Stein Roland Gerber
action filter_type
action find_reverse
entity Lauda-Königshofen
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Lauda-Königshofen']
SELECT DISTINCT ?s WHERE { ?s property:place_of_birth resource:Lauda-Königshofen . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2172666 Q108300 Q1277824
P21
Q290
USER
Which sexes do those people belong to ?
(Q2172666,P21,c(Q290)) (Q108300,P21,c(Q290)) (Q1277824,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q2172666', 'P21', {'concept': 'Q290'}] ['Q108300', 'P21', {'concept': 'Q290'}] ['Q1277824', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . ?q property:P21 ?t . VALUES ( ?q ) { ( resource:Q108300 ) ( resource:Q89254 ) ( resource:Q2426024 ) } }
Rudolf Freidhof Fritz Stein Roland Gerber
action filter_type
action find
entity prev_answer
relation gender
type sex
['Rudolf Freidhof', 'gender', {'concept': 'sex'}] ['Fritz Stein', 'gender', {'concept': 'sex'}] ['Roland Gerber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . ?q property:gender ?t . VALUES ( ?q ) { ( resource:Fritz_Stein ) ( resource:Manuela_Ruben ) ( resource:Thomas_Matussek ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q2172666,P21,c(Q290)) (Q108300,P21,c(Q290)) (Q1277824,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people belong to [ANSWER], [ANSWER] and [ANSWER]
['Q2172666', 'P21', {'concept': 'Q290'}] ['Q108300', 'P21', {'concept': 'Q290'}] ['Q1277824', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . ?q property:P21 ?t . VALUES ( ?q ) { ( resource:Q108300 ) ( resource:Q89254 ) ( resource:Q2426024 ) } }
male male male
Those people belong to male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Rudolf Freidhof', 'gender', {'concept': 'sex'}] ['Fritz Stein', 'gender', {'concept': 'sex'}] ['Roland Gerber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . ?q property:gender ?t . VALUES ( ?q ) { ( resource:Fritz_Stein ) ( resource:Manuela_Ruben ) ( resource:Thomas_Matussek ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61717
P20
Q502895
USER
Who died in Lauda-Königshofen ?
(c(Q502895),P20,Q61717)
action filter_type
action find_reverse
entity Q61717
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q61717']
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q61717 . ?u rdf:type ontology:Q502895 }
Lauda-Königshofen
action filter_type
action find_reverse
entity Lauda-Königshofen
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Lauda-Königshofen']
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:Lauda-Königshofen . ?u rdf:type ontology:common_name }
[]
common name
Q127003 Q1738419
SYSTEM
Joseph Schmitt, Richard Kablitz
Q127003 Q1738419
(c(Q502895),P20,Q61717)
action filter_type
action find_reverse
entity Q61717
relation P20
type Q502895
[ANSWERS] died in Lauda-Königshofen
[{'concept': 'Q502895'}, 'P20', 'Q61717']
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q61717 . ?u rdf:type ontology:Q502895 }
Joseph Schmitt Richard Kablitz
Joseph Schmitt and Richard Kablitz died in Lauda-Königshofen
Joseph Schmitt Richard Kablitz
action filter_type
action find_reverse
entity Lauda-Königshofen
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Lauda-Königshofen']
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:Lauda-Königshofen . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q127003 Q1738419
P27
Q1048835
USER
Which political territories are the countries of citizenship of those people ?
(Q127003,P27,c(Q1048835)) (Q1738419,P27,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P27
type Q1048835
['Q127003', 'P27', {'concept': 'Q1048835'}] ['Q1738419', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { ?l property:P27 ?o . ?o rdf:type ontology:Q1048835 . VALUES ( ?l ) { ( resource:Q127003 ) ( resource:Q1738419 ) } }
Joseph Schmitt Richard Kablitz
action filter_type
action find
entity prev_answer
relation country of citizenship
type political territorial entity
['Joseph Schmitt', 'country of citizenship', {'concept': 'political territorial entity'}] ['Richard Kablitz', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { ?l property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity . VALUES ( ?l ) { ( resource:Joseph_Schmitt ) ( resource:Richard_Kablitz ) } }
[]
political territorial entity
Q183 Q183
SYSTEM
Germany
Q183 Q183
(Q127003,P27,c(Q1048835)) (Q1738419,P27,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P27
type Q1048835
And [ANSWER] and [ANSWER] are the countries of citizenship of those people
['Q127003', 'P27', {'concept': 'Q1048835'}] ['Q1738419', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { ?l property:P27 ?o . ?o rdf:type ontology:Q1048835 . VALUES ( ?l ) { ( resource:Q127003 ) ( resource:Q1738419 ) } }
Germany Germany
And Germany and Germany are the countries of citizenship of those people
Germany Germany
action filter_type
action find
entity prev_answer
relation country of citizenship
type political territorial entity
['Joseph Schmitt', 'country of citizenship', {'concept': 'political territorial entity'}] ['Richard Kablitz', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { ?l property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity . VALUES ( ?l ) { ( resource:Joseph_Schmitt ) ( resource:Richard_Kablitz ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P463
Q56061
USER
Which administrative territory had Germany as its member ?
(Q183,P463,c(Q56061))
action filter_type
action find
entity Q183
relation P463
type Q56061
['Q183', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q183 property:P463 ?s . ?s rdf:type ontology:Q56061 }
Germany
action filter_type
action find
entity Germany
relation member of
type administrative territorial entity
['Germany', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Germany property:member_of ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(Q183,P463,c(Q56061))
action filter_type
action find
entity Q183
relation P463
type Q56061
[ANSWER] had Germany as its member
['Q183', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q183 property:P463 ?s . ?s rdf:type ontology:Q56061 }
European Union
European Union had Germany as its member
European Union
action filter_type
action find
entity Germany
relation member of
type administrative territorial entity
['Germany', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Germany property:member_of ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q948
Q56061
USER
And also tell me about Tunisia?
(Q948,P463,c(Q56061))
action filter_type
action find
entity Q948
relation P463
type Q56061
['Q948', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q948 property:P463 ?t }
Tunisia
action filter_type
action find
entity Tunisia
relation member of
type administrative territorial entity
['Tunisia', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Tunisia property:member_of ?t }
[]
administrative territorial entity
Q7172 Q7159
SYSTEM
Arab League, African Union
Q7172 Q7159
(Q948,P463,c(Q56061))
action filter_type
action find
entity Q948
relation P463
type Q56061
[ANSWERS]
['Q948', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q948 property:P463 ?t }
Arab League African Union
Arab League African Union
action filter_type
action find
entity Tunisia
relation member of
type administrative territorial entity
['Tunisia', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Tunisia property:member_of ?t }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P530
Q15617994
USER
How many administrative territories have ambassadorial relations with that administrative territory ?
(c(Q15617994),P530,Q7159)
[{'concept': 'Q15617994'}, 'P530', 'Q7159']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P530 resource:Q7159 . ?z rdf:type ontology:Q15617994 }
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'African Union']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:diplomatic_relation resource:African_Union . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q7159
SYSTEM
Did you mean African Union ?
(c(Q15617994),P530,Q7172) (c(Q15617994),P530,Q7159)
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q7172'] [{'concept': 'Q15617994'}, 'P530', 'Q7159']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P530 resource:Q7159 . ?z rdf:type ontology:Q15617994 }
Did you mean African Union ?
African Union
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Arab League'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'African Union']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:diplomatic_relation resource:African_Union . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q15617994),P530,Q7159)
[{'concept': 'Q15617994'}, 'P530', 'Q7159']
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'African Union']
[]
SYSTEM
1
Q155
(c(Q15617994),P530,Q7159)
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q7159']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P530 resource:Q7159 . ?z rdf:type ontology:Q15617994 }
Brazil
1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'African Union']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:diplomatic_relation resource:African_Union . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7159
P530
Q15617994
USER
How many administrative territories have ambassadorial relations with African Union ?
(c(Q15617994),P530,Q7159)
action count
action filter_type
action find_reverse
entity Q7159
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q7159']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P530 resource:Q7159 . ?z rdf:type ontology:Q15617994 }
African Union
action count
action filter_type
action find_reverse
entity African Union
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'African Union']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:diplomatic_relation resource:African_Union . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q155
(c(Q15617994),P530,Q7159)
action count
action filter_type
action find_reverse
entity Q7159
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q7159']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P530 resource:Q7159 . ?z rdf:type ontology:Q15617994 }
Brazil
1
action count
action filter_type
action find_reverse
entity African Union
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'African Union']
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:diplomatic_relation resource:African_Union . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7159
P194
Q35749
USER
Which parliament is the legislative body for that administrative territory ?
action filter_type
action find
entity Q7159
relation P194
type Q35749
SELECT DISTINCT ?i WHERE { resource:Q7159 property:P194 ?i . ?i rdf:type ontology:Q35749 }
African Union
action filter_type
action find
entity African Union
relation legislative body
type parliament
SELECT DISTINCT ?i WHERE { resource:African_Union property:legislative_body ?i . ?i rdf:type ontology:parliament }
[]
parliament
Q1340659
SYSTEM
Pan-African Parliament
Q1340659
action filter_type
action find
entity Q7159
relation P194
type Q35749
[ANSWER] is the legislative body for that administrative territory
SELECT DISTINCT ?i WHERE { resource:Q7159 property:P194 ?i . ?i rdf:type ontology:Q35749 }
Pan-African Parliament
Pan-African Parliament is the legislative body for that administrative territory
Pan-African Parliament
action filter_type
action find
entity African Union
relation legislative body
type parliament
SELECT DISTINCT ?i WHERE { resource:African_Union property:legislative_body ?i . ?i rdf:type ontology:parliament }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7159
P1001
Q17335294
USER
Which coat of arms has jurisdiction over that administrative territory ?
(c(Q17335294),P1001,Q1340659)
action filter_type
action find_reverse
entity Q7159
relation P1001
type Q17335294
[{'concept': 'Q17335294'}, 'P1001', 'Q1340659']
SELECT DISTINCT ?a WHERE { ?a property:P1001 resource:Q7159 . ?a rdf:type ontology:Q17335294 }
African Union
action filter_type
action find_reverse
entity African Union
relation applies to jurisdiction
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Pan-African Parliament']
SELECT DISTINCT ?a WHERE { ?a property:applies_to_jurisdiction resource:African_Union . ?a rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q630077
SYSTEM
Flag of the African Union
Q630077
(c(Q17335294),P1001,Q1340659)
action filter_type
action find_reverse
entity Q7159
relation P1001
type Q17335294
Union [ANSWER] has jurisdiction over that administrative territory
[{'concept': 'Q17335294'}, 'P1001', 'Q1340659']
SELECT DISTINCT ?a WHERE { ?a property:P1001 resource:Q7159 . ?a rdf:type ontology:Q17335294 }
Flag of the African Union
Union Flag of the African Union has jurisdiction over that administrative territory
Flag of the African Union
action filter_type
action find_reverse
entity African Union
relation applies to jurisdiction
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Pan-African Parliament']
SELECT DISTINCT ?a WHERE { ?a property:applies_to_jurisdiction resource:African_Union . ?a rdf:type ontology:flag_or_coat_of_arms }
[]