Simple Question (Direct)
Simple Question
Q940900
P364
Q11028
USER
What is considered to be the original language of creation of The Exploits of Elaine ?
(Q940900,P364,c(Q11028))
action filter_type
action find
entity Q940900
relation P364
type Q11028
['Q940900', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?y WHERE { resource:Q940900 property:P364 ?y . ?y rdf:type ontology:Q11028 }
The Exploits of Elaine
action filter_type
action find
entity The Exploits of Elaine
relation original language of work
type information
['The Exploits of Elaine', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?y WHERE { resource:The_Exploits_of_Elaine property:original_language_of_work ?y . ?y rdf:type ontology:information }
[]
information
Q21686005
SYSTEM
n/a (silent film)
Q21686005
(Q940900,P364,c(Q11028))
action filter_type
action find
entity Q940900
relation P364
type Q11028
[ANSWER] is considered to be the original language of creation of The Exploits of Elaine
['Q940900', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?y WHERE { resource:Q940900 property:P364 ?y . ?y rdf:type ontology:Q11028 }
n/a (silent film)
N/a (silent film) is considered to be the original language of creation of The Exploits of Elaine
n/a (silent film)
action filter_type
action find
entity The Exploits of Elaine
relation original language of work
type information
['The Exploits of Elaine', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?y WHERE { resource:The_Exploits_of_Elaine property:original_language_of_work ?y . ?y rdf:type ontology:information }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q940900
P58
Q502895
USER
Who was the screenwriter for that film genre ?
(Q21686005,P58,c(Q502895))
action filter_type
action find
entity Q940900
relation P58
type Q502895
['Q21686005', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q940900 property:P58 ?m . ?m rdf:type ontology:Q502895 }
The Exploits of Elaine
action filter_type
action find
entity The Exploits of Elaine
relation screenwriter
type common name
['n/a (silent film)', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:The_Exploits_of_Elaine property:screenwriter ?m . ?m rdf:type ontology:common_name }
[]
common name
Q441976
SYSTEM
George B. Seitz
Q441976
(Q21686005,P58,c(Q502895))
action filter_type
action find
entity Q940900
relation P58
type Q502895
The screenwriter for that film genre was [ANSWER]
['Q21686005', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q940900 property:P58 ?m . ?m rdf:type ontology:Q502895 }
George B. Seitz
The screenwriter for that film genre was George B. Seitz
George B. Seitz
action filter_type
action find
entity The Exploits of Elaine
relation screenwriter
type common name
['n/a (silent film)', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:The_Exploits_of_Elaine property:screenwriter ?m . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atmost 4743 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 4743
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?c ) WHERE { ?n rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?n } GROUP BY ?n } . FILTER ( ?c <= 4743 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4743
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?c ) WHERE { ?n rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?n } GROUP BY ?n } . FILTER ( ?c <= 4743 ) }
[]
musical instrument common name
SYSTEM
65
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 4743
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?c ) WHERE { ?n rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?n } GROUP BY ?n } . FILTER ( ?c <= 4743 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
65
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4743
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?c ) WHERE { ?n rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?n } GROUP BY ?n } . FILTER ( ?c <= 4743 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q441976
P106
Q28640
USER
What are the professions of George B. Seitz ?
(Q441976,P106,c(Q28640))
action filter_type
action find
entity Q441976
relation P106
type Q28640
['Q441976', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q28640 . resource:Q441976 property:P106 ?j }
George B. Seitz
action filter_type
action find
entity George B. Seitz
relation occupation
type profession
['George B. Seitz', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:profession . resource:George_B._Seitz property:occupation ?j }
[]
profession
Q2526255 Q28389
SYSTEM
film director, screenwriter
Q2526255 Q28389
(Q441976,P106,c(Q28640))
action filter_type
action find
entity Q441976
relation P106
type Q28640
The professions of George B . Seitz are a [ANSWERS]
['Q441976', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q28640 . resource:Q441976 property:P106 ?j }
film director screenwriter
The professions of George B . Seitz are a film director and screenwriter
film director screenwriter
action filter_type
action find
entity George B. Seitz
relation occupation
type profession
['George B. Seitz', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:profession . resource:George_B._Seitz property:occupation ?j }
[]
Clarification
Simple Question|Single Entity|Indirect
Q28389
P425
Q9332
USER
Which behavior is associated with the field of occupation that profession ?
(Q28389,P425,c(Q9332))
action filter_type
action find
entity Q28389
relation P425
type Q9332
['Q28389', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q9332 . resource:Q28389 property:P425 ?u }
screenwriter
action filter_type
action find
entity screenwriter
relation field of this occupation
type behavior
['screenwriter', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:behavior . resource:screenwriter property:field_of_this_occupation ?u }
[]
behavior
Clarification for simple ques.
Q28389
SYSTEM
Did you mean screenwriter ?
Q2526255 Q28389
(Q2526255,P425,c(Q9332)) (Q28389,P425,c(Q9332))
[ANSWER]
['Q2526255', 'P425', {'concept': 'Q9332'}] ['Q28389', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q9332 . resource:Q28389 property:P425 ?u }
film director screenwriter
Did you mean screenwriter ?
screenwriter
['film director', 'field of this occupation', {'concept': 'behavior'}] ['screenwriter', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:behavior . resource:screenwriter property:field_of_this_occupation ?u }
[]
Simple Question (Coreferenced)
USER
Yes
(Q28389,P425,c(Q9332))
['Q28389', 'P425', {'concept': 'Q9332'}]
['screenwriter', 'field of this occupation', {'concept': 'behavior'}]
[]
Q3429919
SYSTEM
screenwriting
Q3429919
(Q28389,P425,c(Q9332))
action filter_type
action find
entity Q28389
relation P425
type Q9332
[ANSWER] is associated with the field of occupation that profession
['Q28389', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q9332 . resource:Q28389 property:P425 ?u }
screenwriting
Screenwriting is associated with the field of occupation that profession
screenwriting
action filter_type
action find
entity screenwriter
relation field of this occupation
type behavior
['screenwriter', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:behavior . resource:screenwriter property:field_of_this_occupation ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2526255
P425
Q268592
USER
Which economic branch is associated with the field of occupation film director ?
(Q2526255,P425,c(Q268592))
action filter_type
action find
entity Q2526255
relation P425
type Q268592
['Q2526255', 'P425', {'concept': 'Q268592'}]
SELECT DISTINCT ?x WHERE { resource:Q2526255 property:P425 ?x . ?x rdf:type ontology:Q268592 }
film director
action filter_type
action find
entity film director
relation field of this occupation
type economic branch
['film director', 'field of this occupation', {'concept': 'economic branch'}]
SELECT DISTINCT ?x WHERE { resource:film_director property:field_of_this_occupation ?x . ?x rdf:type ontology:economic_branch }
[]
economic branch
Q932586
SYSTEM
filmmaking
Q932586
(Q2526255,P425,c(Q268592))
action filter_type
action find
entity Q2526255
relation P425
type Q268592
The [ANSWER] is associated with the field of occupation film director
['Q2526255', 'P425', {'concept': 'Q268592'}]
SELECT DISTINCT ?x WHERE { resource:Q2526255 property:P425 ?x . ?x rdf:type ontology:Q268592 }
filmmaking
The filmmaking is associated with the field of occupation film director
filmmaking
action filter_type
action find
entity film director
relation field of this occupation
type economic branch
['film director', 'field of this occupation', {'concept': 'economic branch'}]
SELECT DISTINCT ?x WHERE { resource:film_director property:field_of_this_occupation ?x . ?x rdf:type ontology:economic_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q932586
P1056
Q386724
USER
Which work is produced by that economic branch ?
(Q932586,P1056,c(Q386724))
action filter_type
action find
entity Q932586
relation P1056
type Q386724
['Q932586', 'P1056', {'concept': 'Q386724'}]
SELECT DISTINCT ?r WHERE { resource:Q932586 property:P1056 ?r . ?r rdf:type ontology:Q386724 }
filmmaking
action filter_type
action find
entity filmmaking
relation product
type work
['filmmaking', 'product', {'concept': 'work'}]
SELECT DISTINCT ?r WHERE { resource:filmmaking property:product ?r . ?r rdf:type ontology:work }
[]
work
Q11424
SYSTEM
film
Q11424
(Q932586,P1056,c(Q386724))
action filter_type
action find
entity Q932586
relation P1056
type Q386724
[ANSWER] is produced by that economic branch
['Q932586', 'P1056', {'concept': 'Q386724'}]
SELECT DISTINCT ?r WHERE { resource:Q932586 property:P1056 ?r . ?r rdf:type ontology:Q386724 }
film
Film is produced by that economic branch
film
action filter_type
action find
entity filmmaking
relation product
type work
['filmmaking', 'product', {'concept': 'work'}]
SELECT DISTINCT ?r WHERE { resource:filmmaking property:product ?r . ?r rdf:type ontology:work }
[]