Simple Question (Direct)
Simple Question
Q4710523
P161
Q502895
USER
Who starred in Albert II of Monaco, the Unknown Prince ?
(Q4710523,P161,c(Q502895))
action filter_type
action find
entity Q4710523
relation P161
type Q502895
['Q4710523', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q4710523 property:P161 ?a . ?a rdf:type ontology:Q502895 }
Albert II of Monaco, the Unknown Prince
action filter_type
action find
entity Albert II of Monaco, the Unknown Prince
relation cast member
type common name
['Albert II of Monaco, the Unknown Prince', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Albert_II_of_Monaco,_the_Unknown_Prince property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
common name
Q25089 Q216563 Q1254
SYSTEM
Woody Allen, Paul Anka, Kofi Annan
Q185025 Q233966 Q438465 Q3910 Q216563 Q25089 Q215012 Q1254 Q26695
(Q4710523,P161,c(Q502895))
action filter_type
action find
entity Q4710523
relation P161
type Q502895
[ANSWERS] starred in Albert II of Monaco, the Unknown Prince
['Q4710523', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q4710523 property:P161 ?a . ?a rdf:type ontology:Q502895 }
Rainier III, Prince of Monaco Caroline, Princess of Hanover Michel Barnier Albert II Paul Anka Woody Allen Princess Stéphanie of Monaco Kofi Annan Lionel Richie
Woody Allen, Paul Anka and Kofi Annan starred in Albert II of Monaco, the Unknown Prince
Woody Allen Paul Anka Kofi Annan
action filter_type
action find
entity Albert II of Monaco, the Unknown Prince
relation cast member
type common name
['Albert II of Monaco, the Unknown Prince', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Albert_II_of_Monaco,_the_Unknown_Prince property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q25089 Q216563 Q1254
P161
Q15416
USER
Which television programs have Woody Allen, Paul Anka and Kofi Annan as actor ?
(c(Q15416),P161,Q25089) (c(Q15416),P161,Q216563) (c(Q15416),P161,Q1254)
action union
action filter_type
action find_reverse
entity Q25089
relation P161
type Q15416
action filter_type
action find_reverse
entity Q216563
relation P161
type Q15416
action filter_type
action find_reverse
entity Q1254
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q25089'] [{'concept': 'Q15416'}, 'P161', 'Q216563'] [{'concept': 'Q15416'}, 'P161', 'Q1254']
SELECT DISTINCT ?t WHERE { { ?t property:P161 resource:Q25089 . ?t rdf:type ontology:Q15416 } UNION { ?t rdf:type ontology:Q15416 . ?t property:P161 resource:Q216563 } }
Woody Allen Paul Anka Kofi Annan
action union
action filter_type
action find_reverse
entity Woody Allen
relation cast member
type television program
action filter_type
action find_reverse
entity Paul Anka
relation cast member
type television program
action filter_type
action find_reverse
entity Kofi Annan
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Woody Allen'] [{'concept': 'television program'}, 'cast member', 'Paul Anka'] [{'concept': 'television program'}, 'cast member', 'Kofi Annan']
SELECT DISTINCT ?t WHERE { { ?t property:cast_member resource:Woody_Allen . ?t rdf:type ontology:television_program } UNION { ?t rdf:type ontology:television_program . ?t property:cast_member resource:Paul_Anka } }
[]
television program
Q4710523 Q4710523 Q4710523
SYSTEM
Albert II of Monaco, the Unknown Prince
Q828839 Q4710523 Q4710523 Q4710523
(c(Q15416),P161,Q25089) (c(Q15416),P161,Q216563) (c(Q15416),P161,Q1254)
action union
action filter_type
action find_reverse
entity Q25089
relation P161
type Q15416
action filter_type
action find_reverse
entity Q216563
relation P161
type Q15416
action filter_type
action find_reverse
entity Q1254
relation P161
type Q15416
[ANSWERS], [ANSWERS] and [ANSWERS] have Woody Allen, Paul Anka and Kofi Annan as actor
[{'concept': 'Q15416'}, 'P161', 'Q25089'] [{'concept': 'Q15416'}, 'P161', 'Q216563'] [{'concept': 'Q15416'}, 'P161', 'Q1254']
SELECT DISTINCT ?t WHERE { { ?t property:P161 resource:Q25089 . ?t rdf:type ontology:Q15416 } UNION { ?t rdf:type ontology:Q15416 . ?t property:P161 resource:Q216563 } }
Sonny Boys Albert II of Monaco, the Unknown Prince Albert II of Monaco, the Unknown Prince Albert II of Monaco, the Unknown Prince
Albert II of Monaco, the Unknown Prince, Albert II of Monaco, the Unknown Prince and Albert II of Monaco, the Unknown Prince have Woody Allen, Paul Anka and Kofi Annan as actor
Albert II of Monaco, the Unknown Prince Albert II of Monaco, the Unknown Prince Albert II of Monaco, the Unknown Prince
action union
action filter_type
action find_reverse
entity Woody Allen
relation cast member
type television program
action filter_type
action find_reverse
entity Paul Anka
relation cast member
type television program
action filter_type
action find_reverse
entity Kofi Annan
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Woody Allen'] [{'concept': 'television program'}, 'cast member', 'Paul Anka'] [{'concept': 'television program'}, 'cast member', 'Kofi Annan']
SELECT DISTINCT ?t WHERE { { ?t property:cast_member resource:Woody_Allen . ?t rdf:type ontology:television_program } UNION { ?t rdf:type ontology:television_program . ?t property:cast_member resource:Paul_Anka } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25089
P106
Q12737077
USER
What are the job of Woody Allen ?
(Q25089,P106,c(Q12737077))
action filter_type
action find
entity Q25089
relation P106
type Q12737077
['Q25089', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q25089 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Woody Allen
action filter_type
action find
entity Woody Allen
relation occupation
type occupation
['Woody Allen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Woody_Allen property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q15981151 Q118865 Q33999
SYSTEM
jazz musician, clarinetist, actor
Q15981151 Q118865 Q33999 Q948329 Q36180
(Q25089,P106,c(Q12737077))
action filter_type
action find
entity Q25089
relation P106
type Q12737077
The job of Woody Allen are a [ANSWERS]
['Q25089', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q25089 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
jazz musician clarinetist actor character actor writer
The job of Woody Allen are a jazz musician, clarinetist and actor
jazz musician clarinetist actor
action filter_type
action find
entity Woody Allen
relation occupation
type occupation
['Woody Allen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Woody_Allen property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25089
P108
Q502895
USER
Which people are working for Woody Allen ?
(c(Q502895),P108,Q25089)
action filter_type
action find_reverse
entity Q25089
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q25089']
SELECT DISTINCT ?h WHERE { ?h property:P108 resource:Q25089 . ?h rdf:type ontology:Q502895 }
Woody Allen
action filter_type
action find_reverse
entity Woody Allen
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Woody Allen']
SELECT DISTINCT ?h WHERE { ?h property:employer resource:Woody_Allen . ?h rdf:type ontology:common_name }
[]
common name
Q6170556 Q24398929
SYSTEM
Jean Doumanian, Norma Lee Clark
Q6170556 Q24398929
(c(Q502895),P108,Q25089)
action filter_type
action find_reverse
entity Q25089
relation P108
type Q502895
[ANSWERS] are working for Woody Allen
[{'concept': 'Q502895'}, 'P108', 'Q25089']
SELECT DISTINCT ?h WHERE { ?h property:P108 resource:Q25089 . ?h rdf:type ontology:Q502895 }
Jean Doumanian Norma Lee Clark
Jean Doumanian and Norma Lee Clark are working for Woody Allen
Jean Doumanian Norma Lee Clark
action filter_type
action find_reverse
entity Woody Allen
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Woody Allen']
SELECT DISTINCT ?h WHERE { ?h property:employer resource:Woody_Allen . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6170556 Q24398929
P21
Q290
USER
Which sexes do Jean Doumanian and Norma Lee Clark have ?
(Q6170556,P21,c(Q290)) (Q24398929,P21,c(Q290))
action union
action filter_type
action find
entity Q6170556
relation P21
type Q290
action filter_type
action find
entity Q24398929
relation P21
type Q290
['Q6170556', 'P21', {'concept': 'Q290'}] ['Q24398929', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?l property:P21 ?w . VALUES ( ?l ) { ( resource:Q6170556 ) ( resource:Q24398929 ) } }
Jean Doumanian Norma Lee Clark
action union
action filter_type
action find
entity Jean Doumanian
relation gender
type sex
action filter_type
action find
entity Norma Lee Clark
relation gender
type sex
['Jean Doumanian', 'gender', {'concept': 'sex'}] ['Norma Lee Clark', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?l property:gender ?w . VALUES ( ?l ) { ( resource:Jean_Doumanian ) ( resource:Norma_Lee_Clark ) } }
[]
sex
Q6581072 Q6581072
SYSTEM
female
Q6581072 Q6581072
(Q6170556,P21,c(Q290)) (Q24398929,P21,c(Q290))
action union
action filter_type
action find
entity Q6170556
relation P21
type Q290
action filter_type
action find
entity Q24398929
relation P21
type Q290
Jean Doumanian and Norma Lee Clark have been [ANSWER] and [ANSWER]
['Q6170556', 'P21', {'concept': 'Q290'}] ['Q24398929', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?l property:P21 ?w . VALUES ( ?l ) { ( resource:Q6170556 ) ( resource:Q24398929 ) } }
female female
Jean Doumanian and Norma Lee Clark have been female and female
female female
action union
action filter_type
action find
entity Jean Doumanian
relation gender
type sex
action filter_type
action find
entity Norma Lee Clark
relation gender
type sex
['Jean Doumanian', 'gender', {'concept': 'sex'}] ['Norma Lee Clark', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?l property:gender ?w . VALUES ( ?l ) { ( resource:Jean_Doumanian ) ( resource:Norma_Lee_Clark ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25089
P1412
Q34770
USER
Which language does Woody Allen speak in ?
(Q25089,P1412,c(Q34770))
action filter_type
action find
entity Q25089
relation P1412
type Q34770
['Q25089', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q25089 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Woody Allen
action filter_type
action find
entity Woody Allen
relation languages spoken, written or signed
type language
['Woody Allen', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Woody_Allen property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q25089,P1412,c(Q34770))
action filter_type
action find
entity Q25089
relation P1412
type Q34770
Woody Allen speaks the [ANSWER]
['Q25089', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q25089 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
English
Woody Allen speaks the English
English
action filter_type
action find
entity Woody Allen
relation languages spoken, written or signed
type language
['Woody Allen', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Woody_Allen property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25089
P27
Q15617994
USER
Which administrative territory is Woody Allen an inhabitant of ?
(Q25089,P27,c(Q15617994))
action filter_type
action find
entity Q25089
relation P27
type Q15617994
['Q25089', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q25089 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Woody Allen
action filter_type
action find
entity Woody Allen
relation country of citizenship
type designation for an administrative territorial entity
['Woody Allen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Woody_Allen property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q25089,P27,c(Q15617994))
action filter_type
action find
entity Q25089
relation P27
type Q15617994
The [ANSWER] is Woody Allen an inhabitant of
['Q25089', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q25089 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United States of America
The United States of America is Woody Allen an inhabitant of
United States of America
action filter_type
action find
entity Woody Allen
relation country of citizenship
type designation for an administrative territorial entity
['Woody Allen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Woody_Allen property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]