Simple Question (Direct)
Simple Question
Q12119567
P364
Q34770
USER
Which language was used originally for the creation of Famine ?
(Q12119567,P364,c(Q34770))
action filter_type
action find
entity Q12119567
relation P364
type Q34770
['Q12119567', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q12119567 property:P364 ?s . ?s rdf:type ontology:Q34770 }
Famine
action filter_type
action find
entity Famine
relation original language of work
type language
['Famine', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Famine property:original_language_of_work ?s . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q12119567,P364,c(Q34770))
action filter_type
action find
entity Q12119567
relation P364
type Q34770
In [ANSWER] was used originally for the creation of Famine
['Q12119567', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q12119567 property:P364 ?s . ?s rdf:type ontology:Q34770 }
English
In English was used originally for the creation of Famine
English
action filter_type
action find
entity Famine
relation original language of work
type language
['Famine', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Famine property:original_language_of_work ?s . ?s rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12119567
P915
Q56061
USER
Which city was that work of art filmed on ?
(Q1860,P915,c(Q56061))
action filter_type
action find
entity Q12119567
relation P915
type Q56061
['Q1860', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q12119567 property:P915 ?p . ?p rdf:type ontology:Q56061 }
Famine
action filter_type
action find
entity Famine
relation filming location
type administrative territorial entity
['English', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Famine property:filming_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q24639
SYSTEM
Vancouver
Q24639
(Q1860,P915,c(Q56061))
action filter_type
action find
entity Q12119567
relation P915
type Q56061
That work of art was filmed in [ANSWER]
['Q1860', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q12119567 property:P915 ?p . ?p rdf:type ontology:Q56061 }
Vancouver
That work of art was filmed in Vancouver
Vancouver
action filter_type
action find
entity Famine
relation filming location
type administrative territorial entity
['English', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Famine property:filming_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q24639 Q16
P17
Q1048835
USER
Is Vancouver a part of Canada ?
(Q24639,P17,Q16)
action is_in
entity Q16
action find
entity Q24639
relation P17
['Q24639', 'P17', 'Q16']
ASK WHERE { resource:Q24639 property:P17 resource:Q16 }
Vancouver Canada
action is_in
entity Canada
action find
entity Vancouver
relation country
['Vancouver', 'country', 'Canada']
ASK WHERE { resource:Vancouver property:country resource:Canada }
[]
political territorial entity
SYSTEM
YES
(Q24639,P17,Q16)
action is_in
entity Q16
action find
entity Q24639
relation P17
[ANSWER]
['Q24639', 'P17', 'Q16']
ASK WHERE { resource:Q24639 property:P17 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity Vancouver
relation country
['Vancouver', 'country', 'Canada']
ASK WHERE { resource:Vancouver property:country resource:Canada }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12119567 Q16
P495
Q1048835
USER
Is Canada the country of origin of Famine ?
(Q12119567,P495,Q16)
action is_in
entity Q16
action find
entity Q12119567
relation P495
['Q12119567', 'P495', 'Q16']
ASK WHERE { resource:Q12119567 property:P495 resource:Q16 }
Famine Canada
action is_in
entity Canada
action find
entity Famine
relation country of origin
['Famine', 'country of origin', 'Canada']
ASK WHERE { resource:Famine property:country_of_origin resource:Canada }
[]
political territorial entity
SYSTEM
YES
(Q12119567,P495,Q16)
action is_in
entity Q16
action find
entity Q12119567
relation P495
[ANSWER]
['Q12119567', 'P495', 'Q16']
ASK WHERE { resource:Q12119567 property:P495 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity Famine
relation country of origin
['Famine', 'country of origin', 'Canada']
ASK WHERE { resource:Famine property:country_of_origin resource:Canada }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P407
Q34770 Q482994 Q234460
USER
Which languages are exactly 1 albums and texts composed in ?
(c(Q482994)|c(Q234460),P407,c(Q34770))
action equal
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q482994
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
value 1
[[{'concept': 'Q482994'}, {'concept': 'Q234460'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:Q234460 ) ( ontology:Q482994 ) } } GROUP BY ?t } . FILTER ( ?j = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type album
action find_reverse_tuple_counts
relation language of work or name
type language
type text
value 1
[[{'concept': 'album'}, {'concept': 'text'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:text ) ( ontology:album ) } } GROUP BY ?t } . FILTER ( ?j = 1 ) }
[]
language album text
Q132659 Q36790 Q447117
SYSTEM
Egyptian hieroglyphs, Sumerian, Old Egyptian
Q132659 Q36790 Q447117
(c(Q482994)|c(Q234460),P407,c(Q34770))
action equal
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q482994
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
value 1
[ANSWERS]
[[{'concept': 'Q482994'}, {'concept': 'Q234460'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:Q234460 ) ( ontology:Q482994 ) } } GROUP BY ?t } . FILTER ( ?j = 1 ) }
Egyptian hieroglyphs Sumerian Old Egyptian
Which languages are exactly 1 albums and texts composed in
Egyptian hieroglyphs Sumerian Old Egyptian
action equal
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type album
action find_reverse_tuple_counts
relation language of work or name
type language
type text
value 1
[[{'concept': 'album'}, {'concept': 'text'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:text ) ( ontology:album ) } } GROUP BY ?t } . FILTER ( ?j = 1 ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P101
Q34770 Q502895
USER
Which languages do less number of people belong to than that language ?
(c(Q502895),P101,c(Q34770))
[{'concept': 'Q502895'}, 'P101', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34770 }
[{'concept': 'common name'}, 'field of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:language }
[]
language common name
Comparative|More/Less|Single entity type|Clarification
Q447117
SYSTEM
Did you mean Old Egyptian ?
(c(Q502895),P101,c(Q34770))
[ANSWER]
[{'concept': 'Q502895'}, 'P101', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34770 }
Did you mean Old Egyptian ?
Old Egyptian
[{'concept': 'common name'}, 'field of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:language }
[]
Comparative Reasoning (All)
USER
No, I meant Egyptian hieroglyphs. Could you tell me the answer for that?
(c(Q502895),P101,c(Q34770))
Q132659
[{'concept': 'Q502895'}, 'P101', {'concept': 'Q34770'}]
[{'concept': 'common name'}, 'field of work', {'concept': 'language'}]
[]
Q685884
SYSTEM
vocal music
Q685884
(c(Q502895),P101,c(Q34770))
[ANSWER] less number of people belong to than that language
[{'concept': 'Q502895'}, 'P101', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34770 }
vocal music
Vocal music less number of people belong to than that language
vocal music
[{'concept': 'common name'}, 'field of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P101
Q34770 Q502895
USER
Which languages are the field of work of more number of people than that language ?
(c(Q502895),P101,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P101
type Q34770
type Q502895
action count
action filter_type
action find
entity Q685884
relation P101
type Q34770
[{'concept': 'Q502895'}, 'P101', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:Q685884 property:P101 ?t . ?t rdf:type ontology:Q34770 } } . FILTER ( ?m > ?p ) . { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?m ) WHERE { ?a rdf:type ontology:Q34770 . ?l rdf:type ontology:Q502895 . ?l property:P101 ?a } GROUP BY ?a } }
action greater
action find_reverse_tuple_counts
relation field of work
type language
type common name
action count
action filter_type
action find
entity vocal music
relation field of work
type language
[{'concept': 'common name'}, 'field of work', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:vocal_music property:field_of_work ?t . ?t rdf:type ontology:language } } . FILTER ( ?m > ?p ) . { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?m ) WHERE { ?a rdf:type ontology:language . ?l rdf:type ontology:common_name . ?l property:field_of_work ?a } GROUP BY ?a } }
[]
language common name
Q1860 Q9056 Q397
SYSTEM
English, Czech, Latin
Q1860 Q132659 Q9056 Q253854 Q652 Q1321 Q397
(c(Q502895),P101,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P101
type Q34770
type Q502895
action count
action filter_type
action find
entity Q685884
relation P101
type Q34770
[ANSWERS] are the field of work of more number of people than that language
[{'concept': 'Q502895'}, 'P101', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:Q685884 property:P101 ?t . ?t rdf:type ontology:Q34770 } } . FILTER ( ?m > ?p ) . { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?m ) WHERE { ?a rdf:type ontology:Q34770 . ?l rdf:type ontology:Q502895 . ?l property:P101 ?a } GROUP BY ?a } }
English Egyptian hieroglyphs Czech Classical Latin Italian Spanish Latin
English, Czech and Latin are the field of work of more number of people than that language
English Czech Latin
action greater
action find_reverse_tuple_counts
relation field of work
type language
type common name
action count
action filter_type
action find
entity vocal music
relation field of work
type language
[{'concept': 'common name'}, 'field of work', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:vocal_music property:field_of_work ?t . ?t rdf:type ontology:language } } . FILTER ( ?m > ?p ) . { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?m ) WHERE { ?a rdf:type ontology:language . ?l rdf:type ontology:common_name . ?l property:field_of_work ?a } GROUP BY ?a } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12119567
P57
Q502895
USER
Who directed Famine ?
(Q12119567,P57,c(Q502895))
action filter_type
action find
entity Q12119567
relation P57
type Q502895
['Q12119567', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q12119567 property:P57 ?w . ?w rdf:type ontology:Q502895 }
Famine
action filter_type
action find
entity Famine
relation director
type common name
['Famine', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Famine property:director ?w . ?w rdf:type ontology:common_name }
[]
common name
Q7384375
SYSTEM
Ryan Nicholson
Q7384375
(Q12119567,P57,c(Q502895))
action filter_type
action find
entity Q12119567
relation P57
type Q502895
[ANSWER] directed Famine
['Q12119567', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q12119567 property:P57 ?w . ?w rdf:type ontology:Q502895 }
Ryan Nicholson
Ryan Nicholson directed Famine
Ryan Nicholson
action filter_type
action find
entity Famine
relation director
type common name
['Famine', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Famine property:director ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12119567
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q7384375,P136,c(Q1792379))
action filter_type
action find
entity Q12119567
relation P136
type Q1792379
['Q7384375', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q12119567 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
Famine
action filter_type
action find
entity Famine
relation genre
type art genre
['Ryan Nicholson', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:Famine property:genre ?o . ?o rdf:type ontology:art_genre }
[]
art genre
Q1146335 Q853630 Q200092
SYSTEM
teen film, slasher film, horror film
Q1146335 Q853630 Q200092 Q224700
(Q7384375,P136,c(Q1792379))
action filter_type
action find
entity Q12119567
relation P136
type Q1792379
[ANSWERS] can be considered as category for that work of art
['Q7384375', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q12119567 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
teen film slasher film horror film comedy horror
Teen film, slasher film and horror film can be considered as category for that work of art
teen film slasher film horror film
action filter_type
action find
entity Famine
relation genre
type art genre
['Ryan Nicholson', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:Famine property:genre ?o . ?o rdf:type ontology:art_genre }
[]