Simple Question (Direct)
Simple Question
Q900146
P463
Q48204
USER
What was Claude-Auguste Lamy a member of ?
(Q900146,P463,c(Q48204))
action filter_type
action find
entity Q900146
relation P463
type Q48204
['Q900146', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q48204 . resource:Q900146 property:P463 ?d }
Claude-Auguste Lamy
action filter_type
action find
entity Claude-Auguste Lamy
relation member of
type voluntary association
['Claude-Auguste Lamy', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:voluntary_association . resource:Claude-Auguste_Lamy property:member_of ?d }
[]
voluntary association
Q3488182
SYSTEM
Lille Academy of Sciences
Q3488182
(Q900146,P463,c(Q48204))
action filter_type
action find
entity Q900146
relation P463
type Q48204
Claude-Auguste Lamy a member of was the [ANSWER]
['Q900146', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q48204 . resource:Q900146 property:P463 ?d }
Lille Academy of Sciences
Claude-Auguste Lamy a member of was the Lille Academy of Sciences
Lille Academy of Sciences
action filter_type
action find
entity Claude-Auguste Lamy
relation member of
type voluntary association
['Claude-Auguste Lamy', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:voluntary_association . resource:Claude-Auguste_Lamy property:member_of ?d }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q123885 Q3488182
P463
Q502895
USER
Which people are a member of Lille Academy of Sciences and Royal Society ?
AND((c(Q502895),P463,Q3488182), (c(Q502895),P463,Q123885))
action filter_type
action intersection
action find_reverse
entity Q3488182
relation P463
action find_reverse
entity Q123885
relation P463
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P463', 'Q3488182'], [{'concept': 'Q502895'}, 'P463', 'Q123885']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P463 resource:Q123885 . ?e property:P463 resource:Q3488182 }
Royal Society Lille Academy of Sciences
action filter_type
action intersection
action find_reverse
entity Lille Academy of Sciences
relation member of
action find_reverse
entity Royal Society
relation member of
type common name
{'AND': [[{'concept': 'common name'}, 'member of', 'Lille Academy of Sciences'], [{'concept': 'common name'}, 'member of', 'Royal Society']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:member_of resource:Royal_Society . ?e property:member_of resource:Lille_Academy_of_Sciences }
[]
common name
Q529 Q1479492
SYSTEM
Louis Pasteur, Henri de Lacaze-Duthiers
Q529 Q1479492
AND((c(Q502895),P463,Q3488182), (c(Q502895),P463,Q123885))
action filter_type
action intersection
action find_reverse
entity Q3488182
relation P463
action find_reverse
entity Q123885
relation P463
type Q502895
[ANSWERS] are a member of Lille Academy of Sciences and Royal Society
{'AND': [[{'concept': 'Q502895'}, 'P463', 'Q3488182'], [{'concept': 'Q502895'}, 'P463', 'Q123885']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P463 resource:Q123885 . ?e property:P463 resource:Q3488182 }
Louis Pasteur Henri de Lacaze-Duthiers
Louis Pasteur and Henri de Lacaze-Duthiers are a member of Lille Academy of Sciences and Royal Society
Louis Pasteur Henri de Lacaze-Duthiers
action filter_type
action intersection
action find_reverse
entity Lille Academy of Sciences
relation member of
action find_reverse
entity Royal Society
relation member of
type common name
{'AND': [[{'concept': 'common name'}, 'member of', 'Lille Academy of Sciences'], [{'concept': 'common name'}, 'member of', 'Royal Society']]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:member_of resource:Royal_Society . ?e property:member_of resource:Lille_Academy_of_Sciences }
[]
Clarification
Simple Question|Single Entity|Indirect
Q529
P184
Q502895
USER
Who have that one as doctor supervisor ?
(c(Q502895),P184,Q529)
action filter_type
action find_reverse
entity Q529
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q529']
SELECT DISTINCT ?k WHERE { ?k property:P184 resource:Q529 . ?k rdf:type ontology:Q502895 }
Louis Pasteur
action filter_type
action find_reverse
entity Louis Pasteur
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Louis Pasteur']
SELECT DISTINCT ?k WHERE { ?k property:doctoral_advisor resource:Louis_Pasteur . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1479492
SYSTEM
Did you mean Henri de Lacaze-Duthiers ?
Q529 Q1479492
(c(Q502895),P184,Q529) (c(Q502895),P184,Q1479492)
[ANSWER]
[{'concept': 'Q502895'}, 'P184', 'Q529'] [{'concept': 'Q502895'}, 'P184', 'Q1479492']
SELECT DISTINCT ?k WHERE { ?k property:P184 resource:Q529 . ?k rdf:type ontology:Q502895 }
Louis Pasteur Henri de Lacaze-Duthiers
Did you mean Henri de Lacaze-Duthiers ?
Henri de Lacaze-Duthiers
[{'concept': 'common name'}, 'doctoral advisor', 'Louis Pasteur'] [{'concept': 'common name'}, 'doctoral advisor', 'Henri de Lacaze-Duthiers']
SELECT DISTINCT ?k WHERE { ?k property:doctoral_advisor resource:Louis_Pasteur . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Louis Pasteur. Could you tell me the answer for that?
(c(Q502895),P184,Q529)
Q529
[{'concept': 'Q502895'}, 'P184', 'Q529']
[{'concept': 'common name'}, 'doctoral advisor', 'Louis Pasteur']
[]
Q278216 Q286440 Q437983
SYSTEM
Victor Babeș, Pierre-Paul Émile Roux, Albert Calmette
Q278216 Q2040268 Q286440 Q437983 Q24249538
(c(Q502895),P184,Q529)
action filter_type
action find_reverse
entity Q529
relation P184
type Q502895
[ANSWERS] have that one as doctor supervisor
[{'concept': 'Q502895'}, 'P184', 'Q529']
SELECT DISTINCT ?k WHERE { ?k property:P184 resource:Q529 . ?k rdf:type ontology:Q502895 }
Victor Babeș Nikolay Gamaleya Pierre-Paul Émile Roux Albert Calmette Étienne Wasserzug
Victor Babeș, Pierre-Paul Émile Roux and Albert Calmette have that one as doctor supervisor
Victor Babeș Pierre-Paul Émile Roux Albert Calmette
action filter_type
action find_reverse
entity Louis Pasteur
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Louis Pasteur']
SELECT DISTINCT ?k WHERE { ?k property:doctoral_advisor resource:Louis_Pasteur . ?k rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P7
Q502895
USER
How many people had that person as brother ?
(c(Q502895),P7,Q437983)
[{'concept': 'Q502895'}, 'P7', 'Q437983']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q13163645 resource:Q437983 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'brother', 'Albert Calmette']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:brother resource:Albert_Calmette . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q437983
SYSTEM
Did you mean Albert Calmette ?
(c(Q502895),P7,Q278216) (c(Q502895),P7,Q286440) (c(Q502895),P7,Q437983)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q278216'] [{'concept': 'Q502895'}, 'P7', 'Q286440'] [{'concept': 'Q502895'}, 'P7', 'Q437983']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q13163645 resource:Q437983 . ?z rdf:type ontology:Q502895 }
Did you mean Albert Calmette ?
Albert Calmette
[{'concept': 'common name'}, 'brother', 'Victor Babeș'] [{'concept': 'common name'}, 'brother', 'Pierre-Paul Émile Roux'] [{'concept': 'common name'}, 'brother', 'Albert Calmette']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:brother resource:Albert_Calmette . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P7,Q437983)
[{'concept': 'Q502895'}, 'P7', 'Q437983']
[{'concept': 'common name'}, 'brother', 'Albert Calmette']
[]
SYSTEM
1
Q1495566
(c(Q502895),P7,Q437983)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q437983']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q13163645 resource:Q437983 . ?z rdf:type ontology:Q502895 }
Gaston Calmette
1
[{'concept': 'common name'}, 'brother', 'Albert Calmette']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:brother resource:Albert_Calmette . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q529
P1346
Q618779
USER
Where was Louis Pasteur decalred as a champion ?
(c(Q618779),P1346,Q529)
action filter_type
action find_reverse
entity Q529
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q529']
SELECT DISTINCT ?z WHERE { ?z property:P1346 resource:Q529 . ?z rdf:type ontology:Q618779 }
Louis Pasteur
action filter_type
action find_reverse
entity Louis Pasteur
relation winner
type award
[{'concept': 'award'}, 'winner', 'Louis Pasteur']
SELECT DISTINCT ?z WHERE { ?z property:winner resource:Louis_Pasteur . ?z rdf:type ontology:award }
[]
award
Q28003
SYSTEM
Copley Medal
Q28003
(c(Q618779),P1346,Q529)
action filter_type
action find_reverse
entity Q529
relation P1346
type Q618779
Louis Pasteur was decalred as a champion [ANSWER]
[{'concept': 'Q618779'}, 'P1346', 'Q529']
SELECT DISTINCT ?z WHERE { ?z property:P1346 resource:Q529 . ?z rdf:type ontology:Q618779 }
Copley Medal
Louis Pasteur was decalred as a champion Copley Medal
Copley Medal
action filter_type
action find_reverse
entity Louis Pasteur
relation winner
type award
[{'concept': 'award'}, 'winner', 'Louis Pasteur']
SELECT DISTINCT ?z WHERE { ?z property:winner resource:Louis_Pasteur . ?z rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q529
P1066
Q502895
USER
Which person is a student of that one ?
(c(Q502895),P1066,Q28003)
action filter_type
action find_reverse
entity Q529
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q28003']
SELECT DISTINCT ?v WHERE { ?v property:P1066 resource:Q529 . ?v rdf:type ontology:Q502895 }
Louis Pasteur
action filter_type
action find_reverse
entity Louis Pasteur
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Copley Medal']
SELECT DISTINCT ?v WHERE { ?v property:student_of resource:Louis_Pasteur . ?v rdf:type ontology:common_name }
[]
common name
Q3548137
SYSTEM
Ulysse Gayon
Q3548137
(c(Q502895),P1066,Q28003)
action filter_type
action find_reverse
entity Q529
relation P1066
type Q502895
[ANSWER] is a student of that one
[{'concept': 'Q502895'}, 'P1066', 'Q28003']
SELECT DISTINCT ?v WHERE { ?v property:P1066 resource:Q529 . ?v rdf:type ontology:Q502895 }
Ulysse Gayon
Ulysse Gayon is a student of that one
Ulysse Gayon
action filter_type
action find_reverse
entity Louis Pasteur
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Copley Medal']
SELECT DISTINCT ?v WHERE { ?v property:student_of resource:Louis_Pasteur . ?v rdf:type ontology:common_name }
[]