Simple Question (Direct)
Simple Question
Q3837985
P495
Q15617994
USER
Where did The Last Warning originate ?
(Q3837985,P495,c(Q15617994))
action filter_type
action find
entity Q3837985
relation P495
type Q15617994
['Q3837985', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3837985 property:P495 ?i . ?i rdf:type ontology:Q15617994 }
The Last Warning
action filter_type
action find
entity The Last Warning
relation country of origin
type designation for an administrative territorial entity
['The Last Warning', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:The_Last_Warning property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3837985,P495,c(Q15617994))
action filter_type
action find
entity Q3837985
relation P495
type Q15617994
The Last Warning originated from [ANSWER]
['Q3837985', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3837985 property:P495 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
The Last Warning originated from United States of America
United States of America
action filter_type
action find
entity The Last Warning
relation country of origin
type designation for an administrative territorial entity
['The Last Warning', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:The_Last_Warning property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3837985
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q30,P136,c(Q1792379))
action filter_type
action find
entity Q3837985
relation P136
type Q1792379
['Q30', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?q WHERE { resource:Q3837985 property:P136 ?q . ?q rdf:type ontology:Q1792379 }
The Last Warning
action filter_type
action find
entity The Last Warning
relation genre
type art genre
['United States of America', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?q WHERE { resource:The_Last_Warning property:genre ?q . ?q rdf:type ontology:art_genre }
[]
art genre
Q1200678
SYSTEM
mystery film
Q1200678
(Q30,P136,c(Q1792379))
action filter_type
action find
entity Q3837985
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
['Q30', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?q WHERE { resource:Q3837985 property:P136 ?q . ?q rdf:type ontology:Q1792379 }
mystery film
Mystery film can be considered as category for that work of art
mystery film
action filter_type
action find
entity The Last Warning
relation genre
type art genre
['United States of America', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?q WHERE { resource:The_Last_Warning property:genre ?q . ?q rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q448831 Q3837985
P364
Q34770
USER
What are considered to be the original language of creation of The Last Warning and Doctor at Sea ?
AND((Q3837985,P364,c(Q34770)), (Q448831,P364,c(Q34770)))
action filter_type
action intersection
action find
entity Q3837985
relation P364
action find
entity Q448831
relation P364
type Q34770
{'AND': [['Q3837985', 'P364', {'concept': 'Q34770'}], ['Q448831', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q34770 . resource:Q3837985 property:P364 ?m . resource:Q448831 property:P364 ?m }
Doctor at Sea The Last Warning
action filter_type
action intersection
action find
entity The Last Warning
relation original language of work
action find
entity Doctor at Sea
relation original language of work
type language
{'AND': [['The Last Warning', 'original language of work', {'concept': 'language'}], ['Doctor at Sea', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:language . resource:The_Last_Warning property:original_language_of_work ?m . resource:Doctor_at_Sea property:original_language_of_work ?m }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q3837985,P364,c(Q34770)), (Q448831,P364,c(Q34770)))
action filter_type
action intersection
action find
entity Q3837985
relation P364
action find
entity Q448831
relation P364
type Q34770
[ANSWER] is considered to be the original language of creation of The Last Warning and Doctor at Sea
{'AND': [['Q3837985', 'P364', {'concept': 'Q34770'}], ['Q448831', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q34770 . resource:Q3837985 property:P364 ?m . resource:Q448831 property:P364 ?m }
English
English is considered to be the original language of creation of The Last Warning and Doctor at Sea
English
action filter_type
action intersection
action find
entity The Last Warning
relation original language of work
action find
entity Doctor at Sea
relation original language of work
type language
{'AND': [['The Last Warning', 'original language of work', {'concept': 'language'}], ['Doctor at Sea', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:language . resource:The_Last_Warning property:original_language_of_work ?m . resource:Doctor_at_Sea property:original_language_of_work ?m }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q79199
P282
Q8192 Q34770
USER
Which writing systems are utilized as the script for approximately the same number of languages as Varang Kshiti ?
(c(Q34770),P282,c(Q8192))
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q79199
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P282 ?c . ?c rdf:type ontology:Q8192 . ?y rdf:type ontology:Q34770 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q79199 property:P282 ?g . ?g rdf:type ontology:Q8192 } } . FILTER ( ?x = ?b ) }
Varang Kshiti
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Varang Kshiti
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:writing_system ?c . ?c rdf:type ontology:writing_system . ?y rdf:type ontology:language } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Varang_Kshiti property:writing_system ?g . ?g rdf:type ontology:writing_system } } . FILTER ( ?x = ?b ) }
[]
writing system language
Q1314503 Q26549 Q2613755
SYSTEM
Tai Tham alphabet, Cherokee syllabary, Tocharian alphabet
Q854968 Q689894 Q257634 Q1140801 Q2274646 Q467037 Q933796 Q570450 Q2613755 Q1054190 Q2385276 Q1574992 Q1314503 Q51592 Q1703713 Q877906 Q38592 Q756802 Q804984 Q2374532 Q1060381 Q839666 Q1760127 Q2566326 Q79199 Q191272 Q26549 Q1471822 Q26803
(c(Q34770),P282,c(Q8192))
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q79199
relation P282
type Q8192
[ANSWERS] are utilized as the script for approximately the same number of languages as Varang Kshiti
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P282 ?c . ?c rdf:type ontology:Q8192 . ?y rdf:type ontology:Q34770 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q79199 property:P282 ?g . ?g rdf:type ontology:Q8192 } } . FILTER ( ?x = ?b ) }
Burmese alphabet Gurmukhī alphabet Ge'ez script Vietnamese Braille Inuktitut syllabics Brahmic script Limbu alphabet Telugu script Tocharian alphabet Khmer alphabet Ranjana alphabet Sinhala script Tai Tham alphabet Batak alphabet Modi alphabet Thaana Devanagari Bengali alphabet Balinese alphabet Uyghur Arabic alphabet Cham alphabet Kannada alphabet Oriya alphabet Tai Le alphabet Varang Kshiti Assamese alphabet Cherokee syllabary Old Persian cuneiform Tamil script
Tai Tham alphabet, Cherokee syllabary and Tocharian alphabet are utilized as the script for approximately the same number of languages as Varang Kshiti
Tai Tham alphabet Cherokee syllabary Tocharian alphabet
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Varang Kshiti
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:writing_system ?c . ?c rdf:type ontology:writing_system . ?y rdf:type ontology:language } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Varang_Kshiti property:writing_system ?g . ?g rdf:type ontology:writing_system } } . FILTER ( ?x = ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q38592
P282
Q8192 Q34770
USER
And what about Devanagari?
(c(Q34770),P282,c(Q8192))
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q38592
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?m ) WHERE { ?d property:P282 ?g . ?d rdf:type ontology:Q34770 . ?g rdf:type ontology:Q8192 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Q38592 property:P282 ?r . ?r rdf:type ontology:Q8192 } } . FILTER ( ?m = ?j ) }
Devanagari
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Devanagari
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?m ) WHERE { ?d property:writing_system ?g . ?d rdf:type ontology:language . ?g rdf:type ontology:writing_system } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Devanagari property:writing_system ?r . ?r rdf:type ontology:writing_system } } . FILTER ( ?m = ?j ) }
[]
writing system language
Q1314503 Q26549 Q2613755
SYSTEM
Tai Tham alphabet, Cherokee syllabary, Tocharian alphabet
Q854968 Q689894 Q257634 Q1140801 Q2274646 Q467037 Q933796 Q570450 Q2613755 Q1054190 Q2385276 Q1574992 Q1314503 Q51592 Q1703713 Q877906 Q38592 Q756802 Q804984 Q2374532 Q1060381 Q839666 Q1760127 Q2566326 Q79199 Q191272 Q26549 Q1471822 Q26803
(c(Q34770),P282,c(Q8192))
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q38592
relation P282
type Q8192
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?m ) WHERE { ?d property:P282 ?g . ?d rdf:type ontology:Q34770 . ?g rdf:type ontology:Q8192 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Q38592 property:P282 ?r . ?r rdf:type ontology:Q8192 } } . FILTER ( ?m = ?j ) }
Burmese alphabet Gurmukhī alphabet Ge'ez script Vietnamese Braille Inuktitut syllabics Brahmic script Limbu alphabet Telugu script Tocharian alphabet Khmer alphabet Ranjana alphabet Sinhala script Tai Tham alphabet Batak alphabet Modi alphabet Thaana Devanagari Bengali alphabet Balinese alphabet Uyghur Arabic alphabet Cham alphabet Kannada alphabet Oriya alphabet Tai Le alphabet Varang Kshiti Assamese alphabet Cherokee syllabary Old Persian cuneiform Tamil script
Tai Tham alphabet Cherokee syllabary Tocharian alphabet
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Devanagari
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?m ) WHERE { ?d property:writing_system ?g . ?d rdf:type ontology:language . ?g rdf:type ontology:writing_system } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Devanagari property:writing_system ?r . ?r rdf:type ontology:writing_system } } . FILTER ( ?m = ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1199639 Q30
P161 P6
Q502895
USER
Which people do United States of America serve as the head of government for or starred in Resurrection ?
OR((Q30,P6,c(Q502895)), (Q1199639,P161,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q1199639
relation P161
type Q502895
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q1199639', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q30 property:P6 ?f } UNION { resource:Q1199639 property:P161 ?f } } . ?f rdf:type ontology:Q502895 }
Resurrection United States of America
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Resurrection
relation cast member
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Resurrection', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { { { resource:United_States_of_America property:head_of_government ?f } UNION { resource:Resurrection property:cast_member ?f } } . ?f rdf:type ontology:common_name }
[]
common name
Q12325 Q91 Q9960 Q35648 Q34597 Q9916 Q258246 Q12312 Q11817 Q443592
SYSTEM
Some of them are James Buchanan, Abraham Lincoln, Ronald Reagan, William Howard Taft, James A. Garfield, Dwight D. Eisenhower, Lois Smith, Franklin Pierce, Andrew Jackson, Roberts Blossom
Q35171 Q11815 Q11816 Q11817 Q9588 Q11812 Q12306 Q91 Q275324 Q12325 Q33866 Q35648 Q35498 Q443592 Q9582 Q216569 Q11869 Q207 Q11813 Q35236 Q23685 Q294583 Q9696 Q258246 Q316003 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q443343 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q211144 Q35041 Q740939 Q266402 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
OR((Q30,P6,c(Q502895)), (Q1199639,P161,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q1199639
relation P161
type Q502895
[ANSWERS] United States of America serve as the head of government for
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q1199639', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q30 property:P6 ?f } UNION { resource:Q1199639 property:P161 ?f } } . ?f rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Richard Nixon Thomas Jefferson Millard Fillmore Abraham Lincoln Madeleine Sherwood James Buchanan Theodore Roosevelt William Howard Taft Chester A. Arthur Roberts Blossom Gerald Ford Roy Scheider William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter Sam Shepard John F. Kennedy Lois Smith Richard Farnsworth Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce Jeffrey DeMunn John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison Ellen Burstyn William McKinley Lane Smith Eva Le Gallienne Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
James Buchanan, Abraham Lincoln, Ronald Reagan, William Howard Taft, James A. Garfield, Dwight D. Eisenhower, Lois Smith, Franklin Pierce, Andrew Jackson and Roberts Blossom United States of America serve as the head of government for
James Buchanan Abraham Lincoln Ronald Reagan William Howard Taft James A. Garfield Dwight D. Eisenhower Lois Smith Franklin Pierce Andrew Jackson Roberts Blossom
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Resurrection
relation cast member
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Resurrection', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { { { resource:United_States_of_America property:head_of_government ?f } UNION { resource:Resurrection property:cast_member ?f } } . ?f rdf:type ontology:common_name }
[]