Simple Question (Direct)
Simple Question
Q3147114
P364
Q34770
USER
Which language was used originally for the creation of I Like Your Nerve ?
(Q3147114,P364,c(Q34770))
action filter_type
action find
entity Q3147114
relation P364
type Q34770
['Q3147114', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q3147114 property:P364 ?y . ?y rdf:type ontology:Q34770 }
I Like Your Nerve
action filter_type
action find
entity I Like Your Nerve
relation original language of work
type language
['I Like Your Nerve', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:I_Like_Your_Nerve property:original_language_of_work ?y . ?y rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3147114,P364,c(Q34770))
action filter_type
action find
entity Q3147114
relation P364
type Q34770
[ANSWER] was used originally for the creation of I Like Your Nerve
['Q3147114', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q3147114 property:P364 ?y . ?y rdf:type ontology:Q34770 }
English
English was used originally for the creation of I Like Your Nerve
English
action filter_type
action find
entity I Like Your Nerve
relation original language of work
type language
['I Like Your Nerve', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:I_Like_Your_Nerve property:original_language_of_work ?y . ?y rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3147114
P161
Q502895
USER
Which people starred in I Like Your Nerve ?
(Q3147114,P161,c(Q502895))
action filter_type
action find
entity Q3147114
relation P161
type Q502895
['Q3147114', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3147114 property:P161 ?g . ?g rdf:type ontology:Q502895 }
I Like Your Nerve
action filter_type
action find
entity I Like Your Nerve
relation cast member
type common name
['I Like Your Nerve', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:I_Like_Your_Nerve property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
common name
Q253384 Q528428 Q203219
SYSTEM
Loretta Young, Douglas Fairbanks Jr, Boris Karloff
Q203219 Q1158727 Q5339316 Q528428 Q2976624 Q253384
(Q3147114,P161,c(Q502895))
action filter_type
action find
entity Q3147114
relation P161
type Q502895
[ANSWERS] starred in I Like Your Nerve
['Q3147114', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3147114 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Boris Karloff Henry Kolker Edmund Breon Douglas Fairbanks Jr Claud Allister Loretta Young
Loretta Young, Douglas Fairbanks Jr and Boris Karloff starred in I Like Your Nerve
Loretta Young Douglas Fairbanks Jr Boris Karloff
action filter_type
action find
entity I Like Your Nerve
relation cast member
type common name
['I Like Your Nerve', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:I_Like_Your_Nerve property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q12737077 Q28640
USER
How many occupations or professions are the professions of that person ?
(Q528428,P106,c(Q12737077)) (Q528428,P106,c(Q28640)) (Q253384,P106,c(Q12737077)) (Q253384,P106,c(Q28640)) (Q528428,P106,c(Q12737077)) (Q528428,P106,c(Q28640)) (Q203219,P106,c(Q12737077)) (Q203219,P106,c(Q28640))
['Q528428', 'P106', {'concept': 'Q12737077'}] ['Q528428', 'P106', {'concept': 'Q28640'}] ['Q253384', 'P106', {'concept': 'Q12737077'}] ['Q253384', 'P106', {'concept': 'Q28640'}] ['Q528428', 'P106', {'concept': 'Q12737077'}] ['Q528428', 'P106', {'concept': 'Q28640'}] ['Q203219', 'P106', {'concept': 'Q12737077'}] ['Q203219', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q528428 property:Q528892 ?z } UNION { resource:Q528428 property:Q528892 ?y } UNION { resource:Q253384 property:Q528892 ?z } UNION { resource:Q253384 property:Q528892 ?y } UNION { resource:Q528428 property:Q528892 ?z } UNION { resource:Q528428 property:Q528892 ?y } UNION { resource:Q203219 property:Q528892 ?z } UNION { resource:Q203219 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q28640 }
['Douglas Fairbanks Jr', 'occupation', {'concept': 'occupation'}] ['Douglas Fairbanks Jr', 'occupation', {'concept': 'profession'}] ['Loretta Young', 'occupation', {'concept': 'occupation'}] ['Loretta Young', 'occupation', {'concept': 'profession'}] ['Douglas Fairbanks Jr', 'occupation', {'concept': 'occupation'}] ['Douglas Fairbanks Jr', 'occupation', {'concept': 'profession'}] ['Boris Karloff', 'occupation', {'concept': 'occupation'}] ['Boris Karloff', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Douglas_Fairbanks_Jr property:occupation ?z } UNION { resource:Douglas_Fairbanks_Jr property:occupation ?y } UNION { resource:Loretta_Young property:occupation ?z } UNION { resource:Loretta_Young property:occupation ?y } UNION { resource:Douglas_Fairbanks_Jr property:occupation ?z } UNION { resource:Douglas_Fairbanks_Jr property:occupation ?y } UNION { resource:Boris_Karloff property:occupation ?z } UNION { resource:Boris_Karloff property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:profession }
[]
occupation profession
Quantitative|Count|Mult. entity type|Clarification
Q528428
SYSTEM
Did you mean Douglas Fairbanks Jr ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q528428 property:Q528892 ?z } UNION { resource:Q528428 property:Q528892 ?y } UNION { resource:Q253384 property:Q528892 ?z } UNION { resource:Q253384 property:Q528892 ?y } UNION { resource:Q528428 property:Q528892 ?z } UNION { resource:Q528428 property:Q528892 ?y } UNION { resource:Q203219 property:Q528892 ?z } UNION { resource:Q203219 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q28640 }
Did you mean Douglas Fairbanks Jr ?
Douglas Fairbanks Jr
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Douglas_Fairbanks_Jr property:occupation ?z } UNION { resource:Douglas_Fairbanks_Jr property:occupation ?y } UNION { resource:Loretta_Young property:occupation ?z } UNION { resource:Loretta_Young property:occupation ?y } UNION { resource:Douglas_Fairbanks_Jr property:occupation ?z } UNION { resource:Douglas_Fairbanks_Jr property:occupation ?y } UNION { resource:Boris_Karloff property:occupation ?z } UNION { resource:Boris_Karloff property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:profession }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q528428,P106,c(Q12737077)) (Q528428,P106,c(Q28640)) (Q253384,P106,c(Q12737077)) (Q253384,P106,c(Q28640)) (Q528428,P106,c(Q12737077)) (Q528428,P106,c(Q28640)) (Q203219,P106,c(Q12737077)) (Q203219,P106,c(Q28640))
['Q528428', 'P106', {'concept': 'Q12737077'}] ['Q528428', 'P106', {'concept': 'Q28640'}] ['Q253384', 'P106', {'concept': 'Q12737077'}] ['Q253384', 'P106', {'concept': 'Q28640'}] ['Q528428', 'P106', {'concept': 'Q12737077'}] ['Q528428', 'P106', {'concept': 'Q28640'}] ['Q203219', 'P106', {'concept': 'Q12737077'}] ['Q203219', 'P106', {'concept': 'Q28640'}]
['Douglas Fairbanks Jr', 'occupation', {'concept': 'occupation'}] ['Douglas Fairbanks Jr', 'occupation', {'concept': 'profession'}] ['Loretta Young', 'occupation', {'concept': 'occupation'}] ['Loretta Young', 'occupation', {'concept': 'profession'}] ['Douglas Fairbanks Jr', 'occupation', {'concept': 'occupation'}] ['Douglas Fairbanks Jr', 'occupation', {'concept': 'profession'}] ['Boris Karloff', 'occupation', {'concept': 'occupation'}] ['Boris Karloff', 'occupation', {'concept': 'profession'}]
[]
SYSTEM
3
Q33999 Q28389 Q189290
(Q528428,P106,c(Q12737077)) (Q528428,P106,c(Q28640)) (Q253384,P106,c(Q12737077)) (Q253384,P106,c(Q28640)) (Q528428,P106,c(Q12737077)) (Q528428,P106,c(Q28640)) (Q203219,P106,c(Q12737077)) (Q203219,P106,c(Q28640))
[ANSWER]
['Q528428', 'P106', {'concept': 'Q12737077'}] ['Q528428', 'P106', {'concept': 'Q28640'}] ['Q253384', 'P106', {'concept': 'Q12737077'}] ['Q253384', 'P106', {'concept': 'Q28640'}] ['Q528428', 'P106', {'concept': 'Q12737077'}] ['Q528428', 'P106', {'concept': 'Q28640'}] ['Q203219', 'P106', {'concept': 'Q12737077'}] ['Q203219', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q528428 property:Q528892 ?z } UNION { resource:Q528428 property:Q528892 ?y } UNION { resource:Q253384 property:Q528892 ?z } UNION { resource:Q253384 property:Q528892 ?y } UNION { resource:Q528428 property:Q528892 ?z } UNION { resource:Q528428 property:Q528892 ?y } UNION { resource:Q203219 property:Q528892 ?z } UNION { resource:Q203219 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q28640 }
actor screenwriter officer
3
['Douglas Fairbanks Jr', 'occupation', {'concept': 'occupation'}] ['Douglas Fairbanks Jr', 'occupation', {'concept': 'profession'}] ['Loretta Young', 'occupation', {'concept': 'occupation'}] ['Loretta Young', 'occupation', {'concept': 'profession'}] ['Douglas Fairbanks Jr', 'occupation', {'concept': 'occupation'}] ['Douglas Fairbanks Jr', 'occupation', {'concept': 'profession'}] ['Boris Karloff', 'occupation', {'concept': 'occupation'}] ['Boris Karloff', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Douglas_Fairbanks_Jr property:occupation ?z } UNION { resource:Douglas_Fairbanks_Jr property:occupation ?y } UNION { resource:Loretta_Young property:occupation ?z } UNION { resource:Loretta_Young property:occupation ?y } UNION { resource:Douglas_Fairbanks_Jr property:occupation ?z } UNION { resource:Douglas_Fairbanks_Jr property:occupation ?y } UNION { resource:Boris_Karloff property:occupation ?z } UNION { resource:Boris_Karloff property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q253384
P40
Q502895
USER
Which people are children of Loretta Young ?
(Q253384,P40,c(Q502895))
action filter_type
action find
entity Q253384
relation P40
type Q502895
['Q253384', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q253384 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Loretta Young
action filter_type
action find
entity Loretta Young
relation child
type common name
['Loretta Young', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Loretta_Young property:child ?k . ?k rdf:type ontology:common_name }
[]
common name
Q5112733 Q1622354 Q7175449
SYSTEM
Christopher Lewis, Judy Lewis, Peter Lewis
Q5112733 Q1622354 Q7175449
(Q253384,P40,c(Q502895))
action filter_type
action find
entity Q253384
relation P40
type Q502895
[ANSWERS] are children of Loretta Young
['Q253384', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q253384 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Christopher Lewis Judy Lewis Peter Lewis
Christopher Lewis, Judy Lewis and Peter Lewis are children of Loretta Young
Christopher Lewis Judy Lewis Peter Lewis
action filter_type
action find
entity Loretta Young
relation child
type common name
['Loretta Young', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Loretta_Young property:child ?k . ?k rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5112733
P7
Q502895
USER
Who are that one a brother of ?
(c(Q502895),P7,Q5112733)
action filter_type
action find_reverse
entity Q5112733
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q5112733']
SELECT DISTINCT ?b WHERE { ?b property:P7 resource:Q5112733 . ?b rdf:type ontology:Q502895 }
Christopher Lewis
action filter_type
action find_reverse
entity Christopher Lewis
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Christopher Lewis']
SELECT DISTINCT ?b WHERE { ?b property:brother resource:Christopher_Lewis . ?b rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q7175449
SYSTEM
Did you mean Peter Lewis ?
Q5112733 Q1622354 Q7175449
(c(Q502895),P7,Q5112733) (c(Q502895),P7,Q1622354) (c(Q502895),P7,Q7175449)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q5112733'] [{'concept': 'Q502895'}, 'P7', 'Q1622354'] [{'concept': 'Q502895'}, 'P7', 'Q7175449']
SELECT DISTINCT ?b WHERE { ?b property:P7 resource:Q5112733 . ?b rdf:type ontology:Q502895 }
Christopher Lewis Judy Lewis Peter Lewis
Did you mean Peter Lewis ?
Peter Lewis
[{'concept': 'common name'}, 'brother', 'Christopher Lewis'] [{'concept': 'common name'}, 'brother', 'Judy Lewis'] [{'concept': 'common name'}, 'brother', 'Peter Lewis']
SELECT DISTINCT ?b WHERE { ?b property:brother resource:Christopher_Lewis . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Christopher Lewis. Could you tell me the answer for that?
(c(Q502895),P7,Q5112733)
Q5112733
[{'concept': 'Q502895'}, 'P7', 'Q5112733']
[{'concept': 'common name'}, 'brother', 'Christopher Lewis']
[]
Q1622354 Q7175449
SYSTEM
Judy Lewis, Peter Lewis
Q1622354 Q7175449
(c(Q502895),P7,Q5112733)
action filter_type
action find_reverse
entity Q5112733
relation P7
type Q502895
That one a brother of are the [ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q5112733']
SELECT DISTINCT ?b WHERE { ?b property:P7 resource:Q5112733 . ?b rdf:type ontology:Q502895 }
Judy Lewis Peter Lewis
That one a brother of are the Judy Lewis and Peter Lewis
Judy Lewis Peter Lewis
action filter_type
action find_reverse
entity Christopher Lewis
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Christopher Lewis']
SELECT DISTINCT ?b WHERE { ?b property:brother resource:Christopher_Lewis . ?b rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1622354
P7
Q502895
USER
Who have that one as their brother ?
(Q1622354,P7,c(Q502895))
action filter_type
action find
entity Q1622354
relation P7
type Q502895
['Q1622354', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q1622354 property:P7 ?i }
Judy Lewis
action filter_type
action find
entity Judy Lewis
relation brother
type common name
['Judy Lewis', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Judy_Lewis property:brother ?i }
[]
common name
Clarification for simple ques.
Q7175449
SYSTEM
Did you mean Peter Lewis ?
Q1622354 Q7175449
(Q1622354,P7,c(Q502895)) (Q7175449,P7,c(Q502895))
[ANSWER]
['Q1622354', 'P7', {'concept': 'Q502895'}] ['Q7175449', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q1622354 property:P7 ?i }
Judy Lewis Peter Lewis
Did you mean Peter Lewis ?
Peter Lewis
['Judy Lewis', 'brother', {'concept': 'common name'}] ['Peter Lewis', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Judy_Lewis property:brother ?i }
[]
Simple Question (Coreferenced)
USER
No, I meant Judy Lewis. Could you tell me the answer for that?
(Q1622354,P7,c(Q502895))
Q1622354
['Q1622354', 'P7', {'concept': 'Q502895'}]
['Judy Lewis', 'brother', {'concept': 'common name'}]
[]
Q3181235 Q5112733 Q15302241
SYSTEM
John Clark Gable, Christopher Lewis, Bunker Spreckels
Q3181235 Q5112733 Q15302241 Q7175449
(Q1622354,P7,c(Q502895))
action filter_type
action find
entity Q1622354
relation P7
type Q502895
[ANSWERS] have that one as their brother
['Q1622354', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q1622354 property:P7 ?i }
John Clark Gable Christopher Lewis Bunker Spreckels Peter Lewis
John Clark Gable, Christopher Lewis and Bunker Spreckels have that one as their brother
John Clark Gable Christopher Lewis Bunker Spreckels
action filter_type
action find
entity Judy Lewis
relation brother
type common name
['Judy Lewis', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Judy_Lewis property:brother ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1622354
P9
Q502895
USER
How many people had Judy Lewis as their sibling ?
(c(Q502895),P9,Q1622354)
action count
action filter_type
action find_reverse
entity Q1622354
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q1622354']
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P9 resource:Q1622354 . ?l rdf:type ontology:Q502895 }
Judy Lewis
action count
action filter_type
action find_reverse
entity Judy Lewis
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Judy Lewis']
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:sister resource:Judy_Lewis . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q15302241 Q7175449 Q3181235 Q5112733
(c(Q502895),P9,Q1622354)
action count
action filter_type
action find_reverse
entity Q1622354
relation P9
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P9', 'Q1622354']
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P9 resource:Q1622354 . ?l rdf:type ontology:Q502895 }
Bunker Spreckels Peter Lewis John Clark Gable Christopher Lewis
4
action count
action filter_type
action find_reverse
entity Judy Lewis
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Judy Lewis']
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:sister resource:Judy_Lewis . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1622354
P9
Q502895
USER
Which people had Judy Lewis as sister ?
(c(Q502895),P9,Q1622354)
action filter_type
action find_reverse
entity Q1622354
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q1622354']
SELECT DISTINCT ?x WHERE { ?x property:P9 resource:Q1622354 . ?x rdf:type ontology:Q502895 }
Judy Lewis
action filter_type
action find_reverse
entity Judy Lewis
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Judy Lewis']
SELECT DISTINCT ?x WHERE { ?x property:sister resource:Judy_Lewis . ?x rdf:type ontology:common_name }
[]
common name
Q3181235 Q5112733 Q7175449
SYSTEM
John Clark Gable, Christopher Lewis, Peter Lewis
Q3181235 Q5112733 Q7175449 Q15302241
(c(Q502895),P9,Q1622354)
action filter_type
action find_reverse
entity Q1622354
relation P9
type Q502895
[ANSWERS] had Judy Lewis as sister
[{'concept': 'Q502895'}, 'P9', 'Q1622354']
SELECT DISTINCT ?x WHERE { ?x property:P9 resource:Q1622354 . ?x rdf:type ontology:Q502895 }
John Clark Gable Christopher Lewis Peter Lewis Bunker Spreckels
John Clark Gable, Christopher Lewis and Peter Lewis had Judy Lewis as sister
John Clark Gable Christopher Lewis Peter Lewis
action filter_type
action find_reverse
entity Judy Lewis
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Judy Lewis']
SELECT DISTINCT ?x WHERE { ?x property:sister resource:Judy_Lewis . ?x rdf:type ontology:common_name }
[]