Simple Question (Direct)
Simple Question
Q4152313
P27
Q15617994
USER
Which administrative territory does Yakov Gurevich belong to ?
(Q4152313,P27,c(Q15617994))
action filter_type
action find
entity Q4152313
relation P27
type Q15617994
['Q4152313', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q4152313 property:P27 ?l }
Yakov Gurevich
action filter_type
action find
entity Yakov Gurevich
relation country of citizenship
type designation for an administrative territorial entity
['Yakov Gurevich', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Yakov_Gurevich property:country_of_citizenship ?l }
[]
designation for an administrative territorial entity
Q217
SYSTEM
Republic of Moldova
Q217
(Q4152313,P27,c(Q15617994))
action filter_type
action find
entity Q4152313
relation P27
type Q15617994
Yakov Gurevich belongs to [ANSWER]
['Q4152313', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q4152313 property:P27 ?l }
Republic of Moldova
Yakov Gurevich belongs to Republic of Moldova
Republic of Moldova
action filter_type
action find
entity Yakov Gurevich
relation country of citizenship
type designation for an administrative territorial entity
['Yakov Gurevich', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Yakov_Gurevich property:country_of_citizenship ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4152313
P106
Q12737077
USER
What are the job of that person ?
(Q217,P106,c(Q12737077))
action filter_type
action find
entity Q4152313
relation P106
type Q12737077
['Q217', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q4152313 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Yakov Gurevich
action filter_type
action find
entity Yakov Gurevich
relation occupation
type occupation
['Republic of Moldova', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Yakov_Gurevich property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q1930187 Q36180
SYSTEM
journalist, writer
Q1930187 Q36180
(Q217,P106,c(Q12737077))
action filter_type
action find
entity Q4152313
relation P106
type Q12737077
The job of that person are a [ANSWERS]
['Q217', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q4152313 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
journalist writer
The job of that person are a journalist and writer
journalist writer
action filter_type
action find
entity Yakov Gurevich
relation occupation
type occupation
['Republic of Moldova', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Yakov_Gurevich property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1930187 Q36180
P39
Q502895
USER
Who were responsible for occupying the position of those occupations ?
(c(Q502895),P39,Q1930187) (c(Q502895),P39,Q36180)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1930187'] [{'concept': 'Q502895'}, 'P39', 'Q36180']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P39 ?x . VALUES ( ?x ) { ( resource:Q1930187 ) ( resource:Q36180 ) } }
journalist writer
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'journalist'] [{'concept': 'common name'}, 'position held', 'writer']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:position_held ?x . VALUES ( ?x ) { ( resource:journalist ) ( resource:writer ) } }
[]
common name
Q2844607 Q2844607 Q4255270
SYSTEM
Amé-Thérèse-Joseph Masclet for 1st, 2nd, Mariano Roca de Togores, 1st Marquis of Molins for 3rd
Q2844607 Q2844607 Q20920104 Q20920104 Q723621 Q16912378 Q5945149 Q11294693 Q723621 Q20666477 Q163042 Q5945149 Q4255270
(c(Q502895),P39,Q1930187) (c(Q502895),P39,Q36180)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q1930187'] [{'concept': 'Q502895'}, 'P39', 'Q36180']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P39 ?x . VALUES ( ?x ) { ( resource:Q1930187 ) ( resource:Q36180 ) } }
Amé-Thérèse-Joseph Masclet Amé-Thérèse-Joseph Masclet Pierre Barthélémy Pierre Barthélémy Paul Nizan Alexandre Melnik José Rocamora Henri de Saint-Ignace Paul Nizan Marina Damestoy David Duke José Rocamora Mariano Roca de Togores, 1st Marquis of Molins
Amé-Thérèse-Joseph Masclet, Amé-Thérèse-Joseph Masclet and Mariano Roca de Togores, 1st Marquis of Molins were responsible for occupying the position of those occupations
Amé-Thérèse-Joseph Masclet Amé-Thérèse-Joseph Masclet Mariano Roca de Togores, 1st Marquis of Molins
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'journalist'] [{'concept': 'common name'}, 'position held', 'writer']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:position_held ?x . VALUES ( ?x ) { ( resource:journalist ) ( resource:writer ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2844607
P166
Q618779
USER
Which award was Amé-Thérèse-Joseph Masclet awarded with ?
(Q2844607,P166,c(Q618779))
action filter_type
action find
entity Q2844607
relation P166
type Q618779
['Q2844607', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { resource:Q2844607 property:P166 ?o . ?o rdf:type ontology:Q618779 }
Amé-Thérèse-Joseph Masclet
action filter_type
action find
entity Amé-Thérèse-Joseph Masclet
relation award received
type award
['Amé-Thérèse-Joseph Masclet', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { resource:Amé-Thérèse-Joseph_Masclet property:award_received ?o . ?o rdf:type ontology:award }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q2844607,P166,c(Q618779))
action filter_type
action find
entity Q2844607
relation P166
type Q618779
Amé-Thérèse-Joseph Masclet was awarded a [ANSWER]
['Q2844607', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { resource:Q2844607 property:P166 ?o . ?o rdf:type ontology:Q618779 }
Knight of the Legion of Honour
Amé-Thérèse-Joseph Masclet was awarded a Knight of the Legion of Honour
Knight of the Legion of Honour
action filter_type
action find
entity Amé-Thérèse-Joseph Masclet
relation award received
type award
['Amé-Thérèse-Joseph Masclet', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { resource:Amé-Thérèse-Joseph_Masclet property:award_received ?o . ?o rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q73765
Q618779
USER
And what about Ludwig Wolff?
(Q73765,P166,c(Q618779))
action filter_type
action find
entity Q73765
relation P166
type Q618779
['Q73765', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { resource:Q73765 property:P166 ?g . ?g rdf:type ontology:Q618779 }
Ludwig Wolff
action filter_type
action find
entity Ludwig Wolff
relation award received
type award
['Ludwig Wolff', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { resource:Ludwig_Wolff property:award_received ?g . ?g rdf:type ontology:award }
[]
award
Q571115 Q3003469
SYSTEM
Albert Order, Knight's Cross of the Iron Cross with Oak Leaves
Q571115 Q3003469
(Q73765,P166,c(Q618779))
action filter_type
action find
entity Q73765
relation P166
type Q618779
[ANSWERS]
['Q73765', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { resource:Q73765 property:P166 ?g . ?g rdf:type ontology:Q618779 }
Albert Order Knight's Cross of the Iron Cross with Oak Leaves
Albert Order Knight's Cross of the Iron Cross with Oak Leaves
action filter_type
action find
entity Ludwig Wolff
relation award received
type award
['Ludwig Wolff', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { resource:Ludwig_Wolff property:award_received ?g . ?g rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q73765
P21
Q290
USER
Which sex does that person have ?
(Q571115,P21,c(Q290)) (Q3003469,P21,c(Q290))
action filter_type
action find
entity Q73765
relation P21
type Q290
['Q571115', 'P21', {'concept': 'Q290'}] ['Q3003469', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q73765 property:P21 ?x . ?x rdf:type ontology:Q290 }
Ludwig Wolff
action filter_type
action find
entity Ludwig Wolff
relation gender
type sex
['Albert Order', 'gender', {'concept': 'sex'}] ["Knight's Cross of the Iron Cross with Oak Leaves", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Ludwig_Wolff property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q571115,P21,c(Q290)) (Q3003469,P21,c(Q290))
action filter_type
action find
entity Q73765
relation P21
type Q290
That person has a [ANSWER]
['Q571115', 'P21', {'concept': 'Q290'}] ['Q3003469', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q73765 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Ludwig Wolff
relation gender
type sex
['Albert Order', 'gender', {'concept': 'sex'}] ["Knight's Cross of the Iron Cross with Oak Leaves", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Ludwig_Wolff property:gender ?x . ?x rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q19958575
P21
Q502895
USER
Is Mohamed Sayari a that sex ?
(Q19958575,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q19958575
relation P21
['Q19958575', 'P21', 'Q6581097']
ASK WHERE { resource:Q19958575 property:P21 resource:Q6581097 }
male Mohamed Sayari
action is_in
entity male
action find
entity Mohamed Sayari
relation gender
['Mohamed Sayari', 'gender', 'male']
ASK WHERE { resource:Mohamed_Sayari property:gender resource:male }
[]
common name
SYSTEM
YES
(Q19958575,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q19958575
relation P21
[ANSWER]
['Q19958575', 'P21', 'Q6581097']
ASK WHERE { resource:Q19958575 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Mohamed Sayari
relation gender
['Mohamed Sayari', 'gender', 'male']
ASK WHERE { resource:Mohamed_Sayari property:gender resource:male }
[]