Simple Question (Direct)
Simple Question
Q15831052
P106
Q12737077
USER
What does Marica Bălan do for a living ?
(Q15831052,P106,c(Q12737077))
action filter_type
action find
entity Q15831052
relation P106
type Q12737077
['Q15831052', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q15831052 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Marica Bălan
action filter_type
action find
entity Marica Bălan
relation occupation
type occupation
['Marica Bălan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Marica_Bălan property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q15831052,P106,c(Q12737077))
action filter_type
action find
entity Q15831052
relation P106
type Q12737077
[ANSWER] Marica Bălan does for a living
['Q15831052', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q15831052 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
actor
Actor Marica Bălan does for a living
actor
action filter_type
action find
entity Marica Bălan
relation occupation
type occupation
['Marica Bălan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Marica_Bălan property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15831052
P19
Q1267632
USER
Which raion of Ukraine is the place of birth of Marica Bălan ?
(Q15831052,P19,c(Q1267632))
action filter_type
action find
entity Q15831052
relation P19
type Q1267632
['Q15831052', 'P19', {'concept': 'Q1267632'}]
SELECT DISTINCT ?l WHERE { resource:Q15831052 property:P19 ?l . ?l rdf:type ontology:Q1267632 }
Marica Bălan
action filter_type
action find
entity Marica Bălan
relation place of birth
type raion of Ukraine
['Marica Bălan', 'place of birth', {'concept': 'raion of Ukraine'}]
SELECT DISTINCT ?l WHERE { resource:Marica_Bălan property:place_of_birth ?l . ?l rdf:type ontology:raion_of_Ukraine }
[]
raion of Ukraine
Q340090
SYSTEM
Kiliya Raion
Q340090
(Q15831052,P19,c(Q1267632))
action filter_type
action find
entity Q15831052
relation P19
type Q1267632
[ANSWER] is the place of birth of Marica Bălan
['Q15831052', 'P19', {'concept': 'Q1267632'}]
SELECT DISTINCT ?l WHERE { resource:Q15831052 property:P19 ?l . ?l rdf:type ontology:Q1267632 }
Kiliya Raion
Kiliya Raion is the place of birth of Marica Bălan
Kiliya Raion
action filter_type
action find
entity Marica Bălan
relation place of birth
type raion of Ukraine
['Marica Bălan', 'place of birth', {'concept': 'raion of Ukraine'}]
SELECT DISTINCT ?l WHERE { resource:Marica_Bălan property:place_of_birth ?l . ?l rdf:type ontology:raion_of_Ukraine }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4360534
Q1267632
USER
And how about Viktor Petrik?
(Q4360534,P19,c(Q1267632))
action filter_type
action find
entity Q4360534
relation P19
type Q1267632
['Q4360534', 'P19', {'concept': 'Q1267632'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1267632 . resource:Q4360534 property:P19 ?q }
Viktor Petrik
action filter_type
action find
entity Viktor Petrik
relation place of birth
type raion of Ukraine
['Viktor Petrik', 'place of birth', {'concept': 'raion of Ukraine'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:raion_of_Ukraine . resource:Viktor_Petrik property:place_of_birth ?q }
[]
raion of Ukraine
Q2620113
SYSTEM
Chudniv Raion
Q2620113
(Q4360534,P19,c(Q1267632))
action filter_type
action find
entity Q4360534
relation P19
type Q1267632
[ANSWER]
['Q4360534', 'P19', {'concept': 'Q1267632'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1267632 . resource:Q4360534 property:P19 ?q }
Chudniv Raion
Chudniv Raion
action filter_type
action find
entity Viktor Petrik
relation place of birth
type raion of Ukraine
['Viktor Petrik', 'place of birth', {'concept': 'raion of Ukraine'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:raion_of_Ukraine . resource:Viktor_Petrik property:place_of_birth ?q }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5066008 Q15831052
P27 P495
Q15617994
USER
Which administrative territories are Marica Bălan an inhabitant of or are the origins of Chabiwali Pocket Watch ?
OR((Q15831052,P27,c(Q15617994)), (Q5066008,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q15831052
relation P27
action find
entity Q5066008
relation P495
type Q15617994
{'OR': [['Q15831052', 'P27', {'concept': 'Q15617994'}], ['Q5066008', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q5066008 property:P495 ?q } UNION { resource:Q15831052 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
Chabiwali Pocket Watch Marica Bălan
action filter_type
action union
action find
entity Marica Bălan
relation country of citizenship
action find
entity Chabiwali Pocket Watch
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Marica Bălan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Chabiwali Pocket Watch', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Chabiwali_Pocket_Watch property:country_of_origin ?q } UNION { resource:Marica_Bălan property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q217 Q668
SYSTEM
Romania, Republic of Moldova, India
Q218 Q217 Q668
OR((Q15831052,P27,c(Q15617994)), (Q5066008,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q15831052
relation P27
action find
entity Q5066008
relation P495
type Q15617994
[ANSWERS] are Marica Bălan an inhabitant of or are the origins of Chabiwali Pocket Watch
{'OR': [['Q15831052', 'P27', {'concept': 'Q15617994'}], ['Q5066008', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q5066008 property:P495 ?q } UNION { resource:Q15831052 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
Romania Republic of Moldova India
Romania, Republic of Moldova and India are Marica Bălan an inhabitant of or are the origins of Chabiwali Pocket Watch
Romania Republic of Moldova India
action filter_type
action union
action find
entity Marica Bălan
relation country of citizenship
action find
entity Chabiwali Pocket Watch
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Marica Bălan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Chabiwali Pocket Watch', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Chabiwali_Pocket_Watch property:country_of_origin ?q } UNION { resource:Marica_Bălan property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5066008
P344
Q502895
USER
Which person serves as the director of photography for that work of art ?
(Q218,P344,c(Q502895)) (Q217,P344,c(Q502895)) (Q668,P344,c(Q502895))
action filter_type
action find
entity Q5066008
relation P344
type Q502895
['Q218', 'P344', {'concept': 'Q502895'}] ['Q217', 'P344', {'concept': 'Q502895'}] ['Q668', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q5066008 property:P344 ?q . ?q rdf:type ontology:Q502895 }
Chabiwali Pocket Watch
action filter_type
action find
entity Chabiwali Pocket Watch
relation director of photography
type common name
['Romania', 'director of photography', {'concept': 'common name'}] ['Republic of Moldova', 'director of photography', {'concept': 'common name'}] ['India', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Chabiwali_Pocket_Watch property:director_of_photography ?q . ?q rdf:type ontology:common_name }
[]
common name
Q4752456
SYSTEM
Anay Goswamy
Q4752456
(Q218,P344,c(Q502895)) (Q217,P344,c(Q502895)) (Q668,P344,c(Q502895))
action filter_type
action find
entity Q5066008
relation P344
type Q502895
[ANSWER] serves as the director of photography for that work of art
['Q218', 'P344', {'concept': 'Q502895'}] ['Q217', 'P344', {'concept': 'Q502895'}] ['Q668', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q5066008 property:P344 ?q . ?q rdf:type ontology:Q502895 }
Anay Goswamy
Anay Goswamy serves as the director of photography for that work of art
Anay Goswamy
action filter_type
action find
entity Chabiwali Pocket Watch
relation director of photography
type common name
['Romania', 'director of photography', {'concept': 'common name'}] ['Republic of Moldova', 'director of photography', {'concept': 'common name'}] ['India', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Chabiwali_Pocket_Watch property:director_of_photography ?q . ?q rdf:type ontology:common_name }
[]