Simple Question (Direct)
Simple Question
Q660190
P162
Q502895
USER
Which person produced The Big Mouth ?
(Q660190,P162,c(Q502895))
action filter_type
action find
entity Q660190
relation P162
type Q502895
['Q660190', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q660190 property:P162 ?u }
The Big Mouth
action filter_type
action find
entity The Big Mouth
relation producer
type common name
['The Big Mouth', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:The_Big_Mouth property:producer ?u }
[]
common name
Q294927
SYSTEM
Jerry Lewis
Q294927
(Q660190,P162,c(Q502895))
action filter_type
action find
entity Q660190
relation P162
type Q502895
The [ANSWER] produced The Big Mouth
['Q660190', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q660190 property:P162 ?u }
Jerry Lewis
The Jerry Lewis produced The Big Mouth
Jerry Lewis
action filter_type
action find
entity The Big Mouth
relation producer
type common name
['The Big Mouth', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:The_Big_Mouth property:producer ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q294927
P264
Q334453
USER
Which division is the record brand of that person ?
(Q294927,P264,c(Q334453))
action filter_type
action find
entity Q294927
relation P264
type Q334453
['Q294927', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?h WHERE { resource:Q294927 property:P264 ?h . ?h rdf:type ontology:Q334453 }
Jerry Lewis
action filter_type
action find
entity Jerry Lewis
relation record label
type division
['Jerry Lewis', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?h WHERE { resource:Jerry_Lewis property:record_label ?h . ?h rdf:type ontology:division }
[]
division
Q557632
SYSTEM
Decca Records
Q557632
(Q294927,P264,c(Q334453))
action filter_type
action find
entity Q294927
relation P264
type Q334453
[ANSWER] is the record brand of that person
['Q294927', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?h WHERE { resource:Q294927 property:P264 ?h . ?h rdf:type ontology:Q334453 }
Decca Records
Decca Records is the record brand of that person
Decca Records
action filter_type
action find
entity Jerry Lewis
relation record label
type division
['Jerry Lewis', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?h WHERE { resource:Jerry_Lewis property:record_label ?h . ?h rdf:type ontology:division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3236722 Q294927
P57
Q838948
USER
Which works of art did Jerry Lewis or Leslie S. Hiscott direct ?
OR((c(Q838948),P57,Q294927), (c(Q838948),P57,Q3236722))
action filter_type
action union
action find_reverse
entity Q294927
relation P57
action find_reverse
entity Q3236722
relation P57
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q294927'], [{'concept': 'Q838948'}, 'P57', 'Q3236722']]}
SELECT DISTINCT ?o WHERE { { { ?o property:P57 resource:Q3236722 } UNION { ?o property:P57 resource:Q294927 } } . ?o rdf:type ontology:Q838948 }
Leslie S. Hiscott Jerry Lewis
action filter_type
action union
action find_reverse
entity Jerry Lewis
relation director
action find_reverse
entity Leslie S. Hiscott
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'Jerry Lewis'], [{'concept': 'work of art'}, 'director', 'Leslie S. Hiscott']]}
SELECT DISTINCT ?o WHERE { { { ?o property:director resource:Leslie_S._Hiscott } UNION { ?o property:director resource:Jerry_Lewis } } . ?o rdf:type ontology:work_of_art }
[]
work of art
Q7720781 Q21528159 Q660190 Q16947281 Q5260104 Q7717802 Q5247617 Q1167792 Q32228 Q1984921
SYSTEM
Some of them are The Butler's Dilemma, Three Witnesses, The Big Mouth, Gay Love, Department Store, The Big Splash, Death on the Set, The Family Jewels, The Nutty Professor, The Bellboy
Q7733024 Q7750936 Q1984921 Q1192737 Q7091772 Q2394537 Q7717802 Q4261775 Q3283775 Q19599095 Q7749874 Q4812585 Q27590154 Q5600050 Q27590151 Q7756254 Q1167792 Q7751746 Q5247617 Q32228 Q5021648 Q1213432 Q21528159 Q16947281 Q6037984 Q17060795 Q7821655 Q5457774 Q7334902 Q7764787 Q6937698 Q7740665 Q7710988 Q7992657 Q7720781 Q717479 Q7623782 Q7728153 Q7387252 Q5450073 Q5299718 Q7769350 Q7396304 Q1646487 Q6382981 Q4660135 Q7766571 Q7766515 Q7033619 Q7142651 Q7763489 Q7733604 Q4273984 Q7750402 Q12124979 Q1290897 Q4659320 Q5260104 Q7770293 Q7492059 Q3282972 Q4976280 Q25136373 Q12124788 Q660190 Q7742614 Q7980584 Q4656768
OR((c(Q838948),P57,Q294927), (c(Q838948),P57,Q3236722))
action filter_type
action union
action find_reverse
entity Q294927
relation P57
action find_reverse
entity Q3236722
relation P57
type Q838948
Jerry Lewis or Leslie S. Hiscott directed [ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q294927'], [{'concept': 'Q838948'}, 'P57', 'Q3236722']]}
SELECT DISTINCT ?o WHERE { { { ?o property:P57 resource:Q3236722 } UNION { ?o property:P57 resource:Q294927 } } . ?o rdf:type ontology:Q838948 }
The Face at the Window The Melody-Maker The Bellboy The Errand Boy Once Bitten The Ladies Man The Big Splash Black Coffee Which Way to the Front? Millions The Man I Want At the Villa Rose Annie, Leave the Room! Great Stuff Ship's Concert The Passing of Mr. Quinn The Family Jewels The Missing Rembrandt Death on the Set The Nutty Professor Call of the Sea The Patsy Three Witnesses Gay Love Inside the Room The Interrupted Honeymoon Tons of Trouble Flat Number Three Ringing the Changes The Sleeping Cardinal Murder at Covent Garden The House of the Arrow That's My Wife When London Sleeps The Butler's Dilemma One More Time Strike It Rich The Crooked Lady S.O.S. Fine Feathers Double Dealing The Time of His Life Sabotage at Sea Three on a Couch Keep It Quiet A Tight Corner The Stolen Necklace The Stickpin Night in Montmartre Passing Shadows The Seventh Survivor The Feather Alibi The Marriage Business I'll Stick to You Hardly Working A Safe Proposition Department Store The Triumph of Sherlock Holmes She Shall Have Music Cracking Up Brown Sugar Fame His Grace Gives Notice The Big Mouth The Iron Stair Welcome, Mr. Washington A Fire Has Been Arranged
Jerry Lewis or Leslie S. Hiscott directed The Butler's Dilemma, Three Witnesses, The Big Mouth, Gay Love, Department Store, The Big Splash, Death on the Set, The Family Jewels, The Nutty Professor and The Bellboy
The Butler's Dilemma Three Witnesses The Big Mouth Gay Love Department Store The Big Splash Death on the Set The Family Jewels The Nutty Professor The Bellboy
action filter_type
action union
action find_reverse
entity Jerry Lewis
relation director
action find_reverse
entity Leslie S. Hiscott
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'Jerry Lewis'], [{'concept': 'work of art'}, 'director', 'Leslie S. Hiscott']]}
SELECT DISTINCT ?o WHERE { { { ?o property:director resource:Leslie_S._Hiscott } UNION { ?o property:director resource:Jerry_Lewis } } . ?o rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7720781 Q21528159 Q660190 Q16947281 Q5260104 Q7717802 Q5247617 Q1167792 Q32228 Q1984921
P364
Q34770
USER
Which languages are the original languages of creation of The Butler's Dilemma, Three Witnesses, The Big Mouth, Gay Love, Department Store, The Big Splash, Death on the Set, The Family Jewels, The Nutty Professor and The Bellboy ?
(Q7720781,P364,c(Q34770)) (Q21528159,P364,c(Q34770)) (Q660190,P364,c(Q34770)) (Q16947281,P364,c(Q34770)) (Q5260104,P364,c(Q34770)) (Q7717802,P364,c(Q34770)) (Q5247617,P364,c(Q34770)) (Q1167792,P364,c(Q34770)) (Q32228,P364,c(Q34770)) (Q1984921,P364,c(Q34770))
action union
action filter_type
action find
entity Q7720781
relation P364
type Q34770
action filter_type
action find
entity Q21528159
relation P364
type Q34770
action filter_type
action find
entity Q660190
relation P364
type Q34770
action filter_type
action find
entity Q16947281
relation P364
type Q34770
action filter_type
action find
entity Q5260104
relation P364
type Q34770
action filter_type
action find
entity Q7717802
relation P364
type Q34770
action filter_type
action find
entity Q5247617
relation P364
type Q34770
action filter_type
action find
entity Q1167792
relation P364
type Q34770
action filter_type
action find
entity Q32228
relation P364
type Q34770
action filter_type
action find
entity Q1984921
relation P364
type Q34770
['Q7720781', 'P364', {'concept': 'Q34770'}] ['Q21528159', 'P364', {'concept': 'Q34770'}] ['Q660190', 'P364', {'concept': 'Q34770'}] ['Q16947281', 'P364', {'concept': 'Q34770'}] ['Q5260104', 'P364', {'concept': 'Q34770'}] ['Q7717802', 'P364', {'concept': 'Q34770'}] ['Q5247617', 'P364', {'concept': 'Q34770'}] ['Q1167792', 'P364', {'concept': 'Q34770'}] ['Q32228', 'P364', {'concept': 'Q34770'}] ['Q1984921', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { { resource:Q7720781 property:P364 ?d . ?d rdf:type ontology:Q34770 } UNION { resource:Q21528159 property:P364 ?d . ?d rdf:type ontology:Q34770 } }
The Butler's Dilemma Three Witnesses The Big Mouth Gay Love Department Store The Big Splash Death on the Set The Family Jewels The Nutty Professor The Bellboy
action union
action filter_type
action find
entity The Butler's Dilemma
relation original language of work
type language
action filter_type
action find
entity Three Witnesses
relation original language of work
type language
action filter_type
action find
entity The Big Mouth
relation original language of work
type language
action filter_type
action find
entity Gay Love
relation original language of work
type language
action filter_type
action find
entity Department Store
relation original language of work
type language
action filter_type
action find
entity The Big Splash
relation original language of work
type language
action filter_type
action find
entity Death on the Set
relation original language of work
type language
action filter_type
action find
entity The Family Jewels
relation original language of work
type language
action filter_type
action find
entity The Nutty Professor
relation original language of work
type language
action filter_type
action find
entity The Bellboy
relation original language of work
type language
["The Butler's Dilemma", 'original language of work', {'concept': 'language'}] ['Three Witnesses', 'original language of work', {'concept': 'language'}] ['The Big Mouth', 'original language of work', {'concept': 'language'}] ['Gay Love', 'original language of work', {'concept': 'language'}] ['Department Store', 'original language of work', {'concept': 'language'}] ['The Big Splash', 'original language of work', {'concept': 'language'}] ['Death on the Set', 'original language of work', {'concept': 'language'}] ['The Family Jewels', 'original language of work', {'concept': 'language'}] ['The Nutty Professor', 'original language of work', {'concept': 'language'}] ['The Bellboy', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { { resource:The_Butler's_Dilemma property:original_language_of_work ?d . ?d rdf:type ontology:language } UNION { resource:Three_Witnesses property:original_language_of_work ?d . ?d rdf:type ontology:language } }
[]
language
Q1860 Q1860 Q1860
SYSTEM
English
Q1860 Q1860 Q1860 Q1860 Q1860 Q1860 Q1860 Q1860 Q1860 Q1860
(Q7720781,P364,c(Q34770)) (Q21528159,P364,c(Q34770)) (Q660190,P364,c(Q34770)) (Q16947281,P364,c(Q34770)) (Q5260104,P364,c(Q34770)) (Q7717802,P364,c(Q34770)) (Q5247617,P364,c(Q34770)) (Q1167792,P364,c(Q34770)) (Q32228,P364,c(Q34770)) (Q1984921,P364,c(Q34770))
action union
action filter_type
action find
entity Q7720781
relation P364
type Q34770
action filter_type
action find
entity Q21528159
relation P364
type Q34770
action filter_type
action find
entity Q660190
relation P364
type Q34770
action filter_type
action find
entity Q16947281
relation P364
type Q34770
action filter_type
action find
entity Q5260104
relation P364
type Q34770
action filter_type
action find
entity Q7717802
relation P364
type Q34770
action filter_type
action find
entity Q5247617
relation P364
type Q34770
action filter_type
action find
entity Q1167792
relation P364
type Q34770
action filter_type
action find
entity Q32228
relation P364
type Q34770
action filter_type
action find
entity Q1984921
relation P364
type Q34770
[ANSWER], [ANSWER] and [ANSWER] are the original languages of creation of The Butler's Dilemma, Three Witnesses, The Big Mouth, Gay Love, Department Store, The Big Splash, Death on the Set, The Family Jewels, The Nutty Professor and The Bellboy
['Q7720781', 'P364', {'concept': 'Q34770'}] ['Q21528159', 'P364', {'concept': 'Q34770'}] ['Q660190', 'P364', {'concept': 'Q34770'}] ['Q16947281', 'P364', {'concept': 'Q34770'}] ['Q5260104', 'P364', {'concept': 'Q34770'}] ['Q7717802', 'P364', {'concept': 'Q34770'}] ['Q5247617', 'P364', {'concept': 'Q34770'}] ['Q1167792', 'P364', {'concept': 'Q34770'}] ['Q32228', 'P364', {'concept': 'Q34770'}] ['Q1984921', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { { resource:Q7720781 property:P364 ?d . ?d rdf:type ontology:Q34770 } UNION { resource:Q21528159 property:P364 ?d . ?d rdf:type ontology:Q34770 } }
English English English English English English English English English English
English, English and English are the original languages of creation of The Butler's Dilemma, Three Witnesses, The Big Mouth, Gay Love, Department Store, The Big Splash, Death on the Set, The Family Jewels, The Nutty Professor and The Bellboy
English English English
action union
action filter_type
action find
entity The Butler's Dilemma
relation original language of work
type language
action filter_type
action find
entity Three Witnesses
relation original language of work
type language
action filter_type
action find
entity The Big Mouth
relation original language of work
type language
action filter_type
action find
entity Gay Love
relation original language of work
type language
action filter_type
action find
entity Department Store
relation original language of work
type language
action filter_type
action find
entity The Big Splash
relation original language of work
type language
action filter_type
action find
entity Death on the Set
relation original language of work
type language
action filter_type
action find
entity The Family Jewels
relation original language of work
type language
action filter_type
action find
entity The Nutty Professor
relation original language of work
type language
action filter_type
action find
entity The Bellboy
relation original language of work
type language
["The Butler's Dilemma", 'original language of work', {'concept': 'language'}] ['Three Witnesses', 'original language of work', {'concept': 'language'}] ['The Big Mouth', 'original language of work', {'concept': 'language'}] ['Gay Love', 'original language of work', {'concept': 'language'}] ['Department Store', 'original language of work', {'concept': 'language'}] ['The Big Splash', 'original language of work', {'concept': 'language'}] ['Death on the Set', 'original language of work', {'concept': 'language'}] ['The Family Jewels', 'original language of work', {'concept': 'language'}] ['The Nutty Professor', 'original language of work', {'concept': 'language'}] ['The Bellboy', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { { resource:The_Butler's_Dilemma property:original_language_of_work ?d . ?d rdf:type ontology:language } UNION { resource:Three_Witnesses property:original_language_of_work ?d . ?d rdf:type ontology:language } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q294927
P106
Q12737077
USER
What are the job of Jerry Lewis ?
(Q294927,P106,c(Q12737077))
action filter_type
action find
entity Q294927
relation P106
type Q12737077
['Q294927', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q294927 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Jerry Lewis
action filter_type
action find
entity Jerry Lewis
relation occupation
type occupation
['Jerry Lewis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Jerry_Lewis property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q10798782 Q2259451 Q177220
SYSTEM
television actor, stage actor, singer
Q488205 Q2259451 Q177220 Q639669 Q10798782 Q33999 Q36180
(Q294927,P106,c(Q12737077))
action filter_type
action find
entity Q294927
relation P106
type Q12737077
The job of Jerry Lewis are a [ANSWERS]
['Q294927', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q294927 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
singer-songwriter stage actor singer musician television actor actor writer
The job of Jerry Lewis are a television actor, stage actor and singer
television actor stage actor singer
action filter_type
action find
entity Jerry Lewis
relation occupation
type occupation
['Jerry Lewis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Jerry_Lewis property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18821845
Q12737077
USER
And how about Richard Walpole?
(Q18821845,P106,c(Q12737077))
action filter_type
action find
entity Q18821845
relation P106
type Q12737077
['Q18821845', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q18821845 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Richard Walpole
action filter_type
action find
entity Richard Walpole
relation occupation
type occupation
['Richard Walpole', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Richard_Walpole property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q250867
SYSTEM
Catholic priest
Q250867
(Q18821845,P106,c(Q12737077))
action filter_type
action find
entity Q18821845
relation P106
type Q12737077
[ANSWER]
['Q18821845', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q18821845 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Catholic priest
Catholic priest
action filter_type
action find
entity Richard Walpole
relation occupation
type occupation
['Richard Walpole', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Richard_Walpole property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q250867
P180
Q3305213
USER
Which painting demonstrates that occupation ?
(c(Q3305213),P180,Q250867)
action filter_type
action find_reverse
entity Q250867
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q250867']
SELECT DISTINCT ?o WHERE { ?o property:P180 resource:Q250867 . ?o rdf:type ontology:Q3305213 }
Catholic priest
action filter_type
action find_reverse
entity Catholic priest
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Catholic priest']
SELECT DISTINCT ?o WHERE { ?o property:depicts resource:Catholic_priest . ?o rdf:type ontology:painting }
[]
painting
Q24039998
SYSTEM
Roman Street Scene
Q24039998
(c(Q3305213),P180,Q250867)
action filter_type
action find_reverse
entity Q250867
relation P180
type Q3305213
[ANSWER] demonstrates that occupation
[{'concept': 'Q3305213'}, 'P180', 'Q250867']
SELECT DISTINCT ?o WHERE { ?o property:P180 resource:Q250867 . ?o rdf:type ontology:Q3305213 }
Roman Street Scene
Roman Street Scene demonstrates that occupation
Roman Street Scene
action filter_type
action find_reverse
entity Catholic priest
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Catholic priest']
SELECT DISTINCT ?o WHERE { ?o property:depicts resource:Catholic_priest . ?o rdf:type ontology:painting }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5982815 Q294927
P19
Q56061
USER
Which administrative territories are the places of birth of Jerry Lewis or Ian Sagar ?
OR((Q294927,P19,c(Q56061)), (Q5982815,P19,c(Q56061)))
action filter_type
action union
action find
entity Q294927
relation P19
action find
entity Q5982815
relation P19
type Q56061
{'OR': [['Q294927', 'P19', {'concept': 'Q56061'}], ['Q5982815', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q294927 property:P19 ?j } UNION { resource:Q5982815 property:P19 ?j } } . ?j rdf:type ontology:Q56061 }
Ian Sagar Jerry Lewis
action filter_type
action union
action find
entity Jerry Lewis
relation place of birth
action find
entity Ian Sagar
relation place of birth
type administrative territorial entity
{'OR': [['Jerry Lewis', 'place of birth', {'concept': 'administrative territorial entity'}], ['Ian Sagar', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Jerry_Lewis property:place_of_birth ?j } UNION { resource:Ian_Sagar property:place_of_birth ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q42448 Q25395
SYSTEM
Sheffield, Newark
Q42448 Q25395
OR((Q294927,P19,c(Q56061)), (Q5982815,P19,c(Q56061)))
action filter_type
action union
action find
entity Q294927
relation P19
action find
entity Q5982815
relation P19
type Q56061
[ANSWERS] are the places of birth of Jerry Lewis or Ian Sagar
{'OR': [['Q294927', 'P19', {'concept': 'Q56061'}], ['Q5982815', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q294927 property:P19 ?j } UNION { resource:Q5982815 property:P19 ?j } } . ?j rdf:type ontology:Q56061 }
Sheffield Newark
Sheffield and Newark are the places of birth of Jerry Lewis or Ian Sagar
Sheffield Newark
action filter_type
action union
action find
entity Jerry Lewis
relation place of birth
action find
entity Ian Sagar
relation place of birth
type administrative territorial entity
{'OR': [['Jerry Lewis', 'place of birth', {'concept': 'administrative territorial entity'}], ['Ian Sagar', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Jerry_Lewis property:place_of_birth ?j } UNION { resource:Ian_Sagar property:place_of_birth ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q25395
P1001
Q12737077
USER
Which occupation has jurisdiction over that administrative territory ?
(c(Q12737077),P1001,Q25395)
action filter_type
action find_reverse
entity Q25395
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q25395']
SELECT DISTINCT ?n WHERE { ?n property:P1001 resource:Q25395 . ?n rdf:type ontology:Q12737077 }
Newark
action filter_type
action find_reverse
entity Newark
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Newark']
SELECT DISTINCT ?n WHERE { ?n property:applies_to_jurisdiction resource:Newark . ?n rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q42448
SYSTEM
Did you mean Sheffield ?
Q42448 Q25395
(c(Q12737077),P1001,Q42448) (c(Q12737077),P1001,Q25395)
[ANSWER]
[{'concept': 'Q12737077'}, 'P1001', 'Q42448'] [{'concept': 'Q12737077'}, 'P1001', 'Q25395']
SELECT DISTINCT ?n WHERE { ?n property:P1001 resource:Q25395 . ?n rdf:type ontology:Q12737077 }
Sheffield Newark
Did you mean Sheffield ?
Sheffield
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Sheffield'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Newark']
SELECT DISTINCT ?n WHERE { ?n property:applies_to_jurisdiction resource:Newark . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Newark. Could you tell me the answer for that?
(c(Q12737077),P1001,Q25395)
Q25395
[{'concept': 'Q12737077'}, 'P1001', 'Q25395']
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Newark']
[]
Q20899061
SYSTEM
Mayor of Newark
Q20899061
(c(Q12737077),P1001,Q25395)
action filter_type
action find_reverse
entity Q25395
relation P1001
type Q12737077
[ANSWER] has jurisdiction over that administrative territory
[{'concept': 'Q12737077'}, 'P1001', 'Q25395']
SELECT DISTINCT ?n WHERE { ?n property:P1001 resource:Q25395 . ?n rdf:type ontology:Q12737077 }
Mayor of Newark
Mayor of Newark has jurisdiction over that administrative territory
Mayor of Newark
action filter_type
action find_reverse
entity Newark
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Newark']
SELECT DISTINCT ?n WHERE { ?n property:applies_to_jurisdiction resource:Newark . ?n rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q20899061 Q427075
P1001
Q56061
USER
Does Temple belong to jurisdiction of that occupation ?
(Q20899061,P1001,Q427075)
action is_in
entity Q427075
action find
entity Q20899061
relation P1001
['Q20899061', 'P1001', 'Q427075']
ASK WHERE { resource:Q20899061 property:P1001 resource:Q427075 }
Mayor of Newark Temple
action is_in
entity Temple
action find
entity Mayor of Newark
relation applies to jurisdiction
['Mayor of Newark', 'applies to jurisdiction', 'Temple']
ASK WHERE { resource:Mayor_of_Newark property:applies_to_jurisdiction resource:Temple }
[]
administrative territorial entity
SYSTEM
NO
(Q20899061,P1001,Q427075)
action is_in
entity Q427075
action find
entity Q20899061
relation P1001
[ANSWER]
['Q20899061', 'P1001', 'Q427075']
ASK WHERE { resource:Q20899061 property:P1001 resource:Q427075 }
No
action is_in
entity Temple
action find
entity Mayor of Newark
relation applies to jurisdiction
['Mayor of Newark', 'applies to jurisdiction', 'Temple']
ASK WHERE { resource:Mayor_of_Newark property:applies_to_jurisdiction resource:Temple }
[]