Simple Question (Direct)
Simple Question
Q64681
P27
Q1048835
USER
Which political territory is Paul Weinstein an inhabitant of ?
(Q64681,P27,c(Q1048835))
action filter_type
action find
entity Q64681
relation P27
type Q1048835
['Q64681', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q64681 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Paul Weinstein
action filter_type
action find
entity Paul Weinstein
relation country of citizenship
type political territorial entity
['Paul Weinstein', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Weinstein property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q64681,P27,c(Q1048835))
action filter_type
action find
entity Q64681
relation P27
type Q1048835
[ANSWER] is Paul Weinstein an inhabitant of
['Q64681', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q64681 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Germany
Germany is Paul Weinstein an inhabitant of
Germany
action filter_type
action find
entity Paul Weinstein
relation country of citizenship
type political territorial entity
['Paul Weinstein', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Weinstein property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64681
P2416
Q31629
USER
Which type of sport did that person participate in ?
(Q183,P2416,c(Q31629))
action filter_type
action find
entity Q64681
relation P2416
type Q31629
['Q183', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?f WHERE { resource:Q64681 property:P2416 ?f . ?f rdf:type ontology:Q31629 }
Paul Weinstein
action filter_type
action find
entity Paul Weinstein
relation sports discipline competed in
type type of sport
['Germany', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?f WHERE { resource:Paul_Weinstein property:sports_discipline_competed_in ?f . ?f rdf:type ontology:type_of_sport }
[]
type of sport
Q165704
SYSTEM
high jump
Q165704
(Q183,P2416,c(Q31629))
action filter_type
action find
entity Q64681
relation P2416
type Q31629
That person participated in [ANSWER]
['Q183', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?f WHERE { resource:Q64681 property:P2416 ?f . ?f rdf:type ontology:Q31629 }
high jump
That person participated in high jump
high jump
action filter_type
action find
entity Paul Weinstein
relation sports discipline competed in
type type of sport
['Germany', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?f WHERE { resource:Paul_Weinstein property:sports_discipline_competed_in ?f . ?f rdf:type ontology:type_of_sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q324898 Q64681
P2416
Q31629
USER
And also Henry Lauterbach
AND((Q64681,P2416,c(Q31629)), (Q324898,P2416,c(Q31629)))
action filter_type
action intersection
action find
entity Q64681
relation P2416
action find
entity Q324898
relation P2416
type Q31629
{'AND': [['Q64681', 'P2416', {'concept': 'Q31629'}], ['Q324898', 'P2416', {'concept': 'Q31629'}]]}
SELECT DISTINCT ?q WHERE { resource:Q64681 property:P2416 ?q . resource:Q324898 property:P2416 ?q . ?q rdf:type ontology:Q31629 }
Henry Lauterbach Paul Weinstein
action filter_type
action intersection
action find
entity Paul Weinstein
relation sports discipline competed in
action find
entity Henry Lauterbach
relation sports discipline competed in
type type of sport
{'AND': [['Paul Weinstein', 'sports discipline competed in', {'concept': 'type of sport'}], ['Henry Lauterbach', 'sports discipline competed in', {'concept': 'type of sport'}]]}
SELECT DISTINCT ?q WHERE { resource:Paul_Weinstein property:sports_discipline_competed_in ?q . resource:Henry_Lauterbach property:sports_discipline_competed_in ?q . ?q rdf:type ontology:type_of_sport }
[]
type of sport
Q165704
SYSTEM
high jump
Q165704
AND((Q64681,P2416,c(Q31629)), (Q324898,P2416,c(Q31629)))
action filter_type
action intersection
action find
entity Q64681
relation P2416
action find
entity Q324898
relation P2416
type Q31629
[ANSWER]
{'AND': [['Q64681', 'P2416', {'concept': 'Q31629'}], ['Q324898', 'P2416', {'concept': 'Q31629'}]]}
SELECT DISTINCT ?q WHERE { resource:Q64681 property:P2416 ?q . resource:Q324898 property:P2416 ?q . ?q rdf:type ontology:Q31629 }
high jump
high jump
action filter_type
action intersection
action find
entity Paul Weinstein
relation sports discipline competed in
action find
entity Henry Lauterbach
relation sports discipline competed in
type type of sport
{'AND': [['Paul Weinstein', 'sports discipline competed in', {'concept': 'type of sport'}], ['Henry Lauterbach', 'sports discipline competed in', {'concept': 'type of sport'}]]}
SELECT DISTINCT ?q WHERE { resource:Paul_Weinstein property:sports_discipline_competed_in ?q . resource:Henry_Lauterbach property:sports_discipline_competed_in ?q . ?q rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64681
P20
Q486972
USER
Where did Paul Weinstein expire ?
(Q64681,P20,c(Q486972))
action filter_type
action find
entity Q64681
relation P20
type Q486972
['Q64681', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?m WHERE { resource:Q64681 property:P20 ?m . ?m rdf:type ontology:Q486972 }
Paul Weinstein
action filter_type
action find
entity Paul Weinstein
relation place of death
type human settlement
['Paul Weinstein', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?m WHERE { resource:Paul_Weinstein property:place_of_death ?m . ?m rdf:type ontology:human_settlement }
[]
human settlement
Q882715
SYSTEM
Wiemelhausen
Q882715
(Q64681,P20,c(Q486972))
action filter_type
action find
entity Q64681
relation P20
type Q486972
Paul Weinstein expired [ANSWER]
['Q64681', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?m WHERE { resource:Q64681 property:P20 ?m . ?m rdf:type ontology:Q486972 }
Wiemelhausen
Paul Weinstein expired Wiemelhausen
Wiemelhausen
action filter_type
action find
entity Paul Weinstein
relation place of death
type human settlement
['Paul Weinstein', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?m WHERE { resource:Paul_Weinstein property:place_of_death ?m . ?m rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3180677 Q64681
P20
Q486972
USER
Or Susumu Fujita?
OR((Q64681,P20,c(Q486972)), (Q3180677,P20,c(Q486972)))
action filter_type
action union
action find
entity Q64681
relation P20
action find
entity Q3180677
relation P20
type Q486972
{'OR': [['Q64681', 'P20', {'concept': 'Q486972'}], ['Q3180677', 'P20', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?o ) { ( resource:Q64681 ) ( resource:Q3180677 ) } . ?o property:P20 ?p } . ?p rdf:type ontology:Q486972 }
Susumu Fujita Paul Weinstein
action filter_type
action union
action find
entity Paul Weinstein
relation place of death
action find
entity Susumu Fujita
relation place of death
type human settlement
{'OR': [['Paul Weinstein', 'place of death', {'concept': 'human settlement'}], ['Susumu Fujita', 'place of death', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?o ) { ( resource:Paul_Weinstein ) ( resource:Susumu_Fujita ) } . ?o property:place_of_death ?p } . ?p rdf:type ontology:human_settlement }
[]
human settlement
Q193638 Q882715
SYSTEM
Shibuya-ku, Wiemelhausen
Q193638 Q882715
OR((Q64681,P20,c(Q486972)), (Q3180677,P20,c(Q486972)))
action filter_type
action union
action find
entity Q64681
relation P20
action find
entity Q3180677
relation P20
type Q486972
[ANSWERS]
{'OR': [['Q64681', 'P20', {'concept': 'Q486972'}], ['Q3180677', 'P20', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?o ) { ( resource:Q64681 ) ( resource:Q3180677 ) } . ?o property:P20 ?p } . ?p rdf:type ontology:Q486972 }
Shibuya-ku Wiemelhausen
Shibuya-ku Wiemelhausen
action filter_type
action union
action find
entity Paul Weinstein
relation place of death
action find
entity Susumu Fujita
relation place of death
type human settlement
{'OR': [['Paul Weinstein', 'place of death', {'concept': 'human settlement'}], ['Susumu Fujita', 'place of death', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?o ) { ( resource:Paul_Weinstein ) ( resource:Susumu_Fujita ) } . ?o property:place_of_death ?p } . ?p rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19619979 Q183
P530 P17
Q15617994
USER
Which administrative territories have a diplomatic relationship with Germany or are van der Waalstraat situated in ?
OR((Q183,P530,c(Q15617994)), (Q19619979,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q19619979
relation P17
type Q15617994
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q19619979', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q19619979 property:P17 ?l } UNION { resource:Q183 property:P530 ?l } } . ?l rdf:type ontology:Q15617994 }
van der Waalstraat Germany
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity van der Waalstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['van der Waalstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:van_der_Waalstraat property:country ?l } UNION { resource:Germany property:diplomatic_relation ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q347 Q1011 Q786 Q29 Q739 Q34 Q227 Q215 Q403 Q1037
SYSTEM
Some of them are Liechtenstein, Cape Verde, Dominican Republic, Spain, Colombia, Sweden, Azerbaijan, Slovenia, Serbia, Rwanda
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)), (Q19619979,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q19619979
relation P17
type Q15617994
[ANSWERS] have a diplomatic relationship with Germany or are van der Waalstraat situated in
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q19619979', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q19619979 property:P17 ?l } UNION { resource:Q183 property:P530 ?l } } . ?l 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
Liechtenstein, Cape Verde, Dominican Republic, Spain, Colombia, Sweden, Azerbaijan, Slovenia, Serbia and Rwanda have a diplomatic relationship with Germany or are van der Waalstraat situated in
Liechtenstein Cape Verde Dominican Republic Spain Colombia Sweden Azerbaijan Slovenia Serbia Rwanda
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity van der Waalstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['van der Waalstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:van_der_Waalstraat property:country ?l } UNION { resource:Germany property:diplomatic_relation ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4367746
P530
Q1048835
USER
Do Pidlisne have diplomatic relations with those administrative territories ?
(Q4367746,P530,Q347) (Q4367746,P530,Q1011) (Q4367746,P530,Q786) (Q4367746,P530,Q29) (Q4367746,P530,Q739) (Q4367746,P530,Q34) (Q4367746,P530,Q227) (Q4367746,P530,Q215) (Q4367746,P530,Q403) (Q4367746,P530,Q1037)
action is_in
entity prev_answer
action find
entity Q4367746
relation P530
['Q4367746', 'P530', 'Q347'] ['Q4367746', 'P530', 'Q1011'] ['Q4367746', 'P530', 'Q786'] ['Q4367746', 'P530', 'Q29'] ['Q4367746', 'P530', 'Q739'] ['Q4367746', 'P530', 'Q34'] ['Q4367746', 'P530', 'Q227'] ['Q4367746', 'P530', 'Q215'] ['Q4367746', 'P530', 'Q403'] ['Q4367746', 'P530', 'Q1037']
ASK WHERE { VALUES ( ?n ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } . resource:Q4367746 property:P530 ?n }
Pidlisne
action is_in
entity prev_answer
action find
entity Pidlisne
relation diplomatic relation
['Pidlisne', 'diplomatic relation', 'Liechtenstein'] ['Pidlisne', 'diplomatic relation', 'Cape Verde'] ['Pidlisne', 'diplomatic relation', 'Dominican Republic'] ['Pidlisne', 'diplomatic relation', 'Spain'] ['Pidlisne', 'diplomatic relation', 'Colombia'] ['Pidlisne', 'diplomatic relation', 'Sweden'] ['Pidlisne', 'diplomatic relation', 'Azerbaijan'] ['Pidlisne', 'diplomatic relation', 'Slovenia'] ['Pidlisne', 'diplomatic relation', 'Serbia'] ['Pidlisne', 'diplomatic relation', 'Rwanda']
ASK WHERE { VALUES ( ?n ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } . resource:Pidlisne property:diplomatic_relation ?n }
[]
political territorial entity
SYSTEM
NO
(Q4367746,P530,Q347) (Q4367746,P530,Q1011) (Q4367746,P530,Q786) (Q4367746,P530,Q29) (Q4367746,P530,Q739) (Q4367746,P530,Q34) (Q4367746,P530,Q227) (Q4367746,P530,Q215) (Q4367746,P530,Q403) (Q4367746,P530,Q1037)
action is_in
entity prev_answer
action find
entity Q4367746
relation P530
[ANSWER]
['Q4367746', 'P530', 'Q347'] ['Q4367746', 'P530', 'Q1011'] ['Q4367746', 'P530', 'Q786'] ['Q4367746', 'P530', 'Q29'] ['Q4367746', 'P530', 'Q739'] ['Q4367746', 'P530', 'Q34'] ['Q4367746', 'P530', 'Q227'] ['Q4367746', 'P530', 'Q215'] ['Q4367746', 'P530', 'Q403'] ['Q4367746', 'P530', 'Q1037']
ASK WHERE { VALUES ( ?n ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } . resource:Q4367746 property:P530 ?n }
No
action is_in
entity prev_answer
action find
entity Pidlisne
relation diplomatic relation
['Pidlisne', 'diplomatic relation', 'Liechtenstein'] ['Pidlisne', 'diplomatic relation', 'Cape Verde'] ['Pidlisne', 'diplomatic relation', 'Dominican Republic'] ['Pidlisne', 'diplomatic relation', 'Spain'] ['Pidlisne', 'diplomatic relation', 'Colombia'] ['Pidlisne', 'diplomatic relation', 'Sweden'] ['Pidlisne', 'diplomatic relation', 'Azerbaijan'] ['Pidlisne', 'diplomatic relation', 'Slovenia'] ['Pidlisne', 'diplomatic relation', 'Serbia'] ['Pidlisne', 'diplomatic relation', 'Rwanda']
ASK WHERE { VALUES ( ?n ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } . resource:Pidlisne property:diplomatic_relation ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P47
Q15617994
USER
Which administrative territories have an adjacent border with Spain ?
(c(Q15617994),P47,Q29)
action filter_type
action find
entity Q29
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q29']
SELECT DISTINCT ?m WHERE { resource:Q29 property:P47 ?m . ?m rdf:type ontology:Q15617994 }
Spain
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Spain']
SELECT DISTINCT ?m WHERE { resource:Spain property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q45 Q1028
SYSTEM
France, Portugal, Morocco
Q1025 Q142 Q45 Q1028 Q228
(c(Q15617994),P47,Q29)
action filter_type
action find
entity Q29
relation P47
type Q15617994
[ANSWERS] have an adjacent border with Spain
[{'concept': 'Q15617994'}, 'P47', 'Q29']
SELECT DISTINCT ?m WHERE { resource:Q29 property:P47 ?m . ?m rdf:type ontology:Q15617994 }
Mauritania France Portugal Morocco Andorra
France, Portugal and Morocco have an adjacent border with Spain
France Portugal Morocco
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Spain']
SELECT DISTINCT ?m WHERE { resource:Spain property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q142 Q45 Q1028
P35
Q502895
USER
Who are elected as the head of state of those administrative territories ?
(Q142,P35,c(Q502895)) (Q45,P35,c(Q502895)) (Q1028,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
['Q142', 'P35', {'concept': 'Q502895'}] ['Q45', 'P35', {'concept': 'Q502895'}] ['Q1028', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?f ) { ( resource:Q1025 ) ( resource:Q142 ) ( resource:Q45 ) } . ?o rdf:type ontology:Q502895 . ?f property:P35 ?o }
France Portugal Morocco
action filter_type
action find
entity prev_answer
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}] ['Portugal', 'head of state', {'concept': 'common name'}] ['Morocco', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?f ) { ( resource:Mauritania ) ( resource:France ) ( resource:Portugal ) } . ?o rdf:type ontology:common_name . ?f property:head_of_state ?o }
[]
common name
Q2105 Q2042 Q2038
SYSTEM
Jacques Chirac, Charles de Gaulle, François Mitterrand
Q2105 Q2038 Q157 Q329 Q2042 Q12950 Q2185 Q2124 Q57398 Q156781 Q6756617 Q156780 Q57553
(Q142,P35,c(Q502895)) (Q45,P35,c(Q502895)) (Q1028,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
[ANSWERS] are elected as the head of state of those administrative territories
['Q142', 'P35', {'concept': 'Q502895'}] ['Q45', 'P35', {'concept': 'Q502895'}] ['Q1028', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?f ) { ( resource:Q1025 ) ( resource:Q142 ) ( resource:Q45 ) } . ?o rdf:type ontology:Q502895 . ?f property:P35 ?o }
Jacques Chirac François Mitterrand François Hollande Nicolas Sarkozy Charles de Gaulle Alain Poher Georges Pompidou Valéry Giscard d'Estaing Aníbal Cavaco Silva Mário Soares Marcelo Rebelo de Sousa Jorge Sampaio Mohammed VI of Morocco
Jacques Chirac, Charles de Gaulle and François Mitterrand are elected as the head of state of those administrative territories
Jacques Chirac Charles de Gaulle François Mitterrand
action filter_type
action find
entity prev_answer
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}] ['Portugal', 'head of state', {'concept': 'common name'}] ['Morocco', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?f ) { ( resource:Mauritania ) ( resource:France ) ( resource:Portugal ) } . ?o rdf:type ontology:common_name . ?f property:head_of_state ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2042
P40
Q502895
USER
Whose child are Charles de Gaulle ?
(c(Q502895),P40,Q2042)
action filter_type
action find_reverse
entity Q2042
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q2042']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q2042 . ?k rdf:type ontology:Q502895 }
Charles de Gaulle
action filter_type
action find_reverse
entity Charles de Gaulle
relation child
type common name
[{'concept': 'common name'}, 'child', 'Charles de Gaulle']
SELECT DISTINCT ?k WHERE { ?k property:child resource:Charles_de_Gaulle . ?k rdf:type ontology:common_name }
[]
common name
Q16354853 Q3132274
SYSTEM
Jeanne Maillot, Henri de Gaulle
Q16354853 Q3132274
(c(Q502895),P40,Q2042)
action filter_type
action find_reverse
entity Q2042
relation P40
type Q502895
[ANSWERS] are Charles de Gaulle
[{'concept': 'Q502895'}, 'P40', 'Q2042']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q2042 . ?k rdf:type ontology:Q502895 }
Jeanne Maillot Henri de Gaulle
Jeanne Maillot and Henri de Gaulle are Charles de Gaulle
Jeanne Maillot Henri de Gaulle
action filter_type
action find_reverse
entity Charles de Gaulle
relation child
type common name
[{'concept': 'common name'}, 'child', 'Charles de Gaulle']
SELECT DISTINCT ?k WHERE { ?k property:child resource:Charles_de_Gaulle . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2042
P166
Q618779
USER
Which awards were Charles de Gaulle awarded with ?
(Q2042,P166,c(Q618779))
action filter_type
action find
entity Q2042
relation P166
type Q618779
['Q2042', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q2042 property:P166 ?p . ?p rdf:type ontology:Q618779 }
Charles de Gaulle
action filter_type
action find
entity Charles de Gaulle
relation award received
type award
['Charles de Gaulle', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Charles_de_Gaulle property:award_received ?p . ?p rdf:type ontology:award }
[]
award
Q1381770 Q13422143 Q20857709
SYSTEM
Royal Order of Cambodia, Grand Cross of the National Order of Merit, Grand Cordon of the National Order of the Cedar‎
Q13422143 Q94437 Q20857709 Q1381770 Q2727598 Q2548604 Q93911 Q2547676
(Q2042,P166,c(Q618779))
action filter_type
action find
entity Q2042
relation P166
type Q618779
Charles de Gaulle were awarded the [ANSWERS]
['Q2042', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q2042 property:P166 ?p . ?p rdf:type ontology:Q618779 }
Grand Cross of the National Order of Merit Order of the White Rose of Finland Grand Cordon of the National Order of the Cedar‎ Royal Order of Cambodia Croix de guerre 1914–1918 Order of the Dragon of Annam Order of the Royal House of Chakri Croix de guerre 1939–1945
Charles de Gaulle were awarded the Royal Order of Cambodia, Grand Cross of the National Order of Merit and Grand Cordon of the National Order of the Cedar‎
Royal Order of Cambodia Grand Cross of the National Order of Merit Grand Cordon of the National Order of the Cedar‎
action filter_type
action find
entity Charles de Gaulle
relation award received
type award
['Charles de Gaulle', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Charles_de_Gaulle property:award_received ?p . ?p rdf:type ontology:award }
[]