Simple Question (Direct)
Simple Question
Q3831490
P734
Q101352
USER
Who has the surname Li Fenglou ?
(Q3831490,P734,c(Q101352))
action filter_type
action find
entity Q3831490
relation P734
type Q101352
['Q3831490', 'P734', {'concept': 'Q101352'}]
SELECT DISTINCT ?o WHERE { resource:Q3831490 property:P734 ?o . ?o rdf:type ontology:Q101352 }
Li Fenglou
action filter_type
action find
entity Li Fenglou
relation family name
type family name
['Li Fenglou', 'family name', {'concept': 'family name'}]
SELECT DISTINCT ?o WHERE { resource:Li_Fenglou property:family_name ?o . ?o rdf:type ontology:family_name }
[]
family name
Q686223
SYSTEM
Li
Q686223
(Q3831490,P734,c(Q101352))
action filter_type
action find
entity Q3831490
relation P734
type Q101352
[ANSWER] has the surname [ANSWER] Fenglou
['Q3831490', 'P734', {'concept': 'Q101352'}]
SELECT DISTINCT ?o WHERE { resource:Q3831490 property:P734 ?o . ?o rdf:type ontology:Q101352 }
Li
Li has the surname Li Fenglou
Li
action filter_type
action find
entity Li Fenglou
relation family name
type family name
['Li Fenglou', 'family name', {'concept': 'family name'}]
SELECT DISTINCT ?o WHERE { resource:Li_Fenglou property:family_name ?o . ?o rdf:type ontology:family_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3831490
P20
Q56061
USER
Where did Li Fenglou expire ?
(Q3831490,P20,c(Q56061))
action filter_type
action find
entity Q3831490
relation P20
type Q56061
['Q3831490', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q3831490 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Li Fenglou
action filter_type
action find
entity Li Fenglou
relation place of death
type administrative territorial entity
['Li Fenglou', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Li_Fenglou property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q956
SYSTEM
Beijing
Q956
(Q3831490,P20,c(Q56061))
action filter_type
action find
entity Q3831490
relation P20
type Q56061
Li Fenglou expired [ANSWER]
['Q3831490', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q3831490 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Beijing
Li Fenglou expired Beijing
Beijing
action filter_type
action find
entity Li Fenglou
relation place of death
type administrative territorial entity
['Li Fenglou', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Li_Fenglou property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1373657
Q56061
USER
And what about Eukarius Binder?
(Q1373657,P20,c(Q56061))
action filter_type
action find
entity Q1373657
relation P20
type Q56061
['Q1373657', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q1373657 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Eukarius Binder
action filter_type
action find
entity Eukarius Binder
relation place of death
type administrative territorial entity
['Eukarius Binder', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Eukarius_Binder property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q34713
SYSTEM
Salzburg
Q34713
(Q1373657,P20,c(Q56061))
action filter_type
action find
entity Q1373657
relation P20
type Q56061
[ANSWER]
['Q1373657', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q1373657 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Salzburg
Salzburg
action filter_type
action find
entity Eukarius Binder
relation place of death
type administrative territorial entity
['Eukarius Binder', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Eukarius_Binder property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q34713 Q1125041
P937
Q502895
USER
Does Gábor Kóthay have that administrative territory as work location ?
(Q1125041,P937,Q34713)
action is_in
entity Q1125041
action find
entity Q34713
relation P937
['Q1125041', 'P937', 'Q34713']
ASK WHERE { resource:Q34713 property:P937 resource:Q1125041 }
Salzburg Gábor Kóthay
action is_in
entity Gábor Kóthay
action find
entity Salzburg
relation work location
['Gábor Kóthay', 'work location', 'Salzburg']
ASK WHERE { resource:Salzburg property:work_location resource:Gábor_Kóthay }
[]
common name
SYSTEM
NO
(Q1125041,P937,Q34713)
action is_in
entity Q1125041
action find
entity Q34713
relation P937
[ANSWER]
['Q1125041', 'P937', 'Q34713']
ASK WHERE { resource:Q34713 property:P937 resource:Q1125041 }
No
action is_in
entity Gábor Kóthay
action find
entity Salzburg
relation work location
['Gábor Kóthay', 'work location', 'Salzburg']
ASK WHERE { resource:Salzburg property:work_location resource:Gábor_Kóthay }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34713
P551
Q502895
USER
Which people have residence at Salzburg ?
(c(Q502895),P551,Q34713)
action filter_type
action find_reverse
entity Q34713
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q34713']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P551 resource:Q34713 }
Salzburg
action filter_type
action find_reverse
entity Salzburg
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Salzburg']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:residence resource:Salzburg }
[]
common name
Q16004446 Q103888 Q2347916
SYSTEM
Hannelore Bode, Lars Rehmann, Noreen Evans
Q16004446 Q103888 Q2347916
(c(Q502895),P551,Q34713)
action filter_type
action find_reverse
entity Q34713
relation P551
type Q502895
[ANSWERS] have residence at Salzburg
[{'concept': 'Q502895'}, 'P551', 'Q34713']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P551 resource:Q34713 }
Hannelore Bode Lars Rehmann Noreen Evans
Hannelore Bode, Lars Rehmann and Noreen Evans have residence at Salzburg
Hannelore Bode Lars Rehmann Noreen Evans
action filter_type
action find_reverse
entity Salzburg
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Salzburg']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:residence resource:Salzburg }
[]
Clarification
Simple Question|Single Entity|Indirect
Q103888
P106
Q12737077
USER
What is the job of that person ?
(Q103888,P106,c(Q12737077))
action filter_type
action find
entity Q103888
relation P106
type Q12737077
['Q103888', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q103888 property:P106 ?i }
Lars Rehmann
action filter_type
action find
entity Lars Rehmann
relation occupation
type occupation
['Lars Rehmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Lars_Rehmann property:occupation ?i }
[]
occupation
Clarification for simple ques.
Q103888
SYSTEM
Did you mean Lars Rehmann ?
Q16004446 Q103888 Q2347916
(Q16004446,P106,c(Q12737077)) (Q103888,P106,c(Q12737077)) (Q2347916,P106,c(Q12737077))
[ANSWER]
['Q16004446', 'P106', {'concept': 'Q12737077'}] ['Q103888', 'P106', {'concept': 'Q12737077'}] ['Q2347916', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q103888 property:P106 ?i }
Hannelore Bode Lars Rehmann Noreen Evans
Did you mean Lars Rehmann ?
Lars Rehmann
['Hannelore Bode', 'occupation', {'concept': 'occupation'}] ['Lars Rehmann', 'occupation', {'concept': 'occupation'}] ['Noreen Evans', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Lars_Rehmann property:occupation ?i }
[]
Simple Question (Coreferenced)
USER
Yes
(Q103888,P106,c(Q12737077))
['Q103888', 'P106', {'concept': 'Q12737077'}]
['Lars Rehmann', 'occupation', {'concept': 'occupation'}]
[]
Q10833314
SYSTEM
tennis player
Q10833314
(Q103888,P106,c(Q12737077))
action filter_type
action find
entity Q103888
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q103888', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q103888 property:P106 ?i }
tennis player
The job of that person is a tennis player
tennis player
action filter_type
action find
entity Lars Rehmann
relation occupation
type occupation
['Lars Rehmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Lars_Rehmann property:occupation ?i }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q10833314 Q847
P641
Q349
USER
Was that occupation a part of tennis ?
(Q10833314,P641,Q847)
action is_in
entity Q847
action find
entity Q10833314
relation P641
['Q10833314', 'P641', 'Q847']
ASK WHERE { resource:Q10833314 property:P641 resource:Q847 }
tennis player tennis
action is_in
entity tennis
action find
entity tennis player
relation sport
['tennis player', 'sport', 'tennis']
ASK WHERE { resource:tennis_player property:sport resource:tennis }
[]
sport
SYSTEM
YES
(Q10833314,P641,Q847)
action is_in
entity Q847
action find
entity Q10833314
relation P641
[ANSWER]
['Q10833314', 'P641', 'Q847']
ASK WHERE { resource:Q10833314 property:P641 resource:Q847 }
Yes
action is_in
entity tennis
action find
entity tennis player
relation sport
['tennis player', 'sport', 'tennis']
ASK WHERE { resource:tennis_player property:sport resource:tennis }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q103888
P19
Q15617994
USER
Which administrative territory is the birthplace of Lars Rehmann ?
(Q103888,P19,c(Q15617994))
action filter_type
action find
entity Q103888
relation P19
type Q15617994
['Q103888', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q103888 property:P19 ?q . ?q rdf:type ontology:Q15617994 }
Lars Rehmann
action filter_type
action find
entity Lars Rehmann
relation place of birth
type designation for an administrative territorial entity
['Lars Rehmann', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Lars_Rehmann property:place_of_birth ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q2938
SYSTEM
Leverkusen
Q2938
(Q103888,P19,c(Q15617994))
action filter_type
action find
entity Q103888
relation P19
type Q15617994
In [ANSWER] is the birthplace of Lars Rehmann
['Q103888', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q103888 property:P19 ?q . ?q rdf:type ontology:Q15617994 }
Leverkusen
In Leverkusen is the birthplace of Lars Rehmann
Leverkusen
action filter_type
action find
entity Lars Rehmann
relation place of birth
type designation for an administrative territorial entity
['Lars Rehmann', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Lars_Rehmann property:place_of_birth ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]