Simple Question (Direct)
Simple Question
Q12125240
P57
Q502895
USER
Which person directed Jigsaw ?
(Q12125240,P57,c(Q502895))
action filter_type
action find
entity Q12125240
relation P57
type Q502895
['Q12125240', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q12125240 property:P57 ?q }
Jigsaw
action filter_type
action find
entity Jigsaw
relation director
type common name
['Jigsaw', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Jigsaw property:director ?q }
[]
common name
Q1351727
SYSTEM
Val Guest
Q1351727
(Q12125240,P57,c(Q502895))
action filter_type
action find
entity Q12125240
relation P57
type Q502895
[ANSWER] directed Jigsaw
['Q12125240', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q12125240 property:P57 ?q }
Val Guest
Val Guest directed Jigsaw
Val Guest
action filter_type
action find
entity Jigsaw
relation director
type common name
['Jigsaw', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Jigsaw property:director ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1351727
P509
Q2057971
USER
What lead to the death of that person ?
(Q1351727,P509,c(Q2057971))
action filter_type
action find
entity Q1351727
relation P509
type Q2057971
['Q1351727', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q2057971 . resource:Q1351727 property:P509 ?d }
Val Guest
action filter_type
action find
entity Val Guest
relation cause of death
type health problem
['Val Guest', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:health_problem . resource:Val_Guest property:cause_of_death ?d }
[]
health problem
Q181257
SYSTEM
prostate cancer
Q181257
(Q1351727,P509,c(Q2057971))
action filter_type
action find
entity Q1351727
relation P509
type Q2057971
[ANSWER] lead to the death of that person
['Q1351727', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q2057971 . resource:Q1351727 property:P509 ?d }
prostate cancer
Prostate cancer lead to the death of that person
prostate cancer
action filter_type
action find
entity Val Guest
relation cause of death
type health problem
['Val Guest', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:health_problem . resource:Val_Guest property:cause_of_death ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1351727
P58
Q838948
USER
Which works of art are Val Guest a screenwriter of ?
(c(Q838948),P58,Q1351727)
action filter_type
action find_reverse
entity Q1351727
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q1351727']
SELECT DISTINCT ?a WHERE { ?a property:P58 resource:Q1351727 . ?a rdf:type ontology:Q838948 }
Val Guest
action filter_type
action find_reverse
entity Val Guest
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Val Guest']
SELECT DISTINCT ?a WHERE { ?a property:screenwriter resource:Val_Guest . ?a rdf:type ontology:work_of_art }
[]
work of art
Q1683913 Q1197267 Q1401797
SYSTEM
The Quatermass Xperiment, The Day the Earth Caught Fire, Quatermass 2
Q3349851 Q6670852 Q12059508 Q7718992 Q5166548 Q4644325 Q1197267 Q12125105 Q750938 Q7132645 Q1683913 Q3548705 Q7719759 Q600445 Q1401797 Q782338 Q2299276 Q3178503 Q7164420 Q7898102 Q3155815
(c(Q838948),P58,Q1351727)
action filter_type
action find_reverse
entity Q1351727
relation P58
type Q838948
The Quatermass Xperiment, The Day the Earth caught Fire and Quatermass 2 are Val Guest a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q1351727']
SELECT DISTINCT ?a WHERE { ?a property:P58 resource:Q1351727 . ?a rdf:type ontology:Q838948 }
Oh, Mr Porter! London Town Happy Go Lovely The Body Said No! Convict 99 80,000 Suspects The Day the Earth Caught Fire Inspector Hornleigh Goes To It Assignment K Paper Orchid The Quatermass Xperiment Hell Is a City The Boys in Blue Toomorrow Quatermass 2 The Frozen Limits When Dinosaurs Ruled the Earth Another Man's Poison Penny Princess Up the Creek It's a Wonderful World
The Quatermass Xperiment, The Day the Earth caught Fire and Quatermass 2 are Val Guest a screenwriter of
The Quatermass Xperiment The Day the Earth Caught Fire Quatermass 2
action filter_type
action find_reverse
entity Val Guest
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Val Guest']
SELECT DISTINCT ?a WHERE { ?a property:screenwriter resource:Val_Guest . ?a rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1197267
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
(Q1197267,P364,c(Q34770))
action filter_type
action find
entity Q1197267
relation P364
type Q34770
['Q1197267', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q1197267 property:P364 ?l . ?l rdf:type ontology:Q34770 }
The Day the Earth Caught Fire
action filter_type
action find
entity The Day the Earth Caught Fire
relation original language of work
type language
['The Day the Earth Caught Fire', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:The_Day_the_Earth_Caught_Fire property:original_language_of_work ?l . ?l rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q1683913
SYSTEM
Did you mean The Quatermass Xperiment ?
Q1683913 Q1197267 Q1401797
(Q1683913,P364,c(Q34770)) (Q1197267,P364,c(Q34770)) (Q1401797,P364,c(Q34770))
[ANSWER]
['Q1683913', 'P364', {'concept': 'Q34770'}] ['Q1197267', 'P364', {'concept': 'Q34770'}] ['Q1401797', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q1197267 property:P364 ?l . ?l rdf:type ontology:Q34770 }
The Quatermass Xperiment The Day the Earth Caught Fire Quatermass 2
Did you mean The Quatermass Xperiment ?
The Quatermass Xperiment
['The Quatermass Xperiment', 'original language of work', {'concept': 'language'}] ['The Day the Earth Caught Fire', 'original language of work', {'concept': 'language'}] ['Quatermass 2', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:The_Day_the_Earth_Caught_Fire property:original_language_of_work ?l . ?l rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
No, I meant The Day the Earth Caught Fire. Could you tell me the answer for that?
(Q1197267,P364,c(Q34770))
Q1197267
['Q1197267', 'P364', {'concept': 'Q34770'}]
['The Day the Earth Caught Fire', 'original language of work', {'concept': 'language'}]
[]
Q1860
SYSTEM
English
Q1860
(Q1197267,P364,c(Q34770))
action filter_type
action find
entity Q1197267
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
['Q1197267', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q1197267 property:P364 ?l . ?l rdf:type ontology:Q34770 }
English
English was used originally for the creation of that work of art
English
action filter_type
action find
entity The Day the Earth Caught Fire
relation original language of work
type language
['The Day the Earth Caught Fire', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:The_Day_the_Earth_Caught_Fire property:original_language_of_work ?l . ?l rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q8192 Q34770
USER
How many languages utilizes approximately 3 notations or writing systems as the writing system ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 3
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { FILTER ( ?b = 3 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?p WHERE { ?l rdf:type ?s . VALUES ( ?s ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } } GROUP BY ?p } }
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 3
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { FILTER ( ?b = 3 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?p WHERE { ?l rdf:type ?s . VALUES ( ?s ) { ( ontology:writing_system ) ( ontology:notation ) } } GROUP BY ?p } }
[]
notation writing system language
SYSTEM
1
Q182695
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 3
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { FILTER ( ?b = 3 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?p WHERE { ?l rdf:type ?s . VALUES ( ?s ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } } GROUP BY ?p } }
Late Old Japanese
1
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 3
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { FILTER ( ?b = 3 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?p WHERE { ?l rdf:type ?s . VALUES ( ?s ) { ( ontology:writing_system ) ( ontology:notation ) } } GROUP BY ?p } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q9779 Q34770
USER
How many alphabets are utilized as the script for approximately 2 languages ?
(c(Q34770),P282,c(Q9779))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
value 2
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?f ) WHERE { ?v rdf:type ontology:Q9779 . ?u rdf:type ontology:Q34770 . ?u property:P282 ?v } GROUP BY ?v } . FILTER ( ?f = 2 ) }
action count
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
value 2
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?f ) WHERE { ?v rdf:type ontology:alphabet . ?u rdf:type ontology:language . ?u property:writing_system ?v } GROUP BY ?v } . FILTER ( ?f = 2 ) }
[]
alphabet language
SYSTEM
3
Q829464 Q550383 Q442244
(c(Q34770),P282,c(Q9779))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
value 2
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?f ) WHERE { ?v rdf:type ontology:Q9779 . ?u rdf:type ontology:Q34770 . ?u property:P282 ?v } GROUP BY ?v } . FILTER ( ?f = 2 ) }
Serbian Cyrillic alphabet Italian alphabet Early Cyrillic alphabet
3
action count
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
value 2
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?f ) WHERE { ?v rdf:type ontology:alphabet . ?u rdf:type ontology:language . ?u property:writing_system ?v } GROUP BY ?v } . FILTER ( ?f = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12125240
P840
Q56061
USER
Which narrative location is Jigsaw set in ?
(Q12125240,P840,c(Q56061))
action filter_type
action find
entity Q12125240
relation P840
type Q56061
['Q12125240', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q12125240 property:P840 ?y . ?y rdf:type ontology:Q56061 }
Jigsaw
action filter_type
action find
entity Jigsaw
relation narrative location
type administrative territorial entity
['Jigsaw', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Jigsaw property:narrative_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q131491
SYSTEM
Brighton
Q131491
(Q12125240,P840,c(Q56061))
action filter_type
action find
entity Q12125240
relation P840
type Q56061
Jigsaw is set in [ANSWER]
['Q12125240', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q12125240 property:P840 ?y . ?y rdf:type ontology:Q56061 }
Brighton
Jigsaw is set in Brighton
Brighton
action filter_type
action find
entity Jigsaw
relation narrative location
type administrative territorial entity
['Jigsaw', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Jigsaw property:narrative_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12125240
P162
Q502895
USER
Who is the producer of that work of art ?
(Q131491,P162,c(Q502895))
action filter_type
action find
entity Q12125240
relation P162
type Q502895
['Q131491', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q12125240 property:P162 ?l . ?l rdf:type ontology:Q502895 }
Jigsaw
action filter_type
action find
entity Jigsaw
relation producer
type common name
['Brighton', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Jigsaw property:producer ?l . ?l rdf:type ontology:common_name }
[]
common name
Q1351727
SYSTEM
Val Guest
Q1351727
(Q131491,P162,c(Q502895))
action filter_type
action find
entity Q12125240
relation P162
type Q502895
The producer of that work of art is the [ANSWER]
['Q131491', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q12125240 property:P162 ?l . ?l rdf:type ontology:Q502895 }
Val Guest
The producer of that work of art is the Val Guest
Val Guest
action filter_type
action find
entity Jigsaw
relation producer
type common name
['Brighton', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Jigsaw property:producer ?l . ?l rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4935000 Q1197267
P840 P20
Q56061
USER
Which administrative territories are The Day the Earth Caught Fire set in or did the expiration of Bobby Flavell occur ?
OR((Q1197267,P840,c(Q56061)), (Q4935000,P20,c(Q56061)))
action filter_type
action union
action find
entity Q1197267
relation P840
action find
entity Q4935000
relation P20
type Q56061
{'OR': [['Q1197267', 'P840', {'concept': 'Q56061'}], ['Q4935000', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q1197267 property:P840 ?r } UNION { resource:Q4935000 property:P20 ?r } } . ?r rdf:type ontology:Q56061 }
Bobby Flavell The Day the Earth Caught Fire
action filter_type
action union
action find
entity The Day the Earth Caught Fire
relation narrative location
action find
entity Bobby Flavell
relation place of death
type administrative territorial entity
{'OR': [['The Day the Earth Caught Fire', 'narrative location', {'concept': 'administrative territorial entity'}], ['Bobby Flavell', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:The_Day_the_Earth_Caught_Fire property:narrative_location ?r } UNION { resource:Bobby_Flavell property:place_of_death ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q727520 Q84
SYSTEM
Dalkeith, London
Q727520 Q84
OR((Q1197267,P840,c(Q56061)), (Q4935000,P20,c(Q56061)))
action filter_type
action union
action find
entity Q1197267
relation P840
action find
entity Q4935000
relation P20
type Q56061
The Day the Earth Caught Fire are set in occur rence [ANSWERS]
{'OR': [['Q1197267', 'P840', {'concept': 'Q56061'}], ['Q4935000', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q1197267 property:P840 ?r } UNION { resource:Q4935000 property:P20 ?r } } . ?r rdf:type ontology:Q56061 }
Dalkeith London
The Day the Earth Caught Fire are set in occur rence Dalkeith and London
Dalkeith London
action filter_type
action union
action find
entity The Day the Earth Caught Fire
relation narrative location
action find
entity Bobby Flavell
relation place of death
type administrative territorial entity
{'OR': [['The Day the Earth Caught Fire', 'narrative location', {'concept': 'administrative territorial entity'}], ['Bobby Flavell', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:The_Day_the_Earth_Caught_Fire property:narrative_location ?r } UNION { resource:Bobby_Flavell property:place_of_death ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]