Simple Question (Direct)
Simple Question
Q682419
P19
Q56061
USER
Which administrative territory was Linas Pilibaitis born at ?
(Q682419,P19,c(Q56061))
action filter_type
action find
entity Q682419
relation P19
type Q56061
['Q682419', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q682419 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Linas Pilibaitis
action filter_type
action find
entity Linas Pilibaitis
relation place of birth
type administrative territorial entity
['Linas Pilibaitis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Linas_Pilibaitis property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1788115
SYSTEM
Kretinga
Q1788115
(Q682419,P19,c(Q56061))
action filter_type
action find
entity Q682419
relation P19
type Q56061
Linas Pilibaitis was born in [ANSWER]
['Q682419', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q682419 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Kretinga
Linas Pilibaitis was born in Kretinga
Kretinga
action filter_type
action find
entity Linas Pilibaitis
relation place of birth
type administrative territorial entity
['Linas Pilibaitis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Linas_Pilibaitis property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1788115
P20
Q502895
USER
Which people expired at that administrative territory ?
(c(Q502895),P20,Q1788115)
action filter_type
action find_reverse
entity Q1788115
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q1788115']
SELECT DISTINCT ?a WHERE { ?a property:P20 resource:Q1788115 . ?a rdf:type ontology:Q502895 }
Kretinga
action filter_type
action find_reverse
entity Kretinga
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Kretinga']
SELECT DISTINCT ?a WHERE { ?a property:place_of_death resource:Kretinga . ?a rdf:type ontology:common_name }
[]
common name
Q825867 Q16854447 Q20736095
SYSTEM
Bernhard Schlick, Zofia Mielecka, Józef Tyszkiewicz
Q20736095 Q12678094 Q825867 Q16854447
(c(Q502895),P20,Q1788115)
action filter_type
action find_reverse
entity Q1788115
relation P20
type Q502895
[ANSWERS] expired at that administrative territory
[{'concept': 'Q502895'}, 'P20', 'Q1788115']
SELECT DISTINCT ?a WHERE { ?a property:P20 resource:Q1788115 . ?a rdf:type ontology:Q502895 }
Józef Tyszkiewicz Vladislovas Nagevičius Bernhard Schlick Zofia Mielecka
Bernhard Schlick, Zofia Mielecka and Józef Tyszkiewicz expired at that administrative territory
Bernhard Schlick Zofia Mielecka Józef Tyszkiewicz
action filter_type
action find_reverse
entity Kretinga
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Kretinga']
SELECT DISTINCT ?a WHERE { ?a property:place_of_death resource:Kretinga . ?a rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16854447
P40
Q502895
USER
Which people are a successors of that one ?
(Q16854447,P40,c(Q502895))
action filter_type
action find
entity Q16854447
relation P40
type Q502895
['Q16854447', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q16854447 property:P40 ?i . ?i rdf:type ontology:Q502895 }
Zofia Mielecka
action filter_type
action find
entity Zofia Mielecka
relation child
type common name
['Zofia Mielecka', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Zofia_Mielecka property:child ?i . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q20736095
SYSTEM
Did you mean Józef Tyszkiewicz ?
Q825867 Q16854447 Q20736095
(Q825867,P40,c(Q502895)) (Q16854447,P40,c(Q502895)) (Q20736095,P40,c(Q502895))
[ANSWER]
['Q825867', 'P40', {'concept': 'Q502895'}] ['Q16854447', 'P40', {'concept': 'Q502895'}] ['Q20736095', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q16854447 property:P40 ?i . ?i rdf:type ontology:Q502895 }
Bernhard Schlick Zofia Mielecka Józef Tyszkiewicz
Did you mean Józef Tyszkiewicz ?
Józef Tyszkiewicz
['Bernhard Schlick', 'child', {'concept': 'common name'}] ['Zofia Mielecka', 'child', {'concept': 'common name'}] ['Józef Tyszkiewicz', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Zofia_Mielecka property:child ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Zofia Mielecka. Could you tell me the answer for that?
(Q16854447,P40,c(Q502895))
Q16854447
['Q16854447', 'P40', {'concept': 'Q502895'}]
['Zofia Mielecka', 'child', {'concept': 'common name'}]
[]
Q16453379 Q21082733
SYSTEM
Jeronimas Krizostomas Chodkevičius, Anna Scholastyka Chodkiewicz
Q16453379 Q21082733
(Q16854447,P40,c(Q502895))
action filter_type
action find
entity Q16854447
relation P40
type Q502895
[ANSWERS] are a successors of that one
['Q16854447', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q16854447 property:P40 ?i . ?i rdf:type ontology:Q502895 }
Jeronimas Krizostomas Chodkevičius Anna Scholastyka Chodkiewicz
Jeronimas Krizostomas Chodkevičius and Anna Scholastyka Chodkiewicz are a successors of that one
Jeronimas Krizostomas Chodkevičius Anna Scholastyka Chodkiewicz
action filter_type
action find
entity Zofia Mielecka
relation child
type common name
['Zofia Mielecka', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Zofia_Mielecka property:child ?i . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P169
Q502895 Q19335303 Q4830453
USER
How many people are the chief executive officer of around 1 German business organizations and business enterprises ?
(c(Q19335303)|c(Q4830453),P169,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q19335303
action find_reverse_tuple_counts
relation P169
type Q502895
type Q4830453
value 1
[[{'concept': 'Q19335303'}, {'concept': 'Q4830453'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:P169 ?n . ?h rdf:type ontology:Q19335303 . ?n rdf:type ontology:Q502895 } UNION { ?h property:P169 ?n . ?n rdf:type ontology:Q502895 . ?h rdf:type ontology:Q4830453 } } GROUP BY ?n } . FILTER ( ?r = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type type of business entity in Germany
action find_reverse_tuple_counts
relation chief executive officer
type common name
type business enterprise
value 1
[[{'concept': 'type of business entity in Germany'}, {'concept': 'business enterprise'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:chief_executive_officer ?n . ?h rdf:type ontology:type_of_business_entity_in_Germany . ?n rdf:type ontology:common_name } UNION { ?h property:chief_executive_officer ?n . ?n rdf:type ontology:common_name . ?h rdf:type ontology:business_enterprise } } GROUP BY ?n } . FILTER ( ?r = 1 ) }
[]
common name type of business entity in Germany business enterprise
SYSTEM
51
Q19896671 Q19896679 Q23416738 Q4117176 Q26722512 Q55183 Q4980260 Q18342983 Q19665536 Q9000717 Q418622 Q65445 Q1392181 Q109782 Q8421760 Q19594969 Q5619555 Q346081 Q3318585 Q19664216 Q16193869 Q1572591 Q2324303 Q1721259 Q26903671 Q293679 Q2078625 Q472330 Q1692250 Q20962527 Q18233674 Q2165536 Q1223089 Q16195575 Q11875054 Q1680807 Q8992399 Q19854934 Q118816 Q7608884 Q107571 Q317521 Q5273200 Q20215432 Q4482287 Q2468051 Q1386366 Q17988783 Q3023213 Q6113311 Q22096796
(c(Q19335303)|c(Q4830453),P169,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q19335303
action find_reverse_tuple_counts
relation P169
type Q502895
type Q4830453
value 1
[ANSWER]
[[{'concept': 'Q19335303'}, {'concept': 'Q4830453'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:P169 ?n . ?h rdf:type ontology:Q19335303 . ?n rdf:type ontology:Q502895 } UNION { ?h property:P169 ?n . ?n rdf:type ontology:Q502895 . ?h rdf:type ontology:Q4830453 } } GROUP BY ?n } . FILTER ( ?r = 1 ) }
Tim Jenkins Zaw Thet Jason Barnard Robert Kotick Antoni Cases Susan Wojcicki Bryan Morrison Patrick Pouyanné Dan Siroker Lei Jun Akio Toyoda Dieter Zetsche Muhtar Kent Heinrich Hiesinger Jay Walder Ulrich Spiesshofer Gunvor Ulstein Christophe de Margerie Mohamed Hassan Bensalah Jason Kothari Sophie Turner Laing René Obermann Jørgen Vig Knudstorp Kai-Uwe Ricke Shubham Badal Al-Waleed bin Talal Peter Terium Howard Schultz Kjeld Kirk Kristiansen Alex Algard Wu Xiaohui Ron Sommer Dieter von Holtzbrinck Muzzammil Hassan Lauri Kivinen James McNerney Yoshitaka Kitao Lincoln Leong Manfred Bischoff Stephen Chan Wolfgang Reitzle Elon Musk Dick Millman Scott Ernest Yuri Fedutinov Steve O'Rourke Timotheus Höttges Haruna Yukawa Dennis Woodside Jack J. Pelton Lewis Von Thaer
51
action count
action approx
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type type of business entity in Germany
action find_reverse_tuple_counts
relation chief executive officer
type common name
type business enterprise
value 1
[[{'concept': 'type of business entity in Germany'}, {'concept': 'business enterprise'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:chief_executive_officer ?n . ?h rdf:type ontology:type_of_business_entity_in_Germany . ?n rdf:type ontology:common_name } UNION { ?h property:chief_executive_officer ?n . ?n rdf:type ontology:common_name . ?h rdf:type ontology:business_enterprise } } GROUP BY ?n } . FILTER ( ?r = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q20736095
P21 P22
Q502895
USER
Which people have Józef Tyszkiewicz as a parent and have male as the sex ?
AND((c(Q502895),P22,Q20736095), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q20736095
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q20736095'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P22 resource:Q20736095 . ?a property:P21 resource:Q6581097 }
male Józef Tyszkiewicz
action filter_type
action intersection
action find_reverse
entity Józef Tyszkiewicz
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Józef Tyszkiewicz'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:father resource:Józef_Tyszkiewicz . ?a property:gender resource:male }
[]
common name
Q16454196 Q18543224 Q9382361 Q16450866 Q16443978 Q9146103
SYSTEM
Juozapas Tiškevičius IV, Juozapas Tiškevičius, Władysław Tyszkiewicz, Feliksas Tiškevičius, Antanas Tiškevičius, Aleksander Tyszkiewicz
Q16454196 Q18543224 Q9382361 Q16450866 Q16443978 Q9146103
AND((c(Q502895),P22,Q20736095), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q20736095
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Józef Tyszkiewicz as a parent and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q20736095'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P22 resource:Q20736095 . ?a property:P21 resource:Q6581097 }
Juozapas Tiškevičius IV Juozapas Tiškevičius Władysław Tyszkiewicz Feliksas Tiškevičius Antanas Tiškevičius Aleksander Tyszkiewicz
Juozapas Tiškevičius IV, Juozapas Tiškevičius, Władysław Tyszkiewicz, Feliksas Tiškevičius, Antanas Tiškevičius and Aleksander Tyszkiewicz have Józef Tyszkiewicz as a parent and have male as the sex
Juozapas Tiškevičius IV Juozapas Tiškevičius Władysław Tyszkiewicz Feliksas Tiškevičius Antanas Tiškevičius Aleksander Tyszkiewicz
action filter_type
action intersection
action find_reverse
entity Józef Tyszkiewicz
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Józef Tyszkiewicz'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:father resource:Józef_Tyszkiewicz . ?a property:gender resource:male }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9146103
P40
Q502895
USER
Which person is an offspring of that one ?
(Q9146103,P40,c(Q502895))
action filter_type
action find
entity Q9146103
relation P40
type Q502895
['Q9146103', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q9146103 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Aleksander Tyszkiewicz
action filter_type
action find
entity Aleksander Tyszkiewicz
relation child
type common name
['Aleksander Tyszkiewicz', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Aleksander_Tyszkiewicz property:child ?f . ?f rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q9146103
SYSTEM
Did you mean Aleksander Tyszkiewicz ?
Q16454196 Q18543224 Q9382361 Q16450866 Q16443978 Q9146103
(Q16454196,P40,c(Q502895)) (Q18543224,P40,c(Q502895)) (Q9382361,P40,c(Q502895)) (Q16450866,P40,c(Q502895)) (Q16443978,P40,c(Q502895)) (Q9146103,P40,c(Q502895))
[ANSWER]
['Q16454196', 'P40', {'concept': 'Q502895'}] ['Q18543224', 'P40', {'concept': 'Q502895'}] ['Q9382361', 'P40', {'concept': 'Q502895'}] ['Q16450866', 'P40', {'concept': 'Q502895'}] ['Q16443978', 'P40', {'concept': 'Q502895'}] ['Q9146103', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q9146103 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Juozapas Tiškevičius IV Juozapas Tiškevičius Władysław Tyszkiewicz Feliksas Tiškevičius Antanas Tiškevičius Aleksander Tyszkiewicz
Did you mean Aleksander Tyszkiewicz ?
Aleksander Tyszkiewicz
['Juozapas Tiškevičius IV', 'child', {'concept': 'common name'}] ['Juozapas Tiškevičius', 'child', {'concept': 'common name'}] ['Władysław Tyszkiewicz', 'child', {'concept': 'common name'}] ['Feliksas Tiškevičius', 'child', {'concept': 'common name'}] ['Antanas Tiškevičius', 'child', {'concept': 'common name'}] ['Aleksander Tyszkiewicz', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Aleksander_Tyszkiewicz property:child ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q9146103,P40,c(Q502895))
['Q9146103', 'P40', {'concept': 'Q502895'}]
['Aleksander Tyszkiewicz', 'child', {'concept': 'common name'}]
[]
Q12673681
SYSTEM
Stanislovas Tiškevičius
Q12673681
(Q9146103,P40,c(Q502895))
action filter_type
action find
entity Q9146103
relation P40
type Q502895
[ANSWER] is an offspring of that one
['Q9146103', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q9146103 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Stanislovas Tiškevičius
Stanislovas Tiškevičius is an offspring of that one
Stanislovas Tiškevičius
action filter_type
action find
entity Aleksander Tyszkiewicz
relation child
type common name
['Aleksander Tyszkiewicz', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Aleksander_Tyszkiewicz property:child ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q12673681 Q9146103
P40
Q502895
USER
Does Aleksander Tyszkiewicz have that one as a child ?
(Q9146103,P40,Q12673681)
action is_in
entity Q12673681
action find
entity Q9146103
relation P40
['Q9146103', 'P40', 'Q12673681']
ASK WHERE { resource:Q9146103 property:P40 resource:Q12673681 }
Stanislovas Tiškevičius Aleksander Tyszkiewicz
action is_in
entity Stanislovas Tiškevičius
action find
entity Aleksander Tyszkiewicz
relation child
['Aleksander Tyszkiewicz', 'child', 'Stanislovas Tiškevičius']
ASK WHERE { resource:Aleksander_Tyszkiewicz property:child resource:Stanislovas_Tiškevičius }
[]
common name
SYSTEM
YES
(Q9146103,P40,Q12673681)
action is_in
entity Q12673681
action find
entity Q9146103
relation P40
[ANSWER]
['Q9146103', 'P40', 'Q12673681']
ASK WHERE { resource:Q9146103 property:P40 resource:Q12673681 }
Yes
action is_in
entity Stanislovas Tiškevičius
action find
entity Aleksander Tyszkiewicz
relation child
['Aleksander Tyszkiewicz', 'child', 'Stanislovas Tiškevičius']
ASK WHERE { resource:Aleksander_Tyszkiewicz property:child resource:Stanislovas_Tiškevičius }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q825867 Q1632480
P27
Q1048835
USER
Is Hoyos del Espino the country of citizenship of Bernhard Schlick ?
(Q825867,P27,Q1632480)
action is_in
entity Q1632480
action find
entity Q825867
relation P27
['Q825867', 'P27', 'Q1632480']
ASK WHERE { resource:Q825867 property:P27 resource:Q1632480 }
Bernhard Schlick Hoyos del Espino
action is_in
entity Hoyos del Espino
action find
entity Bernhard Schlick
relation country of citizenship
['Bernhard Schlick', 'country of citizenship', 'Hoyos del Espino']
ASK WHERE { resource:Bernhard_Schlick property:country_of_citizenship resource:Hoyos_del_Espino }
[]
political territorial entity
SYSTEM
NO
(Q825867,P27,Q1632480)
action is_in
entity Q1632480
action find
entity Q825867
relation P27
[ANSWER]
['Q825867', 'P27', 'Q1632480']
ASK WHERE { resource:Q825867 property:P27 resource:Q1632480 }
No
action is_in
entity Hoyos del Espino
action find
entity Bernhard Schlick
relation country of citizenship
['Bernhard Schlick', 'country of citizenship', 'Hoyos del Espino']
ASK WHERE { resource:Bernhard_Schlick property:country_of_citizenship resource:Hoyos_del_Espino }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q9146103 Q2668904
P53
Q8436
USER
How many families are the royal families that Aleksander Tyszkiewicz or Olelkovich are a part of ?
(Q9146103,P53,c(Q8436)) (Q2668904,P53,c(Q8436))
action count
action union
action filter_type
action find
entity Q9146103
relation P53
type Q8436
action filter_type
action find
entity Q2668904
relation P53
type Q8436
['Q9146103', 'P53', {'concept': 'Q8436'}] ['Q2668904', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { resource:Q2668904 property:P53 ?a . ?a rdf:type ontology:Q8436 } UNION { resource:Q9146103 property:P53 ?a . ?a rdf:type ontology:Q8436 } }
Aleksander Tyszkiewicz Olelkovich
action count
action union
action filter_type
action find
entity Aleksander Tyszkiewicz
relation noble family
type family
action filter_type
action find
entity Olelkovich
relation noble family
type family
['Aleksander Tyszkiewicz', 'noble family', {'concept': 'family'}] ['Olelkovich', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { resource:Olelkovich property:noble_family ?a . ?a rdf:type ontology:family } UNION { resource:Aleksander_Tyszkiewicz property:noble_family ?a . ?a rdf:type ontology:family } }
[]
family
SYSTEM
2
Q2091436 Q2006978
(Q9146103,P53,c(Q8436)) (Q2668904,P53,c(Q8436))
action count
action union
action filter_type
action find
entity Q9146103
relation P53
type Q8436
action filter_type
action find
entity Q2668904
relation P53
type Q8436
[ANSWER]
['Q9146103', 'P53', {'concept': 'Q8436'}] ['Q2668904', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { resource:Q2668904 property:P53 ?a . ?a rdf:type ontology:Q8436 } UNION { resource:Q9146103 property:P53 ?a . ?a rdf:type ontology:Q8436 } }
Gediminids Tyszkiewicz family
2
action count
action union
action filter_type
action find
entity Aleksander Tyszkiewicz
relation noble family
type family
action filter_type
action find
entity Olelkovich
relation noble family
type family
['Aleksander Tyszkiewicz', 'noble family', {'concept': 'family'}] ['Olelkovich', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { resource:Olelkovich property:noble_family ?a . ?a rdf:type ontology:family } UNION { resource:Aleksander_Tyszkiewicz property:noble_family ?a . ?a rdf:type ontology:family } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20907366 Q18543224
P22
Q502895
USER
Which people were the dad of Juozapas Tiškevičius or Magna Andreen ?
OR((Q18543224,P22,c(Q502895)), (Q20907366,P22,c(Q502895)))
action filter_type
action union
action find
entity Q18543224
relation P22
action find
entity Q20907366
relation P22
type Q502895
{'OR': [['Q18543224', 'P22', {'concept': 'Q502895'}], ['Q20907366', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?u ) { ( resource:Q18543224 ) ( resource:Q20907366 ) } . ?u property:P22 ?j } . ?j rdf:type ontology:Q502895 }
Magna Andreen Juozapas Tiškevičius
action filter_type
action union
action find
entity Juozapas Tiškevičius
relation father
action find
entity Magna Andreen
relation father
type common name
{'OR': [['Juozapas Tiškevičius', 'father', {'concept': 'common name'}], ['Magna Andreen', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?u ) { ( resource:Juozapas_Tiškevičius ) ( resource:Magna_Andreen ) } . ?u property:father ?j } . ?j rdf:type ontology:common_name }
[]
common name
Q20736095 Q5556604
SYSTEM
Józef Tyszkiewicz, Per G Andreen
Q20736095 Q5556604
OR((Q18543224,P22,c(Q502895)), (Q20907366,P22,c(Q502895)))
action filter_type
action union
action find
entity Q18543224
relation P22
action find
entity Q20907366
relation P22
type Q502895
[ANSWERS] were the dad of Juozapas Tiškevičius or Magna Andreen
{'OR': [['Q18543224', 'P22', {'concept': 'Q502895'}], ['Q20907366', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?u ) { ( resource:Q18543224 ) ( resource:Q20907366 ) } . ?u property:P22 ?j } . ?j rdf:type ontology:Q502895 }
Józef Tyszkiewicz Per G Andreen
Józef Tyszkiewicz and Per G Andreen were the dad of Juozapas Tiškevičius or Magna Andreen
Józef Tyszkiewicz Per G Andreen
action filter_type
action union
action find
entity Juozapas Tiškevičius
relation father
action find
entity Magna Andreen
relation father
type common name
{'OR': [['Juozapas Tiškevičius', 'father', {'concept': 'common name'}], ['Magna Andreen', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?u ) { ( resource:Juozapas_Tiškevičius ) ( resource:Magna_Andreen ) } . ?u property:father ?j } . ?j rdf:type ontology:common_name }
[]