Simple Question (Direct)
Simple Question
Q7599837
P641
Q349
USER
Which sport did Stanley Ohawuchi participate in ?
(Q7599837,P641,c(Q349))
action filter_type
action find
entity Q7599837
relation P641
type Q349
['Q7599837', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q7599837 property:P641 ?e }
Stanley Ohawuchi
action filter_type
action find
entity Stanley Ohawuchi
relation sport
type sport
['Stanley Ohawuchi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:Stanley_Ohawuchi property:sport ?e }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7599837,P641,c(Q349))
action filter_type
action find
entity Q7599837
relation P641
type Q349
Stanley Ohawuchi participated in [ANSWER]
['Q7599837', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q7599837 property:P641 ?e }
association football
Stanley Ohawuchi participated in association football
association football
action filter_type
action find
entity Stanley Ohawuchi
relation sport
type sport
['Stanley Ohawuchi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:Stanley_Ohawuchi property:sport ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7599837
P106
Q12737077
USER
What is the job of Stanley Ohawuchi ?
(Q7599837,P106,c(Q12737077))
action filter_type
action find
entity Q7599837
relation P106
type Q12737077
['Q7599837', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q7599837 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Stanley Ohawuchi
action filter_type
action find
entity Stanley Ohawuchi
relation occupation
type occupation
['Stanley Ohawuchi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Stanley_Ohawuchi property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7599837,P106,c(Q12737077))
action filter_type
action find
entity Q7599837
relation P106
type Q12737077
The job of Stanley Ohawuchi is an [ANSWER]
['Q7599837', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q7599837 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
association football player
The job of Stanley Ohawuchi is an association football player
association football player
action filter_type
action find
entity Stanley Ohawuchi
relation occupation
type occupation
['Stanley Ohawuchi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Stanley_Ohawuchi property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16645359
Q12737077
USER
And how about Jean-Pierre Chandler?
(Q16645359,P106,c(Q12737077))
action filter_type
action find
entity Q16645359
relation P106
type Q12737077
['Q16645359', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q16645359 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Jean-Pierre Chandler
action filter_type
action find
entity Jean-Pierre Chandler
relation occupation
type occupation
['Jean-Pierre Chandler', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Jean-Pierre_Chandler property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q16645359,P106,c(Q12737077))
action filter_type
action find
entity Q16645359
relation P106
type Q12737077
[ANSWER]
['Q16645359', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q16645359 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
actor
actor
action filter_type
action find
entity Jean-Pierre Chandler
relation occupation
type occupation
['Jean-Pierre Chandler', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Jean-Pierre_Chandler property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q8418 Q2736
P641
Q502895
USER
Which people are involved in playing association football and handball ?
AND((c(Q502895),P641,Q2736), (c(Q502895),P641,Q8418))
action filter_type
action intersection
action find_reverse
entity Q2736
relation P641
action find_reverse
entity Q8418
relation P641
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q2736'], [{'concept': 'Q502895'}, 'P641', 'Q8418']]}
SELECT DISTINCT ?f WHERE { ?f property:P641 resource:Q2736 . ?f property:P641 resource:Q8418 . ?f rdf:type ontology:Q502895 }
handball association football
action filter_type
action intersection
action find_reverse
entity association football
relation sport
action find_reverse
entity handball
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'association football'], [{'concept': 'common name'}, 'sport', 'handball']]}
SELECT DISTINCT ?f WHERE { ?f property:sport resource:association_football . ?f property:sport resource:handball . ?f rdf:type ontology:common_name }
[]
common name
Q9324954 Q11768258 Q2437974 Q9359377 Q11753491 Q1254634 Q11729531 Q729063 Q1723061 Q4957495
SYSTEM
Some of them are Ryszard Skutnik, Marek Kubiszewski, Tobias Reichmann, Tomasz Jeżewski, Lech Kryński, Dragan Tubić, Jurij Hiliuk, Alexey Kostygov, Kamil Krieger, Branko Vujović
Q1903822 Q9256077 Q515640 Q9302621 Q8288753 Q9359377 Q2096254 Q3217846 Q456062 Q1254634 Q11753491 Q480012 Q1419067 Q808401 Q729063 Q809619 Q1158450 Q9188507 Q2437974 Q351111 Q1679523 Q11814288 Q11729531 Q456094 Q11768258 Q11692704 Q11734505 Q9394623 Q665251 Q455873 Q11702716 Q11833564 Q1603791 Q1723061 Q11778671 Q9166130 Q962244 Q6786702 Q475860 Q1532477 Q9324954 Q16574890 Q772217 Q869833 Q741228 Q4957495 Q1930531
AND((c(Q502895),P641,Q2736), (c(Q502895),P641,Q8418))
action filter_type
action intersection
action find_reverse
entity Q2736
relation P641
action find_reverse
entity Q8418
relation P641
type Q502895
[ANSWERS] are involved in playing association football and handball
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q2736'], [{'concept': 'Q502895'}, 'P641', 'Q8418']]}
SELECT DISTINCT ?f WHERE { ?f property:P641 resource:Q2736 . ?f property:P641 resource:Q8418 . ?f rdf:type ontology:Q502895 }
Martin Galia Eugeniusz Wenta Andrzej Strejlau Radosław Wasiak Filip Kliszczyk Tomasz Jeżewski Piotr Grabarczyk Larbi Mouissa Paweł Piwko Dragan Tubić Lech Kryński Dan Beutler Gerrie Eijlers Barna Putics Alexey Kostygov Bartłomiej Tomczak Damian Kostrzewa Cezary Winkler Tobias Reichmann Adam Weiner Rafał Gliński Paweł Niewrzawa Jurij Hiliuk Patryk Kuchczyński Marek Kubiszewski Damian Moszczyński Kamil Buchcic Łukasz Janyst Joachim Boldsen Daniel Żółtak Grzegorz Gowin Rafał Bernacki Helmut Kosmehl Kamil Krieger Michał Chodara Bartosz Konitz Ingimundur Ingimundarson Mateusz Zaremba Grzegorz Tkaczyk Mark Bult Ryszard Skutnik Marian Olejnik Henrik Knudsen Per Sandström Rastko Stojković Branko Vujović Michał Adamuszek
Ryszard Skutnik, Marek Kubiszewski, Tobias Reichmann, Tomasz Jeżewski, Lech Kryński, Dragan Tubić, Jurij Hiliuk, Alexey Kostygov, Kamil Krieger and Branko Vujović are involved in playing association football and handball
Ryszard Skutnik Marek Kubiszewski Tobias Reichmann Tomasz Jeżewski Lech Kryński Dragan Tubić Jurij Hiliuk Alexey Kostygov Kamil Krieger Branko Vujović
action filter_type
action intersection
action find_reverse
entity association football
relation sport
action find_reverse
entity handball
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'association football'], [{'concept': 'common name'}, 'sport', 'handball']]}
SELECT DISTINCT ?f WHERE { ?f property:sport resource:association_football . ?f property:sport resource:handball . ?f rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1418615
P725
Q502895 Q11424
USER
Which films have been dubbed by lesser number of people than Fritz the Cat ?
(c(Q11424),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q1418615
relation P725
type Q502895
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?r ) WHERE { ?n property:P725 ?l . ?l rdf:type ontology:Q502895 . ?n rdf:type ontology:Q11424 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Q1418615 property:P725 ?q . ?q rdf:type ontology:Q502895 } } . FILTER ( ?r < ?k ) }
Fritz the Cat
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Fritz the Cat
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?r ) WHERE { ?n property:voice_actor ?l . ?l rdf:type ontology:common_name . ?n rdf:type ontology:film } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Fritz_the_Cat property:voice_actor ?q . ?q rdf:type ontology:common_name } } . FILTER ( ?r < ?k ) }
[]
common name film
Q943192 Q785363 Q1361113
SYSTEM
Fantasia, The Time Masters, Pooh's Heffalump Movie
Q1138751 Q2918397 Q785363 Q1656435 Q943192 Q1361113 Q2299779 Q1195096
(c(Q11424),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q1418615
relation P725
type Q502895
[ANSWERS] have been dubbed by lesser number of people than Fritz the Cat
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?r ) WHERE { ?n property:P725 ?l . ?l rdf:type ontology:Q502895 . ?n rdf:type ontology:Q11424 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Q1418615 property:P725 ?q . ?q rdf:type ontology:Q502895 } } . FILTER ( ?r < ?k ) }
The Plague Dogs The Bugs Bunny/Road Runner Movie The Time Masters Ico, the Brave Horse Fantasia Pooh's Heffalump Movie Animal Farms Havoc in Heaven
Fantasia, The Time Masters and Pooh's Heffalump Movie have been dubbed by lesser number of people than Fritz the Cat
Fantasia The Time Masters Pooh's Heffalump Movie
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Fritz the Cat
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?r ) WHERE { ?n property:voice_actor ?l . ?l rdf:type ontology:common_name . ?n rdf:type ontology:film } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Fritz_the_Cat property:voice_actor ?q . ?q rdf:type ontology:common_name } } . FILTER ( ?r < ?k ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P495
Q7275 Q15617994
USER
How many states or administrative territories did that film originate ?
(Q785363,P495,c(Q7275)) (Q785363,P495,c(Q15617994)) (Q943192,P495,c(Q7275)) (Q943192,P495,c(Q15617994)) (Q785363,P495,c(Q7275)) (Q785363,P495,c(Q15617994)) (Q1361113,P495,c(Q7275)) (Q1361113,P495,c(Q15617994))
['Q785363', 'P495', {'concept': 'Q7275'}] ['Q785363', 'P495', {'concept': 'Q15617994'}] ['Q943192', 'P495', {'concept': 'Q7275'}] ['Q943192', 'P495', {'concept': 'Q15617994'}] ['Q785363', 'P495', {'concept': 'Q7275'}] ['Q785363', 'P495', {'concept': 'Q15617994'}] ['Q1361113', 'P495', {'concept': 'Q7275'}] ['Q1361113', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q785363 property:P495 ?z } UNION { resource:Q785363 property:P495 ?y } UNION { resource:Q17002686 property:P495 ?z } UNION { resource:Q17002686 property:P495 ?y } UNION { resource:Q785363 property:P495 ?z } UNION { resource:Q785363 property:P495 ?y } UNION { resource:Q1361113 property:P495 ?z } UNION { resource:Q1361113 property:P495 ?y } } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q15617994 }
['The Time Masters', 'country of origin', {'concept': 'state'}] ['The Time Masters', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Fantasia', 'country of origin', {'concept': 'state'}] ['Fantasia', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Time Masters', 'country of origin', {'concept': 'state'}] ['The Time Masters', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ["Pooh's Heffalump Movie", 'country of origin', {'concept': 'state'}] ["Pooh's Heffalump Movie", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:The_Time_Masters property:country_of_origin ?z } UNION { resource:The_Time_Masters property:country_of_origin ?y } UNION { resource:Fantasia property:country_of_origin ?z } UNION { resource:Fantasia property:country_of_origin ?y } UNION { resource:The_Time_Masters property:country_of_origin ?z } UNION { resource:The_Time_Masters property:country_of_origin ?y } UNION { resource:Pooh's_Heffalump_Movie property:country_of_origin ?z } UNION { resource:Pooh's_Heffalump_Movie property:country_of_origin ?y } } . ?z rdf:type ontology:state . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
state designation for an administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q1361113
SYSTEM
Did you mean Pooh's Heffalump Movie ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q785363 property:P495 ?z } UNION { resource:Q785363 property:P495 ?y } UNION { resource:Q17002686 property:P495 ?z } UNION { resource:Q17002686 property:P495 ?y } UNION { resource:Q785363 property:P495 ?z } UNION { resource:Q785363 property:P495 ?y } UNION { resource:Q1361113 property:P495 ?z } UNION { resource:Q1361113 property:P495 ?y } } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q15617994 }
Did you mean Pooh's Heffalump Movie ?
Pooh's Heffalump Movie
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:The_Time_Masters property:country_of_origin ?z } UNION { resource:The_Time_Masters property:country_of_origin ?y } UNION { resource:Fantasia property:country_of_origin ?z } UNION { resource:Fantasia property:country_of_origin ?y } UNION { resource:The_Time_Masters property:country_of_origin ?z } UNION { resource:The_Time_Masters property:country_of_origin ?y } UNION { resource:Pooh's_Heffalump_Movie property:country_of_origin ?z } UNION { resource:Pooh's_Heffalump_Movie property:country_of_origin ?y } } . ?z rdf:type ontology:state . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant The Time Masters. Could you tell me the answer for that?
(Q785363,P495,c(Q7275)) (Q785363,P495,c(Q15617994)) (Q943192,P495,c(Q7275)) (Q943192,P495,c(Q15617994)) (Q785363,P495,c(Q7275)) (Q785363,P495,c(Q15617994)) (Q1361113,P495,c(Q7275)) (Q1361113,P495,c(Q15617994))
Q785363
['Q785363', 'P495', {'concept': 'Q7275'}] ['Q785363', 'P495', {'concept': 'Q15617994'}] ['Q943192', 'P495', {'concept': 'Q7275'}] ['Q943192', 'P495', {'concept': 'Q15617994'}] ['Q785363', 'P495', {'concept': 'Q7275'}] ['Q785363', 'P495', {'concept': 'Q15617994'}] ['Q1361113', 'P495', {'concept': 'Q7275'}] ['Q1361113', 'P495', {'concept': 'Q15617994'}]
['The Time Masters', 'country of origin', {'concept': 'state'}] ['The Time Masters', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Fantasia', 'country of origin', {'concept': 'state'}] ['Fantasia', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Time Masters', 'country of origin', {'concept': 'state'}] ['The Time Masters', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ["Pooh's Heffalump Movie", 'country of origin', {'concept': 'state'}] ["Pooh's Heffalump Movie", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
5
Q142 Q28 Q39 Q713750 Q145
(Q785363,P495,c(Q7275)) (Q785363,P495,c(Q15617994)) (Q943192,P495,c(Q7275)) (Q943192,P495,c(Q15617994)) (Q785363,P495,c(Q7275)) (Q785363,P495,c(Q15617994)) (Q1361113,P495,c(Q7275)) (Q1361113,P495,c(Q15617994))
[ANSWER]
['Q785363', 'P495', {'concept': 'Q7275'}] ['Q785363', 'P495', {'concept': 'Q15617994'}] ['Q943192', 'P495', {'concept': 'Q7275'}] ['Q943192', 'P495', {'concept': 'Q15617994'}] ['Q785363', 'P495', {'concept': 'Q7275'}] ['Q785363', 'P495', {'concept': 'Q15617994'}] ['Q1361113', 'P495', {'concept': 'Q7275'}] ['Q1361113', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q785363 property:P495 ?z } UNION { resource:Q785363 property:P495 ?y } UNION { resource:Q17002686 property:P495 ?z } UNION { resource:Q17002686 property:P495 ?y } UNION { resource:Q785363 property:P495 ?z } UNION { resource:Q785363 property:P495 ?y } UNION { resource:Q1361113 property:P495 ?z } UNION { resource:Q1361113 property:P495 ?y } } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q15617994 }
France Hungary Switzerland West Germany United Kingdom
5
['The Time Masters', 'country of origin', {'concept': 'state'}] ['The Time Masters', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Fantasia', 'country of origin', {'concept': 'state'}] ['Fantasia', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Time Masters', 'country of origin', {'concept': 'state'}] ['The Time Masters', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ["Pooh's Heffalump Movie", 'country of origin', {'concept': 'state'}] ["Pooh's Heffalump Movie", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:The_Time_Masters property:country_of_origin ?z } UNION { resource:The_Time_Masters property:country_of_origin ?y } UNION { resource:Fantasia property:country_of_origin ?z } UNION { resource:Fantasia property:country_of_origin ?y } UNION { resource:The_Time_Masters property:country_of_origin ?z } UNION { resource:The_Time_Masters property:country_of_origin ?y } UNION { resource:Pooh's_Heffalump_Movie property:country_of_origin ?z } UNION { resource:Pooh's_Heffalump_Movie property:country_of_origin ?y } } . ?z rdf:type ontology:state . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q943192
P344
Q502895
USER
Which person serves as the director of photography for Fantasia ?
(Q943192,P344,c(Q502895))
action filter_type
action find
entity Q943192
relation P344
type Q502895
['Q943192', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q943192 property:P344 ?g . ?g rdf:type ontology:Q502895 }
Fantasia
action filter_type
action find
entity Fantasia
relation director of photography
type common name
['Fantasia', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Fantasia property:director_of_photography ?g . ?g rdf:type ontology:common_name }
[]
common name
Q266521
SYSTEM
James Wong Howe
Q266521
(Q943192,P344,c(Q502895))
action filter_type
action find
entity Q943192
relation P344
type Q502895
[ANSWER] serves as the director of photography for Fantasia
['Q943192', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q943192 property:P344 ?g . ?g rdf:type ontology:Q502895 }
James Wong Howe
James Wong Howe serves as the director of photography for Fantasia
James Wong Howe
action filter_type
action find
entity Fantasia
relation director of photography
type common name
['Fantasia', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Fantasia property:director_of_photography ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q266521
P1411
Q4220917
USER
Which film awards were that person a recipient of ?
(Q266521,P1411,c(Q4220917))
action filter_type
action find
entity Q266521
relation P1411
type Q4220917
['Q266521', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?z WHERE { resource:Q266521 property:P1411 ?z . ?z rdf:type ontology:Q4220917 }
James Wong Howe
action filter_type
action find
entity James Wong Howe
relation nominated for
type film award
['James Wong Howe', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?z WHERE { resource:James_Wong_Howe property:nominated_for ?z . ?z rdf:type ontology:film_award }
[]
film award
Q21995136 Q131520 Q21995139
SYSTEM
Academy Award for Best Cinematography, Color, Academy Award for Best Cinematography, Academy Award for Best Cinematography, Black-and-White
Q21995136 Q131520 Q21995139
(Q266521,P1411,c(Q4220917))
action filter_type
action find
entity Q266521
relation P1411
type Q4220917
[ANSWERS]
['Q266521', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?z WHERE { resource:Q266521 property:P1411 ?z . ?z rdf:type ontology:Q4220917 }
Academy Award for Best Cinematography, Color Academy Award for Best Cinematography Academy Award for Best Cinematography, Black-and-White
Academy Award for Best Cinematography, Color, Academy Award for Best Cinematography and Academy Award for Best Cinematography, Black-and-White were that person a recipient of
Academy Award for Best Cinematography, Color Academy Award for Best Cinematography Academy Award for Best Cinematography, Black-and-White
action filter_type
action find
entity James Wong Howe
relation nominated for
type film award
['James Wong Howe', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?z WHERE { resource:James_Wong_Howe property:nominated_for ?z . ?z rdf:type ontology:film_award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q3305213 Q838948
USER
How many occupations are depicted in exactly 1 paintings and works of art ?
(c(Q3305213)|c(Q838948),P180,c(Q12737077))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
value 1
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?v ) WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } GROUP BY ?s } }
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
value 1
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?v ) WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:painting ) } } GROUP BY ?s } }
[]
occupation painting work of art
SYSTEM
46
Q177220 Q1401609 Q27621374 Q1124183 Q36180 Q329737 Q4504549 Q842782 Q486748 Q483501 Q215536 Q22085061 Q1139055 Q181765 Q805221 Q12097 Q855855 Q6116659 Q622630 Q3330547 Q3214532 Q14009165 Q2981922 Q10833314 Q1318187 Q250867 Q10873124 Q13381689 Q178521 Q54128 Q20489032 Q103163 Q965417 Q845929 Q207651 Q170779 Q833860 Q1627992 Q2191547 Q189290 Q432386 Q811122 Q1630100 Q842606 Q2340797 Q156839
(c(Q3305213)|c(Q838948),P180,c(Q12737077))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
value 1
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?v ) WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } GROUP BY ?s } }
singer vaquero bear hunter lumberjack writer butcher religious servant detective pianist artist merchant sower tax collector Holy Roman Emperor ballet dancer king page priestess odalisque chronicler plowman trapper American pioneer tennis player scrivener Catholic priest chess player discus thrower cowboy domestic worker salt pan worker abbot waterseller pretender executioner Kassandra maid lady's maid picador officer preacher construction worker art model Roman emperor quarryman cook
46
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
value 1
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?v ) WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:painting ) } } GROUP BY ?s } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q729063
P21
Q290
USER
Which sex does Alexey Kostygov have ?
(Q729063,P21,c(Q290))
action filter_type
action find
entity Q729063
relation P21
type Q290
['Q729063', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q729063 property:P21 ?a . ?a rdf:type ontology:Q290 }
Alexey Kostygov
action filter_type
action find
entity Alexey Kostygov
relation gender
type sex
['Alexey Kostygov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Alexey_Kostygov property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q729063,P21,c(Q290))
action filter_type
action find
entity Q729063
relation P21
type Q290
Alexey Kostygov has 1 [ANSWER]
['Q729063', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q729063 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Alexey Kostygov has 1 male
male
action filter_type
action find
entity Alexey Kostygov
relation gender
type sex
['Alexey Kostygov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Alexey_Kostygov property:gender ?a . ?a rdf:type ontology:sex }
[]