Simple Question (Direct)
Simple Question
Q4656395
P161
Q502895
USER
Who were casted in A Delicate Balance – The Truth ?
(Q4656395,P161,c(Q502895))
action filter_type
action find
entity Q4656395
relation P161
type Q502895
['Q4656395', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q4656395 property:P161 ?y . ?y rdf:type ontology:Q502895 }
A Delicate Balance – The Truth
action filter_type
action find
entity A Delicate Balance – The Truth
relation cast member
type common name
['A Delicate Balance – The Truth', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:A_Delicate_Balance_–_The_Truth property:cast_member ?y . ?y rdf:type ontology:common_name }
[]
common name
Q211539 Q6984087 Q2739159
SYSTEM
Peter Singer, Neal D. Barnard, Maneka Gandhi
Q211539 Q6830782 Q6217818 Q900850 Q1133904 Q4253172 Q6984087 Q2739159
(Q4656395,P161,c(Q502895))
action filter_type
action find
entity Q4656395
relation P161
type Q502895
[ANSWERS] were casted in A Delicate Balance – The Truth
['Q4656395', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q4656395 property:P161 ?y . ?y rdf:type ontology:Q502895 }
Peter Singer Michael Greger John A. McDougall T. Colin Campbell Walter Willett Howard Lyman Neal D. Barnard Maneka Gandhi
Peter Singer, Neal D. Barnard and Maneka Gandhi were casted in A Delicate Balance – The Truth
Peter Singer Neal D. Barnard Maneka Gandhi
action filter_type
action find
entity A Delicate Balance – The Truth
relation cast member
type common name
['A Delicate Balance – The Truth', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:A_Delicate_Balance_–_The_Truth property:cast_member ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q211539
P1412
Q34770
USER
Which language can Peter Singer read ?
(Q211539,P1412,c(Q34770))
action filter_type
action find
entity Q211539
relation P1412
type Q34770
['Q211539', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q211539 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Peter Singer
action filter_type
action find
entity Peter Singer
relation languages spoken, written or signed
type language
['Peter Singer', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Peter_Singer property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q211539,P1412,c(Q34770))
action filter_type
action find
entity Q211539
relation P1412
type Q34770
Peter Singer can read [ANSWER]
['Q211539', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q211539 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
English
Peter Singer can read English
English
action filter_type
action find
entity Peter Singer
relation languages spoken, written or signed
type language
['Peter Singer', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Peter_Singer property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q211539
P101
Q22811234
USER
What is the field of work of Peter Singer ?
(Q211539,P101,c(Q22811234))
action filter_type
action find
entity Q211539
relation P101
type Q22811234
['Q211539', 'P101', {'concept': 'Q22811234'}]
SELECT DISTINCT ?p WHERE { resource:Q211539 property:P101 ?p . ?p rdf:type ontology:Q22811234 }
Peter Singer
action filter_type
action find
entity Peter Singer
relation field of work
type branch of philosophy
['Peter Singer', 'field of work', {'concept': 'branch of philosophy'}]
SELECT DISTINCT ?p WHERE { resource:Peter_Singer property:field_of_work ?p . ?p rdf:type ontology:branch_of_philosophy }
[]
branch of philosophy
Q194294
SYSTEM
bioethics
Q194294
(Q211539,P101,c(Q22811234))
action filter_type
action find
entity Q211539
relation P101
type Q22811234
The field of work of Peter Singer is the [ANSWER]
['Q211539', 'P101', {'concept': 'Q22811234'}]
SELECT DISTINCT ?p WHERE { resource:Q211539 property:P101 ?p . ?p rdf:type ontology:Q22811234 }
bioethics
The field of work of Peter Singer is the bioethics
bioethics
action filter_type
action find
entity Peter Singer
relation field of work
type branch of philosophy
['Peter Singer', 'field of work', {'concept': 'branch of philosophy'}]
SELECT DISTINCT ?p WHERE { resource:Peter_Singer property:field_of_work ?p . ?p rdf:type ontology:branch_of_philosophy }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q5496180 Q211539
P101
Q22811234
USER
And also Fred Rosner
AND((Q211539,P101,c(Q22811234)), (Q5496180,P101,c(Q22811234)))
action filter_type
action intersection
action find
entity Q211539
relation P101
action find
entity Q5496180
relation P101
type Q22811234
{'AND': [['Q211539', 'P101', {'concept': 'Q22811234'}], ['Q5496180', 'P101', {'concept': 'Q22811234'}]]}
SELECT DISTINCT ?a WHERE { resource:Q211539 property:P101 ?a . resource:Q5496180 property:P101 ?a . ?a rdf:type ontology:Q22811234 }
Fred Rosner Peter Singer
action filter_type
action intersection
action find
entity Peter Singer
relation field of work
action find
entity Fred Rosner
relation field of work
type branch of philosophy
{'AND': [['Peter Singer', 'field of work', {'concept': 'branch of philosophy'}], ['Fred Rosner', 'field of work', {'concept': 'branch of philosophy'}]]}
SELECT DISTINCT ?a WHERE { resource:Peter_Singer property:field_of_work ?a . resource:Fred_Rosner property:field_of_work ?a . ?a rdf:type ontology:branch_of_philosophy }
[]
branch of philosophy
Q194294
SYSTEM
bioethics
Q194294
AND((Q211539,P101,c(Q22811234)), (Q5496180,P101,c(Q22811234)))
action filter_type
action intersection
action find
entity Q211539
relation P101
action find
entity Q5496180
relation P101
type Q22811234
[ANSWER]
{'AND': [['Q211539', 'P101', {'concept': 'Q22811234'}], ['Q5496180', 'P101', {'concept': 'Q22811234'}]]}
SELECT DISTINCT ?a WHERE { resource:Q211539 property:P101 ?a . resource:Q5496180 property:P101 ?a . ?a rdf:type ontology:Q22811234 }
bioethics
bioethics
action filter_type
action intersection
action find
entity Peter Singer
relation field of work
action find
entity Fred Rosner
relation field of work
type branch of philosophy
{'AND': [['Peter Singer', 'field of work', {'concept': 'branch of philosophy'}], ['Fred Rosner', 'field of work', {'concept': 'branch of philosophy'}]]}
SELECT DISTINCT ?a WHERE { resource:Peter_Singer property:field_of_work ?a . resource:Fred_Rosner property:field_of_work ?a . ?a rdf:type ontology:branch_of_philosophy }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5496180
P108
Q163740
USER
Which nonprofit organization does Fred Rosner work for?
(Q194294,P108,c(Q163740))
action filter_type
action find
entity Q5496180
relation P108
type Q163740
['Q194294', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q163740 . resource:Q5496180 property:P108 ?g }
Fred Rosner
action filter_type
action find
entity Fred Rosner
relation employer
type nonprofit organization
['bioethics', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:nonprofit_organization . resource:Fred_Rosner property:employer ?g }
[]
nonprofit organization
Q49210
SYSTEM
New York University
Q49210
(Q194294,P108,c(Q163740))
action filter_type
action find
entity Q5496180
relation P108
type Q163740
Fred Rosner works at [ANSWER]
['Q194294', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q163740 . resource:Q5496180 property:P108 ?g }
New York University
Fred Rosner works at New York University
New York University
action filter_type
action find
entity Fred Rosner
relation employer
type nonprofit organization
['bioethics', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:nonprofit_organization . resource:Fred_Rosner property:employer ?g }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q49210 Q16633482 Q500046
P112
Q502895
USER
Was that nonprofit organization started by Niklas Söderberg and Albert Gallatin ?
(Q49210,P112,Q16633482) (Q49210,P112,Q500046)
action is_in
entity Q49210
action intersection
action find_reverse
entity Q16633482
relation P112
action find_reverse
entity Q500046
relation P112
['Q49210', 'P112', 'Q16633482'] ['Q49210', 'P112', 'Q500046']
ASK WHERE { resource:Q49210 property:P112 resource:Q16633482 . resource:Q49210 property:P112 resource:Q500046 }
New York University Niklas Söderberg Albert Gallatin
action is_in
entity New York University
action intersection
action find_reverse
entity Niklas Söderberg
relation founder
action find_reverse
entity Albert Gallatin
relation founder
['New York University', 'founder', 'Niklas Söderberg'] ['New York University', 'founder', 'Albert Gallatin']
ASK WHERE { resource:New_York_University property:founder resource:Niklas_Söderberg . resource:New_York_University property:founder resource:Albert_Gallatin }
[]
common name
SYSTEM
NO and YES respectively
(Q49210,P112,Q16633482) (Q49210,P112,Q500046)
action is_in
entity Q49210
action intersection
action find_reverse
entity Q16633482
relation P112
action find_reverse
entity Q500046
relation P112
[ANSWER]
['Q49210', 'P112', 'Q16633482'] ['Q49210', 'P112', 'Q500046']
ASK WHERE { resource:Q49210 property:P112 resource:Q16633482 . resource:Q49210 property:P112 resource:Q500046 }
NO and YES respectively
action is_in
entity New York University
action intersection
action find_reverse
entity Niklas Söderberg
relation founder
action find_reverse
entity Albert Gallatin
relation founder
['New York University', 'founder', 'Niklas Söderberg'] ['New York University', 'founder', 'Albert Gallatin']
ASK WHERE { resource:New_York_University property:founder resource:Niklas_Söderberg . resource:New_York_University property:founder resource:Albert_Gallatin }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6984087 Q30
P27
Q15617994
USER
Is Neal D. Barnard an inhabitant of United States of America ?
(Q6984087,P27,Q30)
action is_in
entity Q30
action find
entity Q6984087
relation P27
['Q6984087', 'P27', 'Q30']
ASK WHERE { resource:Q6984087 property:P27 resource:Q30 }
Neal D. Barnard United States of America
action is_in
entity United States of America
action find
entity Neal D. Barnard
relation country of citizenship
['Neal D. Barnard', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Neal_D._Barnard property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q6984087,P27,Q30)
action is_in
entity Q30
action find
entity Q6984087
relation P27
[ANSWER]
['Q6984087', 'P27', 'Q30']
ASK WHERE { resource:Q6984087 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Neal D. Barnard
relation country of citizenship
['Neal D. Barnard', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Neal_D._Barnard property:country_of_citizenship resource:United_States_of_America }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q9779 Q8192 Q34770
USER
Which languages use approximately 2 alphabets or writing systems as the writing system ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?r WHERE { VALUES ( ?f ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } . ?y rdf:type ?f } GROUP BY ?r } . FILTER ( ?v = 2 ) }
action approx
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
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?r WHERE { VALUES ( ?f ) { ( ontology:writing_system ) ( ontology:alphabet ) } . ?y rdf:type ?f } GROUP BY ?r } . FILTER ( ?v = 2 ) }
[]
alphabet writing system language
Q182695
SYSTEM
Late Old Japanese
Q182695
(c(Q34770),P282,c(Q9779)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 2
[ANSWER] use approximately 2 alphabets or writing systems as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?r WHERE { VALUES ( ?f ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } . ?y rdf:type ?f } GROUP BY ?r } . FILTER ( ?v = 2 ) }
Late Old Japanese
Late Old Japanese use approximately 2 alphabets or writing systems as the writing system
Late Old Japanese
action approx
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
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?r WHERE { VALUES ( ?f ) { ( ontology:writing_system ) ( ontology:alphabet ) } . ?y rdf:type ?f } GROUP BY ?r } . FILTER ( ?v = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q463279
P50
Q2342494
USER
How many collectables were written by Lynn Flewelling ?
(c(Q2342494),P50,Q463279)
action count
action filter_type
action find_reverse
entity Q463279
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q463279']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:P50 resource:Q463279 . ?m rdf:type ontology:Q2342494 }
Lynn Flewelling
action count
action filter_type
action find_reverse
entity Lynn Flewelling
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Lynn Flewelling']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:author resource:Lynn_Flewelling . ?m rdf:type ontology:collectable }
[]
collectable
SYSTEM
9
Q7833033 Q7719106 Q6697703 Q7099231 Q18794237 Q7774563 Q7460793 Q16957945 Q7597287
(c(Q2342494),P50,Q463279)
action count
action filter_type
action find_reverse
entity Q463279
relation P50
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q463279']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:P50 resource:Q463279 . ?m rdf:type ontology:Q2342494 }
Traitor's Moon The Bone Doll's Twin Luck in the Shadows Oracle's Queen Glimpses: A Collection of Nightrunner Short Stories The White Road Shadows Return Hidden Warrior Stalking Darkness
9
action count
action filter_type
action find_reverse
entity Lynn Flewelling
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Lynn Flewelling']
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:author resource:Lynn_Flewelling . ?m rdf:type ontology:collectable }
[]