Simple Question (Direct)
Simple Question
Q1585146
P161
Q502895
USER
Which people starred in The Hottie and the Nottie ?
(Q1585146,P161,c(Q502895))
action filter_type
action find
entity Q1585146
relation P161
type Q502895
['Q1585146', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1585146 property:P161 ?r . ?r rdf:type ontology:Q502895 }
The Hottie and the Nottie
action filter_type
action find
entity The Hottie and the Nottie
relation cast member
type common name
['The Hottie and the Nottie', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Hottie_and_the_Nottie property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
common name
Q47899 Q272176 Q371786
SYSTEM
Paris Hilton, Christine Lakin, Joel David Moore
Q371786 Q272176 Q927102 Q47899
(Q1585146,P161,c(Q502895))
action filter_type
action find
entity Q1585146
relation P161
type Q502895
[ANSWERS] starred in The Hottie and the Nottie
['Q1585146', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q1585146 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Joel David Moore Christine Lakin Johann Urb Paris Hilton
Paris Hilton, Christine Lakin and Joel David Moore starred in The Hottie and the Nottie
Paris Hilton Christine Lakin Joel David Moore
action filter_type
action find
entity The Hottie and the Nottie
relation cast member
type common name
['The Hottie and the Nottie', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Hottie_and_the_Nottie property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q272176
P21
Q290
USER
Which sex does that person have ?
(Q272176,P21,c(Q290))
action filter_type
action find
entity Q272176
relation P21
type Q290
['Q272176', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q272176 property:P21 ?i . ?i rdf:type ontology:Q290 }
Christine Lakin
action filter_type
action find
entity Christine Lakin
relation gender
type sex
['Christine Lakin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Christine_Lakin property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q47899
SYSTEM
Did you mean Paris Hilton ?
Q47899 Q272176 Q371786
(Q47899,P21,c(Q290)) (Q272176,P21,c(Q290)) (Q371786,P21,c(Q290))
[ANSWER]
['Q47899', 'P21', {'concept': 'Q290'}] ['Q272176', 'P21', {'concept': 'Q290'}] ['Q371786', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q272176 property:P21 ?i . ?i rdf:type ontology:Q290 }
Paris Hilton Christine Lakin Joel David Moore
Did you mean Paris Hilton ?
Paris Hilton
['Paris Hilton', 'gender', {'concept': 'sex'}] ['Christine Lakin', 'gender', {'concept': 'sex'}] ['Joel David Moore', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Christine_Lakin property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Christine Lakin. Could you tell me the answer for that?
(Q272176,P21,c(Q290))
Q272176
['Q272176', 'P21', {'concept': 'Q290'}]
['Christine Lakin', 'gender', {'concept': 'sex'}]
[]
Q6581072
SYSTEM
female
Q6581072
(Q272176,P21,c(Q290))
action filter_type
action find
entity Q272176
relation P21
type Q290
That person has a [ANSWER]
['Q272176', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q272176 property:P21 ?i . ?i rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Christine Lakin
relation gender
type sex
['Christine Lakin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Christine_Lakin property:gender ?i . ?i rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q47899 Q3056474
P106
Q12737077
USER
How many occupations are the professions of Paris Hilton and Mohamed Fawzi ?
(Q47899,P106,c(Q12737077)) (Q3056474,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q47899
relation P106
type Q12737077
action filter_type
action find
entity Q3056474
relation P106
type Q12737077
['Q47899', 'P106', {'concept': 'Q12737077'}] ['Q3056474', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Q47899 property:P106 ?p . ?p rdf:type ontology:Q12737077 . resource:Q3056474 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Paris Hilton Mohamed Fawzi
action count
action intersection
action filter_type
action find
entity Paris Hilton
relation occupation
type occupation
action filter_type
action find
entity Mohamed Fawzi
relation occupation
type occupation
['Paris Hilton', 'occupation', {'concept': 'occupation'}] ['Mohamed Fawzi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Paris_Hilton property:occupation ?p . ?p rdf:type ontology:occupation . resource:Mohamed_Fawzi property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
SYSTEM
2
Q33999 Q177220
(Q47899,P106,c(Q12737077)) (Q3056474,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q47899
relation P106
type Q12737077
action filter_type
action find
entity Q3056474
relation P106
type Q12737077
[ANSWER]
['Q47899', 'P106', {'concept': 'Q12737077'}] ['Q3056474', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Q47899 property:P106 ?p . ?p rdf:type ontology:Q12737077 . resource:Q3056474 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
actor singer
2
action count
action intersection
action filter_type
action find
entity Paris Hilton
relation occupation
type occupation
action filter_type
action find
entity Mohamed Fawzi
relation occupation
type occupation
['Paris Hilton', 'occupation', {'concept': 'occupation'}] ['Mohamed Fawzi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Paris_Hilton property:occupation ?p . ?p rdf:type ontology:occupation . resource:Mohamed_Fawzi property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47899
P451
Q502895
USER
Which person had that one as their girlfriend ?
action filter_type
action find_reverse
entity Q47899
relation P451
type Q502895
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P451 resource:Q47899 }
Paris Hilton
action filter_type
action find_reverse
entity Paris Hilton
relation partner
type common name
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:partner resource:Paris_Hilton }
[]
common name
Q3431600
SYSTEM
Rick Salomon
Q3431600
action filter_type
action find_reverse
entity Q47899
relation P451
type Q502895
[ANSWER] had that one as their girlfriend
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P451 resource:Q47899 }
Rick Salomon
Rick Salomon had that one as their girlfriend
Rick Salomon
action filter_type
action find_reverse
entity Paris Hilton
relation partner
type common name
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:partner resource:Paris_Hilton }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3431600 Q6148762
P451
Q502895
USER
Is Jan Daniel Preysler the partner of that one ?
(Q3431600,P451,Q6148762)
action is_in
entity Q6148762
action find
entity Q3431600
relation P451
['Q3431600', 'P451', 'Q6148762']
ASK WHERE { resource:Q3431600 property:P451 resource:Q6148762 }
Rick Salomon Jan Daniel Preysler
action is_in
entity Jan Daniel Preysler
action find
entity Rick Salomon
relation partner
['Rick Salomon', 'partner', 'Jan Daniel Preysler']
ASK WHERE { resource:Rick_Salomon property:partner resource:Jan_Daniel_Preysler }
[]
common name
SYSTEM
NO
(Q3431600,P451,Q6148762)
action is_in
entity Q6148762
action find
entity Q3431600
relation P451
[ANSWER]
['Q3431600', 'P451', 'Q6148762']
ASK WHERE { resource:Q3431600 property:P451 resource:Q6148762 }
No
action is_in
entity Jan Daniel Preysler
action find
entity Rick Salomon
relation partner
['Rick Salomon', 'partner', 'Jan Daniel Preysler']
ASK WHERE { resource:Rick_Salomon property:partner resource:Jan_Daniel_Preysler }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q272176 Q9395
P27
Q15617994
USER
Is Christine Lakin a civilian of Grosso ?
(Q272176,P27,Q9395)
action is_in
entity Q9395
action find
entity Q272176
relation P27
['Q272176', 'P27', 'Q9395']
ASK WHERE { resource:Q272176 property:P27 resource:Q9395 }
Christine Lakin Grosso
action is_in
entity Grosso
action find
entity Christine Lakin
relation country of citizenship
['Christine Lakin', 'country of citizenship', 'Grosso']
ASK WHERE { resource:Christine_Lakin property:country_of_citizenship resource:Grosso }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q272176,P27,Q9395)
action is_in
entity Q9395
action find
entity Q272176
relation P27
[ANSWER]
['Q272176', 'P27', 'Q9395']
ASK WHERE { resource:Q272176 property:P27 resource:Q9395 }
No
action is_in
entity Grosso
action find
entity Christine Lakin
relation country of citizenship
['Christine Lakin', 'country of citizenship', 'Grosso']
ASK WHERE { resource:Christine_Lakin property:country_of_citizenship resource:Grosso }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q272176
P19
Q56061
USER
Which administrative territory was Christine Lakin born in ?
(Q272176,P19,c(Q56061))
action filter_type
action find
entity Q272176
relation P19
type Q56061
['Q272176', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q272176 property:P19 ?k }
Christine Lakin
action filter_type
action find
entity Christine Lakin
relation place of birth
type administrative territorial entity
['Christine Lakin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Christine_Lakin property:place_of_birth ?k }
[]
administrative territorial entity
Q16557
SYSTEM
Dallas
Q16557
(Q272176,P19,c(Q56061))
action filter_type
action find
entity Q272176
relation P19
type Q56061
Christine Lakin was born in [ANSWER]
['Q272176', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q272176 property:P19 ?k }
Dallas
Christine Lakin was born in Dallas
Dallas
action filter_type
action find
entity Christine Lakin
relation place of birth
type administrative territorial entity
['Christine Lakin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Christine_Lakin property:place_of_birth ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3431600
P26
Q502895
USER
Which people are married to Rick Salomon ?
(c(Q502895),P26,Q3431600)
action filter_type
action find
entity Q3431600
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q3431600']
SELECT DISTINCT ?r WHERE { resource:Q3431600 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Rick Salomon
action filter_type
action find
entity Rick Salomon
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Rick Salomon']
SELECT DISTINCT ?r WHERE { resource:Rick_Salomon property:spouse ?r . ?r rdf:type ontology:common_name }
[]
common name
Q258255 Q207598 Q83325
SYSTEM
Elizabeth Daily, Shannen Doherty, Pamela Anderson
Q258255 Q207598 Q83325
(c(Q502895),P26,Q3431600)
action filter_type
action find
entity Q3431600
relation P26
type Q502895
[ANSWERS] are married to Rick Salomon
[{'concept': 'Q502895'}, 'P26', 'Q3431600']
SELECT DISTINCT ?r WHERE { resource:Q3431600 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Elizabeth Daily Shannen Doherty Pamela Anderson
Elizabeth Daily, Shannen Doherty and Pamela Anderson are married to Rick Salomon
Elizabeth Daily Shannen Doherty Pamela Anderson
action filter_type
action find
entity Rick Salomon
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Rick Salomon']
SELECT DISTINCT ?r WHERE { resource:Rick_Salomon property:spouse ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q83325
P170
Q15416
USER
Which television program was created by Pamela Anderson ?
(c(Q15416),P170,Q83325)
action filter_type
action find_reverse
entity Q83325
relation P170
type Q15416
[{'concept': 'Q15416'}, 'P170', 'Q83325']
SELECT DISTINCT ?x WHERE { ?x property:P170 resource:Q83325 . ?x rdf:type ontology:Q15416 }
Pamela Anderson
action filter_type
action find_reverse
entity Pamela Anderson
relation creator
type television program
[{'concept': 'television program'}, 'creator', 'Pamela Anderson']
SELECT DISTINCT ?x WHERE { ?x property:creator resource:Pamela_Anderson . ?x rdf:type ontology:television_program }
[]
television program
Q5321343
SYSTEM
E!'s Pam: Girl on the Loose!
Q5321343
(c(Q15416),P170,Q83325)
action filter_type
action find_reverse
entity Q83325
relation P170
type Q15416
[ANSWER] was created by Pamela Anderson
[{'concept': 'Q15416'}, 'P170', 'Q83325']
SELECT DISTINCT ?x WHERE { ?x property:P170 resource:Q83325 . ?x rdf:type ontology:Q15416 }
E!'s Pam: Girl on the Loose!
E!'s Pam: Girl on the Loose! was created by Pamela Anderson
E!'s Pam: Girl on the Loose!
action filter_type
action find_reverse
entity Pamela Anderson
relation creator
type television program
[{'concept': 'television program'}, 'creator', 'Pamela Anderson']
SELECT DISTINCT ?x WHERE { ?x property:creator resource:Pamela_Anderson . ?x rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5321343
P57
Q502895
USER
Which person served as the directed of that television program ?
(Q5321343,P57,c(Q502895))
action filter_type
action find
entity Q5321343
relation P57
type Q502895
['Q5321343', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q5321343 property:P57 ?z }
E!'s Pam: Girl on the Loose!
action filter_type
action find
entity E!'s Pam: Girl on the Loose!
relation director
type common name
["E!'s Pam: Girl on the Loose!", 'director', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:E!'s_Pam:_Girl_on_the_Loose! property:director ?z }
[]
common name
Q1608663
SYSTEM
Nigel Dick
Q1608663
(Q5321343,P57,c(Q502895))
action filter_type
action find
entity Q5321343
relation P57
type Q502895
[ANSWER] served as the directed of that television program
['Q5321343', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q5321343 property:P57 ?z }
Nigel Dick
Nigel Dick served as the directed of that television program
Nigel Dick
action filter_type
action find
entity E!'s Pam: Girl on the Loose!
relation director
type common name
["E!'s Pam: Girl on the Loose!", 'director', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:E!'s_Pam:_Girl_on_the_Loose! property:director ?z }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q5321343 Q5362035
P170
Q502895
USER
How many people created E!'s Pam: Girl on the Loose! or Elixir ?
(Q5321343,P170,c(Q502895)) (Q5362035,P170,c(Q502895))
action count
action union
action filter_type
action find
entity Q5321343
relation P170
type Q502895
action filter_type
action find
entity Q5362035
relation P170
type Q502895
['Q5321343', 'P170', {'concept': 'Q502895'}] ['Q5362035', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?r property:P170 ?v . VALUES ( ?r ) { ( resource:Q5321343 ) ( resource:Q5362035 ) } }
E!'s Pam: Girl on the Loose! Elixir
action count
action union
action filter_type
action find
entity E!'s Pam: Girl on the Loose!
relation creator
type common name
action filter_type
action find
entity Elixir
relation creator
type common name
["E!'s Pam: Girl on the Loose!", 'creator', {'concept': 'common name'}] ['Elixir', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?r property:creator ?v . VALUES ( ?r ) { ( resource:E!'s_Pam:_Girl_on_the_Loose! ) ( resource:Elixir ) } }
[]
common name
SYSTEM
2
Q20741655 Q83325
(Q5321343,P170,c(Q502895)) (Q5362035,P170,c(Q502895))
action count
action union
action filter_type
action find
entity Q5321343
relation P170
type Q502895
action filter_type
action find
entity Q5362035
relation P170
type Q502895
[ANSWER]
['Q5321343', 'P170', {'concept': 'Q502895'}] ['Q5362035', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?r property:P170 ?v . VALUES ( ?r ) { ( resource:Q5321343 ) ( resource:Q5362035 ) } }
José Valim Pamela Anderson
2
action count
action union
action filter_type
action find
entity E!'s Pam: Girl on the Loose!
relation creator
type common name
action filter_type
action find
entity Elixir
relation creator
type common name
["E!'s Pam: Girl on the Loose!", 'creator', {'concept': 'common name'}] ['Elixir', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?r property:creator ?v . VALUES ( ?r ) { ( resource:E!'s_Pam:_Girl_on_the_Loose! ) ( resource:Elixir ) } }
[]