Simple Question (Direct)
Simple Question
Q3385686
P20
Q56061
USER
Where did Pyotr Evgraphovich Kovalevskii die ?
(Q3385686,P20,c(Q56061))
action filter_type
action find
entity Q3385686
relation P20
type Q56061
['Q3385686', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q3385686 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Pyotr Evgraphovich Kovalevskii
action filter_type
action find
entity Pyotr Evgraphovich Kovalevskii
relation place of death
type administrative territorial entity
['Pyotr Evgraphovich Kovalevskii', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Pyotr_Evgraphovich_Kovalevskii property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3385686,P20,c(Q56061))
action filter_type
action find
entity Q3385686
relation P20
type Q56061
Pyotr Evgraphovich Kovalevskii died in [ANSWER]
['Q3385686', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q3385686 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Paris
Pyotr Evgraphovich Kovalevskii died in Paris
Paris
action filter_type
action find
entity Pyotr Evgraphovich Kovalevskii
relation place of death
type administrative territorial entity
['Pyotr Evgraphovich Kovalevskii', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Pyotr_Evgraphovich_Kovalevskii property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3385686
P7
Q502895
USER
Who has that one as their sibling ?
(c(Q502895),P7,Q90)
action filter_type
action find
entity Q3385686
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q90']
SELECT DISTINCT ?f WHERE { resource:Q3385686 property:P7 ?f . ?f rdf:type ontology:Q502895 }
Pyotr Evgraphovich Kovalevskii
action filter_type
action find
entity Pyotr Evgraphovich Kovalevskii
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Paris']
SELECT DISTINCT ?f WHERE { resource:Pyotr_Evgraphovich_Kovalevskii property:brother ?f . ?f rdf:type ontology:common_name }
[]
common name
Q3302598
SYSTEM
Maxime Kovalevsky
Q3302598
(c(Q502895),P7,Q90)
action filter_type
action find
entity Q3385686
relation P7
type Q502895
[ANSWER] has that one as their sibling
[{'concept': 'Q502895'}, 'P7', 'Q90']
SELECT DISTINCT ?f WHERE { resource:Q3385686 property:P7 ?f . ?f rdf:type ontology:Q502895 }
Maxime Kovalevsky
Maxime Kovalevsky has that one as their sibling
Maxime Kovalevsky
action filter_type
action find
entity Pyotr Evgraphovich Kovalevskii
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Paris']
SELECT DISTINCT ?f WHERE { resource:Pyotr_Evgraphovich_Kovalevskii property:brother ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3302598 Q13562397 Q3385686
P7
Q502895
USER
Is Julie French and Pyotr Evgraphovich Kovalevskii a brother of Maxime Kovalevsky ?
(Q3302598,P7,Q13562397) (Q3302598,P7,Q3385686)
action is_in
entity Q3302598
action intersection
action find_reverse
entity Q13562397
relation P7
action find_reverse
entity Q3385686
relation P7
['Q3302598', 'P7', 'Q13562397'] ['Q3302598', 'P7', 'Q3385686']
ASK WHERE { resource:Q3302598 property:P7 resource:Q13562397 . resource:Q3302598 property:P7 resource:Q3385686 }
Maxime Kovalevsky Julie French Pyotr Evgraphovich Kovalevskii
action is_in
entity Maxime Kovalevsky
action intersection
action find_reverse
entity Julie French
relation brother
action find_reverse
entity Pyotr Evgraphovich Kovalevskii
relation brother
['Maxime Kovalevsky', 'brother', 'Julie French'] ['Maxime Kovalevsky', 'brother', 'Pyotr Evgraphovich Kovalevskii']
ASK WHERE { resource:Maxime_Kovalevsky property:brother resource:Julie_French . resource:Maxime_Kovalevsky property:brother resource:Pyotr_Evgraphovich_Kovalevskii }
[]
common name
SYSTEM
NO and YES respectively
(Q3302598,P7,Q13562397) (Q3302598,P7,Q3385686)
action is_in
entity Q3302598
action intersection
action find_reverse
entity Q13562397
relation P7
action find_reverse
entity Q3385686
relation P7
[ANSWER]
['Q3302598', 'P7', 'Q13562397'] ['Q3302598', 'P7', 'Q3385686']
ASK WHERE { resource:Q3302598 property:P7 resource:Q13562397 . resource:Q3302598 property:P7 resource:Q3385686 }
NO and YES respectively
action is_in
entity Maxime Kovalevsky
action intersection
action find_reverse
entity Julie French
relation brother
action find_reverse
entity Pyotr Evgraphovich Kovalevskii
relation brother
['Maxime Kovalevsky', 'brother', 'Julie French'] ['Maxime Kovalevsky', 'brother', 'Pyotr Evgraphovich Kovalevskii']
ASK WHERE { resource:Maxime_Kovalevsky property:brother resource:Julie_French . resource:Maxime_Kovalevsky property:brother resource:Pyotr_Evgraphovich_Kovalevskii }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q524703 Q3302598
P7
Q502895
USER
Which people have Maxime Kovalevsky or Prince Ali Bin Al-Hussein as their sibling ?
OR((c(Q502895),P7,Q3302598), (c(Q502895),P7,Q524703))
action filter_type
action union
action find_reverse
entity Q3302598
relation P7
action find_reverse
entity Q524703
relation P7
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P7', 'Q3302598'], [{'concept': 'Q502895'}, 'P7', 'Q524703']]}
SELECT DISTINCT ?j WHERE { { { ?j property:P7 resource:Q3302598 } UNION { ?j property:P7 resource:Q524703 } } . ?j rdf:type ontology:Q502895 }
Prince Ali Bin Al-Hussein Maxime Kovalevsky
action filter_type
action union
action find_reverse
entity Maxime Kovalevsky
relation brother
action find_reverse
entity Prince Ali Bin Al-Hussein
relation brother
type common name
{'OR': [[{'concept': 'common name'}, 'brother', 'Maxime Kovalevsky'], [{'concept': 'common name'}, 'brother', 'Prince Ali Bin Al-Hussein']]}
SELECT DISTINCT ?j WHERE { { { ?j property:brother resource:Maxime_Kovalevsky } UNION { ?j property:brother resource:Prince_Ali_Bin_Al-Hussein } } . ?j rdf:type ontology:common_name }
[]
common name
Q57464 Q7244519 Q7244527 Q2817328 Q272117 Q7244790 Q1532902 Q461192 Q3385686 Q7244873
SYSTEM
Some of them are Abdullah II of Jordan, Princess Aisha bint Al Hussein, Princess Alia bint Al Hussein, Prince Hashim Al Hussein, Princess Haya bint Al Hussein, Princess Raiyah bint Al Hussein, Prince Hamzah bin Al Hussein, Prince Faisal bin Al Hussein, Pyotr Evgraphovich Kovalevskii, Princess Zein bint Al Hussein
Q2817328 Q7244790 Q461192 Q7244519 Q57464 Q7244873 Q7244527 Q1532902 Q272117 Q3385686 Q4667904 Q3307706
OR((c(Q502895),P7,Q3302598), (c(Q502895),P7,Q524703))
action filter_type
action union
action find_reverse
entity Q3302598
relation P7
action find_reverse
entity Q524703
relation P7
type Q502895
[ANSWERS] have Maxime Kovalevsky or Prince Ali Bin Al-Hussein as their sibling
{'OR': [[{'concept': 'Q502895'}, 'P7', 'Q3302598'], [{'concept': 'Q502895'}, 'P7', 'Q524703']]}
SELECT DISTINCT ?j WHERE { { { ?j property:P7 resource:Q3302598 } UNION { ?j property:P7 resource:Q524703 } } . ?j rdf:type ontology:Q502895 }
Prince Hashim Al Hussein Princess Raiyah bint Al Hussein Prince Faisal bin Al Hussein Princess Aisha bint Al Hussein Abdullah II of Jordan Princess Zein bint Al Hussein Princess Alia bint Al Hussein Prince Hamzah bin Al Hussein Princess Haya bint Al Hussein Pyotr Evgraphovich Kovalevskii Abir Muhaisen Princess Iman bint Al Hussein
Abdullah II of Jordan, Princess Aisha bint Al Hussein, Princess Alia bint Al Hussein, Prince Hashim Al Hussein, Princess Haya bint Al Hussein, Princess Raiyah bint Al Hussein, Prince Hamzah bin Al Hussein, Prince Faisal bin Al Hussein, Pyotr Evgraphovich Kovalevskii and Princess Zein bint Al Hussein have Maxime Kovalevsky or Prince Ali Bin Al-Hussein as their sibling
Abdullah II of Jordan Princess Aisha bint Al Hussein Princess Alia bint Al Hussein Prince Hashim Al Hussein Princess Haya bint Al Hussein Princess Raiyah bint Al Hussein Prince Hamzah bin Al Hussein Prince Faisal bin Al Hussein Pyotr Evgraphovich Kovalevskii Princess Zein bint Al Hussein
action filter_type
action union
action find_reverse
entity Maxime Kovalevsky
relation brother
action find_reverse
entity Prince Ali Bin Al-Hussein
relation brother
type common name
{'OR': [[{'concept': 'common name'}, 'brother', 'Maxime Kovalevsky'], [{'concept': 'common name'}, 'brother', 'Prince Ali Bin Al-Hussein']]}
SELECT DISTINCT ?j WHERE { { { ?j property:brother resource:Maxime_Kovalevsky } UNION { ?j property:brother resource:Prince_Ali_Bin_Al-Hussein } } . ?j rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P7
Q502895
USER
How many people are the brother of that person ?
(Q57464,P7,c(Q502895))
['Q57464', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q57464 property:Q13163645 ?z . ?z rdf:type ontology:Q502895 }
['Abdullah II of Jordan', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Abdullah_II_of_Jordan property:brother ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q7244873
SYSTEM
Did you mean Princess Zein bint Al Hussein ?
(Q57464,P7,c(Q502895)) (Q7244519,P7,c(Q502895)) (Q7244527,P7,c(Q502895)) (Q2817328,P7,c(Q502895)) (Q272117,P7,c(Q502895)) (Q7244790,P7,c(Q502895)) (Q1532902,P7,c(Q502895)) (Q461192,P7,c(Q502895)) (Q3385686,P7,c(Q502895)) (Q7244873,P7,c(Q502895))
[ANSWER]
['Q57464', 'P7', {'concept': 'Q502895'}] ['Q7244519', 'P7', {'concept': 'Q502895'}] ['Q7244527', 'P7', {'concept': 'Q502895'}] ['Q2817328', 'P7', {'concept': 'Q502895'}] ['Q272117', 'P7', {'concept': 'Q502895'}] ['Q7244790', 'P7', {'concept': 'Q502895'}] ['Q1532902', 'P7', {'concept': 'Q502895'}] ['Q461192', 'P7', {'concept': 'Q502895'}] ['Q3385686', 'P7', {'concept': 'Q502895'}] ['Q7244873', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q57464 property:Q13163645 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Princess Zein bint Al Hussein ?
Princess Zein bint Al Hussein
['Abdullah II of Jordan', 'brother', {'concept': 'common name'}] ['Princess Aisha bint Al Hussein', 'brother', {'concept': 'common name'}] ['Princess Alia bint Al Hussein', 'brother', {'concept': 'common name'}] ['Prince Hashim Al Hussein', 'brother', {'concept': 'common name'}] ['Princess Haya bint Al Hussein', 'brother', {'concept': 'common name'}] ['Princess Raiyah bint Al Hussein', 'brother', {'concept': 'common name'}] ['Prince Hamzah bin Al Hussein', 'brother', {'concept': 'common name'}] ['Prince Faisal bin Al Hussein', 'brother', {'concept': 'common name'}] ['Pyotr Evgraphovich Kovalevskii', 'brother', {'concept': 'common name'}] ['Princess Zein bint Al Hussein', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Abdullah_II_of_Jordan property:brother ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Abdullah II of Jordan. Could you tell me the answer for that?
(Q57464,P7,c(Q502895))
Q57464
['Q57464', 'P7', {'concept': 'Q502895'}]
['Abdullah II of Jordan', 'brother', {'concept': 'common name'}]
[]
SYSTEM
4
Q2817328 Q524703 Q461192 Q1532902
(Q57464,P7,c(Q502895))
[ANSWER]
['Q57464', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q57464 property:Q13163645 ?z . ?z rdf:type ontology:Q502895 }
Prince Hashim Al Hussein Prince Ali Bin Al-Hussein Prince Faisal bin Al Hussein Prince Hamzah bin Al Hussein
4
['Abdullah II of Jordan', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Abdullah_II_of_Jordan property:brother ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1704966
P27
Q1048835
USER
Which political territory is Josef Kennerknecht an inhabitant of ?
(Q1704966,P27,c(Q1048835))
action filter_type
action find
entity Q1704966
relation P27
type Q1048835
['Q1704966', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q1704966 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Josef Kennerknecht
action filter_type
action find
entity Josef Kennerknecht
relation country of citizenship
type political territorial entity
['Josef Kennerknecht', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Josef_Kennerknecht property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q1704966,P27,c(Q1048835))
action filter_type
action find
entity Q1704966
relation P27
type Q1048835
[ANSWER] is Josef Kennerknecht an inhabitant of
['Q1704966', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q1704966 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Austria
Austria is Josef Kennerknecht an inhabitant of
Austria
action filter_type
action find
entity Josef Kennerknecht
relation country of citizenship
type political territorial entity
['Josef Kennerknecht', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Josef_Kennerknecht property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1704966
P102
Q7210356
USER
Which parties are that person affiliated with ?
(Q40,P102,c(Q7210356))
action filter_type
action find
entity Q1704966
relation P102
type Q7210356
['Q40', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q1704966 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Josef Kennerknecht
action filter_type
action find
entity Josef Kennerknecht
relation member of political party
type political organization
['Austria', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Josef_Kennerknecht property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
political organization
Q186867 Q692131
SYSTEM
Austrian People's Party, Christian Social Party
Q186867 Q692131
(Q40,P102,c(Q7210356))
action filter_type
action find
entity Q1704966
relation P102
type Q7210356
That person are affiliated with [ANSWERS]
['Q40', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q1704966 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Austrian People's Party Christian Social Party
That person are affiliated with Austrian People's Party and Christian Social Party
Austrian People's Party Christian Social Party
action filter_type
action find
entity Josef Kennerknecht
relation member of political party
type political organization
['Austria', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Josef_Kennerknecht property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q11473814
P102
Q502895
USER
Are Itsuko Okabe affiliated to those political organizations ?
(Q11473814,P102,Q186867) (Q11473814,P102,Q692131)
action is_in
entity prev_answer
action find
entity Q11473814
relation P102
['Q11473814', 'P102', 'Q186867'] ['Q11473814', 'P102', 'Q692131']
ASK WHERE { resource:Q11473814 property:P102 ?b . VALUES ( ?b ) { ( resource:Q186867 ) ( resource:Q692131 ) } }
Itsuko Okabe
action is_in
entity prev_answer
action find
entity Itsuko Okabe
relation member of political party
['Itsuko Okabe', 'member of political party', "Austrian People's Party"] ['Itsuko Okabe', 'member of political party', 'Christian Social Party']
ASK WHERE { resource:Itsuko_Okabe property:member_of_political_party ?b . VALUES ( ?b ) { ( resource:Austrian_People's_Party ) ( resource:Christian_Social_Party ) } }
[]
common name
SYSTEM
NO
(Q11473814,P102,Q186867) (Q11473814,P102,Q692131)
action is_in
entity prev_answer
action find
entity Q11473814
relation P102
[ANSWER]
['Q11473814', 'P102', 'Q186867'] ['Q11473814', 'P102', 'Q692131']
ASK WHERE { resource:Q11473814 property:P102 ?b . VALUES ( ?b ) { ( resource:Q186867 ) ( resource:Q692131 ) } }
No
action is_in
entity prev_answer
action find
entity Itsuko Okabe
relation member of political party
['Itsuko Okabe', 'member of political party', "Austrian People's Party"] ['Itsuko Okabe', 'member of political party', 'Christian Social Party']
ASK WHERE { resource:Itsuko_Okabe property:member_of_political_party ?b . VALUES ( ?b ) { ( resource:Austrian_People's_Party ) ( resource:Christian_Social_Party ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q57464 Q10905105
P166
Q618779
USER
Was Abdullah II of Jordan awarded with Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany ?
(Q57464,P166,Q10905105)
action is_in
entity Q10905105
action find
entity Q57464
relation P166
['Q57464', 'P166', 'Q10905105']
ASK WHERE { resource:Q57464 property:P166 resource:Q10905105 }
Abdullah II of Jordan Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany
action is_in
entity Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany
action find
entity Abdullah II of Jordan
relation award received
['Abdullah II of Jordan', 'award received', 'Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany']
ASK WHERE { resource:Abdullah_II_of_Jordan property:award_received resource:Grand_Cross_1st_class_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany }
[]
award
SYSTEM
YES
(Q57464,P166,Q10905105)
action is_in
entity Q10905105
action find
entity Q57464
relation P166
[ANSWER]
['Q57464', 'P166', 'Q10905105']
ASK WHERE { resource:Q57464 property:P166 resource:Q10905105 }
Yes
action is_in
entity Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany
action find
entity Abdullah II of Jordan
relation award received
['Abdullah II of Jordan', 'award received', 'Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany']
ASK WHERE { resource:Abdullah_II_of_Jordan property:award_received resource:Grand_Cross_1st_class_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2075003 Q10905105
P27 P17
Q1048835
USER
Which political territories are Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany situated in or are the native countriesof Peter Friedl ?
OR((Q10905105,P17,c(Q1048835)), (Q2075003,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q10905105
relation P17
action find
entity Q2075003
relation P27
type Q1048835
{'OR': [['Q10905105', 'P17', {'concept': 'Q1048835'}], ['Q2075003', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q10905105 property:P17 ?i } UNION { resource:Q2075003 property:P27 ?i } } . ?i rdf:type ontology:Q1048835 }
Peter Friedl Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany
action filter_type
action union
action find
entity Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany
relation country
action find
entity Peter Friedl
relation country of citizenship
type political territorial entity
{'OR': [['Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany', 'country', {'concept': 'political territorial entity'}], ['Peter Friedl', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Grand_Cross_1st_class_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany property:country ?i } UNION { resource:Peter_Friedl property:country_of_citizenship ?i } } . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q40
SYSTEM
Germany, Austria
Q183 Q40
OR((Q10905105,P17,c(Q1048835)), (Q2075003,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q10905105
relation P17
action find
entity Q2075003
relation P27
type Q1048835
[ANSWERS] are Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany situated in or are the native countriesof Peter Friedl
{'OR': [['Q10905105', 'P17', {'concept': 'Q1048835'}], ['Q2075003', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q10905105 property:P17 ?i } UNION { resource:Q2075003 property:P27 ?i } } . ?i rdf:type ontology:Q1048835 }
Germany Austria
Germany and Austria are Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany situated in or are the native countriesof Peter Friedl
Germany Austria
action filter_type
action union
action find
entity Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany
relation country
action find
entity Peter Friedl
relation country of citizenship
type political territorial entity
{'OR': [['Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany', 'country', {'concept': 'political territorial entity'}], ['Peter Friedl', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Grand_Cross_1st_class_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany property:country ?i } UNION { resource:Peter_Friedl property:country_of_citizenship ?i } } . ?i rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2075003
P21
Q290
USER
Which sex does that person have ?
(Q183,P21,c(Q290)) (Q40,P21,c(Q290))
action filter_type
action find
entity Q2075003
relation P21
type Q290
['Q183', 'P21', {'concept': 'Q290'}] ['Q40', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q2075003 property:P21 ?x . ?x rdf:type ontology:Q290 }
Peter Friedl
action filter_type
action find
entity Peter Friedl
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}] ['Austria', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Peter_Friedl property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q183,P21,c(Q290)) (Q40,P21,c(Q290))
action filter_type
action find
entity Q2075003
relation P21
type Q290
That person has a [ANSWER]
['Q183', 'P21', {'concept': 'Q290'}] ['Q40', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q2075003 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Peter Friedl
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}] ['Austria', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Peter_Friedl property:gender ?x . ?x rdf:type ontology:sex }
[]