Simple Question (Direct)
Simple Question
Q328358
P1196
Q1914636
USER
Which activity best describes with type of death of Jean-Pierre Rassam ?
(Q328358,P1196,c(Q1914636))
action filter_type
action find
entity Q328358
relation P1196
type Q1914636
['Q328358', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?j WHERE { resource:Q328358 property:P1196 ?j . ?j rdf:type ontology:Q1914636 }
Jean-Pierre Rassam
action filter_type
action find
entity Jean-Pierre Rassam
relation manner of death
type activity
['Jean-Pierre Rassam', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?j WHERE { resource:Jean-Pierre_Rassam property:manner_of_death ?j . ?j rdf:type ontology:activity }
[]
activity
Q10737
SYSTEM
suicide
Q10737
(Q328358,P1196,c(Q1914636))
action filter_type
action find
entity Q328358
relation P1196
type Q1914636
The [ANSWER] best describes with type of death of Jean-Pierre Rassam
['Q328358', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?j WHERE { resource:Q328358 property:P1196 ?j . ?j rdf:type ontology:Q1914636 }
suicide
The suicide best describes with type of death of Jean-Pierre Rassam
suicide
action filter_type
action find
entity Jean-Pierre Rassam
relation manner of death
type activity
['Jean-Pierre Rassam', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?j WHERE { resource:Jean-Pierre_Rassam property:manner_of_death ?j . ?j rdf:type ontology:activity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10737
P1995
Q1047113
USER
Which special field is the medical specality concerned with that activity ?
(Q10737,P1995,c(Q1047113))
action filter_type
action find
entity Q10737
relation P1995
type Q1047113
['Q10737', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?n WHERE { resource:Q10737 property:P1995 ?n . ?n rdf:type ontology:Q1047113 }
suicide
action filter_type
action find
entity suicide
relation medical specialty
type special field
['suicide', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?n WHERE { resource:suicide property:medical_specialty ?n . ?n rdf:type ontology:special_field }
[]
special field
Q7867
SYSTEM
psychiatry
Q7867
(Q10737,P1995,c(Q1047113))
action filter_type
action find
entity Q10737
relation P1995
type Q1047113
[ANSWER] is the medical specality concerned with that activity
['Q10737', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?n WHERE { resource:Q10737 property:P1995 ?n . ?n rdf:type ontology:Q1047113 }
psychiatry
Psychiatry is the medical specality concerned with that activity
psychiatry
action filter_type
action find
entity suicide
relation medical specialty
type special field
['suicide', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?n WHERE { resource:suicide property:medical_specialty ?n . ?n rdf:type ontology:special_field }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q328358
P161
Q838948
USER
Which work of art has Jean-Pierre Rassam as actor ?
(c(Q838948),P161,Q328358)
action filter_type
action find_reverse
entity Q328358
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q328358']
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q328358 . ?r rdf:type ontology:Q838948 }
Jean-Pierre Rassam
action filter_type
action find_reverse
entity Jean-Pierre Rassam
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jean-Pierre Rassam']
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:Jean-Pierre_Rassam . ?r rdf:type ontology:work_of_art }
[]
work of art
Q3344989
SYSTEM
We Won't Grow Old Together
Q3344989
(c(Q838948),P161,Q328358)
action filter_type
action find_reverse
entity Q328358
relation P161
type Q838948
[ANSWER] has Jean-Pierre Rassam as actor
[{'concept': 'Q838948'}, 'P161', 'Q328358']
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q328358 . ?r rdf:type ontology:Q838948 }
We Won't Grow Old Together
We Won't Grow Old Together has Jean-Pierre Rassam as actor
We Won't Grow Old Together
action filter_type
action find_reverse
entity Jean-Pierre Rassam
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jean-Pierre Rassam']
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:Jean-Pierre_Rassam . ?r rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q328358
P26
Q502895
USER
Who is the spouse of that one ?
(Q3344989,P26,c(Q502895))
action filter_type
action find
entity Q328358
relation P26
type Q502895
['Q3344989', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q328358 property:P26 ?d . ?d rdf:type ontology:Q502895 }
Jean-Pierre Rassam
action filter_type
action find
entity Jean-Pierre Rassam
relation spouse
type common name
["We Won't Grow Old Together", 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Jean-Pierre_Rassam property:spouse ?d . ?d rdf:type ontology:common_name }
[]
common name
Q106607
SYSTEM
Carole Bouquet
Q106607
(Q3344989,P26,c(Q502895))
action filter_type
action find
entity Q328358
relation P26
type Q502895
The spouse of that one is the [ANSWER]
['Q3344989', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q328358 property:P26 ?d . ?d rdf:type ontology:Q502895 }
Carole Bouquet
The spouse of that one is the Carole Bouquet
Carole Bouquet
action filter_type
action find
entity Jean-Pierre Rassam
relation spouse
type common name
["We Won't Grow Old Together", 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Jean-Pierre_Rassam property:spouse ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q106607
P1346
Q618779
USER
Where was that person decalred as a champion ?
(c(Q618779),P1346,Q106607)
action filter_type
action find_reverse
entity Q106607
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q106607']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q618779 . ?j property:P1346 resource:Q106607 }
Carole Bouquet
action filter_type
action find_reverse
entity Carole Bouquet
relation winner
type award
[{'concept': 'award'}, 'winner', 'Carole Bouquet']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:award . ?j property:winner resource:Carole_Bouquet }
[]
award
Q24241
SYSTEM
César Award for Best Actress
Q24241
(c(Q618779),P1346,Q106607)
action filter_type
action find_reverse
entity Q106607
relation P1346
type Q618779
[ANSWER] that person was decalred as a champion
[{'concept': 'Q618779'}, 'P1346', 'Q106607']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q618779 . ?j property:P1346 resource:Q106607 }
César Award for Best Actress
César Award for Best Actress that person was decalred as a champion
César Award for Best Actress
action filter_type
action find_reverse
entity Carole Bouquet
relation winner
type award
[{'concept': 'award'}, 'winner', 'Carole Bouquet']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:award . ?j property:winner resource:Carole_Bouquet }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q106607
P166
Q618779
USER
What were awarded to that person ?
(Q24241,P166,c(Q618779))
action filter_type
action find
entity Q106607
relation P166
type Q618779
['Q24241', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q106607 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Carole Bouquet
action filter_type
action find
entity Carole Bouquet
relation award received
type award
['César Award for Best Actress', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Carole_Bouquet property:award_received ?w . ?w rdf:type ontology:award }
[]
award
Q13452531 Q24241
SYSTEM
Commandeur des Arts et des Lettres‎, César Award for Best Actress
Q13452531 Q24241
(Q24241,P166,c(Q618779))
action filter_type
action find
entity Q106607
relation P166
type Q618779
[ANSWERS] were awarded to that person
['Q24241', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q106607 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Commandeur des Arts et des Lettres‎ César Award for Best Actress
Commandeur des Arts et des Lettres‎ and César Award for Best Actress were awarded to that person
Commandeur des Arts et des Lettres‎ César Award for Best Actress
action filter_type
action find
entity Carole Bouquet
relation award received
type award
['César Award for Best Actress', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Carole_Bouquet property:award_received ?w . ?w rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q200092 Q328358
P136 P272
Q838948
USER
Which works of art had Jean-Pierre Rassam as the production house and have horror film as genre ?
AND((c(Q838948),P272,Q328358), (c(Q838948),P136,Q200092))
action filter_type
action intersection
action find_reverse
entity Q328358
relation P272
action find_reverse
entity Q200092
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P272', 'Q328358'], [{'concept': 'Q838948'}, 'P136', 'Q200092']]}
SELECT DISTINCT ?a WHERE { ?a property:P272 resource:Q328358 . ?a property:P136 resource:Q200092 . ?a rdf:type ontology:Q838948 }
horror film Jean-Pierre Rassam
action filter_type
action intersection
action find_reverse
entity Jean-Pierre Rassam
relation production company
action find_reverse
entity horror film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'production company', 'Jean-Pierre Rassam'], [{'concept': 'work of art'}, 'genre', 'horror film']]}
SELECT DISTINCT ?a WHERE { ?a property:production_company resource:Jean-Pierre_Rassam . ?a property:genre resource:horror_film . ?a rdf:type ontology:work_of_art }
[]
work of art
Q527958
SYSTEM
Andy Warhol's Frankenstein
Q527958
AND((c(Q838948),P272,Q328358), (c(Q838948),P136,Q200092))
action filter_type
action intersection
action find_reverse
entity Q328358
relation P272
action find_reverse
entity Q200092
relation P136
type Q838948
[ANSWER] had Jean-Pierre Rassam as the production house and have horror film as genre
{'AND': [[{'concept': 'Q838948'}, 'P272', 'Q328358'], [{'concept': 'Q838948'}, 'P136', 'Q200092']]}
SELECT DISTINCT ?a WHERE { ?a property:P272 resource:Q328358 . ?a property:P136 resource:Q200092 . ?a rdf:type ontology:Q838948 }
Andy Warhol's Frankenstein
Andy Warhol's Frankenstein had Jean-Pierre Rassam as the production house and have horror film as genre
Andy Warhol's Frankenstein
action filter_type
action intersection
action find_reverse
entity Jean-Pierre Rassam
relation production company
action find_reverse
entity horror film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'production company', 'Jean-Pierre Rassam'], [{'concept': 'work of art'}, 'genre', 'horror film']]}
SELECT DISTINCT ?a WHERE { ?a property:production_company resource:Jean-Pierre_Rassam . ?a property:genre resource:horror_film . ?a rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q407617 Q7867
P2176 P1995
Q2057971
USER
Which health problems specializes in psychiatry and require sertraline to be prescribed ?
AND((c(Q2057971),P1995,Q7867), (c(Q2057971),P2176,Q407617))
action filter_type
action intersection
action find_reverse
entity Q7867
relation P1995
action find_reverse
entity Q407617
relation P2176
type Q2057971
{'AND': [[{'concept': 'Q2057971'}, 'P1995', 'Q7867'], [{'concept': 'Q2057971'}, 'P2176', 'Q407617']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2057971 . ?t property:P1995 resource:Q7867 . ?t property:P2176 resource:Q407617 }
sertraline psychiatry
action filter_type
action intersection
action find_reverse
entity psychiatry
relation medical specialty
action find_reverse
entity sertraline
relation drug used for treatment
type health problem
{'AND': [[{'concept': 'health problem'}, 'medical specialty', 'psychiatry'], [{'concept': 'health problem'}, 'drug used for treatment', 'sertraline']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:health_problem . ?t property:medical_specialty resource:psychiatry . ?t property:drug_used_for_treatment resource:sertraline }
[]
health problem
Q373822 Q202387 Q741713 Q178190 Q544006
SYSTEM
eating disorder, post-traumatic stress disorder, panic disorder, obsessive-compulsive disorder, anxiety disorder
Q373822 Q202387 Q741713 Q178190 Q544006
AND((c(Q2057971),P1995,Q7867), (c(Q2057971),P2176,Q407617))
action filter_type
action intersection
action find_reverse
entity Q7867
relation P1995
action find_reverse
entity Q407617
relation P2176
type Q2057971
[ANSWERS] specialize in psychiatry and require sertraline to be prescribed
{'AND': [[{'concept': 'Q2057971'}, 'P1995', 'Q7867'], [{'concept': 'Q2057971'}, 'P2176', 'Q407617']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2057971 . ?t property:P1995 resource:Q7867 . ?t property:P2176 resource:Q407617 }
eating disorder post-traumatic stress disorder panic disorder obsessive-compulsive disorder anxiety disorder
Eating disorder, post-traumatic stress disorder, panic disorder, obsessive-compulsive disorder and anxiety disorder specialize in psychiatry and require sertraline to be prescribed
eating disorder post-traumatic stress disorder panic disorder obsessive-compulsive disorder anxiety disorder
action filter_type
action intersection
action find_reverse
entity psychiatry
relation medical specialty
action find_reverse
entity sertraline
relation drug used for treatment
type health problem
{'AND': [[{'concept': 'health problem'}, 'medical specialty', 'psychiatry'], [{'concept': 'health problem'}, 'drug used for treatment', 'sertraline']]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:health_problem . ?t property:medical_specialty resource:psychiatry . ?t property:drug_used_for_treatment resource:sertraline }
[]