Simple Question (Direct)
Simple Question
Q459412
P607
Q350604
USER
Which armed conflict did Charlotte Stanley, Countess of Derby take part in ?
(Q459412,P607,c(Q350604))
action filter_type
action find
entity Q459412
relation P607
type Q350604
['Q459412', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q350604 . resource:Q459412 property:P607 ?d }
Charlotte Stanley, Countess of Derby
action filter_type
action find
entity Charlotte Stanley, Countess of Derby
relation conflict
type armed conflict
['Charlotte Stanley, Countess of Derby', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:armed_conflict . resource:Charlotte_Stanley,_Countess_of_Derby property:conflict ?d }
[]
armed conflict
Q80330
SYSTEM
English Civil War
Q80330
(Q459412,P607,c(Q350604))
action filter_type
action find
entity Q459412
relation P607
type Q350604
Part The [ANSWER] Charlotte Stanley , Countess of Derby took in
['Q459412', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q350604 . resource:Q459412 property:P607 ?d }
English Civil War
Part The English Civil War Charlotte Stanley , Countess of Derby took in
English Civil War
action filter_type
action find
entity Charlotte Stanley, Countess of Derby
relation conflict
type armed conflict
['Charlotte Stanley, Countess of Derby', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:armed_conflict . resource:Charlotte_Stanley,_Countess_of_Derby property:conflict ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q459412
P21
Q290
USER
Which sex does Charlotte Stanley, Countess of Derby possess ?
(Q459412,P21,c(Q290))
action filter_type
action find
entity Q459412
relation P21
type Q290
['Q459412', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q459412 property:P21 ?a . ?a rdf:type ontology:Q290 }
Charlotte Stanley, Countess of Derby
action filter_type
action find
entity Charlotte Stanley, Countess of Derby
relation gender
type sex
['Charlotte Stanley, Countess of Derby', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Charlotte_Stanley,_Countess_of_Derby property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q459412,P21,c(Q290))
action filter_type
action find
entity Q459412
relation P21
type Q290
Charlotte Stanley , Countess of Derby possesses a [ANSWER]
['Q459412', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q459412 property:P21 ?a . ?a rdf:type ontology:Q290 }
female
Charlotte Stanley , Countess of Derby possesses a female
female
action filter_type
action find
entity Charlotte Stanley, Countess of Derby
relation gender
type sex
['Charlotte Stanley, Countess of Derby', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Charlotte_Stanley,_Countess_of_Derby property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q459412
P921
Q191067
USER
Which article has Charlotte Stanley, Countess of Derby as its main topic ?
(c(Q191067),P921,Q459412)
action filter_type
action find_reverse
entity Q459412
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q459412']
SELECT DISTINCT ?g WHERE { ?g property:P921 resource:Q459412 . ?g rdf:type ontology:Q191067 }
Charlotte Stanley, Countess of Derby
action filter_type
action find_reverse
entity Charlotte Stanley, Countess of Derby
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Charlotte Stanley, Countess of Derby']
SELECT DISTINCT ?g WHERE { ?g property:main_subject resource:Charlotte_Stanley,_Countess_of_Derby . ?g rdf:type ontology:article }
[]
article
Q19061861
SYSTEM
Stanley, Charlotte (DNB00)
Q19061861
(c(Q191067),P921,Q459412)
action filter_type
action find_reverse
entity Q459412
relation P921
type Q191067
[ANSWER] has Charlotte Stanley, Countess of Derby as its main topic
[{'concept': 'Q191067'}, 'P921', 'Q459412']
SELECT DISTINCT ?g WHERE { ?g property:P921 resource:Q459412 . ?g rdf:type ontology:Q191067 }
Stanley, Charlotte (DNB00)
Stanley, Charlotte (DNB00) has Charlotte Stanley, Countess of Derby as its main topic
Stanley, Charlotte (DNB00)
action filter_type
action find_reverse
entity Charlotte Stanley, Countess of Derby
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Charlotte Stanley, Countess of Derby']
SELECT DISTINCT ?g WHERE { ?g property:main_subject resource:Charlotte_Stanley,_Countess_of_Derby . ?g rdf:type ontology:article }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19061861
P1433
Q5292
USER
Which encyclopedia contains that article ?
(Q19061861,P1433,c(Q5292))
action filter_type
action find
entity Q19061861
relation P1433
type Q5292
['Q19061861', 'P1433', {'concept': 'Q5292'}]
SELECT DISTINCT ?d WHERE { resource:Q19061861 property:P1433 ?d . ?d rdf:type ontology:Q5292 }
Stanley, Charlotte (DNB00)
action filter_type
action find
entity Stanley, Charlotte (DNB00)
relation published in
type encyclopedia
['Stanley, Charlotte (DNB00)', 'published in', {'concept': 'encyclopedia'}]
SELECT DISTINCT ?d WHERE { resource:Stanley,_Charlotte_(DNB00) property:published_in ?d . ?d rdf:type ontology:encyclopedia }
[]
encyclopedia
Q15987216
SYSTEM
Dictionary of National Biography (1885-1900)
Q15987216
(Q19061861,P1433,c(Q5292))
action filter_type
action find
entity Q19061861
relation P1433
type Q5292
[ANSWER] contains that article
['Q19061861', 'P1433', {'concept': 'Q5292'}]
SELECT DISTINCT ?d WHERE { resource:Q19061861 property:P1433 ?d . ?d rdf:type ontology:Q5292 }
Dictionary of National Biography (1885-1900)
Dictionary of National Biography (1885-1900) contains that article
Dictionary of National Biography (1885-1900)
action filter_type
action find
entity Stanley, Charlotte (DNB00)
relation published in
type encyclopedia
['Stanley, Charlotte (DNB00)', 'published in', {'concept': 'encyclopedia'}]
SELECT DISTINCT ?d WHERE { resource:Stanley,_Charlotte_(DNB00) property:published_in ?d . ?d rdf:type ontology:encyclopedia }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P361
Q234460 Q191067
USER
Which texts are max number of articles a part of ?
(c(Q191067),P361,Q1205532)
action argmax
action find_reverse_tuple_counts
relation P361
type Q234460
type Q191067
[{'concept': 'Q191067'}, 'P361', 'Q1205532']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?a ) WHERE { ?l rdf:type ontology:Q234460 . ?k rdf:type ontology:Q191067 . ?k property:P361 ?l } GROUP BY ?l } . FILTER ( ?a = ?h ) . { SELECT DISTINCT ( MAX ( ?t ) AS ?h ) { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:P361 ?m . ?m rdf:type ontology:Q234460 . ?f rdf:type ontology:Q191067 } GROUP BY ?m } } }
action argmax
action find_reverse_tuple_counts
relation part of
type text
type article
[{'concept': 'article'}, 'part of', 'Thirteen Classics']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?a ) WHERE { ?l rdf:type ontology:text . ?k rdf:type ontology:article . ?k property:part_of ?l } GROUP BY ?l } . FILTER ( ?a = ?h ) . { SELECT DISTINCT ( MAX ( ?t ) AS ?h ) { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:part_of ?m . ?m rdf:type ontology:text . ?f rdf:type ontology:article } GROUP BY ?m } } }
[]
text article
Q653922
SYSTEM
Jewish Encyclopedia
Q653922
(c(Q191067),P361,Q1205532)
action argmax
action find_reverse_tuple_counts
relation P361
type Q234460
type Q191067
[ANSWER] is max number of articles a part of
[{'concept': 'Q191067'}, 'P361', 'Q1205532']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?a ) WHERE { ?l rdf:type ontology:Q234460 . ?k rdf:type ontology:Q191067 . ?k property:P361 ?l } GROUP BY ?l } . FILTER ( ?a = ?h ) . { SELECT DISTINCT ( MAX ( ?t ) AS ?h ) { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:P361 ?m . ?m rdf:type ontology:Q234460 . ?f rdf:type ontology:Q191067 } GROUP BY ?m } } }
Jewish Encyclopedia
Jewish Encyclopedia is max number of articles a part of
Jewish Encyclopedia
action argmax
action find_reverse_tuple_counts
relation part of
type text
type article
[{'concept': 'article'}, 'part of', 'Thirteen Classics']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?a ) WHERE { ?l rdf:type ontology:text . ?k rdf:type ontology:article . ?k property:part_of ?l } GROUP BY ?l } . FILTER ( ?a = ?h ) . { SELECT DISTINCT ( MAX ( ?t ) AS ?h ) { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:part_of ?m . ?m rdf:type ontology:text . ?f rdf:type ontology:article } GROUP BY ?m } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q653922
P136
Q1792379
USER
What can be considered as category for that text ?
(Q653922,P136,c(Q1792379))
action filter_type
action find
entity Q653922
relation P136
type Q1792379
['Q653922', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?z WHERE { resource:Q653922 property:P136 ?z . ?z rdf:type ontology:Q1792379 }
Jewish Encyclopedia
action filter_type
action find
entity Jewish Encyclopedia
relation genre
type art genre
['Jewish Encyclopedia', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?z WHERE { resource:Jewish_Encyclopedia property:genre ?z . ?z rdf:type ontology:art_genre }
[]
art genre
Q5292
SYSTEM
encyclopedia
Q5292
(Q653922,P136,c(Q1792379))
action filter_type
action find
entity Q653922
relation P136
type Q1792379
[ANSWER] can be considered as category for that text
['Q653922', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?z WHERE { resource:Q653922 property:P136 ?z . ?z rdf:type ontology:Q1792379 }
encyclopedia
Encyclopedia can be considered as category for that text
encyclopedia
action filter_type
action find
entity Jewish Encyclopedia
relation genre
type art genre
['Jewish Encyclopedia', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?z WHERE { resource:Jewish_Encyclopedia property:genre ?z . ?z rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20894900 Q19061861
P50
Q502895
USER
Which people authored Stanley, Charlotte (DNB00) or Size and albedo of Kuiper belt object 55636 from a stellar occultation ?
OR((Q19061861,P50,c(Q502895)), (Q20894900,P50,c(Q502895)))
action filter_type
action union
action find
entity Q19061861
relation P50
action find
entity Q20894900
relation P50
type Q502895
{'OR': [['Q19061861', 'P50', {'concept': 'Q502895'}], ['Q20894900', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q19061861 property:P50 ?l } UNION { resource:Q20894900 property:P50 ?l } } . ?l rdf:type ontology:Q502895 }
Size and albedo of Kuiper belt object 55636 from a stellar occultation Stanley, Charlotte (DNB00)
action filter_type
action union
action find
entity Stanley, Charlotte (DNB00)
relation author
action find
entity Size and albedo of Kuiper belt object 55636 from a stellar occultation
relation author
type common name
{'OR': [['Stanley, Charlotte (DNB00)', 'author', {'concept': 'common name'}], ['Size and albedo of Kuiper belt object 55636 from a stellar occultation', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Stanley,_Charlotte_(DNB00) property:author ?l } UNION { resource:Size_and_albedo_of_Kuiper_belt_object_55636_from_a_stellar_occultation property:author ?l } } . ?l rdf:type ontology:common_name }
[]
common name
Q4711022 Q20894898 Q20894899 Q20894897 Q470389
SYSTEM
Albert Pollard, C. A. Zuluaga, A. S. Bosh, Michael J. Person, James L. Elliot
Q4711022 Q20894898 Q20894899 Q20894897 Q470389
OR((Q19061861,P50,c(Q502895)), (Q20894900,P50,c(Q502895)))
action filter_type
action union
action find
entity Q19061861
relation P50
action find
entity Q20894900
relation P50
type Q502895
[ANSWERS] authored Stanley, Charlotte (DNB00) or Size and albedo of Kuiper belt object 55636 from a stellar occultation
{'OR': [['Q19061861', 'P50', {'concept': 'Q502895'}], ['Q20894900', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q19061861 property:P50 ?l } UNION { resource:Q20894900 property:P50 ?l } } . ?l rdf:type ontology:Q502895 }
Albert Pollard C. A. Zuluaga A. S. Bosh Michael J. Person James L. Elliot
Albert Pollard, C. A. Zuluaga, A. S. Bosh, Michael J. Person and James L. Elliot authored Stanley, Charlotte (DNB00) or Size and albedo of Kuiper belt object 55636 from a stellar occultation
Albert Pollard C. A. Zuluaga A. S. Bosh Michael J. Person James L. Elliot
action filter_type
action union
action find
entity Stanley, Charlotte (DNB00)
relation author
action find
entity Size and albedo of Kuiper belt object 55636 from a stellar occultation
relation author
type common name
{'OR': [['Stanley, Charlotte (DNB00)', 'author', {'concept': 'common name'}], ['Size and albedo of Kuiper belt object 55636 from a stellar occultation', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Stanley,_Charlotte_(DNB00) property:author ?l } UNION { resource:Size_and_albedo_of_Kuiper_belt_object_55636_from_a_stellar_occultation property:author ?l } } . ?l rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4659107 Q653922
P364
Q34770
USER
What are considered to be the original language of creation of Jewish Encyclopedia and A Quiet Day in Belfast ?
AND((Q653922,P364,c(Q34770)), (Q4659107,P364,c(Q34770)))
action filter_type
action intersection
action find
entity Q653922
relation P364
action find
entity Q4659107
relation P364
type Q34770
{'AND': [['Q653922', 'P364', {'concept': 'Q34770'}], ['Q4659107', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?h WHERE { resource:Q653922 property:P364 ?h . resource:Q4659107 property:P364 ?h . ?h rdf:type ontology:Q34770 }
A Quiet Day in Belfast Jewish Encyclopedia
action filter_type
action intersection
action find
entity Jewish Encyclopedia
relation original language of work
action find
entity A Quiet Day in Belfast
relation original language of work
type language
{'AND': [['Jewish Encyclopedia', 'original language of work', {'concept': 'language'}], ['A Quiet Day in Belfast', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?h WHERE { resource:Jewish_Encyclopedia property:original_language_of_work ?h . resource:A_Quiet_Day_in_Belfast property:original_language_of_work ?h . ?h rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q653922,P364,c(Q34770)), (Q4659107,P364,c(Q34770)))
action filter_type
action intersection
action find
entity Q653922
relation P364
action find
entity Q4659107
relation P364
type Q34770
[ANSWER] is considered to be the original language of creation of Jewish Encyclopedia and A Quiet Day in Belfast
{'AND': [['Q653922', 'P364', {'concept': 'Q34770'}], ['Q4659107', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?h WHERE { resource:Q653922 property:P364 ?h . resource:Q4659107 property:P364 ?h . ?h rdf:type ontology:Q34770 }
English
English is considered to be the original language of creation of Jewish Encyclopedia and A Quiet Day in Belfast
English
action filter_type
action intersection
action find
entity Jewish Encyclopedia
relation original language of work
action find
entity A Quiet Day in Belfast
relation original language of work
type language
{'AND': [['Jewish Encyclopedia', 'original language of work', {'concept': 'language'}], ['A Quiet Day in Belfast', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?h WHERE { resource:Jewish_Encyclopedia property:original_language_of_work ?h . resource:A_Quiet_Day_in_Belfast property:original_language_of_work ?h . ?h rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q16948006
P364
Q838948
USER
Was Highway to Battle originally created in that one language ?
(Q16948006,P364,Q1860)
action is_in
entity Q1860
action find
entity Q16948006
relation P364
['Q16948006', 'P364', 'Q1860']
ASK WHERE { resource:Q16948006 property:P364 resource:Q1860 }
English Highway to Battle
action is_in
entity English
action find
entity Highway to Battle
relation original language of work
['Highway to Battle', 'original language of work', 'English']
ASK WHERE { resource:Highway_to_Battle property:original_language_of_work resource:English }
[]
work of art
SYSTEM
YES
(Q16948006,P364,Q1860)
action is_in
entity Q1860
action find
entity Q16948006
relation P364
[ANSWER]
['Q16948006', 'P364', 'Q1860']
ASK WHERE { resource:Q16948006 property:P364 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Highway to Battle
relation original language of work
['Highway to Battle', 'original language of work', 'English']
ASK WHERE { resource:Highway_to_Battle property:original_language_of_work resource:English }
[]