Simple Question (Direct)
Simple Question
Q5406887
P20
Q515
USER
Where did the demise of Eugen Aburel occur ?
(Q5406887,P20,c(Q515))
action filter_type
action find
entity Q5406887
relation P20
type Q515
['Q5406887', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q515 . resource:Q5406887 property:P20 ?l }
Eugen Aburel
action filter_type
action find
entity Eugen Aburel
relation place of death
type city
['Eugen Aburel', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:city . resource:Eugen_Aburel property:place_of_death ?l }
[]
city
Q19660
SYSTEM
Bucharest
Q19660
(Q5406887,P20,c(Q515))
action filter_type
action find
entity Q5406887
relation P20
type Q515
The demise of Eugen Aburel occurred in [ANSWER]
['Q5406887', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q515 . resource:Q5406887 property:P20 ?l }
Bucharest
The demise of Eugen Aburel occurred in Bucharest
Bucharest
action filter_type
action find
entity Eugen Aburel
relation place of death
type city
['Eugen Aburel', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:city . resource:Eugen_Aburel property:place_of_death ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19660
P937
Q502895
USER
Which people have that city as work location ?
(c(Q502895),P937,Q19660)
action filter_type
action find_reverse
entity Q19660
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q19660']
SELECT DISTINCT ?o WHERE { ?o property:P937 resource:Q19660 . ?o rdf:type ontology:Q502895 }
Bucharest
action filter_type
action find_reverse
entity Bucharest
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Bucharest']
SELECT DISTINCT ?o WHERE { ?o property:work_location resource:Bucharest . ?o rdf:type ontology:common_name }
[]
common name
Q12743069 Q57165 Q57146
SYSTEM
Valeriu Pantazi, Ferdinand of Romania, Carol I of Romania
Q876145 Q101252 Q23826334 Q26198076 Q1525385 Q12726548 Q58285 Q26246725 Q18169671 Q278216 Q2643514 Q1477117 Q105628 Q1612647 Q78560 Q23980622 Q12743069 Q17194382 Q57146 Q3562622 Q1521539 Q3929886 Q153047 Q3090580 Q57165 Q88848 Q15072672 Q18537244
(c(Q502895),P937,Q19660)
action filter_type
action find_reverse
entity Q19660
relation P937
type Q502895
[ANSWERS] have that city as work location
[{'concept': 'Q502895'}, 'P937', 'Q19660']
SELECT DISTINCT ?o WHERE { ?o property:P937 resource:Q19660 . ?o rdf:type ontology:Q502895 }
Alfred Kittner Heinrich Lauer Nicolae Petrescu-Găină Cristian Topan Milu Milescu Demostene Botez Alexandru Averescu Delia Popescu Rosl Berndt Victor Babeș Alexander Šumski Julius Sulzer Jean Rounault Hermann Schneider Ottokar Czernin Corneliu Ionescu Valeriu Pantazi Anton Hefft Carol I of Romania Hedi Hauser George Ciprian Ramiro Ortiz Ion C. Brătianu Ecaterina Andronescu Ferdinand of Romania Hans Bergel Walther Konschitzky Sorin Adam
Valeriu Pantazi, Ferdinand of Romania and Carol I of Romania have that city as work location
Valeriu Pantazi Ferdinand of Romania Carol I of Romania
action filter_type
action find_reverse
entity Bucharest
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Bucharest']
SELECT DISTINCT ?o WHERE { ?o property:work_location resource:Bucharest . ?o rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q57146
P7
Q502895
USER
Which people have that one as their brother ?
(c(Q502895),P7,Q57146)
action filter_type
action find_reverse
entity Q57146
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q57146']
SELECT DISTINCT ?a WHERE { ?a property:P7 resource:Q57146 . ?a rdf:type ontology:Q502895 }
Carol I of Romania
action filter_type
action find_reverse
entity Carol I of Romania
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Carol I of Romania']
SELECT DISTINCT ?a WHERE { ?a property:brother resource:Carol_I_of_Romania . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q12743069
SYSTEM
Did you mean Valeriu Pantazi ?
Q12743069 Q57165 Q57146
(c(Q502895),P7,Q12743069) (c(Q502895),P7,Q57165) (c(Q502895),P7,Q57146)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q12743069'] [{'concept': 'Q502895'}, 'P7', 'Q57165'] [{'concept': 'Q502895'}, 'P7', 'Q57146']
SELECT DISTINCT ?a WHERE { ?a property:P7 resource:Q57146 . ?a rdf:type ontology:Q502895 }
Valeriu Pantazi Ferdinand of Romania Carol I of Romania
Did you mean Valeriu Pantazi ?
Valeriu Pantazi
[{'concept': 'common name'}, 'brother', 'Valeriu Pantazi'] [{'concept': 'common name'}, 'brother', 'Ferdinand of Romania'] [{'concept': 'common name'}, 'brother', 'Carol I of Romania']
SELECT DISTINCT ?a WHERE { ?a property:brother resource:Carol_I_of_Romania . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Carol I of Romania. Could you tell me the answer for that?
(c(Q502895),P7,Q57146)
Q57146
[{'concept': 'Q502895'}, 'P7', 'Q57146']
[{'concept': 'common name'}, 'brother', 'Carol I of Romania']
[]
Q241201 Q237968 Q553168
SYSTEM
Stephanie of Hohenzollern-Sigmaringen, Princess Marie of Hohenzollern-Sigmaringen, Leopold, Prince of Hohenzollern
Q241201 Q237968 Q553168 Q874089 Q328525
(c(Q502895),P7,Q57146)
action filter_type
action find_reverse
entity Q57146
relation P7
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q57146']
SELECT DISTINCT ?a WHERE { ?a property:P7 resource:Q57146 . ?a rdf:type ontology:Q502895 }
Stephanie of Hohenzollern-Sigmaringen Princess Marie of Hohenzollern-Sigmaringen Leopold, Prince of Hohenzollern Prince Frederick of Hohenzollern-Sigmaringen Prince Anton of Hohenzollern-Sigmaringen
Stephanie of Hohenzollern-Sigmaringen, Princess Marie of Hohenzollern-Sigmaringen and Leopold, Prince of Hohenzollern have that one as their brother
Stephanie of Hohenzollern-Sigmaringen Princess Marie of Hohenzollern-Sigmaringen Leopold, Prince of Hohenzollern
action filter_type
action find_reverse
entity Carol I of Romania
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Carol I of Romania']
SELECT DISTINCT ?a WHERE { ?a property:brother resource:Carol_I_of_Romania . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q57146
P27
Q1048835
USER
How many political territories are the native countriesof Carol I of Romania ?
(Q57146,P27,c(Q1048835))
action count
action filter_type
action find
entity Q57146
relation P27
type Q1048835
['Q57146', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Q57146 property:P27 ?h . ?h rdf:type ontology:Q1048835 }
Carol I of Romania
action count
action filter_type
action find
entity Carol I of Romania
relation country of citizenship
type political territorial entity
['Carol I of Romania', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Carol_I_of_Romania property:country_of_citizenship ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q57146,P27,c(Q1048835))
action count
action filter_type
action find
entity Q57146
relation P27
type Q1048835
[ANSWER]
['Q57146', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Q57146 property:P27 ?h . ?h rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Carol I of Romania
relation country of citizenship
type political territorial entity
['Carol I of Romania', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Carol_I_of_Romania property:country_of_citizenship ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q111199
P463
Q865588
USER
What was Peter Bofinger a member of ?
(Q111199,P463,c(Q865588))
action filter_type
action find
entity Q111199
relation P463
type Q865588
['Q111199', 'P463', {'concept': 'Q865588'}]
SELECT DISTINCT ?g WHERE { resource:Q111199 property:P463 ?g . ?g rdf:type ontology:Q865588 }
Peter Bofinger
action filter_type
action find
entity Peter Bofinger
relation member of
type committee
['Peter Bofinger', 'member of', {'concept': 'committee'}]
SELECT DISTINCT ?g WHERE { resource:Peter_Bofinger property:member_of ?g . ?g rdf:type ontology:committee }
[]
committee
Q314008
SYSTEM
German Council of Economic Experts
Q314008
(Q111199,P463,c(Q865588))
action filter_type
action find
entity Q111199
relation P463
type Q865588
Peter Bofinger was a member of the [ANSWER]
['Q111199', 'P463', {'concept': 'Q865588'}]
SELECT DISTINCT ?g WHERE { resource:Q111199 property:P463 ?g . ?g rdf:type ontology:Q865588 }
German Council of Economic Experts
Peter Bofinger was a member of the German Council of Economic Experts
German Council of Economic Experts
action filter_type
action find
entity Peter Bofinger
relation member of
type committee
['Peter Bofinger', 'member of', {'concept': 'committee'}]
SELECT DISTINCT ?g WHERE { resource:Peter_Bofinger property:member_of ?g . ?g rdf:type ontology:committee }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q72584
Q865588
USER
And what about Klaus Hildebrand?
(Q72584,P463,c(Q865588))
action filter_type
action find
entity Q72584
relation P463
type Q865588
['Q72584', 'P463', {'concept': 'Q865588'}]
SELECT DISTINCT ?z WHERE { resource:Q72584 property:P463 ?z . ?z rdf:type ontology:Q865588 }
Klaus Hildebrand
action filter_type
action find
entity Klaus Hildebrand
relation member of
type committee
['Klaus Hildebrand', 'member of', {'concept': 'committee'}]
SELECT DISTINCT ?z WHERE { resource:Klaus_Hildebrand property:member_of ?z . ?z rdf:type ontology:committee }
[]
committee
Q443537
SYSTEM
The Ministry and the Past
Q443537
(Q72584,P463,c(Q865588))
action filter_type
action find
entity Q72584
relation P463
type Q865588
[ANSWER]
['Q72584', 'P463', {'concept': 'Q865588'}]
SELECT DISTINCT ?z WHERE { resource:Q72584 property:P463 ?z . ?z rdf:type ontology:Q865588 }
The Ministry and the Past
The Ministry and the Past
action filter_type
action find
entity Klaus Hildebrand
relation member of
type committee
['Klaus Hildebrand', 'member of', {'concept': 'committee'}]
SELECT DISTINCT ?z WHERE { resource:Klaus_Hildebrand property:member_of ?z . ?z rdf:type ontology:committee }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atmost 39 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 39
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?b <= 39 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 39
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?b <= 39 ) }
[]
musical instrument common name
SYSTEM
52
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 39
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?b <= 39 ) }
lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
52
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 39
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?b <= 39 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q237968
P166
Q193622
USER
What was received by Princess Marie of Hohenzollern-Sigmaringen ?
(Q237968,P166,c(Q193622))
action filter_type
action find
entity Q237968
relation P166
type Q193622
['Q237968', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?v WHERE { resource:Q237968 property:P166 ?v . ?v rdf:type ontology:Q193622 }
Princess Marie of Hohenzollern-Sigmaringen
action filter_type
action find
entity Princess Marie of Hohenzollern-Sigmaringen
relation award received
type order
['Princess Marie of Hohenzollern-Sigmaringen', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?v WHERE { resource:Princess_Marie_of_Hohenzollern-Sigmaringen property:award_received ?v . ?v rdf:type ontology:order }
[]
order
Q833809
SYSTEM
Order of Louise
Q833809
(Q237968,P166,c(Q193622))
action filter_type
action find
entity Q237968
relation P166
type Q193622
[ANSWER] was received by Princess Marie of Hohenzollern-Sigmaringen
['Q237968', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?v WHERE { resource:Q237968 property:P166 ?v . ?v rdf:type ontology:Q193622 }
Order of Louise
Order of Louise was received by Princess Marie of Hohenzollern-Sigmaringen
Order of Louise
action filter_type
action find
entity Princess Marie of Hohenzollern-Sigmaringen
relation award received
type order
['Princess Marie of Hohenzollern-Sigmaringen', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?v WHERE { resource:Princess_Marie_of_Hohenzollern-Sigmaringen property:award_received ?v . ?v rdf:type ontology:order }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q237968
P25
Q502895
USER
Which people have that one as mother ?
(c(Q502895),P25,Q833809)
action filter_type
action find_reverse
entity Q237968
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q833809']
SELECT DISTINCT ?k WHERE { ?k property:P25 resource:Q237968 . ?k rdf:type ontology:Q502895 }
Princess Marie of Hohenzollern-Sigmaringen
action filter_type
action find_reverse
entity Princess Marie of Hohenzollern-Sigmaringen
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Order of Louise']
SELECT DISTINCT ?k WHERE { ?k property:mother resource:Princess_Marie_of_Hohenzollern-Sigmaringen . ?k rdf:type ontology:common_name }
[]
common name
Q12974 Q449622 Q269400
SYSTEM
Albert I, Princess Henriette of Belgium, Princess Joséphine Caroline of Belgium
Q269400 Q12974 Q449622 Q1886702 Q635716
(c(Q502895),P25,Q833809)
action filter_type
action find_reverse
entity Q237968
relation P25
type Q502895
[ANSWERS] have that one as mother
[{'concept': 'Q502895'}, 'P25', 'Q833809']
SELECT DISTINCT ?k WHERE { ?k property:P25 resource:Q237968 . ?k rdf:type ontology:Q502895 }
Princess Joséphine Caroline of Belgium Albert I Princess Henriette of Belgium Princess Joséphine Marie of Belgium Prince Baudouin of Belgium
Albert I, Princess Henriette of Belgium and Princess Joséphine Caroline of Belgium have that one as mother
Albert I Princess Henriette of Belgium Princess Joséphine Caroline of Belgium
action filter_type
action find_reverse
entity Princess Marie of Hohenzollern-Sigmaringen
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Order of Louise']
SELECT DISTINCT ?k WHERE { ?k property:mother resource:Princess_Marie_of_Hohenzollern-Sigmaringen . ?k rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q449622
P119
Q44539
USER
Which temple is the resting place of that person ?
(Q449622,P119,c(Q44539))
action filter_type
action find
entity Q449622
relation P119
type Q44539
['Q449622', 'P119', {'concept': 'Q44539'}]
SELECT DISTINCT ?l WHERE { resource:Q449622 property:P119 ?l . ?l rdf:type ontology:Q44539 }
Princess Henriette of Belgium
action filter_type
action find
entity Princess Henriette of Belgium
relation place of burial
type temple
['Princess Henriette of Belgium', 'place of burial', {'concept': 'temple'}]
SELECT DISTINCT ?l WHERE { resource:Princess_Henriette_of_Belgium property:place_of_burial ?l . ?l rdf:type ontology:temple }
[]
temple
Clarification for simple ques.
Q12974
SYSTEM
Did you mean Albert I ?
Q12974 Q449622 Q269400
(Q12974,P119,c(Q44539)) (Q449622,P119,c(Q44539)) (Q269400,P119,c(Q44539))
[ANSWER]
['Q12974', 'P119', {'concept': 'Q44539'}] ['Q449622', 'P119', {'concept': 'Q44539'}] ['Q269400', 'P119', {'concept': 'Q44539'}]
SELECT DISTINCT ?l WHERE { resource:Q449622 property:P119 ?l . ?l rdf:type ontology:Q44539 }
Albert I Princess Henriette of Belgium Princess Joséphine Caroline of Belgium
Did you mean Albert I ?
Albert I
['Albert I', 'place of burial', {'concept': 'temple'}] ['Princess Henriette of Belgium', 'place of burial', {'concept': 'temple'}] ['Princess Joséphine Caroline of Belgium', 'place of burial', {'concept': 'temple'}]
SELECT DISTINCT ?l WHERE { resource:Princess_Henriette_of_Belgium property:place_of_burial ?l . ?l rdf:type ontology:temple }
[]
Simple Question (Coreferenced)
USER
No, I meant Princess Henriette of Belgium. Could you tell me the answer for that?
(Q449622,P119,c(Q44539))
Q449622
['Q449622', 'P119', {'concept': 'Q44539'}]
['Princess Henriette of Belgium', 'place of burial', {'concept': 'temple'}]
[]
Q736211
SYSTEM
Chapelle royale de Dreux
Q736211
(Q449622,P119,c(Q44539))
action filter_type
action find
entity Q449622
relation P119
type Q44539
[ANSWER] is the resting place of that person
['Q449622', 'P119', {'concept': 'Q44539'}]
SELECT DISTINCT ?l WHERE { resource:Q449622 property:P119 ?l . ?l rdf:type ontology:Q44539 }
Chapelle royale de Dreux
Chapelle royale de Dreux is the resting place of that person
Chapelle royale de Dreux
action filter_type
action find
entity Princess Henriette of Belgium
relation place of burial
type temple
['Princess Henriette of Belgium', 'place of burial', {'concept': 'temple'}]
SELECT DISTINCT ?l WHERE { resource:Princess_Henriette_of_Belgium property:place_of_burial ?l . ?l rdf:type ontology:temple }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q736211 Q619063
P119
Q502895
USER
Does Princess Françoise of Orléans have that temple as his/her tomb ?
(Q619063,P119,Q736211)
action is_in
entity Q736211
action find
entity Q619063
relation P119
['Q619063', 'P119', 'Q736211']
ASK WHERE { resource:Q619063 property:P119 resource:Q736211 }
Chapelle royale de Dreux Princess Françoise of Orléans
action is_in
entity Chapelle royale de Dreux
action find
entity Princess Françoise of Orléans
relation place of burial
['Princess Françoise of Orléans', 'place of burial', 'Chapelle royale de Dreux']
ASK WHERE { resource:Princess_Françoise_of_Orléans property:place_of_burial resource:Chapelle_royale_de_Dreux }
[]
common name
SYSTEM
YES
(Q619063,P119,Q736211)
action is_in
entity Q736211
action find
entity Q619063
relation P119
[ANSWER]
['Q619063', 'P119', 'Q736211']
ASK WHERE { resource:Q619063 property:P119 resource:Q736211 }
Yes
action is_in
entity Chapelle royale de Dreux
action find
entity Princess Françoise of Orléans
relation place of burial
['Princess Françoise of Orléans', 'place of burial', 'Chapelle royale de Dreux']
ASK WHERE { resource:Princess_Françoise_of_Orléans property:place_of_burial resource:Chapelle_royale_de_Dreux }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1949230 Q12743069
P27
Q15617994
USER
Which administrative territories are the native countriesof Valeriu Pantazi or Moses Witbooi ?
OR((Q12743069,P27,c(Q15617994)), (Q1949230,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q12743069
relation P27
action find
entity Q1949230
relation P27
type Q15617994
{'OR': [['Q12743069', 'P27', {'concept': 'Q15617994'}], ['Q1949230', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1949230 property:P27 ?s } UNION { resource:Q12743069 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Moses Witbooi Valeriu Pantazi
action filter_type
action union
action find
entity Valeriu Pantazi
relation country of citizenship
action find
entity Moses Witbooi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Valeriu Pantazi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Moses Witbooi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Moses_Witbooi property:country_of_citizenship ?s } UNION { resource:Valeriu_Pantazi property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q1030
SYSTEM
Romania, Namibia
Q218 Q1030
OR((Q12743069,P27,c(Q15617994)), (Q1949230,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q12743069
relation P27
action find
entity Q1949230
relation P27
type Q15617994
[ANSWERS] are the native countriesof Valeriu Pantazi or Moses Witbooi
{'OR': [['Q12743069', 'P27', {'concept': 'Q15617994'}], ['Q1949230', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1949230 property:P27 ?s } UNION { resource:Q12743069 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Romania Namibia
Romania and Namibia are the native countriesof Valeriu Pantazi or Moses Witbooi
Romania Namibia
action filter_type
action union
action find
entity Valeriu Pantazi
relation country of citizenship
action find
entity Moses Witbooi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Valeriu Pantazi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Moses Witbooi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Moses_Witbooi property:country_of_citizenship ?s } UNION { resource:Valeriu_Pantazi property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q218 Q1030
P6
Q502895
USER
Which people do those administrative territories serve as the head of government for ?
(Q218,P6,c(Q502895)) (Q1030,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
['Q218', 'P6', {'concept': 'Q502895'}] ['Q1030', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?n property:P6 ?f . ?f rdf:type ontology:Q502895 . VALUES ( ?n ) { ( resource:Q218 ) ( resource:Q1030 ) } }
Romania Namibia
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Romania', 'head of government', {'concept': 'common name'}] ['Namibia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?n property:head_of_government ?f . ?f rdf:type ontology:common_name . VALUES ( ?n ) { ( resource:Romania ) ( resource:Namibia ) } }
[]
common name
Q357004 Q271966 Q255022
SYSTEM
Radu Vasile, Adrian Năstase, Mugur Isărescu
Q57692 Q316823 Q357004 Q929248 Q267857 Q370856 Q255022 Q207473 Q271966 Q126671 Q126660 Q152362 Q7395683
(Q218,P6,c(Q502895)) (Q1030,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
[ANSWERS] those administrative territories serve as the head of government
['Q218', 'P6', {'concept': 'Q502895'}] ['Q1030', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?n property:P6 ?f . ?f rdf:type ontology:Q502895 . VALUES ( ?n ) { ( resource:Q218 ) ( resource:Q1030 ) } }
Victor Ponta Petre Roman Radu Vasile Dacian Cioloş Emil Boc Victor Ciorbea Mugur Isărescu Călin Popescu-Tăriceanu Adrian Năstase Nicolae Văcăroiu Theodor Stolojan Mihai Răzvan Ungureanu Saara Kuugongelwa
Radu Vasile, Adrian Năstase and Mugur Isărescu those administrative territories serve as the head of government
Radu Vasile Adrian Năstase Mugur Isărescu
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Romania', 'head of government', {'concept': 'common name'}] ['Namibia', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?n property:head_of_government ?f . ?f rdf:type ontology:common_name . VALUES ( ?n ) { ( resource:Romania ) ( resource:Namibia ) } }
[]