Simple Question (Direct)
Simple Question
Q697780
P1066
Q502895
USER
Who taught Carl Moll ?
(Q697780,P1066,c(Q502895))
action filter_type
action find
entity Q697780
relation P1066
type Q502895
['Q697780', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q697780 property:P1066 ?e . ?e rdf:type ontology:Q502895 }
Carl Moll
action filter_type
action find
entity Carl Moll
relation student of
type common name
['Carl Moll', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Carl_Moll property:student_of ?e . ?e rdf:type ontology:common_name }
[]
common name
Q670922
SYSTEM
Emil Jakob Schindler
Q670922
(Q697780,P1066,c(Q502895))
action filter_type
action find
entity Q697780
relation P1066
type Q502895
[ANSWER] taught Carl Moll
['Q697780', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q697780 property:P1066 ?e . ?e rdf:type ontology:Q502895 }
Emil Jakob Schindler
Emil Jakob Schindler taught Carl Moll
Emil Jakob Schindler
action filter_type
action find
entity Carl Moll
relation student of
type common name
['Carl Moll', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Carl_Moll property:student_of ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q670922
P20
Q486972
USER
Where did that person expire ?
(Q670922,P20,c(Q486972))
action filter_type
action find
entity Q670922
relation P20
type Q486972
['Q670922', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { resource:Q670922 property:P20 ?n . ?n rdf:type ontology:Q486972 }
Emil Jakob Schindler
action filter_type
action find
entity Emil Jakob Schindler
relation place of death
type human settlement
['Emil Jakob Schindler', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { resource:Emil_Jakob_Schindler property:place_of_death ?n . ?n rdf:type ontology:human_settlement }
[]
human settlement
Q27998
SYSTEM
Westerland
Q27998
(Q670922,P20,c(Q486972))
action filter_type
action find
entity Q670922
relation P20
type Q486972
That person expired in [ANSWER]
['Q670922', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { resource:Q670922 property:P20 ?n . ?n rdf:type ontology:Q486972 }
Westerland
That person expired in Westerland
Westerland
action filter_type
action find
entity Emil Jakob Schindler
relation place of death
type human settlement
['Emil Jakob Schindler', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { resource:Emil_Jakob_Schindler property:place_of_death ?n . ?n rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people have place of birth as that human settlement ?
(c(Q502895),P19,Q27998)
action count
action filter_type
action find_reverse
entity Q27998
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q27998']
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:P19 resource:Q27998 . ?n rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Westerland
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Westerland']
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:place_of_birth resource:Westerland . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
14
Q1710493 Q1227724 Q18029015 Q6699205 Q1717518 Q1511191 Q1619498 Q20618 Q20638 Q20621 Q2504101 Q92136 Q1746283 Q1598580
(c(Q502895),P19,Q27998)
action count
action filter_type
action find_reverse
entity Q27998
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q27998']
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:P19 resource:Q27998 . ?n rdf:type ontology:Q502895 }
Sylta Busse Dirk-Michael Kirsch Uwe Steffen Ludwig Bulla Jürgen Newig Heinrich Bomhoff Hinrich Matthiesen Jap Peter Hansen Henriette Hirschfeld-Tiburtius Christian Peter Hansen Uwe Danker Jochen Bleicken Walther Stützle Heinrich Rendtorff
14
action count
action filter_type
action find_reverse
entity Westerland
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Westerland']
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:place_of_birth resource:Westerland . ?n rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q670922
P21 P1066
Q502895
USER
Which people are pupils of Emil Jakob Schindler and have the gender as male ?
AND((c(Q502895),P1066,Q670922), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q670922
relation P1066
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1066', 'Q670922'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P1066 resource:Q670922 . ?u property:P21 resource:Q6581097 }
male Emil Jakob Schindler
action filter_type
action intersection
action find_reverse
entity Emil Jakob Schindler
relation student of
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'student of', 'Emil Jakob Schindler'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:student_of resource:Emil_Jakob_Schindler . ?u property:gender resource:male }
[]
common name
Q697780
SYSTEM
Carl Moll
Q697780
AND((c(Q502895),P1066,Q670922), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q670922
relation P1066
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] is pupils of Emil Jakob Schindler and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P1066', 'Q670922'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P1066 resource:Q670922 . ?u property:P21 resource:Q6581097 }
Carl Moll
Carl Moll is pupils of Emil Jakob Schindler and have the gender as male
Carl Moll
action filter_type
action intersection
action find_reverse
entity Emil Jakob Schindler
relation student of
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'student of', 'Emil Jakob Schindler'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:student_of resource:Emil_Jakob_Schindler . ?u property:gender resource:male }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q6581097 Q27998
P19 P21
Q502895
USER
Which people were born at Westerland and do not have gender of male ?
AND((c(Q502895),P19,Q27998), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q27998
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q27998'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?a WHERE { ?a property:P19 resource:Q27998 . FILTER NOT EXISTS { ?a property:P21 resource:Q6581097 } . ?a rdf:type ontology:Q502895 }
male Westerland
action filter_type
action difference
action find_reverse
entity Westerland
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Westerland'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?a WHERE { ?a property:place_of_birth resource:Westerland . FILTER NOT EXISTS { ?a property:gender resource:male } . ?a rdf:type ontology:common_name }
[]
common name
Q1710493 Q20638
SYSTEM
Sylta Busse, Henriette Hirschfeld-Tiburtius
Q1710493 Q20638
AND((c(Q502895),P19,Q27998), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q27998
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were born at Westerland and do not have gender of male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q27998'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?a WHERE { ?a property:P19 resource:Q27998 . FILTER NOT EXISTS { ?a property:P21 resource:Q6581097 } . ?a rdf:type ontology:Q502895 }
Sylta Busse Henriette Hirschfeld-Tiburtius
Sylta Busse and Henriette Hirschfeld-Tiburtius were born at Westerland and do not have gender of male
Sylta Busse Henriette Hirschfeld-Tiburtius
action filter_type
action difference
action find_reverse
entity Westerland
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Westerland'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?a WHERE { ?a property:place_of_birth resource:Westerland . FILTER NOT EXISTS { ?a property:gender resource:male } . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P248
Q35749 Q191067 Q502895
USER
How many people have been referred in atleast 1 parliaments or articles ?
(c(Q502895),P248,c(Q35749)|c(Q191067))
action count
action atleast
action union
action find_tuple_counts
relation P248
type Q502895
type Q35749
action find_tuple_counts
relation P248
type Q502895
type Q191067
value 1
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q35749'}, {'concept': 'Q191067'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?b WHERE { VALUES ( ?z ) { ( ontology:Q35749 ) ( ontology:Q191067 ) } . ?u rdf:type ?z } GROUP BY ?b } . FILTER ( ?w >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation stated in
type common name
type parliament
action find_tuple_counts
relation stated in
type common name
type article
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'parliament'}, {'concept': 'article'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?b WHERE { VALUES ( ?z ) { ( ontology:parliament ) ( ontology:article ) } . ?u rdf:type ?z } GROUP BY ?b } . FILTER ( ?w >= 1 ) }
[]
parliament article common name
SYSTEM
18
Q6260667 Q16062974 Q5606264 Q5606262 Q16857953 Q17626521 Q15994621 Q15994622 Q16031816 Q6228730 Q6237308 Q18166520 Q5239885 Q6221424 Q17385895 Q15994581 Q16859187 Q6145005
(c(Q502895),P248,c(Q35749)|c(Q191067))
action count
action atleast
action union
action find_tuple_counts
relation P248
type Q502895
type Q35749
action find_tuple_counts
relation P248
type Q502895
type Q191067
value 1
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q35749'}, {'concept': 'Q191067'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?b WHERE { VALUES ( ?z ) { ( ontology:Q35749 ) ( ontology:Q191067 ) } . ?u rdf:type ?z } GROUP BY ?b } . FILTER ( ?w >= 1 ) }
John Thompson James Walker Greg Smith Greg Smith John Martin Colin Campbell John Martin John Martin William Walker John Davies John Hall William Thompson David Smith John Bell David Evans John Lewis James Walker James Walker
18
action count
action atleast
action union
action find_tuple_counts
relation stated in
type common name
type parliament
action find_tuple_counts
relation stated in
type common name
type article
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'parliament'}, {'concept': 'article'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?b WHERE { VALUES ( ?z ) { ( ontology:parliament ) ( ontology:article ) } . ?u rdf:type ?z } GROUP BY ?b } . FILTER ( ?w >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q697780
P1196
Q1914636
USER
Which activity best describes with circumstances of death of Carl Moll ?
(Q697780,P1196,c(Q1914636))
action filter_type
action find
entity Q697780
relation P1196
type Q1914636
['Q697780', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?w WHERE { resource:Q697780 property:P1196 ?w . ?w rdf:type ontology:Q1914636 }
Carl Moll
action filter_type
action find
entity Carl Moll
relation manner of death
type activity
['Carl Moll', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?w WHERE { resource:Carl_Moll property:manner_of_death ?w . ?w rdf:type ontology:activity }
[]
activity
Q10737
SYSTEM
suicide
Q10737
(Q697780,P1196,c(Q1914636))
action filter_type
action find
entity Q697780
relation P1196
type Q1914636
[ANSWER] best describes with circumstances of death of Carl Moll
['Q697780', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?w WHERE { resource:Q697780 property:P1196 ?w . ?w rdf:type ontology:Q1914636 }
suicide
Suicide best describes with circumstances of death of Carl Moll
suicide
action filter_type
action find
entity Carl Moll
relation manner of death
type activity
['Carl Moll', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?w WHERE { resource:Carl_Moll property:manner_of_death ?w . ?w rdf:type ontology:activity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q234630
Q1914636
USER
And also tell me about Adrienne Shelly?
(Q234630,P1196,c(Q1914636))
action filter_type
action find
entity Q234630
relation P1196
type Q1914636
['Q234630', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1914636 . resource:Q234630 property:P1196 ?j }
Adrienne Shelly
action filter_type
action find
entity Adrienne Shelly
relation manner of death
type activity
['Adrienne Shelly', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:activity . resource:Adrienne_Shelly property:manner_of_death ?j }
[]
activity
Q149086
SYSTEM
homicide
Q149086
(Q234630,P1196,c(Q1914636))
action filter_type
action find
entity Q234630
relation P1196
type Q1914636
[ANSWER]
['Q234630', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1914636 . resource:Q234630 property:P1196 ?j }
homicide
homicide
action filter_type
action find
entity Adrienne Shelly
relation manner of death
type activity
['Adrienne Shelly', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:activity . resource:Adrienne_Shelly property:manner_of_death ?j }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21815951 Q20638
P27 P551
Q1048835
USER
Which political territories are the countries of citizenship of Henriette Hirschfeld-Tiburtius or did Miquel Pouplana i Brugarol reside ?
OR((Q20638,P27,c(Q1048835)), (Q21815951,P551,c(Q1048835)))
action filter_type
action union
action find
entity Q20638
relation P27
action find
entity Q21815951
relation P551
type Q1048835
{'OR': [['Q20638', 'P27', {'concept': 'Q1048835'}], ['Q21815951', 'P551', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1048835 . { { resource:Q21815951 property:P551 ?h } UNION { resource:Q20638 property:P27 ?h } } }
Miquel Pouplana i Brugarol Henriette Hirschfeld-Tiburtius
action filter_type
action union
action find
entity Henriette Hirschfeld-Tiburtius
relation country of citizenship
action find
entity Miquel Pouplana i Brugarol
relation residence
type political territorial entity
{'OR': [['Henriette Hirschfeld-Tiburtius', 'country of citizenship', {'concept': 'political territorial entity'}], ['Miquel Pouplana i Brugarol', 'residence', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_territorial_entity . { { resource:Miquel_Pouplana_i_Brugarol property:residence ?h } UNION { resource:Henriette_Hirschfeld-Tiburtius property:country_of_citizenship ?h } } }
[]
political territorial entity
Q183 Q13490
SYSTEM
Germany, Palafrugell
Q183 Q13490
OR((Q20638,P27,c(Q1048835)), (Q21815951,P551,c(Q1048835)))
action filter_type
action union
action find
entity Q20638
relation P27
action find
entity Q21815951
relation P551
type Q1048835
[ANSWERS] are the countries of citizenship of Henriette Hirschfeld-Tiburtius or did Miquel Pouplana i Brugarol reside
{'OR': [['Q20638', 'P27', {'concept': 'Q1048835'}], ['Q21815951', 'P551', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1048835 . { { resource:Q21815951 property:P551 ?h } UNION { resource:Q20638 property:P27 ?h } } }
Germany Palafrugell
Germany and Palafrugell are the countries of citizenship of Henriette Hirschfeld-Tiburtius or did Miquel Pouplana i Brugarol reside
Germany Palafrugell
action filter_type
action union
action find
entity Henriette Hirschfeld-Tiburtius
relation country of citizenship
action find
entity Miquel Pouplana i Brugarol
relation residence
type political territorial entity
{'OR': [['Henriette Hirschfeld-Tiburtius', 'country of citizenship', {'concept': 'political territorial entity'}], ['Miquel Pouplana i Brugarol', 'residence', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_territorial_entity . { { resource:Miquel_Pouplana_i_Brugarol property:residence ?h } UNION { resource:Henriette_Hirschfeld-Tiburtius property:country_of_citizenship ?h } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1452344 Q20638
P20
Q56061
USER
Which administrative territories did Henriette Hirschfeld-Tiburtius or Fred Hendriok die ?
OR((Q20638,P20,c(Q56061)), (Q1452344,P20,c(Q56061)))
action filter_type
action union
action find
entity Q20638
relation P20
action find
entity Q1452344
relation P20
type Q56061
{'OR': [['Q20638', 'P20', {'concept': 'Q56061'}], ['Q1452344', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q20638 property:P20 ?b } UNION { resource:Q1452344 property:P20 ?b } } . ?b rdf:type ontology:Q56061 }
Fred Hendriok Henriette Hirschfeld-Tiburtius
action filter_type
action union
action find
entity Henriette Hirschfeld-Tiburtius
relation place of death
action find
entity Fred Hendriok
relation place of death
type administrative territorial entity
{'OR': [['Henriette Hirschfeld-Tiburtius', 'place of death', {'concept': 'administrative territorial entity'}], ['Fred Hendriok', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Henriette_Hirschfeld-Tiburtius property:place_of_death ?b } UNION { resource:Fred_Hendriok property:place_of_death ?b } } . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q2280
SYSTEM
Berlin, Minsk
Q64 Q2280
OR((Q20638,P20,c(Q56061)), (Q1452344,P20,c(Q56061)))
action filter_type
action union
action find
entity Q20638
relation P20
action find
entity Q1452344
relation P20
type Q56061
[ANSWERS] did Henriette Hirschfeld-Tiburtius or Fred Hendriok die
{'OR': [['Q20638', 'P20', {'concept': 'Q56061'}], ['Q1452344', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q20638 property:P20 ?b } UNION { resource:Q1452344 property:P20 ?b } } . ?b rdf:type ontology:Q56061 }
Berlin Minsk
Berlin and Minsk did Henriette Hirschfeld-Tiburtius or Fred Hendriok die
Berlin Minsk
action filter_type
action union
action find
entity Henriette Hirschfeld-Tiburtius
relation place of death
action find
entity Fred Hendriok
relation place of death
type administrative territorial entity
{'OR': [['Henriette Hirschfeld-Tiburtius', 'place of death', {'concept': 'administrative territorial entity'}], ['Fred Hendriok', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Henriette_Hirschfeld-Tiburtius property:place_of_death ?b } UNION { resource:Fred_Hendriok property:place_of_death ?b } } . ?b rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q956
P190
Q56061
USER
Are Beijing a sister city of those ones ?
(Q956,P190,Q64) (Q956,P190,Q2280)
action is_in
entity prev_answer
action find
entity Q956
relation P190
['Q956', 'P190', 'Q64'] ['Q956', 'P190', 'Q2280']
ASK WHERE { resource:Q956 property:P190 ?v . VALUES ( ?v ) { ( resource:Q64 ) ( resource:Q2280 ) } }
Beijing
action is_in
entity prev_answer
action find
entity Beijing
relation sister city
['Beijing', 'sister city', 'Berlin'] ['Beijing', 'sister city', 'Minsk']
ASK WHERE { resource:Beijing property:sister_city ?v . VALUES ( ?v ) { ( resource:Berlin ) ( resource:Minsk ) } }
[]
administrative territorial entity
SYSTEM
YES
(Q956,P190,Q64) (Q956,P190,Q2280)
action is_in
entity prev_answer
action find
entity Q956
relation P190
[ANSWER]
['Q956', 'P190', 'Q64'] ['Q956', 'P190', 'Q2280']
ASK WHERE { resource:Q956 property:P190 ?v . VALUES ( ?v ) { ( resource:Q64 ) ( resource:Q2280 ) } }
Yes
action is_in
entity prev_answer
action find
entity Beijing
relation sister city
['Beijing', 'sister city', 'Berlin'] ['Beijing', 'sister city', 'Minsk']
ASK WHERE { resource:Beijing property:sister_city ?v . VALUES ( ?v ) { ( resource:Berlin ) ( resource:Minsk ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4784154 Q20638
P27
Q1048835
USER
Which political territories are Henriette Hirschfeld-Tiburtius or Arantxa King an inhabitant of ?
OR((Q20638,P27,c(Q1048835)), (Q4784154,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q20638
relation P27
action find
entity Q4784154
relation P27
type Q1048835
{'OR': [['Q20638', 'P27', {'concept': 'Q1048835'}], ['Q4784154', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?e ) { ( resource:Q20638 ) ( resource:Q4784154 ) } . ?e property:P27 ?r } . ?r rdf:type ontology:Q1048835 }
Arantxa King Henriette Hirschfeld-Tiburtius
action filter_type
action union
action find
entity Henriette Hirschfeld-Tiburtius
relation country of citizenship
action find
entity Arantxa King
relation country of citizenship
type political territorial entity
{'OR': [['Henriette Hirschfeld-Tiburtius', 'country of citizenship', {'concept': 'political territorial entity'}], ['Arantxa King', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?e ) { ( resource:Henriette_Hirschfeld-Tiburtius ) ( resource:Arantxa_King ) } . ?e property:country_of_citizenship ?r } . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q23635 Q183
SYSTEM
Bermuda, Germany
Q23635 Q183
OR((Q20638,P27,c(Q1048835)), (Q4784154,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q20638
relation P27
action find
entity Q4784154
relation P27
type Q1048835
[ANSWERS] are Henriette Hirschfeld-Tiburtius or Arantxa King an inhabitant of
{'OR': [['Q20638', 'P27', {'concept': 'Q1048835'}], ['Q4784154', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?e ) { ( resource:Q20638 ) ( resource:Q4784154 ) } . ?e property:P27 ?r } . ?r rdf:type ontology:Q1048835 }
Bermuda Germany
Bermuda and Germany are Henriette Hirschfeld-Tiburtius or Arantxa King an inhabitant of
Bermuda Germany
action filter_type
action union
action find
entity Henriette Hirschfeld-Tiburtius
relation country of citizenship
action find
entity Arantxa King
relation country of citizenship
type political territorial entity
{'OR': [['Henriette Hirschfeld-Tiburtius', 'country of citizenship', {'concept': 'political territorial entity'}], ['Arantxa King', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?e ) { ( resource:Henriette_Hirschfeld-Tiburtius ) ( resource:Arantxa_King ) } . ?e property:country_of_citizenship ?r } . ?r rdf:type ontology:political_territorial_entity }
[]