Simple Question (Direct)
Simple Question
Q5018639
P119
Q43229
USER
Which organization is the tomb of Adam Opalski ?
(Q5018639,P119,c(Q43229))
action filter_type
action find
entity Q5018639
relation P119
type Q43229
['Q5018639', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?q WHERE { resource:Q5018639 property:P119 ?q . ?q rdf:type ontology:Q43229 }
Adam Opalski
action filter_type
action find
entity Adam Opalski
relation place of burial
type organization
['Adam Opalski', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?q WHERE { resource:Adam_Opalski property:place_of_burial ?q . ?q rdf:type ontology:organization }
[]
organization
Q168886
SYSTEM
Powązki Cemetery
Q168886
(Q5018639,P119,c(Q43229))
action filter_type
action find
entity Q5018639
relation P119
type Q43229
Cemetery [ANSWER] is the tomb of Adam Opalski
['Q5018639', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?q WHERE { resource:Q5018639 property:P119 ?q . ?q rdf:type ontology:Q43229 }
Powązki Cemetery
Cemetery Powązki Cemetery is the tomb of Adam Opalski
Powązki Cemetery
action filter_type
action find
entity Adam Opalski
relation place of burial
type organization
['Adam Opalski', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?q WHERE { resource:Adam_Opalski property:place_of_burial ?q . ?q rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5018639
P463
Q874405
USER
Which social group was Adam Opalski a member of ?
(Q5018639,P463,c(Q874405))
action filter_type
action find
entity Q5018639
relation P463
type Q874405
['Q5018639', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?c WHERE { resource:Q5018639 property:P463 ?c . ?c rdf:type ontology:Q874405 }
Adam Opalski
action filter_type
action find
entity Adam Opalski
relation member of
type social group
['Adam Opalski', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?c WHERE { resource:Adam_Opalski property:member_of ?c . ?c rdf:type ontology:social_group }
[]
social group
Q2092629
SYSTEM
Polish Academy of Learning
Q2092629
(Q5018639,P463,c(Q874405))
action filter_type
action find
entity Q5018639
relation P463
type Q874405
[ANSWER] was Adam Opalski a member of
['Q5018639', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?c WHERE { resource:Q5018639 property:P463 ?c . ?c rdf:type ontology:Q874405 }
Polish Academy of Learning
Polish Academy of Learning was Adam Opalski a member of
Polish Academy of Learning
action filter_type
action find
entity Adam Opalski
relation member of
type social group
['Adam Opalski', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?c WHERE { resource:Adam_Opalski property:member_of ?c . ?c rdf:type ontology:social_group }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q93562
Q874405
USER
And also tell me about Thomas Gold?
(Q93562,P463,c(Q874405))
action filter_type
action find
entity Q93562
relation P463
type Q874405
['Q93562', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q93562 property:P463 ?k . ?k rdf:type ontology:Q874405 }
Thomas Gold
action filter_type
action find
entity Thomas Gold
relation member of
type social group
['Thomas Gold', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:Thomas_Gold property:member_of ?k . ?k rdf:type ontology:social_group }
[]
social group
Q466089
SYSTEM
American Philosophical Society
Q466089
(Q93562,P463,c(Q874405))
action filter_type
action find
entity Q93562
relation P463
type Q874405
[ANSWER]
['Q93562', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q93562 property:P463 ?k . ?k rdf:type ontology:Q874405 }
American Philosophical Society
American Philosophical Society
action filter_type
action find
entity Thomas Gold
relation member of
type social group
['Thomas Gold', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:Thomas_Gold property:member_of ?k . ?k rdf:type ontology:social_group }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q93562
P184 P21
Q502895
USER
Which people have Thomas Gold as advisor for his/her doctoral work and have male as the sex ?
AND((c(Q502895),P184,Q93562), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q93562
relation P184
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P184', 'Q93562'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P184 resource:Q93562 . ?j property:P21 resource:Q6581097 }
male Thomas Gold
action filter_type
action intersection
action find_reverse
entity Thomas Gold
relation doctoral advisor
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'doctoral advisor', 'Thomas Gold'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:doctoral_advisor resource:Thomas_Gold . ?j property:gender resource:male }
[]
common name
Q1351673 Q21033899
SYSTEM
Peter Goldreich, Arnold Benz
Q1351673 Q21033899
AND((c(Q502895),P184,Q93562), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q93562
relation P184
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Thomas Gold as advisor for his/her doctoral work and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P184', 'Q93562'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P184 resource:Q93562 . ?j property:P21 resource:Q6581097 }
Peter Goldreich Arnold Benz
Peter Goldreich and Arnold Benz have Thomas Gold as advisor for his/her doctoral work and have male as the sex
Peter Goldreich Arnold Benz
action filter_type
action intersection
action find_reverse
entity Thomas Gold
relation doctoral advisor
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'doctoral advisor', 'Thomas Gold'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:doctoral_advisor resource:Thomas_Gold . ?j property:gender resource:male }
[]