Simple Question (Direct)
Simple Question
Q265792
P1412
Q34770
USER
Which language is Ray Cummings capable of writing ?
(Q265792,P1412,c(Q34770))
action filter_type
action find
entity Q265792
relation P1412
type Q34770
['Q265792', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q265792 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Ray Cummings
action filter_type
action find
entity Ray Cummings
relation languages spoken, written or signed
type language
['Ray Cummings', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Ray_Cummings property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q265792,P1412,c(Q34770))
action filter_type
action find
entity Q265792
relation P1412
type Q34770
[ANSWER] is Ray Cummings capable of writing
['Q265792', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q265792 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
English
English is Ray Cummings capable of writing
English
action filter_type
action find
entity Ray Cummings
relation languages spoken, written or signed
type language
['Ray Cummings', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Ray_Cummings property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q265792
P20
Q56061
USER
Which administrative territory is the place of death of Ray Cummings ?
(Q265792,P20,c(Q56061))
action filter_type
action find
entity Q265792
relation P20
type Q56061
['Q265792', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q265792 property:P20 ?q }
Ray Cummings
action filter_type
action find
entity Ray Cummings
relation place of death
type administrative territorial entity
['Ray Cummings', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Ray_Cummings property:place_of_death ?q }
[]
administrative territorial entity
Q835831
SYSTEM
Mount Vernon
Q835831
(Q265792,P20,c(Q56061))
action filter_type
action find
entity Q265792
relation P20
type Q56061
To [ANSWER] is the place of death of Ray Cummings
['Q265792', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q265792 property:P20 ?q }
Mount Vernon
To Mount Vernon is the place of death of Ray Cummings
Mount Vernon
action filter_type
action find
entity Ray Cummings
relation place of death
type administrative territorial entity
['Ray Cummings', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Ray_Cummings property:place_of_death ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q265792
P735
Q82799
USER
What is the firstname of that person ?
(Q835831,P735,c(Q82799))
action filter_type
action find
entity Q265792
relation P735
type Q82799
['Q835831', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q265792 property:P735 ?n . ?n rdf:type ontology:Q82799 }
Ray Cummings
action filter_type
action find
entity Ray Cummings
relation given name
type name
['Mount Vernon', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Ray_Cummings property:given_name ?n . ?n rdf:type ontology:name }
[]
name
Q2133832
SYSTEM
Ray
Q2133832
(Q835831,P735,c(Q82799))
action filter_type
action find
entity Q265792
relation P735
type Q82799
The firstname of that person is a [ANSWER]
['Q835831', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q265792 property:P735 ?n . ?n rdf:type ontology:Q82799 }
Ray
The firstname of that person is a Ray
Ray
action filter_type
action find
entity Ray Cummings
relation given name
type name
['Mount Vernon', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Ray_Cummings property:given_name ?n . ?n rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2133832 Q1248800 Q5033992
P407
Q34770
USER
Is that name created in language Common Brittonic and Cantonese grammar ?
(Q2133832,P407,Q1248800) (Q2133832,P407,Q5033992)
action is_in
entity Q2133832
action intersection
action find_reverse
entity Q1248800
relation P407
action find_reverse
entity Q5033992
relation P407
['Q2133832', 'P407', 'Q1248800'] ['Q2133832', 'P407', 'Q5033992']
ASK WHERE { resource:Q2133832 property:P407 resource:Q1248800 . resource:Q2133832 property:P407 resource:Q5033992 }
Ray Common Brittonic Cantonese grammar
action is_in
entity Ray
action intersection
action find_reverse
entity Common Brittonic
relation language of work or name
action find_reverse
entity Cantonese grammar
relation language of work or name
['Ray', 'language of work or name', 'Common Brittonic'] ['Ray', 'language of work or name', 'Cantonese grammar']
ASK WHERE { resource:Ray property:language_of_work_or_name resource:Common_Brittonic . resource:Ray property:language_of_work_or_name resource:Cantonese_grammar }
[]
language
SYSTEM
NO
(Q2133832,P407,Q1248800) (Q2133832,P407,Q5033992)
action is_in
entity Q2133832
action intersection
action find_reverse
entity Q1248800
relation P407
action find_reverse
entity Q5033992
relation P407
[ANSWER]
['Q2133832', 'P407', 'Q1248800'] ['Q2133832', 'P407', 'Q5033992']
ASK WHERE { resource:Q2133832 property:P407 resource:Q1248800 . resource:Q2133832 property:P407 resource:Q5033992 }
No
action is_in
entity Ray
action intersection
action find_reverse
entity Common Brittonic
relation language of work or name
action find_reverse
entity Cantonese grammar
relation language of work or name
['Ray', 'language of work or name', 'Common Brittonic'] ['Ray', 'language of work or name', 'Cantonese grammar']
ASK WHERE { resource:Ray property:language_of_work_or_name resource:Common_Brittonic . resource:Ray property:language_of_work_or_name resource:Cantonese_grammar }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q835831 Q30
P17
Q15617994
USER
Is Mount Vernon a part of United States of America ?
(Q835831,P17,Q30)
action is_in
entity Q30
action find
entity Q835831
relation P17
['Q835831', 'P17', 'Q30']
ASK WHERE { resource:Q835831 property:P17 resource:Q30 }
Mount Vernon United States of America
action is_in
entity United States of America
action find
entity Mount Vernon
relation country
['Mount Vernon', 'country', 'United States of America']
ASK WHERE { resource:Mount_Vernon property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q835831,P17,Q30)
action is_in
entity Q30
action find
entity Q835831
relation P17
[ANSWER]
['Q835831', 'P17', 'Q30']
ASK WHERE { resource:Q835831 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Mount Vernon
relation country
['Mount Vernon', 'country', 'United States of America']
ASK WHERE { resource:Mount_Vernon property:country resource:United_States_of_America }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q15709879 Q838948
USER
Which names are depicted in atmost 145 artwork series and works of art ?
(c(Q15709879)|c(Q838948),P180,c(Q82799))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
value 145
[[{'concept': 'Q15709879'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?m ) WHERE { ?e rdf:type ?u . VALUES ( ?u ) { ( ontology:Q15709879 ) ( ontology:Q838948 ) } } GROUP BY ?b } . FILTER ( ?m <= 145 ) }
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type work of art
value 145
[[{'concept': 'artwork series'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?m ) WHERE { ?e rdf:type ?u . VALUES ( ?u ) { ( ontology:artwork_series ) ( ontology:work_of_art ) } } GROUP BY ?b } . FILTER ( ?m <= 145 ) }
[]
name artwork series work of art
Q144 Q1807269 Q876933
SYSTEM
dog, leek, magi
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q15709879)|c(Q838948),P180,c(Q82799))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
value 145
[ANSWERS] are depicted in atmost 145 artwork series and works of art
[[{'concept': 'Q15709879'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?m ) WHERE { ?e rdf:type ?u . VALUES ( ?u ) { ( ontology:Q15709879 ) ( ontology:Q838948 ) } } GROUP BY ?b } . FILTER ( ?m <= 145 ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
Dog, leek and magi are depicted in atmost 145 artwork series and works of art
dog leek magi
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type work of art
value 145
[[{'concept': 'artwork series'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?m ) WHERE { ?e rdf:type ?u . VALUES ( ?u ) { ( ontology:artwork_series ) ( ontology:work_of_art ) } } GROUP BY ?b } . FILTER ( ?m <= 145 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1860
P2439
Q6055843 Q1002697
USER
How many internet genres or periodical literatures have an association with the language English ?
(c(Q6055843),P2439,Q1860) (c(Q1002697),P2439,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q6055843
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q1002697
[{'concept': 'Q6055843'}, 'P2439', 'Q1860'] [{'concept': 'Q1002697'}, 'P2439', 'Q1860']
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { ?n property:P2439 resource:Q1860 . ?n rdf:type ontology:Q6055843 } UNION { ?n property:P2439 resource:Q1860 . ?n rdf:type ontology:Q1002697 } }
English
action count
action union
action filter_type
action find_reverse
entity English
relation language
type internet genre
action filter_type
action find_reverse
entity English
relation language
type periodical literature
[{'concept': 'internet genre'}, 'language', 'English'] [{'concept': 'periodical literature'}, 'language', 'English']
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { ?n property:language resource:English . ?n rdf:type ontology:internet_genre } UNION { ?n property:language resource:English . ?n rdf:type ontology:periodical_literature } }
[]
internet genre periodical literature
SYSTEM
2
Q7621515 Q4765134
(c(Q6055843),P2439,Q1860) (c(Q1002697),P2439,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q6055843
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q1002697
[ANSWER]
[{'concept': 'Q6055843'}, 'P2439', 'Q1860'] [{'concept': 'Q1002697'}, 'P2439', 'Q1860']
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { ?n property:P2439 resource:Q1860 . ?n rdf:type ontology:Q6055843 } UNION { ?n property:P2439 resource:Q1860 . ?n rdf:type ontology:Q1002697 } }
Stranger AnimeSuki
2
action count
action union
action filter_type
action find_reverse
entity English
relation language
type internet genre
action filter_type
action find_reverse
entity English
relation language
type periodical literature
[{'concept': 'internet genre'}, 'language', 'English'] [{'concept': 'periodical literature'}, 'language', 'English']
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { ?n property:language resource:English . ?n rdf:type ontology:internet_genre } UNION { ?n property:language resource:English . ?n rdf:type ontology:periodical_literature } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q10266732 Q265792
P27
Q15617994
USER
Which administrative territories are the native countriesof Ray Cummings or Dirceu Pereira de Araújo ?
OR((Q265792,P27,c(Q15617994)), (Q10266732,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q265792
relation P27
action find
entity Q10266732
relation P27
type Q15617994
{'OR': [['Q265792', 'P27', {'concept': 'Q15617994'}], ['Q10266732', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q265792 property:P27 ?t } UNION { resource:Q10266732 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Dirceu Pereira de Araújo Ray Cummings
action filter_type
action union
action find
entity Ray Cummings
relation country of citizenship
action find
entity Dirceu Pereira de Araújo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ray Cummings', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dirceu Pereira de Araújo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Ray_Cummings property:country_of_citizenship ?t } UNION { resource:Dirceu_Pereira_de_Araújo property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q30
SYSTEM
Brazil, United States of America
Q155 Q30
OR((Q265792,P27,c(Q15617994)), (Q10266732,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q265792
relation P27
action find
entity Q10266732
relation P27
type Q15617994
[ANSWERS] are the native countriesof Ray Cummings or Dirceu Pereira de Araújo
{'OR': [['Q265792', 'P27', {'concept': 'Q15617994'}], ['Q10266732', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q265792 property:P27 ?t } UNION { resource:Q10266732 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Brazil United States of America
Brazil and United States of America are the native countriesof Ray Cummings or Dirceu Pereira de Araújo
Brazil United States of America
action filter_type
action union
action find
entity Ray Cummings
relation country of citizenship
action find
entity Dirceu Pereira de Araújo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ray Cummings', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dirceu Pereira de Araújo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Ray_Cummings property:country_of_citizenship ?t } UNION { resource:Dirceu_Pereira_de_Araújo property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q155 Q30
P530
Q1048835
USER
Who holds diplomatic relationship with those administrative territories ?
(Q155,P530,c(Q1048835)) (Q30,P530,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
['Q155', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . VALUES ( ?k ) { ( resource:Q155 ) ( resource:Q30 ) } . ?k property:P530 ?s }
Brazil United States of America
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . VALUES ( ?k ) { ( resource:Brazil ) ( resource:United_States_of_America ) } . ?k property:diplomatic_relation ?s }
[]
political territorial entity
Q183 Q183 Q408
SYSTEM
Australia for 3rd, Germany for 1st, 2nd
Q183 Q16 Q766 Q35 Q408 Q183 Q408 Q16
(Q155,P530,c(Q1048835)) (Q30,P530,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
[ANSWERS]
['Q155', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . VALUES ( ?k ) { ( resource:Q155 ) ( resource:Q30 ) } . ?k property:P530 ?s }
Germany Canada Jamaica Denmark Australia Germany Australia Canada
Germany, Germany and Australia hold diplomatic relationship with those administrative territories
Germany Germany Australia
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . VALUES ( ?k ) { ( resource:Brazil ) ( resource:United_States_of_America ) } . ?k property:diplomatic_relation ?s }
[]