Simple Question (Direct)
Simple Question
Q4272285
P19
Q56061
USER
Where was Tatjana Liutajeva born ?
(Q4272285,P19,c(Q56061))
action filter_type
action find
entity Q4272285
relation P19
type Q56061
['Q4272285', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q4272285 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Tatjana Liutajeva
action filter_type
action find
entity Tatjana Liutajeva
relation place of birth
type administrative territorial entity
['Tatjana Liutajeva', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Tatjana_Liutajeva property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1874
SYSTEM
Odessa
Q1874
(Q4272285,P19,c(Q56061))
action filter_type
action find
entity Q4272285
relation P19
type Q56061
[ANSWER]
['Q4272285', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q4272285 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Odessa
Odessa
action filter_type
action find
entity Tatjana Liutajeva
relation place of birth
type administrative territorial entity
['Tatjana Liutajeva', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Tatjana_Liutajeva property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4272285
P21
Q290
USER
Which sex does that person belong to ?
(Q1874,P21,c(Q290))
action filter_type
action find
entity Q4272285
relation P21
type Q290
['Q1874', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q4272285 property:P21 ?w . ?w rdf:type ontology:Q290 }
Tatjana Liutajeva
action filter_type
action find
entity Tatjana Liutajeva
relation gender
type sex
['Odessa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Tatjana_Liutajeva property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1874,P21,c(Q290))
action filter_type
action find
entity Q4272285
relation P21
type Q290
[ANSWER]
['Q1874', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q4272285 property:P21 ?w . ?w rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Tatjana Liutajeva
relation gender
type sex
['Odessa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Tatjana_Liutajeva property:gender ?w . ?w rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q21390200 Q4272285
P21
Q290
USER
And also Christina M. Preston
AND((Q4272285,P21,c(Q290)), (Q21390200,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q4272285
relation P21
action find
entity Q21390200
relation P21
type Q290
{'AND': [['Q4272285', 'P21', {'concept': 'Q290'}], ['Q21390200', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q4272285 property:P21 ?x . resource:Q21390200 property:P21 ?x }
Christina M. Preston Tatjana Liutajeva
action filter_type
action intersection
action find
entity Tatjana Liutajeva
relation gender
action find
entity Christina M. Preston
relation gender
type sex
{'AND': [['Tatjana Liutajeva', 'gender', {'concept': 'sex'}], ['Christina M. Preston', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Tatjana_Liutajeva property:gender ?x . resource:Christina_M._Preston property:gender ?x }
[]
sex
Q6581072
SYSTEM
female
Q6581072
AND((Q4272285,P21,c(Q290)), (Q21390200,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q4272285
relation P21
action find
entity Q21390200
relation P21
type Q290
[ANSWER]
{'AND': [['Q4272285', 'P21', {'concept': 'Q290'}], ['Q21390200', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q4272285 property:P21 ?x . resource:Q21390200 property:P21 ?x }
female
female
action filter_type
action intersection
action find
entity Tatjana Liutajeva
relation gender
action find
entity Christina M. Preston
relation gender
type sex
{'AND': [['Tatjana Liutajeva', 'gender', {'concept': 'sex'}], ['Christina M. Preston', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Tatjana_Liutajeva property:gender ?x . resource:Christina_M._Preston property:gender ?x }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q463950 Q21390200
P106
Q12737077
USER
Which occupations are the job of Christina M. Preston or Carl-Heinz Rühl ?
OR((Q21390200,P106,c(Q12737077)), (Q463950,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q21390200
relation P106
action find
entity Q463950
relation P106
type Q12737077
{'OR': [['Q21390200', 'P106', {'concept': 'Q12737077'}], ['Q463950', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q21390200 property:P106 ?e } UNION { resource:Q463950 property:P106 ?e } } . ?e rdf:type ontology:Q12737077 }
Carl-Heinz Rühl Christina M. Preston
action filter_type
action union
action find
entity Christina M. Preston
relation occupation
action find
entity Carl-Heinz Rühl
relation occupation
type occupation
{'OR': [['Christina M. Preston', 'occupation', {'concept': 'occupation'}], ['Carl-Heinz Rühl', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Christina_M._Preston property:occupation ?e } UNION { resource:Carl-Heinz_Rühl property:occupation ?e } } . ?e rdf:type ontology:occupation }
[]
occupation
Q3779582 Q628099 Q937857
SYSTEM
microbiologist, association football manager, association football player
Q3779582 Q628099 Q937857
OR((Q21390200,P106,c(Q12737077)), (Q463950,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q21390200
relation P106
action find
entity Q463950
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q21390200', 'P106', {'concept': 'Q12737077'}], ['Q463950', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q21390200 property:P106 ?e } UNION { resource:Q463950 property:P106 ?e } } . ?e rdf:type ontology:Q12737077 }
microbiologist association football manager association football player
microbiologist association football manager association football player
action filter_type
action union
action find
entity Christina M. Preston
relation occupation
action find
entity Carl-Heinz Rühl
relation occupation
type occupation
{'OR': [['Christina M. Preston', 'occupation', {'concept': 'occupation'}], ['Carl-Heinz Rühl', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Christina_M._Preston property:occupation ?e } UNION { resource:Carl-Heinz_Rühl property:occupation ?e } } . ?e rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q463950 Q3226215
P106
Q12737077
USER
How many occupations do Carl-Heinz Rühl or Dean Thomas do for a living ?
(Q463950,P106,c(Q12737077)) (Q3226215,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q463950
relation P106
type Q12737077
action filter_type
action find
entity Q3226215
relation P106
type Q12737077
['Q463950', 'P106', {'concept': 'Q12737077'}] ['Q3226215', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { resource:Q463950 property:P106 ?n . ?n rdf:type ontology:Q12737077 } UNION { resource:Q3226215 property:P106 ?n . ?n rdf:type ontology:Q12737077 } }
Carl-Heinz Rühl Dean Thomas
action count
action union
action filter_type
action find
entity Carl-Heinz Rühl
relation occupation
type occupation
action filter_type
action find
entity Dean Thomas
relation occupation
type occupation
['Carl-Heinz Rühl', 'occupation', {'concept': 'occupation'}] ['Dean Thomas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { resource:Carl-Heinz_Rühl property:occupation ?n . ?n rdf:type ontology:occupation } UNION { resource:Dean_Thomas property:occupation ?n . ?n rdf:type ontology:occupation } }
[]
occupation
SYSTEM
3
Q21505200 Q628099 Q937857
(Q463950,P106,c(Q12737077)) (Q3226215,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q463950
relation P106
type Q12737077
action filter_type
action find
entity Q3226215
relation P106
type Q12737077
[ANSWER]
['Q463950', 'P106', {'concept': 'Q12737077'}] ['Q3226215', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { resource:Q463950 property:P106 ?n . ?n rdf:type ontology:Q12737077 } UNION { resource:Q3226215 property:P106 ?n . ?n rdf:type ontology:Q12737077 } }
Quidditch player association football manager association football player
3
action count
action union
action filter_type
action find
entity Carl-Heinz Rühl
relation occupation
type occupation
action filter_type
action find
entity Dean Thomas
relation occupation
type occupation
['Carl-Heinz Rühl', 'occupation', {'concept': 'occupation'}] ['Dean Thomas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { resource:Carl-Heinz_Rühl property:occupation ?n . ?n rdf:type ontology:occupation } UNION { resource:Dean_Thomas property:occupation ?n . ?n rdf:type ontology:occupation } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2456098 Q3226215
P1441
Q277759
USER
Which book series feature Dean Thomas and Draught of Peace ?
AND((Q3226215,P1441,c(Q277759)), (Q2456098,P1441,c(Q277759)))
action filter_type
action intersection
action find
entity Q3226215
relation P1441
action find
entity Q2456098
relation P1441
type Q277759
{'AND': [['Q3226215', 'P1441', {'concept': 'Q277759'}], ['Q2456098', 'P1441', {'concept': 'Q277759'}]]}
SELECT DISTINCT ?p WHERE { resource:Q3226215 property:P1441 ?p . resource:Q2456098 property:P1441 ?p . ?p rdf:type ontology:Q277759 }
Draught of Peace Dean Thomas
action filter_type
action intersection
action find
entity Dean Thomas
relation present in work
action find
entity Draught of Peace
relation present in work
type book series
{'AND': [['Dean Thomas', 'present in work', {'concept': 'book series'}], ['Draught of Peace', 'present in work', {'concept': 'book series'}]]}
SELECT DISTINCT ?p WHERE { resource:Dean_Thomas property:present_in_work ?p . resource:Draught_of_Peace property:present_in_work ?p . ?p rdf:type ontology:book_series }
[]
book series
Q8337
SYSTEM
Harry Potter
Q8337
AND((Q3226215,P1441,c(Q277759)), (Q2456098,P1441,c(Q277759)))
action filter_type
action intersection
action find
entity Q3226215
relation P1441
action find
entity Q2456098
relation P1441
type Q277759
[ANSWER]
{'AND': [['Q3226215', 'P1441', {'concept': 'Q277759'}], ['Q2456098', 'P1441', {'concept': 'Q277759'}]]}
SELECT DISTINCT ?p WHERE { resource:Q3226215 property:P1441 ?p . resource:Q2456098 property:P1441 ?p . ?p rdf:type ontology:Q277759 }
Harry Potter
Harry Potter
action filter_type
action intersection
action find
entity Dean Thomas
relation present in work
action find
entity Draught of Peace
relation present in work
type book series
{'AND': [['Dean Thomas', 'present in work', {'concept': 'book series'}], ['Draught of Peace', 'present in work', {'concept': 'book series'}]]}
SELECT DISTINCT ?p WHERE { resource:Dean_Thomas property:present_in_work ?p . resource:Draught_of_Peace property:present_in_work ?p . ?p rdf:type ontology:book_series }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1874
P915
Q838948
USER
Which works of art were filmed in the location Odessa ?
(c(Q838948),P915,Q1874)
action filter_type
action find_reverse
entity Q1874
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q1874']
SELECT DISTINCT ?i WHERE { ?i property:P915 resource:Q1874 . ?i rdf:type ontology:Q838948 }
Odessa
action filter_type
action find_reverse
entity Odessa
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Odessa']
SELECT DISTINCT ?i WHERE { ?i property:filming_location resource:Odessa . ?i rdf:type ontology:work_of_art }
[]
work of art
Q1146711 Q4109512
SYSTEM
The Legend of 1900, Vesna na Zarechnoy Ulitse
Q1146711 Q4109512
(c(Q838948),P915,Q1874)
action filter_type
action find_reverse
entity Q1874
relation P915
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P915', 'Q1874']
SELECT DISTINCT ?i WHERE { ?i property:P915 resource:Q1874 . ?i rdf:type ontology:Q838948 }
The Legend of 1900 Vesna na Zarechnoy Ulitse
The Legend of 1900 Vesna na Zarechnoy Ulitse
action filter_type
action find_reverse
entity Odessa
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Odessa']
SELECT DISTINCT ?i WHERE { ?i property:filming_location resource:Odessa . ?i rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1146711 Q4109512
P161
Q502895
USER
Who starred in The Legend of 1900 and Vesna na Zarechnoy Ulitse ?
(Q1146711,P161,c(Q502895)) (Q4109512,P161,c(Q502895))
action union
action filter_type
action find
entity Q1146711
relation P161
type Q502895
action filter_type
action find
entity Q4109512
relation P161
type Q502895
['Q1146711', 'P161', {'concept': 'Q502895'}] ['Q4109512', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { resource:Q4109512 property:P161 ?q . ?q rdf:type ontology:Q502895 } UNION { resource:Q1146711 property:P161 ?q . ?q rdf:type ontology:Q502895 } }
The Legend of 1900 Vesna na Zarechnoy Ulitse
action union
action filter_type
action find
entity The Legend of 1900
relation cast member
type common name
action filter_type
action find
entity Vesna na Zarechnoy Ulitse
relation cast member
type common name
['The Legend of 1900', 'cast member', {'concept': 'common name'}] ['Vesna na Zarechnoy Ulitse', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { resource:Vesna_na_Zarechnoy_Ulitse property:cast_member ?q . ?q rdf:type ontology:common_name } UNION { resource:The_Legend_of_1900 property:cast_member ?q . ?q rdf:type ontology:common_name } }
[]
common name
Q203804 Q4151936 Q4401622
SYSTEM
Tim Roth, Vladimir Guliayev, Nickolay Rybnikov
Q3903099 Q3483319 Q180491 Q7023939 Q335376 Q3876199 Q3856275 Q1562861 Q279834 Q1198697 Q203804 Q930691 Q3616970 Q4712232 Q183096 Q3617598 Q16664109 Q4196431 Q4383288 Q16594351 Q4097357 Q4401622 Q2427354 Q13218057 Q4082228 Q4151936
(Q1146711,P161,c(Q502895)) (Q4109512,P161,c(Q502895))
action union
action filter_type
action find
entity Q1146711
relation P161
type Q502895
action filter_type
action find
entity Q4109512
relation P161
type Q502895
[ANSWERS]
['Q1146711', 'P161', {'concept': 'Q502895'}] ['Q4109512', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { resource:Q4109512 property:P161 ?q . ?q rdf:type ontology:Q502895 } UNION { resource:Q1146711 property:P161 ?q . ?q rdf:type ontology:Q502895 } }
Pierluigi Coppola Sidney Cole Mélanie Thierry Niall O'Brien Kevin McNally Nicola Di Pinto Michael Supnick Clarence Williams III Bill Nunn Pruitt Taylor Vince Tim Roth Peter Vaughan Angelo Di Loreta Alberto Vazquez Gabriele Lavia Anita Zagaria Nickolay Kliuchnev Nina Ivanova Valentina Pugachyova Rimma Shorokhova Valentin Bryleev Nickolay Rybnikov Gennadi Yukhtin Marina Gavrilko Yuriy Bielov Vladimir Guliayev
Tim Roth Vladimir Guliayev Nickolay Rybnikov
action union
action filter_type
action find
entity The Legend of 1900
relation cast member
type common name
action filter_type
action find
entity Vesna na Zarechnoy Ulitse
relation cast member
type common name
['The Legend of 1900', 'cast member', {'concept': 'common name'}] ['Vesna na Zarechnoy Ulitse', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { resource:Vesna_na_Zarechnoy_Ulitse property:cast_member ?q . ?q rdf:type ontology:common_name } UNION { resource:The_Legend_of_1900 property:cast_member ?q . ?q rdf:type ontology:common_name } }
[]