Simple Question (Direct)
Simple Question
Q703727
P1412
Q34770
USER
Which language can Fred Schepisi read ?
(Q703727,P1412,c(Q34770))
action filter_type
action find
entity Q703727
relation P1412
type Q34770
['Q703727', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q703727 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
Fred Schepisi
action filter_type
action find
entity Fred Schepisi
relation languages spoken, written or signed
type language
['Fred Schepisi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Fred_Schepisi property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q703727,P1412,c(Q34770))
action filter_type
action find
entity Q703727
relation P1412
type Q34770
Fred Schepisi can read in [ANSWER]
['Q703727', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q703727 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
English
Fred Schepisi can read in English
English
action filter_type
action find
entity Fred Schepisi
relation languages spoken, written or signed
type language
['Fred Schepisi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Fred_Schepisi property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q703727
P57
Q838948
USER
Which works of art have that person as their director ?
(c(Q838948),P57,Q1860)
action filter_type
action find_reverse
entity Q703727
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q1860']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q838948 . ?w property:P57 resource:Q703727 }
Fred Schepisi
action filter_type
action find_reverse
entity Fred Schepisi
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'English']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work_of_art . ?w property:director resource:Fred_Schepisi }
[]
work of art
Q586154 Q1169609 Q499904
SYSTEM
The Russia House, Six Degrees of Separation, I.Q.
Q2205409 Q1366434 Q1787875 Q1754652 Q1169609 Q1749386 Q3423109 Q6542266 Q1249239 Q1545013 Q3520601 Q2884111 Q3520813 Q14850712 Q586154 Q496019 Q499904
(c(Q838948),P57,Q1860)
action filter_type
action find_reverse
entity Q703727
relation P57
type Q838948
[ANSWERS] have that person as their director
[{'concept': 'Q838948'}, 'P57', 'Q1860']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q838948 . ?w property:P57 resource:Q703727 }
The Chant of Jimmie Blacksmith It Runs in the Family Roxanne Iceman Six Degrees of Separation Mr. Baseball Last Orders Libido Evil Angels Plenty The Devil's Playground Barbarosa The Eye of the Storm Words and Pictures The Russia House Fierce Creatures I.Q.
The Russia House, Six Degrees of Separation and I.Q. have that person as their director
The Russia House Six Degrees of Separation I.Q.
action filter_type
action find_reverse
entity Fred Schepisi
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'English']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:work_of_art . ?w property:director resource:Fred_Schepisi }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q586154 Q1169609 Q499904
P495
Q15617994
USER
Which administrative territories are the countries of origin of The Russia House, Six Degrees of Separation and I.Q. ?
(Q586154,P495,c(Q15617994)) (Q1169609,P495,c(Q15617994)) (Q499904,P495,c(Q15617994))
action union
action filter_type
action find
entity Q586154
relation P495
type Q15617994
action filter_type
action find
entity Q1169609
relation P495
type Q15617994
action filter_type
action find
entity Q499904
relation P495
type Q15617994
['Q586154', 'P495', {'concept': 'Q15617994'}] ['Q1169609', 'P495', {'concept': 'Q15617994'}] ['Q499904', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { resource:Q586154 property:P495 ?q . ?q rdf:type ontology:Q15617994 } UNION { resource:Q1169609 property:P495 ?q . ?q rdf:type ontology:Q15617994 } }
The Russia House Six Degrees of Separation I.Q.
action union
action filter_type
action find
entity The Russia House
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Six Degrees of Separation
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity I.Q.
relation country of origin
type designation for an administrative territorial entity
['The Russia House', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Six Degrees of Separation', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['I.Q.', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { resource:The_Russia_House property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Six_Degrees_of_Separation property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q30 Q30
SYSTEM
United States of America
Q30 Q30 Q30
(Q586154,P495,c(Q15617994)) (Q1169609,P495,c(Q15617994)) (Q499904,P495,c(Q15617994))
action union
action filter_type
action find
entity Q586154
relation P495
type Q15617994
action filter_type
action find
entity Q1169609
relation P495
type Q15617994
action filter_type
action find
entity Q499904
relation P495
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the countries of origin of The Russia House, Six Degrees of Separation and I.Q.
['Q586154', 'P495', {'concept': 'Q15617994'}] ['Q1169609', 'P495', {'concept': 'Q15617994'}] ['Q499904', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { resource:Q586154 property:P495 ?q . ?q rdf:type ontology:Q15617994 } UNION { resource:Q1169609 property:P495 ?q . ?q rdf:type ontology:Q15617994 } }
United States of America United States of America United States of America
United States of America, United States of America and United States of America are the countries of origin of The Russia House, Six Degrees of Separation and I.Q.
United States of America United States of America United States of America
action union
action filter_type
action find
entity The Russia House
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Six Degrees of Separation
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity I.Q.
relation country of origin
type designation for an administrative territorial entity
['The Russia House', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Six Degrees of Separation', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['I.Q.', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { resource:The_Russia_House property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Six_Degrees_of_Separation property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q586154
P1040
Q502895
USER
Who has editted The Russia House ?
(Q586154,P1040,c(Q502895))
action filter_type
action find
entity Q586154
relation P1040
type Q502895
['Q586154', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q586154 property:P1040 ?p . ?p rdf:type ontology:Q502895 }
The Russia House
action filter_type
action find
entity The Russia House
relation film editor
type common name
['The Russia House', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:The_Russia_House property:film_editor ?p . ?p rdf:type ontology:common_name }
[]
common name
Q977704
SYSTEM
Peter Honess
Q977704
(Q586154,P1040,c(Q502895))
action filter_type
action find
entity Q586154
relation P1040
type Q502895
[ANSWER] has editted The Russia House
['Q586154', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q586154 property:P1040 ?p . ?p rdf:type ontology:Q502895 }
Peter Honess
Peter Honess has editted The Russia House
Peter Honess
action filter_type
action find
entity The Russia House
relation film editor
type common name
['The Russia House', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:The_Russia_House property:film_editor ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q586154
P144
Q2342494
USER
Which collectable does The Russia House extend upon ?
(Q586154,P144,c(Q2342494))
action filter_type
action find
entity Q586154
relation P144
type Q2342494
['Q586154', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2342494 . resource:Q586154 property:P144 ?g }
The Russia House
action filter_type
action find
entity The Russia House
relation based on
type collectable
['The Russia House', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:collectable . resource:The_Russia_House property:based_on ?g }
[]
collectable
Q5605505
SYSTEM
The Russia House
Q5605505
(Q586154,P144,c(Q2342494))
action filter_type
action find
entity Q586154
relation P144
type Q2342494
[ANSWER] extends to [ANSWER]
['Q586154', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2342494 . resource:Q586154 property:P144 ?g }
The Russia House
The Russia House extends to The Russia House
The Russia House
action filter_type
action find
entity The Russia House
relation based on
type collectable
['The Russia House', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:collectable . resource:The_Russia_House property:based_on ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q464653
Q2342494
USER
And how about The Quiet American?
(Q464653,P144,c(Q2342494))
action filter_type
action find
entity Q464653
relation P144
type Q2342494
['Q464653', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?i WHERE { resource:Q464653 property:P144 ?i . ?i rdf:type ontology:Q2342494 }
The Quiet American
action filter_type
action find
entity The Quiet American
relation based on
type collectable
['The Quiet American', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?i WHERE { resource:The_Quiet_American property:based_on ?i . ?i rdf:type ontology:collectable }
[]
collectable
Q1199651
SYSTEM
The Quiet American
Q1199651
(Q464653,P144,c(Q2342494))
action filter_type
action find
entity Q464653
relation P144
type Q2342494
[ANSWER]
['Q464653', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?i WHERE { resource:Q464653 property:P144 ?i . ?i rdf:type ontology:Q2342494 }
The Quiet American
The Quiet American
action filter_type
action find
entity The Quiet American
relation based on
type collectable
['The Quiet American', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?i WHERE { resource:The_Quiet_American property:based_on ?i . ?i rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21156842 Q30
P530 P27
Q1048835
USER
Which political territories holds diplomatic relationship with United States of America or are Ernst Liebenauer a civilian of ?
OR((Q30,P530,c(Q1048835)), (Q21156842,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q21156842
relation P27
type Q1048835
{'OR': [['Q30', 'P530', {'concept': 'Q1048835'}], ['Q21156842', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q30 property:P530 ?s } UNION { resource:Q21156842 property:P27 ?s } } . ?s rdf:type ontology:Q1048835 }
Ernst Liebenauer United States of America
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Ernst Liebenauer
relation country of citizenship
type political territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Ernst Liebenauer', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:United_States_of_America property:diplomatic_relation ?s } UNION { resource:Ernst_Liebenauer property:country_of_citizenship ?s } } . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q16 Q183 Q40
SYSTEM
Australia, Canada, Germany, Austria
Q408 Q16 Q183 Q40
OR((Q30,P530,c(Q1048835)), (Q21156842,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q21156842
relation P27
type Q1048835
[ANSWERS] hold diplomatic relationship with United States of America or are Ernst Liebenauer a civilian of
{'OR': [['Q30', 'P530', {'concept': 'Q1048835'}], ['Q21156842', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q30 property:P530 ?s } UNION { resource:Q21156842 property:P27 ?s } } . ?s rdf:type ontology:Q1048835 }
Australia Canada Germany Austria
Australia, Canada, Germany and Austria hold diplomatic relationship with United States of America or are Ernst Liebenauer a civilian of
Australia Canada Germany Austria
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Ernst Liebenauer
relation country of citizenship
type political territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Ernst Liebenauer', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:United_States_of_America property:diplomatic_relation ?s } UNION { resource:Ernst_Liebenauer property:country_of_citizenship ?s } } . ?s rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q13211
P282
Q9779 Q8192 Q34770
USER
How many languages utilizes less number of alphabets and writing systems as the writing system than Ruthenian ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q13211
relation P282
type Q9779
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { { ?w rdf:type ontology:Q9779 } UNION { ?w rdf:type ontology:Q8192 } } . resource:Q13211 property:P282 ?w } } . FILTER ( ?l < ?v ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?x WHERE { VALUES ( ?q ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } . ?g rdf:type ?q } GROUP BY ?x } }
Ruthenian
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Ruthenian
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { { ?w rdf:type ontology:alphabet } UNION { ?w rdf:type ontology:writing_system } } . resource:Ruthenian property:writing_system ?w } } . FILTER ( ?l < ?v ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?x WHERE { VALUES ( ?q ) { ( ontology:alphabet ) ( ontology:writing_system ) } . ?g rdf:type ?q } GROUP BY ?x } }
[]
alphabet writing system language
SYSTEM
49
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q36741 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q9779)|c(Q8192))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q13211
relation P282
type Q9779
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { { ?w rdf:type ontology:Q9779 } UNION { ?w rdf:type ontology:Q8192 } } . resource:Q13211 property:P282 ?w } } . FILTER ( ?l < ?v ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?x WHERE { VALUES ( ?q ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } . ?g rdf:type ?q } GROUP BY ?x } }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Polabian Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
49
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Ruthenian
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { { ?w rdf:type ontology:alphabet } UNION { ?w rdf:type ontology:writing_system } } . resource:Ruthenian property:writing_system ?w } } . FILTER ( ?l < ?v ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) ?x WHERE { VALUES ( ?q ) { ( ontology:alphabet ) ( ontology:writing_system ) } . ?g rdf:type ?q } GROUP BY ?x } }
[]