Simple Question (Direct)
Simple Question
Q4848478
P161
Q502895
USER
Which people starred in Bailoretto, la aventura de un rebelde ?
(Q4848478,P161,c(Q502895))
action filter_type
action find
entity Q4848478
relation P161
type Q502895
['Q4848478', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q4848478 property:P161 ?h . ?h rdf:type ontology:Q502895 }
Bailoretto, la aventura de un rebelde
action filter_type
action find
entity Bailoretto, la aventura de un rebelde
relation cast member
type common name
['Bailoretto, la aventura de un rebelde', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Bailoretto,_la_aventura_de_un_rebelde property:cast_member ?h . ?h rdf:type ontology:common_name }
[]
common name
Q6782141 Q5741981 Q5401191
SYSTEM
María Vaner, Camila Perissé, Esther Goris
Q5741981 Q5401191 Q5707135 Q6782141 Q5711682 Q8962700 Q16298359 Q5984704 Q27654211 Q6111340 Q5042584
(Q4848478,P161,c(Q502895))
action filter_type
action find
entity Q4848478
relation P161
type Q502895
[ANSWERS] starred in Bailoretto, la aventura de un rebelde
['Q4848478', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q4848478 property:P161 ?h . ?h rdf:type ontology:Q502895 }
Camila Perissé Esther Goris fabricio andino María Vaner Augusto Larreta Franklin Caicedo Rudy Chernicoff Luisina Brando José Andrada Roly Serrano Carlos Roffé
María Vaner, Camila Perissé and Esther Goris starred in Bailoretto, la aventura de un rebelde
María Vaner Camila Perissé Esther Goris
action filter_type
action find
entity Bailoretto, la aventura de un rebelde
relation cast member
type common name
['Bailoretto, la aventura de un rebelde', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Bailoretto,_la_aventura_de_un_rebelde property:cast_member ?h . ?h rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6782141
P106
Q12737077
USER
What is the profession of that person ?
(Q6782141,P106,c(Q12737077))
action filter_type
action find
entity Q6782141
relation P106
type Q12737077
['Q6782141', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q6782141 property:P106 ?m }
María Vaner
action filter_type
action find
entity María Vaner
relation occupation
type occupation
['María Vaner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:María_Vaner property:occupation ?m }
[]
occupation
Clarification for simple ques.
Q6782141
SYSTEM
Did you mean María Vaner ?
Q6782141 Q5741981 Q5401191
(Q6782141,P106,c(Q12737077)) (Q5741981,P106,c(Q12737077)) (Q5401191,P106,c(Q12737077))
[ANSWER]
['Q6782141', 'P106', {'concept': 'Q12737077'}] ['Q5741981', 'P106', {'concept': 'Q12737077'}] ['Q5401191', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q6782141 property:P106 ?m }
María Vaner Camila Perissé Esther Goris
Did you mean María Vaner ?
María Vaner
['María Vaner', 'occupation', {'concept': 'occupation'}] ['Camila Perissé', 'occupation', {'concept': 'occupation'}] ['Esther Goris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:María_Vaner property:occupation ?m }
[]
Simple Question (Coreferenced)
USER
Yes
(Q6782141,P106,c(Q12737077))
['Q6782141', 'P106', {'concept': 'Q12737077'}]
['María Vaner', 'occupation', {'concept': 'occupation'}]
[]
Q33999
SYSTEM
actor
Q33999
(Q6782141,P106,c(Q12737077))
action filter_type
action find
entity Q6782141
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q6782141', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q6782141 property:P106 ?m }
actor
The profession of that person is an actor
actor
action filter_type
action find
entity María Vaner
relation occupation
type occupation
['María Vaner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:María_Vaner property:occupation ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q33999 Q456329
P106
Q502895
USER
Does Sab Shimono have career as that occupation ?
(Q456329,P106,Q33999)
action is_in
entity Q33999
action find
entity Q456329
relation P106
['Q456329', 'P106', 'Q33999']
ASK WHERE { resource:Q456329 property:P106 resource:Q33999 }
actor Sab Shimono
action is_in
entity actor
action find
entity Sab Shimono
relation occupation
['Sab Shimono', 'occupation', 'actor']
ASK WHERE { resource:Sab_Shimono property:occupation resource:actor }
[]
common name
SYSTEM
YES
(Q456329,P106,Q33999)
action is_in
entity Q33999
action find
entity Q456329
relation P106
[ANSWER]
['Q456329', 'P106', 'Q33999']
ASK WHERE { resource:Q456329 property:P106 resource:Q33999 }
Yes
action is_in
entity actor
action find
entity Sab Shimono
relation occupation
['Sab Shimono', 'occupation', 'actor']
ASK WHERE { resource:Sab_Shimono property:occupation resource:actor }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33999
P921
Q201658
USER
Which film genres were primarily based on that occupation ?
action filter_type
action find_reverse
entity Q33999
relation P921
type Q201658
SELECT DISTINCT ?z WHERE { ?z property:P921 resource:Q33999 . ?z rdf:type ontology:Q201658 }
actor
action filter_type
action find_reverse
entity actor
relation main subject
type film genre
SELECT DISTINCT ?z WHERE { ?z property:main_subject resource:actor . ?z rdf:type ontology:film_genre }
[]
film genre
Q5286374 Q1458201 Q921598
SYSTEM
Do You Remember Laurie Zimmer?, God Is the Bigger Elvis, Paul Robeson: Tribute to an Artist
Q5286374 Q1458201 Q921598
action filter_type
action find_reverse
entity Q33999
relation P921
type Q201658
[ANSWERS]
SELECT DISTINCT ?z WHERE { ?z property:P921 resource:Q33999 . ?z rdf:type ontology:Q201658 }
Do You Remember Laurie Zimmer? God Is the Bigger Elvis Paul Robeson: Tribute to an Artist
Do You Remember Laurie Zimmer, God Is the Bigger Elvis and Paul Robeson: Tribute to an Artist were primarily based on that occupation
Do You Remember Laurie Zimmer? God Is the Bigger Elvis Paul Robeson: Tribute to an Artist
action filter_type
action find_reverse
entity actor
relation main subject
type film genre
SELECT DISTINCT ?z WHERE { ?z property:main_subject resource:actor . ?z rdf:type ontology:film_genre }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P272
Q502895 Q201658
USER
Which people produce atleast 1 film genre ?
(c(Q201658),P272,c(Q502895))
action atleast
action find_reverse_tuple_counts
relation P272
type Q502895
type Q201658
value 1
[{'concept': 'Q201658'}, 'P272', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?w ) WHERE { ?u rdf:type ontology:Q201658 . ?z rdf:type ontology:Q502895 . ?u property:P272 ?z } GROUP BY ?z } . FILTER ( ?w >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation production company
type common name
type film genre
value 1
[{'concept': 'film genre'}, 'production company', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?w ) WHERE { ?u rdf:type ontology:film_genre . ?z rdf:type ontology:common_name . ?u property:production_company ?z } GROUP BY ?z } . FILTER ( ?w >= 1 ) }
[]
common name film genre
Q104127 Q319682 Q51123
SYSTEM
Douglas Fairbanks, Louis B. Mayer, D. W. Griffith
Q5537933 Q285357 Q1523434 Q1384661 Q93711 Q51123 Q1306984 Q510815 Q1680143 Q1707966 Q3938324 Q90338 Q942822 Q319682 Q62809 Q104127
(c(Q201658),P272,c(Q502895))
action atleast
action find_reverse_tuple_counts
relation P272
type Q502895
type Q201658
value 1
[ANSWERS] produce atleast 1 film genre
[{'concept': 'Q201658'}, 'P272', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?w ) WHERE { ?u rdf:type ontology:Q201658 . ?z rdf:type ontology:Q502895 . ?u property:P272 ?z } GROUP BY ?z } . FILTER ( ?w >= 1 ) }
George Clark B. P. Schulberg Maurice Tourneur Jesse Louis Lasky Elisabeth Bergner D. W. Griffith Sidney Morgan Harry R. Sokal J. C. Williamson Joseph M. Schenck Robert Kane Peter Paul Felner Thomas H. Ince Louis B. Mayer Olga Chekhova Douglas Fairbanks
Douglas Fairbanks, Louis B. Mayer and D. W. Griffith produce atleast 1 film genre
Douglas Fairbanks Louis B. Mayer D. W. Griffith
action atleast
action find_reverse_tuple_counts
relation production company
type common name
type film genre
value 1
[{'concept': 'film genre'}, 'production company', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?w ) WHERE { ?u rdf:type ontology:film_genre . ?z rdf:type ontology:common_name . ?u property:production_company ?z } GROUP BY ?z } . FILTER ( ?w >= 1 ) }
[]