Simple Question (Direct)
Simple Question
Q5977555
P344
Q502895
USER
Who is the cinematographer of I Have Two Mothers and Two Fathers ?
(Q5977555,P344,c(Q502895))
action filter_type
action find
entity Q5977555
relation P344
type Q502895
['Q5977555', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q5977555 property:P344 ?g }
I Have Two Mothers and Two Fathers
action filter_type
action find
entity I Have Two Mothers and Two Fathers
relation director of photography
type common name
['I Have Two Mothers and Two Fathers', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:I_Have_Two_Mothers_and_Two_Fathers property:director_of_photography ?g }
[]
common name
Q18224402
SYSTEM
Ivica Rajković
Q18224402
(Q5977555,P344,c(Q502895))
action filter_type
action find
entity Q5977555
relation P344
type Q502895
The cinematographer of I is Have [ANSWER]
['Q5977555', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q5977555 property:P344 ?g }
Ivica Rajković
The cinematographer of I is Have Ivica Rajković
Ivica Rajković
action filter_type
action find
entity I Have Two Mothers and Two Fathers
relation director of photography
type common name
['I Have Two Mothers and Two Fathers', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:I_Have_Two_Mothers_and_Two_Fathers property:director_of_photography ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18224402
P21
Q290
USER
What is the sex of that person ?
(Q18224402,P21,c(Q290))
action filter_type
action find
entity Q18224402
relation P21
type Q290
['Q18224402', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q18224402 property:P21 ?u . ?u rdf:type ontology:Q290 }
Ivica Rajković
action filter_type
action find
entity Ivica Rajković
relation gender
type sex
['Ivica Rajković', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Ivica_Rajković property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18224402,P21,c(Q290))
action filter_type
action find
entity Q18224402
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q18224402', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q18224402 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Ivica Rajković
relation gender
type sex
['Ivica Rajković', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Ivica_Rajković property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18224402
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Ivica Rajković ?
(Q18224402,P27,c(Q15617994))
action filter_type
action find
entity Q18224402
relation P27
type Q15617994
['Q18224402', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q18224402 property:P27 ?t }
Ivica Rajković
action filter_type
action find
entity Ivica Rajković
relation country of citizenship
type designation for an administrative territorial entity
['Ivica Rajković', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ivica_Rajković property:country_of_citizenship ?t }
[]
designation for an administrative territorial entity
Q224
SYSTEM
Croatia
Q224
(Q18224402,P27,c(Q15617994))
action filter_type
action find
entity Q18224402
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Ivica Rajković
['Q18224402', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q18224402 property:P27 ?t }
Croatia
Croatia is the country of citizenship of Ivica Rajković
Croatia
action filter_type
action find
entity Ivica Rajković
relation country of citizenship
type designation for an administrative territorial entity
['Ivica Rajković', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ivica_Rajković property:country_of_citizenship ?t }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1064680
Q15617994
USER
And what about Allison Cameron?
(Q1064680,P27,c(Q15617994))
action filter_type
action find
entity Q1064680
relation P27
type Q15617994
['Q1064680', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1064680 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Allison Cameron
action filter_type
action find
entity Allison Cameron
relation country of citizenship
type designation for an administrative territorial entity
['Allison Cameron', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Allison_Cameron property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1064680,P27,c(Q15617994))
action filter_type
action find
entity Q1064680
relation P27
type Q15617994
[ANSWER]
['Q1064680', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1064680 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Allison Cameron
relation country of citizenship
type designation for an administrative territorial entity
['Allison Cameron', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Allison_Cameron property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q211 Q30
P27
Q502895
USER
Which people are a citizen of United States of America and Latvia ?
AND((c(Q502895),P27,Q30), (c(Q502895),P27,Q211))
action filter_type
action intersection
action find_reverse
entity Q30
relation P27
action find_reverse
entity Q211
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q30'], [{'concept': 'Q502895'}, 'P27', 'Q211']]}
SELECT DISTINCT ?o WHERE { ?o property:P27 resource:Q211 . ?o property:P27 resource:Q30 . ?o rdf:type ontology:Q502895 }
Latvia United States of America
action filter_type
action intersection
action find_reverse
entity United States of America
relation country of citizenship
action find_reverse
entity Latvia
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'United States of America'], [{'concept': 'common name'}, 'country of citizenship', 'Latvia']]}
SELECT DISTINCT ?o WHERE { ?o property:country_of_citizenship resource:Latvia . ?o property:country_of_citizenship resource:United_States_of_America . ?o rdf:type ontology:common_name }
[]
common name
Q16697625 Q520186 Q7425109 Q4205982 Q22955406 Q722108 Q92628 Q11300069 Q455736 Q21596930
SYSTEM
Some of them are Jānis Siliņš, Morris Halle, Sasha Siemel, Karl Jörn, Nikolajs Jērums, Alexander Shabalov, Juris Hartmanis, Augusts Annuss, Judith N. Shklar, Gundars Ķeniņš-Kings
Q16687873 Q11208027 Q704572 Q3999798 Q540708 Q6118682 Q4016099 Q7425109 Q1132914 Q24275191 Q1554720 Q21596930 Q455736 Q3736499 Q25865175 Q1683744 Q817332 Q13561073 Q520186 Q464614 Q22955406 Q4205982 Q13553200 Q92628 Q7177958 Q1507966 Q722108 Q11300069 Q4088396 Q4449893 Q2675397 Q16697625
AND((c(Q502895),P27,Q30), (c(Q502895),P27,Q211))
action filter_type
action intersection
action find_reverse
entity Q30
relation P27
action find_reverse
entity Q211
relation P27
type Q502895
[ANSWERS] are a citizen of United States of America and Latvia
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q30'], [{'concept': 'Q502895'}, 'P27', 'Q211']]}
SELECT DISTINCT ?o WHERE { ?o property:P27 resource:Q211 . ?o property:P27 resource:Q30 . ?o rdf:type ontology:Q502895 }
Alberts Prande Burkards Dzenis Philippe Halsman Troy Ostler Nils Muižnieks Jacob Goodale Lipman Voldemārs Elmūts Sasha Siemel Elkhonon Goldberg Ariana Hilborn Gunnar Birkerts Gundars Ķeniņš-Kings Judith N. Shklar Arturs Krišjānis Kariņš Ādolfs Sprūdžs Jascha Brodsky Benita Luckmann Andrejs Zeidaks Morris Halle Roman Vishniac Nikolajs Jērums Karl Jörn Sigismunds Vidbergs Juris Hartmanis Peter von Blanckenhagen George Nagobads Alexander Shabalov Augusts Annuss Arvīds Blūmentāls Daina Taimina Rutanya Alda Jānis Siliņš
Jānis Siliņš, Morris Halle, Sasha Siemel, Karl Jörn, Nikolajs Jērums, Alexander Shabalov, Juris Hartmanis, Augusts Annuss, Judith N. Shklar and Gundars Ķeniņš-Kings are a citizen of United States of America and Latvia
Jānis Siliņš Morris Halle Sasha Siemel Karl Jörn Nikolajs Jērums Alexander Shabalov Juris Hartmanis Augusts Annuss Judith N. Shklar Gundars Ķeniņš-Kings
action filter_type
action intersection
action find_reverse
entity United States of America
relation country of citizenship
action find_reverse
entity Latvia
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'United States of America'], [{'concept': 'common name'}, 'country of citizenship', 'Latvia']]}
SELECT DISTINCT ?o WHERE { ?o property:country_of_citizenship resource:Latvia . ?o property:country_of_citizenship resource:United_States_of_America . ?o rdf:type ontology:common_name }
[]