Simple Question (Direct)
Simple Question
Q2537412
P25
Q502895
USER
Which female person has a child named Elisabeth of Austria, Duchess of Lorraine ?
(Q2537412,P25,c(Q502895))
action filter_type
action find
entity Q2537412
relation P25
type Q502895
['Q2537412', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q2537412 property:P25 ?m . ?m rdf:type ontology:Q502895 }
Elisabeth of Austria, Duchess of Lorraine
action filter_type
action find
entity Elisabeth of Austria, Duchess of Lorraine
relation mother
type common name
['Elisabeth of Austria, Duchess of Lorraine', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Elisabeth_of_Austria,_Duchess_of_Lorraine property:mother ?m . ?m rdf:type ontology:common_name }
[]
common name
Q241653
SYSTEM
Elizabeth of Carinthia, Queen of Germany
Q241653
(Q2537412,P25,c(Q502895))
action filter_type
action find
entity Q2537412
relation P25
type Q502895
[ANSWER] has a child named Elisabeth of Austria, Duchess of Lorraine
['Q2537412', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q2537412 property:P25 ?m . ?m rdf:type ontology:Q502895 }
Elizabeth of Carinthia, Queen of Germany
Elizabeth of Carinthia, Queen of Germany has a child named Elisabeth of Austria, Duchess of Lorraine
Elizabeth of Carinthia, Queen of Germany
action filter_type
action find
entity Elisabeth of Austria, Duchess of Lorraine
relation mother
type common name
['Elisabeth of Austria, Duchess of Lorraine', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Elisabeth_of_Austria,_Duchess_of_Lorraine property:mother ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q241653
P9
Q502895
USER
Who is the sister of that one ?
(Q241653,P9,c(Q502895))
action filter_type
action find
entity Q241653
relation P9
type Q502895
['Q241653', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q241653 property:P9 ?b }
Elizabeth of Carinthia, Queen of Germany
action filter_type
action find
entity Elizabeth of Carinthia, Queen of Germany
relation sister
type common name
['Elizabeth of Carinthia, Queen of Germany', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Elizabeth_of_Carinthia,_Queen_of_Germany property:sister ?b }
[]
common name
Q15990467
SYSTEM
Agnes von Görz und Tirol
Q15990467
(Q241653,P9,c(Q502895))
action filter_type
action find
entity Q241653
relation P9
type Q502895
The sister of that one is the [ANSWER]
['Q241653', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q241653 property:P9 ?b }
Agnes von Görz und Tirol
The sister of that one is the Agnes von Görz und Tirol
Agnes von Görz und Tirol
action filter_type
action find
entity Elizabeth of Carinthia, Queen of Germany
relation sister
type common name
['Elizabeth of Carinthia, Queen of Germany', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Elizabeth_of_Carinthia,_Queen_of_Germany property:sister ?b }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q15990467 Q6068506 Q158246
P7
Q502895
USER
Is Pedro Cisternas Guzmán and Conradin a brother of Q15990467 ?
(Q15990467,P7,Q6068506) (Q15990467,P7,Q158246)
action is_in
entity Q15990467
action intersection
action find_reverse
entity Q6068506
relation P7
action find_reverse
entity Q158246
relation P7
['Q15990467', 'P7', 'Q6068506'] ['Q15990467', 'P7', 'Q158246']
ASK WHERE { resource:Q15990467 property:P7 resource:Q6068506 . resource:Q15990467 property:P7 resource:Q158246 }
Agnes von Görz und Tirol Pedro Cisternas Guzmán Conradin
action is_in
entity Agnes von Görz und Tirol
action intersection
action find_reverse
entity Pedro Cisternas Guzmán
relation brother
action find_reverse
entity Conradin
relation brother
['Agnes von Görz und Tirol', 'brother', 'Pedro Cisternas Guzmán'] ['Agnes von Görz und Tirol', 'brother', 'Conradin']
ASK WHERE { resource:Agnes_von_Görz_und_Tirol property:brother resource:Pedro_Cisternas_Guzmán . resource:Agnes_von_Görz_und_Tirol property:brother resource:Conradin }
[]
common name
SYSTEM
NO and YES respectively
(Q15990467,P7,Q6068506) (Q15990467,P7,Q158246)
action is_in
entity Q15990467
action intersection
action find_reverse
entity Q6068506
relation P7
action find_reverse
entity Q158246
relation P7
[ANSWER]
['Q15990467', 'P7', 'Q6068506'] ['Q15990467', 'P7', 'Q158246']
ASK WHERE { resource:Q15990467 property:P7 resource:Q6068506 . resource:Q15990467 property:P7 resource:Q158246 }
NO and YES respectively
action is_in
entity Agnes von Görz und Tirol
action intersection
action find_reverse
entity Pedro Cisternas Guzmán
relation brother
action find_reverse
entity Conradin
relation brother
['Agnes von Görz und Tirol', 'brother', 'Pedro Cisternas Guzmán'] ['Agnes von Görz und Tirol', 'brother', 'Conradin']
ASK WHERE { resource:Agnes_von_Görz_und_Tirol property:brother resource:Pedro_Cisternas_Guzmán . resource:Agnes_von_Görz_und_Tirol property:brother resource:Conradin }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2537412 Q9256733 Q313429
P7
Q502895
USER
Does Elisabeth of Austria, Duchess of Lorraine have Ewa Larysa Krause and Otto, Duke of Austria as their brother ?
(Q2537412,P7,Q9256733) (Q2537412,P7,Q313429)
action is_in
entity Q2537412
action intersection
action find_reverse
entity Q9256733
relation P7
action find_reverse
entity Q313429
relation P7
['Q2537412', 'P7', 'Q9256733'] ['Q2537412', 'P7', 'Q313429']
ASK WHERE { resource:Q2537412 property:P7 resource:Q9256733 . resource:Q2537412 property:P7 resource:Q313429 }
Elisabeth of Austria, Duchess of Lorraine Ewa Larysa Krause Otto, Duke of Austria
action is_in
entity Elisabeth of Austria, Duchess of Lorraine
action intersection
action find_reverse
entity Ewa Larysa Krause
relation brother
action find_reverse
entity Otto, Duke of Austria
relation brother
['Elisabeth of Austria, Duchess of Lorraine', 'brother', 'Ewa Larysa Krause'] ['Elisabeth of Austria, Duchess of Lorraine', 'brother', 'Otto, Duke of Austria']
ASK WHERE { resource:Elisabeth_of_Austria,_Duchess_of_Lorraine property:brother resource:Ewa_Larysa_Krause . resource:Elisabeth_of_Austria,_Duchess_of_Lorraine property:brother resource:Otto,_Duke_of_Austria }
[]
common name
SYSTEM
NO and YES respectively
(Q2537412,P7,Q9256733) (Q2537412,P7,Q313429)
action is_in
entity Q2537412
action intersection
action find_reverse
entity Q9256733
relation P7
action find_reverse
entity Q313429
relation P7
[ANSWER]
['Q2537412', 'P7', 'Q9256733'] ['Q2537412', 'P7', 'Q313429']
ASK WHERE { resource:Q2537412 property:P7 resource:Q9256733 . resource:Q2537412 property:P7 resource:Q313429 }
NO and YES respectively
action is_in
entity Elisabeth of Austria, Duchess of Lorraine
action intersection
action find_reverse
entity Ewa Larysa Krause
relation brother
action find_reverse
entity Otto, Duke of Austria
relation brother
['Elisabeth of Austria, Duchess of Lorraine', 'brother', 'Ewa Larysa Krause'] ['Elisabeth of Austria, Duchess of Lorraine', 'brother', 'Otto, Duke of Austria']
ASK WHERE { resource:Elisabeth_of_Austria,_Duchess_of_Lorraine property:brother resource:Ewa_Larysa_Krause . resource:Elisabeth_of_Austria,_Duchess_of_Lorraine property:brother resource:Otto,_Duke_of_Austria }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19372216 Q6068506
P27
Q15617994
USER
Which administrative territories are Pedro Cisternas Guzmán or Camilla Lund an inhabitant of ?
OR((Q6068506,P27,c(Q15617994)), (Q19372216,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6068506
relation P27
action find
entity Q19372216
relation P27
type Q15617994
{'OR': [['Q6068506', 'P27', {'concept': 'Q15617994'}], ['Q19372216', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { ?j property:P27 ?h . VALUES ( ?j ) { ( resource:Q6068506 ) ( resource:Q19372216 ) } } . ?h rdf:type ontology:Q15617994 }
Camilla Lund Pedro Cisternas Guzmán
action filter_type
action union
action find
entity Pedro Cisternas Guzmán
relation country of citizenship
action find
entity Camilla Lund
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Pedro Cisternas Guzmán', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Camilla Lund', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { ?j property:country_of_citizenship ?h . VALUES ( ?j ) { ( resource:Pedro_Cisternas_Guzmán ) ( resource:Camilla_Lund ) } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q298
SYSTEM
Norway, Chile
Q20 Q298
OR((Q6068506,P27,c(Q15617994)), (Q19372216,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6068506
relation P27
action find
entity Q19372216
relation P27
type Q15617994
[ANSWERS] are Pedro Cisternas Guzmán or Camilla Lund an inhabitant of
{'OR': [['Q6068506', 'P27', {'concept': 'Q15617994'}], ['Q19372216', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { ?j property:P27 ?h . VALUES ( ?j ) { ( resource:Q6068506 ) ( resource:Q19372216 ) } } . ?h rdf:type ontology:Q15617994 }
Norway Chile
Norway and Chile are Pedro Cisternas Guzmán or Camilla Lund an inhabitant of
Norway Chile
action filter_type
action union
action find
entity Pedro Cisternas Guzmán
relation country of citizenship
action find
entity Camilla Lund
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Pedro Cisternas Guzmán', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Camilla Lund', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { ?j property:country_of_citizenship ?h . VALUES ( ?j ) { ( resource:Pedro_Cisternas_Guzmán ) ( resource:Camilla_Lund ) } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q553818
P530
Q15617994
USER
Do Dienethal have ambassadorial relations with those ones ?
(Q553818,P530,Q20) (Q553818,P530,Q298)
action is_in
entity prev_answer
action find
entity Q553818
relation P530
['Q553818', 'P530', 'Q20'] ['Q553818', 'P530', 'Q298']
ASK WHERE { VALUES ( ?q ) { ( resource:Q20 ) ( resource:Q298 ) } . resource:Q553818 property:P530 ?q }
Dienethal
action is_in
entity prev_answer
action find
entity Dienethal
relation diplomatic relation
['Dienethal', 'diplomatic relation', 'Norway'] ['Dienethal', 'diplomatic relation', 'Chile']
ASK WHERE { VALUES ( ?q ) { ( resource:Norway ) ( resource:Chile ) } . resource:Dienethal property:diplomatic_relation ?q }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q553818,P530,Q20) (Q553818,P530,Q298)
action is_in
entity prev_answer
action find
entity Q553818
relation P530
[ANSWER]
['Q553818', 'P530', 'Q20'] ['Q553818', 'P530', 'Q298']
ASK WHERE { VALUES ( ?q ) { ( resource:Q20 ) ( resource:Q298 ) } . resource:Q553818 property:P530 ?q }
No
action is_in
entity prev_answer
action find
entity Dienethal
relation diplomatic relation
['Dienethal', 'diplomatic relation', 'Norway'] ['Dienethal', 'diplomatic relation', 'Chile']
ASK WHERE { VALUES ( ?q ) { ( resource:Norway ) ( resource:Chile ) } . resource:Dienethal property:diplomatic_relation ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2537412 Q16209667 Q158434
P7
Q502895
USER
Does Elisabeth of Austria, Duchess of Lorraine have Dennis Horner and Albert II, Duke of Austria as their brother ?
(Q2537412,P7,Q16209667) (Q2537412,P7,Q158434)
action is_in
entity Q2537412
action intersection
action find_reverse
entity Q16209667
relation P7
action find_reverse
entity Q158434
relation P7
['Q2537412', 'P7', 'Q16209667'] ['Q2537412', 'P7', 'Q158434']
ASK WHERE { resource:Q2537412 property:P7 resource:Q16209667 . resource:Q2537412 property:P7 resource:Q158434 }
Elisabeth of Austria, Duchess of Lorraine Dennis Horner Albert II, Duke of Austria
action is_in
entity Elisabeth of Austria, Duchess of Lorraine
action intersection
action find_reverse
entity Dennis Horner
relation brother
action find_reverse
entity Albert II, Duke of Austria
relation brother
['Elisabeth of Austria, Duchess of Lorraine', 'brother', 'Dennis Horner'] ['Elisabeth of Austria, Duchess of Lorraine', 'brother', 'Albert II, Duke of Austria']
ASK WHERE { resource:Elisabeth_of_Austria,_Duchess_of_Lorraine property:brother resource:Dennis_Horner . resource:Elisabeth_of_Austria,_Duchess_of_Lorraine property:brother resource:Albert_II,_Duke_of_Austria }
[]
common name
SYSTEM
NO and YES respectively
(Q2537412,P7,Q16209667) (Q2537412,P7,Q158434)
action is_in
entity Q2537412
action intersection
action find_reverse
entity Q16209667
relation P7
action find_reverse
entity Q158434
relation P7
[ANSWER]
['Q2537412', 'P7', 'Q16209667'] ['Q2537412', 'P7', 'Q158434']
ASK WHERE { resource:Q2537412 property:P7 resource:Q16209667 . resource:Q2537412 property:P7 resource:Q158434 }
NO and YES respectively
action is_in
entity Elisabeth of Austria, Duchess of Lorraine
action intersection
action find_reverse
entity Dennis Horner
relation brother
action find_reverse
entity Albert II, Duke of Austria
relation brother
['Elisabeth of Austria, Duchess of Lorraine', 'brother', 'Dennis Horner'] ['Elisabeth of Austria, Duchess of Lorraine', 'brother', 'Albert II, Duke of Austria']
ASK WHERE { resource:Elisabeth_of_Austria,_Duchess_of_Lorraine property:brother resource:Dennis_Horner . resource:Elisabeth_of_Austria,_Duchess_of_Lorraine property:brother resource:Albert_II,_Duke_of_Austria }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q298 Q3351436 Q320
P35
Q502895
USER
Does Chile have Olivier Yglesias and Michelle Bachelet as its chief of state ?
(Q298,P35,Q3351436) (Q298,P35,Q320)
action is_in
entity Q298
action intersection
action find_reverse
entity Q3351436
relation P35
action find_reverse
entity Q320
relation P35
['Q298', 'P35', 'Q3351436'] ['Q298', 'P35', 'Q320']
ASK WHERE { resource:Q298 property:P35 resource:Q3351436 . resource:Q298 property:P35 resource:Q320 }
Chile Olivier Yglesias Michelle Bachelet
action is_in
entity Chile
action intersection
action find_reverse
entity Olivier Yglesias
relation head of state
action find_reverse
entity Michelle Bachelet
relation head of state
['Chile', 'head of state', 'Olivier Yglesias'] ['Chile', 'head of state', 'Michelle Bachelet']
ASK WHERE { resource:Chile property:head_of_state resource:Olivier_Yglesias . resource:Chile property:head_of_state resource:Michelle_Bachelet }
[]
common name
SYSTEM
NO and YES respectively
(Q298,P35,Q3351436) (Q298,P35,Q320)
action is_in
entity Q298
action intersection
action find_reverse
entity Q3351436
relation P35
action find_reverse
entity Q320
relation P35
[ANSWER]
['Q298', 'P35', 'Q3351436'] ['Q298', 'P35', 'Q320']
ASK WHERE { resource:Q298 property:P35 resource:Q3351436 . resource:Q298 property:P35 resource:Q320 }
NO and YES respectively
action is_in
entity Chile
action intersection
action find_reverse
entity Olivier Yglesias
relation head of state
action find_reverse
entity Michelle Bachelet
relation head of state
['Chile', 'head of state', 'Olivier Yglesias'] ['Chile', 'head of state', 'Michelle Bachelet']
ASK WHERE { resource:Chile property:head_of_state resource:Olivier_Yglesias . resource:Chile property:head_of_state resource:Michelle_Bachelet }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q2537412
P9 P21
Q502895
USER
Which people had Elisabeth of Austria, Duchess of Lorraine as their sibling and have male as the sex ?
AND((c(Q502895),P9,Q2537412), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2537412
relation P9
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q2537412'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P9 resource:Q2537412 . ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
male Elisabeth of Austria, Duchess of Lorraine
action filter_type
action intersection
action find_reverse
entity Elisabeth of Austria, Duchess of Lorraine
relation sister
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Elisabeth of Austria, Duchess of Lorraine'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:sister resource:Elisabeth_of_Austria,_Duchess_of_Lorraine . ?z property:gender resource:male . ?z rdf:type ontology:common_name }
[]
common name
Q569984 Q158434 Q168254 Q313429 Q124950 Q223421
SYSTEM
Henry the Friendly, Albert II, Duke of Austria, Rudolf I of Bohemia, Otto, Duke of Austria, Frederick the Fair, Leopold I, Duke of Austria
Q569984 Q158434 Q168254 Q313429 Q124950 Q223421
AND((c(Q502895),P9,Q2537412), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2537412
relation P9
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q2537412'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P9 resource:Q2537412 . ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
Henry the Friendly Albert II, Duke of Austria Rudolf I of Bohemia Otto, Duke of Austria Frederick the Fair Leopold I, Duke of Austria
Henry the Friendly, Albert II, Duke of Austria, Rudolf I of Bohemia, Otto, Duke of Austria, Frederick the Fair and Leopold I, Duke of Austria had Elisabeth of Austria, Duchess of Lorraine as their sibling and have male as the sex
Henry the Friendly Albert II, Duke of Austria Rudolf I of Bohemia Otto, Duke of Austria Frederick the Fair Leopold I, Duke of Austria
action filter_type
action intersection
action find_reverse
entity Elisabeth of Austria, Duchess of Lorraine
relation sister
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Elisabeth of Austria, Duchess of Lorraine'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:sister resource:Elisabeth_of_Austria,_Duchess_of_Lorraine . ?z property:gender resource:male . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q124950 Q1337389
P20
Q15617994
USER
How many administrative territories did Frederick the Fair or Menachem Mendel Schneersohn expire ?
(Q124950,P20,c(Q15617994)) (Q1337389,P20,c(Q15617994))
action count
action union
action filter_type
action find
entity Q124950
relation P20
type Q15617994
action filter_type
action find
entity Q1337389
relation P20
type Q15617994
['Q124950', 'P20', {'concept': 'Q15617994'}] ['Q1337389', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { { resource:Q124950 property:P20 ?c . ?c rdf:type ontology:Q15617994 } UNION { resource:Q1337389 property:P20 ?c . ?c rdf:type ontology:Q15617994 } }
Frederick the Fair Menachem Mendel Schneersohn
action count
action union
action filter_type
action find
entity Frederick the Fair
relation place of death
type designation for an administrative territorial entity
action filter_type
action find
entity Menachem Mendel Schneersohn
relation place of death
type designation for an administrative territorial entity
['Frederick the Fair', 'place of death', {'concept': 'designation for an administrative territorial entity'}] ['Menachem Mendel Schneersohn', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { { resource:Frederick_the_Fair property:place_of_death ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Menachem_Mendel_Schneersohn property:place_of_death ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q898212 Q663658
(Q124950,P20,c(Q15617994)) (Q1337389,P20,c(Q15617994))
action count
action union
action filter_type
action find
entity Q124950
relation P20
type Q15617994
action filter_type
action find
entity Q1337389
relation P20
type Q15617994
[ANSWER]
['Q124950', 'P20', {'concept': 'Q15617994'}] ['Q1337389', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { { resource:Q124950 property:P20 ?c . ?c rdf:type ontology:Q15617994 } UNION { resource:Q1337389 property:P20 ?c . ?c rdf:type ontology:Q15617994 } }
Lyubavichi, Rudnyansky District, Smolensk Oblast Gutenstein
2
action count
action union
action filter_type
action find
entity Frederick the Fair
relation place of death
type designation for an administrative territorial entity
action filter_type
action find
entity Menachem Mendel Schneersohn
relation place of death
type designation for an administrative territorial entity
['Frederick the Fair', 'place of death', {'concept': 'designation for an administrative territorial entity'}] ['Menachem Mendel Schneersohn', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { { resource:Frederick_the_Fair property:place_of_death ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Menachem_Mendel_Schneersohn property:place_of_death ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8059647 Q2537412
P22
Q502895
USER
Which people were the dad of Elisabeth of Austria, Duchess of Lorraine or Yrjö Blomstedt ?
OR((Q2537412,P22,c(Q502895)), (Q8059647,P22,c(Q502895)))
action filter_type
action union
action find
entity Q2537412
relation P22
action find
entity Q8059647
relation P22
type Q502895
{'OR': [['Q2537412', 'P22', {'concept': 'Q502895'}], ['Q8059647', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { ?t property:P22 ?b . VALUES ( ?t ) { ( resource:Q2537412 ) ( resource:Q8059647 ) } } . ?b rdf:type ontology:Q502895 }
Yrjö Blomstedt Elisabeth of Austria, Duchess of Lorraine
action filter_type
action union
action find
entity Elisabeth of Austria, Duchess of Lorraine
relation father
action find
entity Yrjö Blomstedt
relation father
type common name
{'OR': [['Elisabeth of Austria, Duchess of Lorraine', 'father', {'concept': 'common name'}], ['Yrjö Blomstedt', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { ?t property:father ?b . VALUES ( ?t ) { ( resource:Elisabeth_of_Austria,_Duchess_of_Lorraine ) ( resource:Yrjö_Blomstedt ) } } . ?b rdf:type ontology:common_name }
[]
common name
Q153956 Q402793
SYSTEM
Albert I of Germany, Pauli E. Blomstedt
Q153956 Q402793
OR((Q2537412,P22,c(Q502895)), (Q8059647,P22,c(Q502895)))
action filter_type
action union
action find
entity Q2537412
relation P22
action find
entity Q8059647
relation P22
type Q502895
[ANSWERS] were the dad of Elisabeth of Austria, Duchess of Lorraine or Yrjö Blomstedt
{'OR': [['Q2537412', 'P22', {'concept': 'Q502895'}], ['Q8059647', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { ?t property:P22 ?b . VALUES ( ?t ) { ( resource:Q2537412 ) ( resource:Q8059647 ) } } . ?b rdf:type ontology:Q502895 }
Albert I of Germany Pauli E. Blomstedt
Albert I of Germany and Pauli E. Blomstedt were the dad of Elisabeth of Austria, Duchess of Lorraine or Yrjö Blomstedt
Albert I of Germany Pauli E. Blomstedt
action filter_type
action union
action find
entity Elisabeth of Austria, Duchess of Lorraine
relation father
action find
entity Yrjö Blomstedt
relation father
type common name
{'OR': [['Elisabeth of Austria, Duchess of Lorraine', 'father', {'concept': 'common name'}], ['Yrjö Blomstedt', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { ?t property:father ?b . VALUES ( ?t ) { ( resource:Elisabeth_of_Austria,_Duchess_of_Lorraine ) ( resource:Yrjö_Blomstedt ) } } . ?b rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16741836 Q158434
P22
Q502895
USER
Which people were the father of Albert II, Duke of Austria or Henry Francis Conyngham, Earl of Mount Charles ?
OR((Q158434,P22,c(Q502895)), (Q16741836,P22,c(Q502895)))
action filter_type
action union
action find
entity Q158434
relation P22
action find
entity Q16741836
relation P22
type Q502895
{'OR': [['Q158434', 'P22', {'concept': 'Q502895'}], ['Q16741836', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { { ?j property:P22 ?e . VALUES ( ?j ) { ( resource:Q158434 ) ( resource:Q16741836 ) } } . ?e rdf:type ontology:Q502895 }
Henry Francis Conyngham, Earl of Mount Charles Albert II, Duke of Austria
action filter_type
action union
action find
entity Albert II, Duke of Austria
relation father
action find
entity Henry Francis Conyngham, Earl of Mount Charles
relation father
type common name
{'OR': [['Albert II, Duke of Austria', 'father', {'concept': 'common name'}], ['Henry Francis Conyngham, Earl of Mount Charles', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { { ?j property:father ?e . VALUES ( ?j ) { ( resource:Albert_II,_Duke_of_Austria ) ( resource:Henry_Francis_Conyngham,_Earl_of_Mount_Charles ) } } . ?e rdf:type ontology:common_name }
[]
common name
Q153956 Q5719766
SYSTEM
Albert I of Germany, Henry Conyngham, 1st Marquess Conyngham
Q153956 Q5719766
OR((Q158434,P22,c(Q502895)), (Q16741836,P22,c(Q502895)))
action filter_type
action union
action find
entity Q158434
relation P22
action find
entity Q16741836
relation P22
type Q502895
[ANSWERS]
{'OR': [['Q158434', 'P22', {'concept': 'Q502895'}], ['Q16741836', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { { ?j property:P22 ?e . VALUES ( ?j ) { ( resource:Q158434 ) ( resource:Q16741836 ) } } . ?e rdf:type ontology:Q502895 }
Albert I of Germany Henry Conyngham, 1st Marquess Conyngham
Albert I of Germany and Henry Conyngham, 1st Marquess Conyngham were the father of Albert II, Duke of Austria or Henry Francis Conyngham, Earl of Mount Charles
Albert I of Germany Henry Conyngham, 1st Marquess Conyngham
action filter_type
action union
action find
entity Albert II, Duke of Austria
relation father
action find
entity Henry Francis Conyngham, Earl of Mount Charles
relation father
type common name
{'OR': [['Albert II, Duke of Austria', 'father', {'concept': 'common name'}], ['Henry Francis Conyngham, Earl of Mount Charles', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { { ?j property:father ?e . VALUES ( ?j ) { ( resource:Albert_II,_Duke_of_Austria ) ( resource:Henry_Francis_Conyngham,_Earl_of_Mount_Charles ) } } . ?e rdf:type ontology:common_name }
[]