Simple Question (Direct)
Simple Question
Q1128496
P364
Q34770
USER
Which language was used originally for the creation of Year One ?
(Q1128496,P364,c(Q34770))
action filter_type
action find
entity Q1128496
relation P364
type Q34770
['Q1128496', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q1128496 property:P364 ?p . ?p rdf:type ontology:Q34770 }
Year One
action filter_type
action find
entity Year One
relation original language of work
type language
['Year One', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Year_One property:original_language_of_work ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1128496,P364,c(Q34770))
action filter_type
action find
entity Q1128496
relation P364
type Q34770
[ANSWER] was used originally for the creation of Year One
['Q1128496', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q1128496 property:P364 ?p . ?p rdf:type ontology:Q34770 }
English
English was used originally for the creation of Year One
English
action filter_type
action find
entity Year One
relation original language of work
type language
['Year One', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Year_One property:original_language_of_work ?p . ?p rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1128496
P344
Q502895
USER
Who is the director of photography for Year One ?
(Q1128496,P344,c(Q502895))
action filter_type
action find
entity Q1128496
relation P344
type Q502895
['Q1128496', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q1128496 property:P344 ?m . ?m rdf:type ontology:Q502895 }
Year One
action filter_type
action find
entity Year One
relation director of photography
type common name
['Year One', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Year_One property:director_of_photography ?m . ?m rdf:type ontology:common_name }
[]
common name
Q2636922
SYSTEM
Alar Kivilo
Q2636922
(Q1128496,P344,c(Q502895))
action filter_type
action find
entity Q1128496
relation P344
type Q502895
The director of photography for Year One is the [ANSWER]
['Q1128496', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q1128496 property:P344 ?m . ?m rdf:type ontology:Q502895 }
Alar Kivilo
The director of photography for Year One is the Alar Kivilo
Alar Kivilo
action filter_type
action find
entity Year One
relation director of photography
type common name
['Year One', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Year_One property:director_of_photography ?m . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2636922 Q2567178
P19
Q56061
USER
Is Shorewood the place of birth of Alar Kivilo ?
(Q2636922,P19,Q2567178)
action is_in
entity Q2567178
action find
entity Q2636922
relation P19
['Q2636922', 'P19', 'Q2567178']
ASK WHERE { resource:Q2636922 property:P19 resource:Q2567178 }
Alar Kivilo Shorewood
action is_in
entity Shorewood
action find
entity Alar Kivilo
relation place of birth
['Alar Kivilo', 'place of birth', 'Shorewood']
ASK WHERE { resource:Alar_Kivilo property:place_of_birth resource:Shorewood }
[]
administrative territorial entity
SYSTEM
NO
(Q2636922,P19,Q2567178)
action is_in
entity Q2567178
action find
entity Q2636922
relation P19
[ANSWER]
['Q2636922', 'P19', 'Q2567178']
ASK WHERE { resource:Q2636922 property:P19 resource:Q2567178 }
No
action is_in
entity Shorewood
action find
entity Alar Kivilo
relation place of birth
['Alar Kivilo', 'place of birth', 'Shorewood']
ASK WHERE { resource:Alar_Kivilo property:place_of_birth resource:Shorewood }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1128496 Q2650521 Q3779416
P161
Q502895
USER
Does Alois Zotz and Guido Pedroni star in Year One ?
(Q1128496,P161,Q2650521) (Q1128496,P161,Q3779416)
action is_in
entity Q1128496
action intersection
action find_reverse
entity Q2650521
relation P161
action find_reverse
entity Q3779416
relation P161
['Q1128496', 'P161', 'Q2650521'] ['Q1128496', 'P161', 'Q3779416']
ASK WHERE { resource:Q1128496 property:P161 resource:Q2650521 . resource:Q1128496 property:P161 resource:Q3779416 }
Year One Alois Zotz Guido Pedroni
action is_in
entity Year One
action intersection
action find_reverse
entity Alois Zotz
relation cast member
action find_reverse
entity Guido Pedroni
relation cast member
['Year One', 'cast member', 'Alois Zotz'] ['Year One', 'cast member', 'Guido Pedroni']
ASK WHERE { resource:Year_One property:cast_member resource:Alois_Zotz . resource:Year_One property:cast_member resource:Guido_Pedroni }
[]
common name
SYSTEM
NO
(Q1128496,P161,Q2650521) (Q1128496,P161,Q3779416)
action is_in
entity Q1128496
action intersection
action find_reverse
entity Q2650521
relation P161
action find_reverse
entity Q3779416
relation P161
[ANSWER]
['Q1128496', 'P161', 'Q2650521'] ['Q1128496', 'P161', 'Q3779416']
ASK WHERE { resource:Q1128496 property:P161 resource:Q2650521 . resource:Q1128496 property:P161 resource:Q3779416 }
No
action is_in
entity Year One
action intersection
action find_reverse
entity Alois Zotz
relation cast member
action find_reverse
entity Guido Pedroni
relation cast member
['Year One', 'cast member', 'Alois Zotz'] ['Year One', 'cast member', 'Guido Pedroni']
ASK WHERE { resource:Year_One property:cast_member resource:Alois_Zotz . resource:Year_One property:cast_member resource:Guido_Pedroni }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2636922 Q4442269 Q966857
P27
Q1048835
USER
Is Alar Kivilo a citizen of Stepuryne and Itapebi ?
(Q2636922,P27,Q4442269) (Q2636922,P27,Q966857)
action is_in
entity Q2636922
action intersection
action find_reverse
entity Q4442269
relation P27
action find_reverse
entity Q966857
relation P27
['Q2636922', 'P27', 'Q4442269'] ['Q2636922', 'P27', 'Q966857']
ASK WHERE { resource:Q2636922 property:P27 resource:Q4442269 . resource:Q2636922 property:P27 resource:Q966857 }
Alar Kivilo Stepuryne Itapebi
action is_in
entity Alar Kivilo
action intersection
action find_reverse
entity Stepuryne
relation country of citizenship
action find_reverse
entity Itapebi
relation country of citizenship
['Alar Kivilo', 'country of citizenship', 'Stepuryne'] ['Alar Kivilo', 'country of citizenship', 'Itapebi']
ASK WHERE { resource:Alar_Kivilo property:country_of_citizenship resource:Stepuryne . resource:Alar_Kivilo property:country_of_citizenship resource:Itapebi }
[]
political territorial entity
SYSTEM
NO
(Q2636922,P27,Q4442269) (Q2636922,P27,Q966857)
action is_in
entity Q2636922
action intersection
action find_reverse
entity Q4442269
relation P27
action find_reverse
entity Q966857
relation P27
[ANSWER]
['Q2636922', 'P27', 'Q4442269'] ['Q2636922', 'P27', 'Q966857']
ASK WHERE { resource:Q2636922 property:P27 resource:Q4442269 . resource:Q2636922 property:P27 resource:Q966857 }
No
action is_in
entity Alar Kivilo
action intersection
action find_reverse
entity Stepuryne
relation country of citizenship
action find_reverse
entity Itapebi
relation country of citizenship
['Alar Kivilo', 'country of citizenship', 'Stepuryne'] ['Alar Kivilo', 'country of citizenship', 'Itapebi']
ASK WHERE { resource:Alar_Kivilo property:country_of_citizenship resource:Stepuryne . resource:Alar_Kivilo property:country_of_citizenship resource:Itapebi }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3751382 Q2636922
P19
Q56061
USER
Which administrative territories were Alar Kivilo or Franco Lionello born in ?
OR((Q2636922,P19,c(Q56061)), (Q3751382,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2636922
relation P19
action find
entity Q3751382
relation P19
type Q56061
{'OR': [['Q2636922', 'P19', {'concept': 'Q56061'}], ['Q3751382', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { ?b property:P19 ?y . VALUES ( ?b ) { ( resource:Q2636922 ) ( resource:Q3751382 ) } } . ?y rdf:type ontology:Q56061 }
Franco Lionello Alar Kivilo
action filter_type
action union
action find
entity Alar Kivilo
relation place of birth
action find
entity Franco Lionello
relation place of birth
type administrative territorial entity
{'OR': [['Alar Kivilo', 'place of birth', {'concept': 'administrative territorial entity'}], ['Franco Lionello', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { ?b property:place_of_birth ?y . VALUES ( ?b ) { ( resource:Alar_Kivilo ) ( resource:Franco_Lionello ) } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q340 Q490
SYSTEM
Montreal, Milan
Q340 Q490
OR((Q2636922,P19,c(Q56061)), (Q3751382,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2636922
relation P19
action find
entity Q3751382
relation P19
type Q56061
Alar Kivilo or Franco Lionello were born in [ANSWERS]
{'OR': [['Q2636922', 'P19', {'concept': 'Q56061'}], ['Q3751382', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { { ?b property:P19 ?y . VALUES ( ?b ) { ( resource:Q2636922 ) ( resource:Q3751382 ) } } . ?y rdf:type ontology:Q56061 }
Montreal Milan
Alar Kivilo or Franco Lionello were born in Montreal and Milan
Montreal Milan
action filter_type
action union
action find
entity Alar Kivilo
relation place of birth
action find
entity Franco Lionello
relation place of birth
type administrative territorial entity
{'OR': [['Alar Kivilo', 'place of birth', {'concept': 'administrative territorial entity'}], ['Franco Lionello', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { ?b property:place_of_birth ?y . VALUES ( ?b ) { ( resource:Alar_Kivilo ) ( resource:Franco_Lionello ) } } . ?y rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q8686
P190
Q56061
USER
Are Shanghai twin town of those ones ?
(Q8686,P190,Q340) (Q8686,P190,Q490)
action is_in
entity prev_answer
action find
entity Q8686
relation P190
['Q8686', 'P190', 'Q340'] ['Q8686', 'P190', 'Q490']
ASK WHERE { VALUES ( ?n ) { ( resource:Q340 ) ( resource:Q490 ) } . resource:Q8686 property:P190 ?n }
Shanghai
action is_in
entity prev_answer
action find
entity Shanghai
relation sister city
['Shanghai', 'sister city', 'Montreal'] ['Shanghai', 'sister city', 'Milan']
ASK WHERE { VALUES ( ?n ) { ( resource:Montreal ) ( resource:Milan ) } . resource:Shanghai property:sister_city ?n }
[]
administrative territorial entity
SYSTEM
YES
(Q8686,P190,Q340) (Q8686,P190,Q490)
action is_in
entity prev_answer
action find
entity Q8686
relation P190
[ANSWER]
['Q8686', 'P190', 'Q340'] ['Q8686', 'P190', 'Q490']
ASK WHERE { VALUES ( ?n ) { ( resource:Q340 ) ( resource:Q490 ) } . resource:Q8686 property:P190 ?n }
Yes
action is_in
entity prev_answer
action find
entity Shanghai
relation sister city
['Shanghai', 'sister city', 'Montreal'] ['Shanghai', 'sister city', 'Milan']
ASK WHERE { VALUES ( ?n ) { ( resource:Montreal ) ( resource:Milan ) } . resource:Shanghai property:sister_city ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q340
P47
Q56061
USER
Who share the border with Montreal ?
(Q340,P47,c(Q56061))
action filter_type
action find
entity Q340
relation P47
type Q56061
['Q340', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q340 property:P47 ?o . ?o rdf:type ontology:Q56061 }
Montreal
action filter_type
action find
entity Montreal
relation shares border with
type administrative territorial entity
['Montreal', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Montreal property:shares_border_with ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q139040 Q139101
SYSTEM
Montréal-Est, Hampstead
Q139040 Q139101
(Q340,P47,c(Q56061))
action filter_type
action find
entity Q340
relation P47
type Q56061
[ANSWERS] share the border with Montreal
['Q340', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q340 property:P47 ?o . ?o rdf:type ontology:Q56061 }
Montréal-Est Hampstead
Montréal-Est and Hampstead share the border with Montreal
Montréal-Est Hampstead
action filter_type
action find
entity Montreal
relation shares border with
type administrative territorial entity
['Montreal', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Montreal property:shares_border_with ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q139040
P17
Q1048835
USER
Which political territory is that administrative territory located in ?
(Q139040,P17,c(Q1048835))
action filter_type
action find
entity Q139040
relation P17
type Q1048835
['Q139040', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q139040 property:P17 ?r . ?r rdf:type ontology:Q1048835 }
Montréal-Est
action filter_type
action find
entity Montréal-Est
relation country
type political territorial entity
['Montréal-Est', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Montréal-Est property:country ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q139040
SYSTEM
Did you mean Montréal-Est ?
Q139040 Q139101
(Q139040,P17,c(Q1048835)) (Q139101,P17,c(Q1048835))
[ANSWER]
['Q139040', 'P17', {'concept': 'Q1048835'}] ['Q139101', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q139040 property:P17 ?r . ?r rdf:type ontology:Q1048835 }
Montréal-Est Hampstead
Did you mean Montréal-Est ?
Montréal-Est
['Montréal-Est', 'country', {'concept': 'political territorial entity'}] ['Hampstead', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Montréal-Est property:country ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q139040,P17,c(Q1048835))
['Q139040', 'P17', {'concept': 'Q1048835'}]
['Montréal-Est', 'country', {'concept': 'political territorial entity'}]
[]
Q16
SYSTEM
Canada
Q16
(Q139040,P17,c(Q1048835))
action filter_type
action find
entity Q139040
relation P17
type Q1048835
That administrative territory is located in [ANSWER]
['Q139040', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q139040 property:P17 ?r . ?r rdf:type ontology:Q1048835 }
Canada
That administrative territory is located in Canada
Canada
action filter_type
action find
entity Montréal-Est
relation country
type political territorial entity
['Montréal-Est', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Montréal-Est property:country ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q180408 Q490
P19 P190
Q56061
USER
Which administrative territories are partner towns of Milan and were Freddy Cole born ?
AND((Q490,P190,c(Q56061)), (Q180408,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q490
relation P190
action find
entity Q180408
relation P19
type Q56061
{'AND': [['Q490', 'P190', {'concept': 'Q56061'}], ['Q180408', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q490 property:P190 ?y . resource:Q180408 property:P19 ?y }
Freddy Cole Milan
action filter_type
action intersection
action find
entity Milan
relation sister city
action find
entity Freddy Cole
relation place of birth
type administrative territorial entity
{'AND': [['Milan', 'sister city', {'concept': 'administrative territorial entity'}], ['Freddy Cole', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Milan property:sister_city ?y . resource:Freddy_Cole property:place_of_birth ?y }
[]
administrative territorial entity
Q1297
SYSTEM
Chicago
Q1297
AND((Q490,P190,c(Q56061)), (Q180408,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q490
relation P190
action find
entity Q180408
relation P19
type Q56061
[ANSWER] is partner towns of Milan and were Freddy Cole born
{'AND': [['Q490', 'P190', {'concept': 'Q56061'}], ['Q180408', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q490 property:P190 ?y . resource:Q180408 property:P19 ?y }
Chicago
Chicago is partner towns of Milan and were Freddy Cole born
Chicago
action filter_type
action intersection
action find
entity Milan
relation sister city
action find
entity Freddy Cole
relation place of birth
type administrative territorial entity
{'AND': [['Milan', 'sister city', {'concept': 'administrative territorial entity'}], ['Freddy Cole', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Milan property:sister_city ?y . resource:Freddy_Cole property:place_of_birth ?y }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1887345 Q1128496
P58
Q502895
USER
Which people were the screenwriters for Year One or The Refuge ?
OR((Q1128496,P58,c(Q502895)), (Q1887345,P58,c(Q502895)))
action filter_type
action union
action find
entity Q1128496
relation P58
action find
entity Q1887345
relation P58
type Q502895
{'OR': [['Q1128496', 'P58', {'concept': 'Q502895'}], ['Q1887345', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1128496 property:P58 ?q } UNION { resource:Q1887345 property:P58 ?q } } . ?q rdf:type ontology:Q502895 }
The Refuge Year One
action filter_type
action union
action find
entity Year One
relation screenwriter
action find
entity The Refuge
relation screenwriter
type common name
{'OR': [['Year One', 'screenwriter', {'concept': 'common name'}], ['The Refuge', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Year_One property:screenwriter ?q } UNION { resource:The_Refuge property:screenwriter ?q } } . ?q rdf:type ontology:common_name }
[]
common name
Q6513524 Q286890 Q5531483 Q266535
SYSTEM
Lee Eisenberg, Harold Ramis, Gene Stupnitsky, François Ozon
Q6513524 Q286890 Q5531483 Q266535
OR((Q1128496,P58,c(Q502895)), (Q1887345,P58,c(Q502895)))
action filter_type
action union
action find
entity Q1128496
relation P58
action find
entity Q1887345
relation P58
type Q502895
[ANSWERS] were the screenwriters for Year One or The Refuge
{'OR': [['Q1128496', 'P58', {'concept': 'Q502895'}], ['Q1887345', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q1128496 property:P58 ?q } UNION { resource:Q1887345 property:P58 ?q } } . ?q rdf:type ontology:Q502895 }
Lee Eisenberg Harold Ramis Gene Stupnitsky François Ozon
Lee Eisenberg, Harold Ramis, Gene Stupnitsky and François Ozon were the screenwriters for Year One or The Refuge
Lee Eisenberg Harold Ramis Gene Stupnitsky François Ozon
action filter_type
action union
action find
entity Year One
relation screenwriter
action find
entity The Refuge
relation screenwriter
type common name
{'OR': [['Year One', 'screenwriter', {'concept': 'common name'}], ['The Refuge', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Year_One property:screenwriter ?q } UNION { resource:The_Refuge property:screenwriter ?q } } . ?q rdf:type ontology:common_name }
[]