Simple Question (Direct)
Simple Question
Q3085767
P106
Q58778
USER
What is the profession of François Ruphy de Menthon ?
(Q3085767,P106,c(Q58778))
action filter_type
action find
entity Q3085767
relation P106
type Q58778
['Q3085767', 'P106', {'concept': 'Q58778'}]
SELECT DISTINCT ?r WHERE { resource:Q3085767 property:P106 ?r . ?r rdf:type ontology:Q58778 }
François Ruphy de Menthon
action filter_type
action find
entity François Ruphy de Menthon
relation occupation
type system
['François Ruphy de Menthon', 'occupation', {'concept': 'system'}]
SELECT DISTINCT ?r WHERE { resource:François_Ruphy_de_Menthon property:occupation ?r . ?r rdf:type ontology:system }
[]
system
Q126793
SYSTEM
retail
Q126793
(Q3085767,P106,c(Q58778))
action filter_type
action find
entity Q3085767
relation P106
type Q58778
The profession of François Ruphy de Menthon is a [ANSWER]
['Q3085767', 'P106', {'concept': 'Q58778'}]
SELECT DISTINCT ?r WHERE { resource:Q3085767 property:P106 ?r . ?r rdf:type ontology:Q58778 }
retail
The profession of François Ruphy de Menthon is a retail
retail
action filter_type
action find
entity François Ruphy de Menthon
relation occupation
type system
['François Ruphy de Menthon', 'occupation', {'concept': 'system'}]
SELECT DISTINCT ?r WHERE { resource:François_Ruphy_de_Menthon property:occupation ?r . ?r rdf:type ontology:system }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3085767
P39
Q12737077
USER
Which occupations were the positions occupied by François Ruphy de Menthon ?
(Q3085767,P39,c(Q12737077))
action filter_type
action find
entity Q3085767
relation P39
type Q12737077
['Q3085767', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3085767 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
François Ruphy de Menthon
action filter_type
action find
entity François Ruphy de Menthon
relation position held
type occupation
['François Ruphy de Menthon', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:François_Ruphy_de_Menthon property:position_held ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q382617 Q3044918
SYSTEM
maire, member of the French National Assembly
Q382617 Q3044918
(Q3085767,P39,c(Q12737077))
action filter_type
action find
entity Q3085767
relation P39
type Q12737077
[ANSWERS]
['Q3085767', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3085767 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
maire member of the French National Assembly
The maire and member of the French National Assembly were the positions occupied by François Ruphy de Menthon
maire member of the French National Assembly
action filter_type
action find
entity François Ruphy de Menthon
relation position held
type occupation
['François Ruphy de Menthon', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:François_Ruphy_de_Menthon property:position_held ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3085767
P21
Q290
USER
Which sex does François Ruphy de Menthon have ?
(Q3085767,P21,c(Q290))
action filter_type
action find
entity Q3085767
relation P21
type Q290
['Q3085767', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q3085767 property:P21 ?z . ?z rdf:type ontology:Q290 }
François Ruphy de Menthon
action filter_type
action find
entity François Ruphy de Menthon
relation gender
type sex
['François Ruphy de Menthon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:François_Ruphy_de_Menthon property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3085767,P21,c(Q290))
action filter_type
action find
entity Q3085767
relation P21
type Q290
François Ruphy de Menthon has a [ANSWER]
['Q3085767', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q3085767 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
François Ruphy de Menthon has a male
male
action filter_type
action find
entity François Ruphy de Menthon
relation gender
type sex
['François Ruphy de Menthon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:François_Ruphy_de_Menthon property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3085767
P19
Q20667921
USER
Where was François Ruphy de Menthon born ?
(Q3085767,P19,c(Q20667921))
action filter_type
action find
entity Q3085767
relation P19
type Q20667921
['Q3085767', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q3085767 property:P19 ?k . ?k rdf:type ontology:Q20667921 }
François Ruphy de Menthon
action filter_type
action find
entity François Ruphy de Menthon
relation place of birth
type type of french administrative division
['François Ruphy de Menthon', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:François_Ruphy_de_Menthon property:place_of_birth ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q50189
SYSTEM
Annecy
Q50189
(Q3085767,P19,c(Q20667921))
action filter_type
action find
entity Q3085767
relation P19
type Q20667921
François Ruphy de Menthon was born in [ANSWER]
['Q3085767', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q3085767 property:P19 ?k . ?k rdf:type ontology:Q20667921 }
Annecy
François Ruphy de Menthon was born in Annecy
Annecy
action filter_type
action find
entity François Ruphy de Menthon
relation place of birth
type type of french administrative division
['François Ruphy de Menthon', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:François_Ruphy_de_Menthon property:place_of_birth ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3085767
P27
Q15617994
USER
Which administrative territory is the country of citizenship of François Ruphy de Menthon ?
(Q3085767,P27,c(Q15617994))
action filter_type
action find
entity Q3085767
relation P27
type Q15617994
['Q3085767', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q3085767 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
François Ruphy de Menthon
action filter_type
action find
entity François Ruphy de Menthon
relation country of citizenship
type designation for an administrative territorial entity
['François Ruphy de Menthon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:François_Ruphy_de_Menthon property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3085767,P27,c(Q15617994))
action filter_type
action find
entity Q3085767
relation P27
type Q15617994
[ANSWER] is the country of citizenship of François Ruphy de Menthon
['Q3085767', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q3085767 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
France
France is the country of citizenship of François Ruphy de Menthon
France
action filter_type
action find
entity François Ruphy de Menthon
relation country of citizenship
type designation for an administrative territorial entity
['François Ruphy de Menthon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:François_Ruphy_de_Menthon property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P272
Q838948
USER
Which works of art had that administrative territory as the production company ?
(c(Q838948),P272,Q142)
action filter_type
action find_reverse
entity Q142
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P272 resource:Q142 . ?w rdf:type ontology:Q838948 }
France
action filter_type
action find_reverse
entity France
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'France']
SELECT DISTINCT ?w WHERE { ?w property:production_company resource:France . ?w rdf:type ontology:work_of_art }
[]
work of art
Q1407653 Q3720922
SYSTEM
The Naked Maja, El Greco
Q1407653 Q3720922
(c(Q838948),P272,Q142)
action filter_type
action find_reverse
entity Q142
relation P272
type Q838948
[ANSWERS] had that administrative territory as the production company
[{'concept': 'Q838948'}, 'P272', 'Q142']
SELECT DISTINCT ?w WHERE { ?w property:P272 resource:Q142 . ?w rdf:type ontology:Q838948 }
The Naked Maja El Greco
The Naked Maja and El Greco had that administrative territory as the production company
The Naked Maja El Greco
action filter_type
action find_reverse
entity France
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'France']
SELECT DISTINCT ?w WHERE { ?w property:production_company resource:France . ?w rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1407653 Q3720922
P364
Q34770
USER
Which languages are the original languages of creation of those works of art ?
(Q1407653,P364,c(Q34770)) (Q3720922,P364,c(Q34770))
action filter_type
action find
entity prev_answer
relation P364
type Q34770
['Q1407653', 'P364', {'concept': 'Q34770'}] ['Q3720922', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . ?h property:P364 ?y . VALUES ( ?h ) { ( resource:Q1407653 ) ( resource:Q3720922 ) } }
The Naked Maja El Greco
action filter_type
action find
entity prev_answer
relation original language of work
type language
['The Naked Maja', 'original language of work', {'concept': 'language'}] ['El Greco', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . ?h property:original_language_of_work ?y . VALUES ( ?h ) { ( resource:The_Naked_Maja ) ( resource:El_Greco ) } }
[]
language
Q1860 Q652
SYSTEM
English, Italian
Q1860 Q652
(Q1407653,P364,c(Q34770)) (Q3720922,P364,c(Q34770))
action filter_type
action find
entity prev_answer
relation P364
type Q34770
[ANSWERS] are the original languages of creation of those works of art
['Q1407653', 'P364', {'concept': 'Q34770'}] ['Q3720922', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . ?h property:P364 ?y . VALUES ( ?h ) { ( resource:Q1407653 ) ( resource:Q3720922 ) } }
English Italian
English and Italian are the original languages of creation of those works of art
English Italian
action filter_type
action find
entity prev_answer
relation original language of work
type language
['The Naked Maja', 'original language of work', {'concept': 'language'}] ['El Greco', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . ?h property:original_language_of_work ?y . VALUES ( ?h ) { ( resource:The_Naked_Maja ) ( resource:El_Greco ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1860
P725
Q11424
USER
Which film did that language dub for ?
(c(Q11424),P725,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', 'Q1860']
SELECT DISTINCT ?v WHERE { ?v property:P725 resource:Q1860 . ?v rdf:type ontology:Q11424 }
English
action filter_type
action find_reverse
entity English
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', 'English']
SELECT DISTINCT ?v WHERE { ?v property:voice_actor resource:English . ?v rdf:type ontology:film }
[]
film
Clarification for simple ques.
Q1860
SYSTEM
Did you mean English ?
Q1860 Q652
(c(Q11424),P725,Q1860) (c(Q11424),P725,Q652)
[ANSWER]
[{'concept': 'Q11424'}, 'P725', 'Q1860'] [{'concept': 'Q11424'}, 'P725', 'Q652']
SELECT DISTINCT ?v WHERE { ?v property:P725 resource:Q1860 . ?v rdf:type ontology:Q11424 }
English Italian
Did you mean English ?
English
[{'concept': 'film'}, 'voice actor', 'English'] [{'concept': 'film'}, 'voice actor', 'Italian']
SELECT DISTINCT ?v WHERE { ?v property:voice_actor resource:English . ?v rdf:type ontology:film }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q11424),P725,Q1860)
[{'concept': 'Q11424'}, 'P725', 'Q1860']
[{'concept': 'film'}, 'voice actor', 'English']
[]
Q9019373
SYSTEM
The Legend of the North Wind
Q9019373
(c(Q11424),P725,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P725
type Q11424
Which film did that language dub for
[{'concept': 'Q11424'}, 'P725', 'Q1860']
SELECT DISTINCT ?v WHERE { ?v property:P725 resource:Q1860 . ?v rdf:type ontology:Q11424 }
The Legend of the North Wind
Which film did that language dub for
The Legend of the North Wind
action filter_type
action find_reverse
entity English
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', 'English']
SELECT DISTINCT ?v WHERE { ?v property:voice_actor resource:English . ?v rdf:type ontology:film }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q9019373 Q12260950 Q22003358
P57
Q502895
USER
Did Juan Bautista Berasategi and Raiza Beltran direct Q9019373 ?
(Q9019373,P57,Q12260950) (Q9019373,P57,Q22003358)
action is_in
entity Q9019373
action intersection
action find_reverse
entity Q12260950
relation P57
action find_reverse
entity Q22003358
relation P57
['Q9019373', 'P57', 'Q12260950'] ['Q9019373', 'P57', 'Q22003358']
ASK WHERE { resource:Q9019373 property:P57 resource:Q12260950 . resource:Q9019373 property:P57 resource:Q22003358 }
The Legend of the North Wind Juan Bautista Berasategi Raiza Beltran
action is_in
entity The Legend of the North Wind
action intersection
action find_reverse
entity Juan Bautista Berasategi
relation director
action find_reverse
entity Raiza Beltran
relation director
['The Legend of the North Wind', 'director', 'Juan Bautista Berasategi'] ['The Legend of the North Wind', 'director', 'Raiza Beltran']
ASK WHERE { resource:The_Legend_of_the_North_Wind property:director resource:Juan_Bautista_Berasategi . resource:The_Legend_of_the_North_Wind property:director resource:Raiza_Beltran }
[]
common name
SYSTEM
YES and NO respectively
(Q9019373,P57,Q12260950) (Q9019373,P57,Q22003358)
action is_in
entity Q9019373
action intersection
action find_reverse
entity Q12260950
relation P57
action find_reverse
entity Q22003358
relation P57
[ANSWER]
['Q9019373', 'P57', 'Q12260950'] ['Q9019373', 'P57', 'Q22003358']
ASK WHERE { resource:Q9019373 property:P57 resource:Q12260950 . resource:Q9019373 property:P57 resource:Q22003358 }
YES and NO respectively
action is_in
entity The Legend of the North Wind
action intersection
action find_reverse
entity Juan Bautista Berasategi
relation director
action find_reverse
entity Raiza Beltran
relation director
['The Legend of the North Wind', 'director', 'Juan Bautista Berasategi'] ['The Legend of the North Wind', 'director', 'Raiza Beltran']
ASK WHERE { resource:The_Legend_of_the_North_Wind property:director resource:Juan_Bautista_Berasategi . resource:The_Legend_of_the_North_Wind property:director resource:Raiza_Beltran }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9019373
P136
Q1792379
USER
What can be considered as category for that film ?
action filter_type
action find
entity Q9019373
relation P136
type Q1792379
SELECT DISTINCT ?c WHERE { resource:Q9019373 property:P136 ?c . ?c rdf:type ontology:Q1792379 }
The Legend of the North Wind
action filter_type
action find
entity The Legend of the North Wind
relation genre
type art genre
SELECT DISTINCT ?c WHERE { resource:The_Legend_of_the_North_Wind property:genre ?c . ?c rdf:type ontology:art_genre }
[]
art genre
Q2143665 Q157394
SYSTEM
children's film, fantasy film
Q2143665 Q157394
action filter_type
action find
entity Q9019373
relation P136
type Q1792379
[ANSWERS] can be considered as category for that film
SELECT DISTINCT ?c WHERE { resource:Q9019373 property:P136 ?c . ?c rdf:type ontology:Q1792379 }
children's film fantasy film
Children's film and fantasy film can be considered as category for that film
children's film fantasy film
action filter_type
action find
entity The Legend of the North Wind
relation genre
type art genre
SELECT DISTINCT ?c WHERE { resource:The_Legend_of_the_North_Wind property:genre ?c . ?c rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21461432 Q3085767
P106
Q12737077
USER
Which occupations have François Ruphy de Menthon or Candace Carman Kitfield Lucas as his/her as a career ?
OR((Q3085767,P106,c(Q12737077)), (Q21461432,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3085767
relation P106
action find
entity Q21461432
relation P106
type Q12737077
{'OR': [['Q3085767', 'P106', {'concept': 'Q12737077'}], ['Q21461432', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . { VALUES ( ?h ) { ( resource:Q3085767 ) ( resource:Q21461432 ) } . ?h property:P106 ?q } }
Candace Carman Kitfield Lucas François Ruphy de Menthon
action filter_type
action union
action find
entity François Ruphy de Menthon
relation occupation
action find
entity Candace Carman Kitfield Lucas
relation occupation
type occupation
{'OR': [['François Ruphy de Menthon', 'occupation', {'concept': 'occupation'}], ['Candace Carman Kitfield Lucas', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . { VALUES ( ?h ) { ( resource:François_Ruphy_de_Menthon ) ( resource:Candace_Carman_Kitfield_Lucas ) } . ?h property:occupation ?q } }
[]
occupation
Q1028181 Q82955
SYSTEM
painter, politician
Q1028181 Q82955
OR((Q3085767,P106,c(Q12737077)), (Q21461432,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3085767
relation P106
action find
entity Q21461432
relation P106
type Q12737077
The [ANSWERS] have François Ruphy de Menthon or Candace Carman Kitfield Lucas as his/her as a career
{'OR': [['Q3085767', 'P106', {'concept': 'Q12737077'}], ['Q21461432', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . { VALUES ( ?h ) { ( resource:Q3085767 ) ( resource:Q21461432 ) } . ?h property:P106 ?q } }
painter politician
The painter and politician have François Ruphy de Menthon or Candace Carman Kitfield Lucas as his/her as a career
painter politician
action filter_type
action union
action find
entity François Ruphy de Menthon
relation occupation
action find
entity Candace Carman Kitfield Lucas
relation occupation
type occupation
{'OR': [['François Ruphy de Menthon', 'occupation', {'concept': 'occupation'}], ['Candace Carman Kitfield Lucas', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . { VALUES ( ?h ) { ( resource:François_Ruphy_de_Menthon ) ( resource:Candace_Carman_Kitfield_Lucas ) } . ?h property:occupation ?q } }
[]