Simple Question (Direct)
Simple Question
Q1304929
P344
Q502895
USER
Who is the director of photography for Man in the Wilderness ?
(Q1304929,P344,c(Q502895))
action filter_type
action find
entity Q1304929
relation P344
type Q502895
['Q1304929', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1304929 property:P344 ?h . ?h rdf:type ontology:Q502895 }
Man in the Wilderness
action filter_type
action find
entity Man in the Wilderness
relation director of photography
type common name
['Man in the Wilderness', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Man_in_the_Wilderness property:director_of_photography ?h . ?h rdf:type ontology:common_name }
[]
common name
Q485770
SYSTEM
Gerry Fisher
Q485770
(Q1304929,P344,c(Q502895))
action filter_type
action find
entity Q1304929
relation P344
type Q502895
The director of photography for Man in the Wilderness is to [ANSWER]
['Q1304929', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1304929 property:P344 ?h . ?h rdf:type ontology:Q502895 }
Gerry Fisher
The director of photography for Man in the Wilderness is to Gerry Fisher
Gerry Fisher
action filter_type
action find
entity Man in the Wilderness
relation director of photography
type common name
['Man in the Wilderness', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Man_in_the_Wilderness property:director_of_photography ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q485770
P735
Q82799
USER
What is the firstname of that person ?
(Q485770,P735,c(Q82799))
action filter_type
action find
entity Q485770
relation P735
type Q82799
['Q485770', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q485770 property:P735 ?t . ?t rdf:type ontology:Q82799 }
Gerry Fisher
action filter_type
action find
entity Gerry Fisher
relation given name
type name
['Gerry Fisher', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Gerry_Fisher property:given_name ?t . ?t rdf:type ontology:name }
[]
name
Q1514838
SYSTEM
Gerry
Q1514838
(Q485770,P735,c(Q82799))
action filter_type
action find
entity Q485770
relation P735
type Q82799
The firstname of that person is to [ANSWER]
['Q485770', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q485770 property:P735 ?t . ?t rdf:type ontology:Q82799 }
Gerry
The firstname of that person is to Gerry
Gerry
action filter_type
action find
entity Gerry Fisher
relation given name
type name
['Gerry Fisher', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Gerry_Fisher property:given_name ?t . ?t rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q485770
P734
Q82799
USER
Who is associated with Gerry Fisher ?
(Q485770,P734,c(Q82799))
action filter_type
action find
entity Q485770
relation P734
type Q82799
['Q485770', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q485770 property:P734 ?l }
Gerry Fisher
action filter_type
action find
entity Gerry Fisher
relation family name
type name
['Gerry Fisher', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Gerry_Fisher property:family_name ?l }
[]
name
Q1158882
SYSTEM
Fisher
Q1158882
(Q485770,P734,c(Q82799))
action filter_type
action find
entity Q485770
relation P734
type Q82799
[ANSWER] is associated with Gerry [ANSWER]
['Q485770', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q485770 property:P734 ?l }
Fisher
Fisher is associated with Gerry Fisher
Fisher
action filter_type
action find
entity Gerry Fisher
relation family name
type name
['Gerry Fisher', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Gerry_Fisher property:family_name ?l }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11409748
Q82799
USER
And also tell me about Kazuo Harada?
(Q11409748,P734,c(Q82799))
action filter_type
action find
entity Q11409748
relation P734
type Q82799
['Q11409748', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q11409748 property:P734 ?j }
Kazuo Harada
action filter_type
action find
entity Kazuo Harada
relation family name
type name
['Kazuo Harada', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Kazuo_Harada property:family_name ?j }
[]
name
Q21496589
SYSTEM
Harada
Q21496589
(Q11409748,P734,c(Q82799))
action filter_type
action find
entity Q11409748
relation P734
type Q82799
[ANSWER]
['Q11409748', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q11409748 property:P734 ?j }
Harada
Harada
action filter_type
action find
entity Kazuo Harada
relation family name
type name
['Kazuo Harada', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Kazuo_Harada property:family_name ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11409748
P21
Q290
USER
Which sex does that person possess ?
(Q21496589,P21,c(Q290))
action filter_type
action find
entity Q11409748
relation P21
type Q290
['Q21496589', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q11409748 property:P21 ?o . ?o rdf:type ontology:Q290 }
Kazuo Harada
action filter_type
action find
entity Kazuo Harada
relation gender
type sex
['Harada', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Kazuo_Harada property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q21496589,P21,c(Q290))
action filter_type
action find
entity Q11409748
relation P21
type Q290
That person possesses a [ANSWER]
['Q21496589', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q11409748 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Kazuo Harada
relation gender
type sex
['Harada', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Kazuo_Harada property:gender ?o . ?o rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q485770
P344
Q36649 Q838948
USER
How many visual artss and works of art are Gerry Fisher assigned to as the cinematographer ?
(c(Q36649),P344,Q485770) (c(Q838948),P344,Q485770)
action count
action union
action filter_type
action find_reverse
entity Q485770
relation P344
type Q36649
action filter_type
action find_reverse
entity Q485770
relation P344
type Q838948
[{'concept': 'Q36649'}, 'P344', 'Q485770'] [{'concept': 'Q838948'}, 'P344', 'Q485770']
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { ?a property:P344 resource:Q485770 . ?a rdf:type ontology:Q36649 } UNION { ?a rdf:type ontology:Q838948 . ?a property:P344 resource:Q485770 } }
Gerry Fisher
action count
action union
action filter_type
action find_reverse
entity Gerry Fisher
relation director of photography
type visual arts
action filter_type
action find_reverse
entity Gerry Fisher
relation director of photography
type work of art
[{'concept': 'visual arts'}, 'director of photography', 'Gerry Fisher'] [{'concept': 'work of art'}, 'director of photography', 'Gerry Fisher']
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { ?a property:director_of_photography resource:Gerry_Fisher . ?a rdf:type ontology:visual_arts } UNION { ?a rdf:type ontology:work_of_art . ?a property:director_of_photography resource:Gerry_Fisher } }
[]
visual arts work of art
SYSTEM
1 visual artss and 44 works of art
Q1133266 Q3279816 Q2037780 Q656910 Q2465329 Q954513 Q469218 Q2081406 Q1544006 Q1192054 Q648168 Q664020 Q7732814 Q544780 Q156539 Q2397573 Q2743017 Q12125895 Q898759 Q1091041 Q3519757 Q3015278 Q204514 Q1754829 Q1118588 Q696122 Q1150596 Q3211250 Q7442352 Q1813978 Q4401436 Q212660 Q2555285 Q1251251 Q1131562 Q1056781 Q485144 Q3112204 Q1219179 Q339114 Q1401796 Q1279807 Q1304929 Q573210 Q4730174
(c(Q36649),P344,Q485770) (c(Q838948),P344,Q485770)
action count
action union
action filter_type
action find_reverse
entity Q485770
relation P344
type Q36649
action filter_type
action find_reverse
entity Q485770
relation P344
type Q838948
[ANSWER]
[{'concept': 'Q36649'}, 'P344', 'Q485770'] [{'concept': 'Q838948'}, 'P344', 'Q485770']
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { ?a property:P344 resource:Q485770 . ?a rdf:type ontology:Q36649 } UNION { ?a rdf:type ontology:Q838948 . ?a property:P344 resource:Q485770 } }
Secret Ceremony A Doll's House The Offence Fedora See No Evil Man on Fire Malpertuis Furia Aces High The Holcroft Covenant Monsieur Klein The Go-Between The Exorcist series Running on Empty Highlander The Sea Gull S*P*Y*S Lovesick Brannigan The Island of Dr. Moreau The Amazing Mr Blunden Hamlet Juggernaut Wolfen The Last Remake of Beau Geste Escape to Victory The Exorcist III Diggstown Sebastian The Adventure of Sherlock Holmes' Smarter Brother Better Late Than Never Dead Bang Wise Blood Yellowbeard Cops & Robbersons Don Giovanni Black Rainbow Ned Kelly The Romantic Englishwoman Accident The Ninth Configuration The Fourth War Man in the Wilderness Company Business All the Right Noises
1 visual artss and 44 works of art
action count
action union
action filter_type
action find_reverse
entity Gerry Fisher
relation director of photography
type visual arts
action filter_type
action find_reverse
entity Gerry Fisher
relation director of photography
type work of art
[{'concept': 'visual arts'}, 'director of photography', 'Gerry Fisher'] [{'concept': 'work of art'}, 'director of photography', 'Gerry Fisher']
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { ?a property:director_of_photography resource:Gerry_Fisher . ?a rdf:type ontology:visual_arts } UNION { ?a rdf:type ontology:work_of_art . ?a property:director_of_photography resource:Gerry_Fisher } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q485770
P463
Q43229
USER
Which organization was that person a member of ?
action filter_type
action find
entity Q485770
relation P463
type Q43229
SELECT DISTINCT ?b WHERE { resource:Q485770 property:P463 ?b . ?b rdf:type ontology:Q43229 }
Gerry Fisher
action filter_type
action find
entity Gerry Fisher
relation member of
type organization
SELECT DISTINCT ?b WHERE { resource:Gerry_Fisher property:member_of ?b . ?b rdf:type ontology:organization }
[]
organization
Q924996
SYSTEM
British Society of Cinematographers
Q924996
action filter_type
action find
entity Q485770
relation P463
type Q43229
[ANSWER] was that person a member of
SELECT DISTINCT ?b WHERE { resource:Q485770 property:P463 ?b . ?b rdf:type ontology:Q43229 }
British Society of Cinematographers
British Society of Cinematographers was that person a member of
British Society of Cinematographers
action filter_type
action find
entity Gerry Fisher
relation member of
type organization
SELECT DISTINCT ?b WHERE { resource:Gerry_Fisher property:member_of ?b . ?b rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1737074 Q485770
P463
Q43229
USER
Or Barbara Pietrzak?
OR((Q485770,P463,c(Q43229)), (Q1737074,P463,c(Q43229)))
action filter_type
action union
action find
entity Q485770
relation P463
action find
entity Q1737074
relation P463
type Q43229
{'OR': [['Q485770', 'P463', {'concept': 'Q43229'}], ['Q1737074', 'P463', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . { VALUES ( ?r ) { ( resource:Q485770 ) ( resource:Q1737074 ) } . ?r property:P463 ?j } }
Barbara Pietrzak Gerry Fisher
action filter_type
action union
action find
entity Gerry Fisher
relation member of
action find
entity Barbara Pietrzak
relation member of
type organization
{'OR': [['Gerry Fisher', 'member of', {'concept': 'organization'}], ['Barbara Pietrzak', 'member of', {'concept': 'organization'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . { VALUES ( ?r ) { ( resource:Gerry_Fisher ) ( resource:Barbara_Pietrzak ) } . ?r property:member_of ?j } }
[]
organization
Q202479 Q924996
SYSTEM
Academy of Esperanto, British Society of Cinematographers
Q202479 Q924996
OR((Q485770,P463,c(Q43229)), (Q1737074,P463,c(Q43229)))
action filter_type
action union
action find
entity Q485770
relation P463
action find
entity Q1737074
relation P463
type Q43229
[ANSWERS]
{'OR': [['Q485770', 'P463', {'concept': 'Q43229'}], ['Q1737074', 'P463', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . { VALUES ( ?r ) { ( resource:Q485770 ) ( resource:Q1737074 ) } . ?r property:P463 ?j } }
Academy of Esperanto British Society of Cinematographers
Academy of Esperanto British Society of Cinematographers
action filter_type
action union
action find
entity Gerry Fisher
relation member of
action find
entity Barbara Pietrzak
relation member of
type organization
{'OR': [['Gerry Fisher', 'member of', {'concept': 'organization'}], ['Barbara Pietrzak', 'member of', {'concept': 'organization'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . { VALUES ( ?r ) { ( resource:Gerry_Fisher ) ( resource:Barbara_Pietrzak ) } . ?r property:member_of ?j } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P488
Q502895 Q43229
USER
How many organizations are lesser number of people a chairperson of than that organization ?
(c(Q43229),P488,c(Q502895))
[{'concept': 'Q43229'}, 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q140686 ?y . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q502895 }
[{'concept': 'organization'}, 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:chairperson ?y . ?z rdf:type ontology:organization . ?y rdf:type ontology:common_name }
[]
common name organization
Comparative|Count over More/Less|Single entity type|Clarification
Q924996
SYSTEM
Did you mean British Society of Cinematographers ?
(c(Q43229),P488,c(Q502895))
[ANSWER]
[{'concept': 'Q43229'}, 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q140686 ?y . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q502895 }
Did you mean British Society of Cinematographers ?
British Society of Cinematographers
[{'concept': 'organization'}, 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:chairperson ?y . ?z rdf:type ontology:organization . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Academy of Esperanto. Could you tell me the answer for that?
(c(Q43229),P488,c(Q502895))
Q202479
[{'concept': 'Q43229'}, 'P488', {'concept': 'Q502895'}]
[{'concept': 'organization'}, 'chairperson', {'concept': 'common name'}]
[]
SYSTEM
11
Q23891513 Q7562287 Q23891480 Q21075648 Q38791 Q2992927 Q5967913 Q3091443 Q489709 Q4398126 Q4992993
(c(Q43229),P488,c(Q502895))
[ANSWER]
[{'concept': 'Q43229'}, 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q140686 ?y . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q502895 }
Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union Sons of Anarchy Motorcycle Club Australian Embassy and Permanent Mission to the United Nations, Austria Society of Greek Writers Hitler Youth Canadian Conference of Catholic Bishops I.T Anarchist Federation Apache Software Foundation Russian Social-Democratic Union of Youth Nunaoil
11
[{'concept': 'organization'}, 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:chairperson ?y . ?z rdf:type ontology:organization . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1304929
P86
Q502895
USER
Who did the compostion for Man in the Wilderness ?
(Q1304929,P86,c(Q502895))
action filter_type
action find
entity Q1304929
relation P86
type Q502895
['Q1304929', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q1304929 property:P86 ?s }
Man in the Wilderness
action filter_type
action find
entity Man in the Wilderness
relation composer
type common name
['Man in the Wilderness', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Man_in_the_Wilderness property:composer ?s }
[]
common name
Q1917393
SYSTEM
Johnny Harris
Q1917393
(Q1304929,P86,c(Q502895))
action filter_type
action find
entity Q1304929
relation P86
type Q502895
[ANSWER] did the compostion for Man in the Wilderness
['Q1304929', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q1304929 property:P86 ?s }
Johnny Harris
Johnny Harris did the compostion for Man in the Wilderness
Johnny Harris
action filter_type
action find
entity Man in the Wilderness
relation composer
type common name
['Man in the Wilderness', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Man_in_the_Wilderness property:composer ?s }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q643263
Q502895
USER
And also tell me about Sense and Sensibility?
(Q643263,P86,c(Q502895))
action filter_type
action find
entity Q643263
relation P86
type Q502895
['Q643263', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q643263 property:P86 ?g . ?g rdf:type ontology:Q502895 }
Sense and Sensibility
action filter_type
action find
entity Sense and Sensibility
relation composer
type common name
['Sense and Sensibility', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Sense_and_Sensibility property:composer ?g . ?g rdf:type ontology:common_name }
[]
common name
Q363241
SYSTEM
Patrick Doyle
Q363241
(Q643263,P86,c(Q502895))
action filter_type
action find
entity Q643263
relation P86
type Q502895
[ANSWER]
['Q643263', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q643263 property:P86 ?g . ?g rdf:type ontology:Q502895 }
Patrick Doyle
Patrick Doyle
action filter_type
action find
entity Sense and Sensibility
relation composer
type common name
['Sense and Sensibility', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Sense_and_Sensibility property:composer ?g . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P86
Q1001378 Q11424
USER
How many cinematic techniques or films are composed by that person ?
(c(Q1001378),P86,Q363241) (c(Q11424),P86,Q363241) (c(Q1001378),P86,Q363241) (c(Q11424),P86,Q363241)
action count
action union
action filter_type
action find_reverse
entity Q363241
relation P86
type Q1001378
action filter_type
action find_reverse
entity Q363241
relation P86
type Q11424
[{'concept': 'Q1001378'}, 'P86', 'Q363241'] [{'concept': 'Q11424'}, 'P86', 'Q363241'] [{'concept': 'Q1001378'}, 'P86', 'Q363241'] [{'concept': 'Q11424'}, 'P86', 'Q363241']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { ?m rdf:type ontology:Q1001378 . ?m property:P86 resource:Q363241 } UNION { ?m property:P86 resource:Q363241 . ?m rdf:type ontology:Q11424 } }
action count
action union
action filter_type
action find_reverse
entity Patrick Doyle
relation composer
type cinematic technique
action filter_type
action find_reverse
entity Patrick Doyle
relation composer
type film
[{'concept': 'cinematic technique'}, 'composer', 'Patrick Doyle'] [{'concept': 'film'}, 'composer', 'Patrick Doyle'] [{'concept': 'cinematic technique'}, 'composer', 'Patrick Doyle'] [{'concept': 'film'}, 'composer', 'Patrick Doyle']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { ?m rdf:type ontology:cinematic_technique . ?m property:composer resource:Patrick_Doyle } UNION { ?m property:composer resource:Patrick_Doyle . ?m rdf:type ontology:film } }
[]
cinematic technique film
SYSTEM
2
Q1764174 Q126796
(c(Q1001378),P86,Q363241) (c(Q11424),P86,Q363241) (c(Q1001378),P86,Q363241) (c(Q11424),P86,Q363241)
action count
action union
action filter_type
action find_reverse
entity Q363241
relation P86
type Q1001378
action filter_type
action find_reverse
entity Q363241
relation P86
type Q11424
[ANSWER]
[{'concept': 'Q1001378'}, 'P86', 'Q363241'] [{'concept': 'Q11424'}, 'P86', 'Q363241'] [{'concept': 'Q1001378'}, 'P86', 'Q363241'] [{'concept': 'Q11424'}, 'P86', 'Q363241']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { ?m rdf:type ontology:Q1001378 . ?m property:P86 resource:Q363241 } UNION { ?m property:P86 resource:Q363241 . ?m rdf:type ontology:Q11424 } }
Quest for Camelot Brave
2
action count
action union
action filter_type
action find_reverse
entity Patrick Doyle
relation composer
type cinematic technique
action filter_type
action find_reverse
entity Patrick Doyle
relation composer
type film
[{'concept': 'cinematic technique'}, 'composer', 'Patrick Doyle'] [{'concept': 'film'}, 'composer', 'Patrick Doyle'] [{'concept': 'cinematic technique'}, 'composer', 'Patrick Doyle'] [{'concept': 'film'}, 'composer', 'Patrick Doyle']
SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { { ?m rdf:type ontology:cinematic_technique . ?m property:composer resource:Patrick_Doyle } UNION { ?m property:composer resource:Patrick_Doyle . ?m rdf:type ontology:film } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q363241
P86
Q838948
USER
How many works of art have Patrick Doyle as the composer ?
(c(Q838948),P86,Q363241)
action count
action filter_type
action find_reverse
entity Q363241
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q363241']
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ontology:Q838948 . ?q property:P86 resource:Q363241 }
Patrick Doyle
action count
action filter_type
action find_reverse
entity Patrick Doyle
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Patrick Doyle']
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ontology:work_of_art . ?q property:composer resource:Patrick_Doyle }
[]
work of art
SYSTEM
46
Q3020469 Q1216898 Q3366044 Q752313 Q15046091 Q654075 Q738456 Q243983 Q898721 Q102225 Q1395306 Q12125239 Q209012 Q371885 Q1766287 Q3549478 Q833180 Q1660749 Q643263 Q642925 Q83789 Q217020 Q550205 Q3221216 Q523249 Q657259 Q1660478 Q2064278 Q331180 Q239296 Q165392 Q3345142 Q383581 Q3285136 Q951703 Q1431878 Q939176 Q1130644 Q2292697 Q177340 Q114115 Q21528200 Q902672 Q7959687 Q7526129 Q928693
(c(Q838948),P86,Q363241)
action count
action filter_type
action find_reverse
entity Q363241
relation P86
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P86', 'Q363241']
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ontology:Q838948 . ?q property:P86 resource:Q363241 }
La Ligne droite A Little Princess Have Mercy on Us All Bridget Jones's Diary Cinderella The Last Legion Donnie Brasco Rise of the Planet of the Apes Hamlet Harry Potter and the Goblet of Fire Killing Me Softly Jig Sleuth Mrs. Winterbourne Igor A French Woman Frankenstein Needful Things Sense and Sensibility Exit to Eden Calendar Girls Thor Much Ado About Nothing Into the West Nanny McPhee Great Expectations Main Street Love's Labour's Lost Blow Dry Eragon Gosford Park Nouvelle-France East/West Man to Man Secondhand Lions Shipwrecked Carlito's Way Indochine As You Like It Nim's Island Henry V A United Kingdom Jack Ryan: Shadow Recruit Wah-Wah Sir Billi Dead Again
46
action count
action filter_type
action find_reverse
entity Patrick Doyle
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Patrick Doyle']
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ontology:work_of_art . ?q property:composer resource:Patrick_Doyle }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q363241
P161
Q838948
USER
Which works of art have that person as actor ?
action filter_type
action find_reverse
entity Q363241
relation P161
type Q838948
SELECT DISTINCT ?w WHERE { ?w property:P161 resource:Q363241 . ?w rdf:type ontology:Q838948 }
Patrick Doyle
action filter_type
action find_reverse
entity Patrick Doyle
relation cast member
type work of art
SELECT DISTINCT ?w WHERE { ?w property:cast_member resource:Patrick_Doyle . ?w rdf:type ontology:work_of_art }
[]
work of art
Q2245295 Q7526129 Q2292697
SYSTEM
A Midwinter's Tale, Sir Billi, As You Like It
Q2245295 Q7526129 Q2292697
action filter_type
action find_reverse
entity Q363241
relation P161
type Q838948
A Midwinter's Tale, Sir Billi and As You like It have that person as actor
SELECT DISTINCT ?w WHERE { ?w property:P161 resource:Q363241 . ?w rdf:type ontology:Q838948 }
A Midwinter's Tale Sir Billi As You Like It
A Midwinter's Tale, Sir Billi and As You like It have that person as actor
A Midwinter's Tale Sir Billi As You Like It
action filter_type
action find_reverse
entity Patrick Doyle
relation cast member
type work of art
SELECT DISTINCT ?w WHERE { ?w property:cast_member resource:Patrick_Doyle . ?w rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q838948 Q3305213 Q386724
USER
How many works of art are depicted in exactly 1 paintings and works ?
(c(Q3305213)|c(Q386724),P180,c(Q838948))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
value 1
[[{'concept': 'Q3305213'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?u ) WHERE { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:Q386724 ) ( ontology:Q3305213 ) } } GROUP BY ?o } . FILTER ( ?u = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
action find_reverse_tuple_counts
relation depicts
type work of art
type work
value 1
[[{'concept': 'painting'}, {'concept': 'work'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?u ) WHERE { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:work ) ( ontology:painting ) } } GROUP BY ?o } . FILTER ( ?u = 1 ) }
[]
work of art painting work
SYSTEM
7
Q178401 Q831869 Q17305006 Q1779386 Q215911 Q1350279 Q371752
(c(Q3305213)|c(Q386724),P180,c(Q838948))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
value 1
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?u ) WHERE { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:Q386724 ) ( ontology:Q3305213 ) } } GROUP BY ?o } . FILTER ( ?u = 1 ) }
amphora oenochoe Galatea Menat serenade pyxis calvary
7
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
action find_reverse_tuple_counts
relation depicts
type work of art
type work
value 1
[[{'concept': 'painting'}, {'concept': 'work'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?u ) WHERE { ?i rdf:type ?c . VALUES ( ?c ) { ( ontology:work ) ( ontology:painting ) } } GROUP BY ?o } . FILTER ( ?u = 1 ) }
[]