Simple Question (Direct)
Simple Question
Q3184971
P241
Q781132
USER
Which military branch did Joseph Frederick Wallet Des Barres belong to ?
(Q3184971,P241,c(Q781132))
action filter_type
action find
entity Q3184971
relation P241
type Q781132
['Q3184971', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q781132 . resource:Q3184971 property:P241 ?d }
Joseph Frederick Wallet Des Barres
action filter_type
action find
entity Joseph Frederick Wallet Des Barres
relation military branch
type military branch
['Joseph Frederick Wallet Des Barres', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:military_branch . resource:Joseph_Frederick_Wallet_Des_Barres property:military_branch ?d }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q3184971,P241,c(Q781132))
action filter_type
action find
entity Q3184971
relation P241
type Q781132
Joseph Frederick Wallet Des Barres belonged to [ANSWER]
['Q3184971', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q781132 . resource:Q3184971 property:P241 ?d }
British Army
Joseph Frederick Wallet Des Barres belonged to British Army
British Army
action filter_type
action find
entity Joseph Frederick Wallet Des Barres
relation military branch
type military branch
['Joseph Frederick Wallet Des Barres', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:military_branch . resource:Joseph_Frederick_Wallet_Des_Barres property:military_branch ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3184971
P793
Q22675021
USER
What is a significant event associated with that person ?
(Q222595,P793,c(Q22675021))
action filter_type
action find
entity Q3184971
relation P793
type Q22675021
['Q222595', 'P793', {'concept': 'Q22675021'}]
SELECT DISTINCT ?s WHERE { resource:Q3184971 property:P793 ?s . ?s rdf:type ontology:Q22675021 }
Joseph Frederick Wallet Des Barres
action filter_type
action find
entity Joseph Frederick Wallet Des Barres
relation significant event
type lifetime
['British Army', 'significant event', {'concept': 'lifetime'}]
SELECT DISTINCT ?s WHERE { resource:Joseph_Frederick_Wallet_Des_Barres property:significant_event ?s . ?s rdf:type ontology:lifetime }
[]
lifetime
Q2944360
SYSTEM
centenarian
Q2944360
(Q222595,P793,c(Q22675021))
action filter_type
action find
entity Q3184971
relation P793
type Q22675021
A significant event associated with that person is a [ANSWER]
['Q222595', 'P793', {'concept': 'Q22675021'}]
SELECT DISTINCT ?s WHERE { resource:Q3184971 property:P793 ?s . ?s rdf:type ontology:Q22675021 }
centenarian
A significant event associated with that person is a centenarian
centenarian
action filter_type
action find
entity Joseph Frederick Wallet Des Barres
relation significant event
type lifetime
['British Army', 'significant event', {'concept': 'lifetime'}]
SELECT DISTINCT ?s WHERE { resource:Joseph_Frederick_Wallet_Des_Barres property:significant_event ?s . ?s rdf:type ontology:lifetime }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3184971
P27
Q15617994
USER
How many administrative territories are the native countriesof Joseph Frederick Wallet Des Barres ?
(Q3184971,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3184971
relation P27
type Q15617994
['Q3184971', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q3184971 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Joseph Frederick Wallet Des Barres
action count
action filter_type
action find
entity Joseph Frederick Wallet Des Barres
relation country of citizenship
type designation for an administrative territorial entity
['Joseph Frederick Wallet Des Barres', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Joseph_Frederick_Wallet_Des_Barres property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q3184971,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3184971
relation P27
type Q15617994
[ANSWER]
['Q3184971', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q3184971 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Joseph Frederick Wallet Des Barres
relation country of citizenship
type designation for an administrative territorial entity
['Joseph Frederick Wallet Des Barres', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Joseph_Frederick_Wallet_Des_Barres property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3184971
P20
Q56061
USER
Where did that person expire ?
action filter_type
action find
entity Q3184971
relation P20
type Q56061
SELECT DISTINCT ?l WHERE { resource:Q3184971 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Joseph Frederick Wallet Des Barres
action filter_type
action find
entity Joseph Frederick Wallet Des Barres
relation place of death
type administrative territorial entity
SELECT DISTINCT ?l WHERE { resource:Joseph_Frederick_Wallet_Des_Barres property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2141
SYSTEM
Halifax
Q2141
action filter_type
action find
entity Q3184971
relation P20
type Q56061
That person expired in [ANSWER]
SELECT DISTINCT ?l WHERE { resource:Q3184971 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Halifax
That person expired in Halifax
Halifax
action filter_type
action find
entity Joseph Frederick Wallet Des Barres
relation place of death
type administrative territorial entity
SELECT DISTINCT ?l WHERE { resource:Joseph_Frederick_Wallet_Des_Barres property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18672535 Q3184971
P921
Q191067
USER
Which articles are Joseph Frederick Wallet Des Barres or Thomas Jackson a main subject of ?
OR((c(Q191067),P921,Q3184971), (c(Q191067),P921,Q18672535))
action filter_type
action union
action find_reverse
entity Q3184971
relation P921
action find_reverse
entity Q18672535
relation P921
type Q191067
{'OR': [[{'concept': 'Q191067'}, 'P921', 'Q3184971'], [{'concept': 'Q191067'}, 'P921', 'Q18672535']]}
SELECT DISTINCT ?x WHERE { { { ?x property:P921 resource:Q3184971 } UNION { ?x property:P921 resource:Q18672535 } } . ?x rdf:type ontology:Q191067 }
Thomas Jackson Joseph Frederick Wallet Des Barres
action filter_type
action union
action find_reverse
entity Joseph Frederick Wallet Des Barres
relation main subject
action find_reverse
entity Thomas Jackson
relation main subject
type article
{'OR': [[{'concept': 'article'}, 'main subject', 'Joseph Frederick Wallet Des Barres'], [{'concept': 'article'}, 'main subject', 'Thomas Jackson']]}
SELECT DISTINCT ?x WHERE { { { ?x property:main_subject resource:Joseph_Frederick_Wallet_Des_Barres } UNION { ?x property:main_subject resource:Thomas_Jackson } } . ?x rdf:type ontology:article }
[]
article
Q19080589 Q19073672
SYSTEM
Desbarres, Joseph Frederick Walsh (DNB00), Jackson, Thomas (d.1646) (DNB00)
Q19080589 Q19073672
OR((c(Q191067),P921,Q3184971), (c(Q191067),P921,Q18672535))
action filter_type
action union
action find_reverse
entity Q3184971
relation P921
action find_reverse
entity Q18672535
relation P921
type Q191067
[ANSWERS]
{'OR': [[{'concept': 'Q191067'}, 'P921', 'Q3184971'], [{'concept': 'Q191067'}, 'P921', 'Q18672535']]}
SELECT DISTINCT ?x WHERE { { { ?x property:P921 resource:Q3184971 } UNION { ?x property:P921 resource:Q18672535 } } . ?x rdf:type ontology:Q191067 }
Desbarres, Joseph Frederick Walsh (DNB00) Jackson, Thomas (d.1646) (DNB00)
Desbarres, Joseph Frederick Walsh (DNB00) and Jackson, Thomas (d.1646) (DNB00) are Joseph Frederick Wallet Des Barres or Thomas Jackson a main subject of
Desbarres, Joseph Frederick Walsh (DNB00) Jackson, Thomas (d.1646) (DNB00)
action filter_type
action union
action find_reverse
entity Joseph Frederick Wallet Des Barres
relation main subject
action find_reverse
entity Thomas Jackson
relation main subject
type article
{'OR': [[{'concept': 'article'}, 'main subject', 'Joseph Frederick Wallet Des Barres'], [{'concept': 'article'}, 'main subject', 'Thomas Jackson']]}
SELECT DISTINCT ?x WHERE { { { ?x property:main_subject resource:Joseph_Frederick_Wallet_Des_Barres } UNION { ?x property:main_subject resource:Thomas_Jackson } } . ?x rdf:type ontology:article }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q17290934
P361
Q223393 Q191067
USER
How many literary genres are less number of articles a component of than Lentapedia ?
(c(Q191067),P361,c(Q223393))
action count
action less
action find_reverse_tuple_counts
relation P361
type Q223393
type Q191067
action count
action filter_type
action find_reverse
entity Q17290934
relation P361
type Q191067
[{'concept': 'Q191067'}, 'P361', {'concept': 'Q223393'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:P361 ?u . ?u rdf:type ontology:Q223393 . ?e rdf:type ontology:Q191067 } GROUP BY ?u } . FILTER ( ?s < ?z ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:P361 resource:Q17290934 . ?f rdf:type ontology:Q191067 } } }
Lentapedia
action count
action less
action find_reverse_tuple_counts
relation part of
type literary genre
type article
action count
action filter_type
action find_reverse
entity Lentapedia
relation part of
type article
[{'concept': 'article'}, 'part of', {'concept': 'literary genre'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:part_of ?u . ?u rdf:type ontology:literary_genre . ?e rdf:type ontology:article } GROUP BY ?u } . FILTER ( ?s < ?z ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:part_of resource:Lentapedia . ?f rdf:type ontology:article } } }
[]
literary genre article
SYSTEM
18
Q8276 Q2595941 Q617881 Q17311605 Q377477 Q16701856 Q184742 Q17321018 Q38801 Q1960551 Q40185 Q4173137 Q19979452 Q60220 Q132311 Q1150348 Q214844 Q19072211
(c(Q191067),P361,c(Q223393))
action count
action less
action find_reverse_tuple_counts
relation P361
type Q223393
type Q191067
action count
action filter_type
action find_reverse
entity Q17290934
relation P361
type Q191067
[ANSWER]
[{'concept': 'Q191067'}, 'P361', {'concept': 'Q223393'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:P361 ?u . ?u rdf:type ontology:Q223393 . ?e rdf:type ontology:Q191067 } GROUP BY ?u } . FILTER ( ?s < ?z ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:P361 resource:Q17290934 . ?f rdf:type ontology:Q191067 } } }
Mahabharata Roda Codex Hervarar saga ok Heiðreks Lentapedia (full versions) Agent 327 The Old Woman Izergil Metamorphoses The Feminist Encyclopedia of Spanish Literature Italian comics Russian Biographical Dictionary The Divine Comedy Jewish Encyclopedia of Brockhaus and Efron A catalogue raisonné of the works of the most eminent Dutch painters of the seventeenth century, based on the works of John Smith Aeneid fantasy Biographical Directory of the United States Congress Michelin Guide Cyclopædia of American Biographies
18
action count
action less
action find_reverse_tuple_counts
relation part of
type literary genre
type article
action count
action filter_type
action find_reverse
entity Lentapedia
relation part of
type article
[{'concept': 'article'}, 'part of', {'concept': 'literary genre'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:part_of ?u . ?u rdf:type ontology:literary_genre . ?e rdf:type ontology:article } GROUP BY ?u } . FILTER ( ?s < ?z ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:part_of resource:Lentapedia . ?f rdf:type ontology:article } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q571 Q191067
USER
How many books are approximately 9 articles a portion of ?
(c(Q191067),P361,c(Q571))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q571
type Q191067
value 9
[{'concept': 'Q191067'}, 'P361', {'concept': 'Q571'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?n ) WHERE { ?c rdf:type ontology:Q571 . ?p rdf:type ontology:Q191067 . ?p property:P361 ?c } GROUP BY ?c } . FILTER ( ?n = 9 ) }
action count
action approx
action find_reverse_tuple_counts
relation part of
type book
type article
value 9
[{'concept': 'article'}, 'part of', {'concept': 'book'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?n ) WHERE { ?c rdf:type ontology:book . ?p rdf:type ontology:article . ?p property:part_of ?c } GROUP BY ?c } . FILTER ( ?n = 9 ) }
[]
book article
SYSTEM
27
Q9339507 Q21065345 Q20798923 Q2069352 Q865902 Q20155177 Q19085957 Q15987490 Q4547210 Q19038757 Q21856050 Q15670114 Q20644964 Q1762690 Q671859 Q20096917 Q19221484 Q20961706 Q26414644 Q17378135 Q12302041 Q216578 Q5805827 Q19038689 Q11964957 Q2748292 Q205874
(c(Q191067),P361,c(Q571))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q571
type Q191067
value 9
[ANSWER]
[{'concept': 'Q191067'}, 'P361', {'concept': 'Q571'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?n ) WHERE { ?c rdf:type ontology:Q571 . ?p rdf:type ontology:Q191067 . ?p property:P361 ?c } GROUP BY ?c } . FILTER ( ?n = 9 ) }
Sonnets from the Crimea The Cambridge Companion to Evangelical Theology (2007 ed.) Højskolesangbogen, 18th edition romancero Aesop's Fables King James Version The Encyclopedia Americana 1922 Encyclopædia Britannica 10th edition of Systema Naturae Poems Species Plantarum. 1st Edition New Poems Songs of Innocence Højskolesangbogen Old Possum's Book of Practical Cats Encyclopædia Britannica Ninth Edition Œuvres complètes de François Arago Infernal Dictionary, 6th ed. Pauly-Wissowa vol. I,1 Great Soviet Encyclopedia (1969–1978) Arbejdersangbogen Les Fleurs du mal Die natürlichen Pflanzenfamilien, 2nd edition Men of the Time De små synger La Fontaine's Fables Poetic Edda
27
action count
action approx
action find_reverse_tuple_counts
relation part of
type book
type article
value 9
[{'concept': 'article'}, 'part of', {'concept': 'book'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?p ) AS ?n ) WHERE { ?c rdf:type ontology:book . ?p rdf:type ontology:article . ?p property:part_of ?c } GROUP BY ?c } . FILTER ( ?n = 9 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2141
P138
Q502895
USER
What is Halifax named after ?
(Q2141,P138,c(Q502895))
action filter_type
action find
entity Q2141
relation P138
type Q502895
['Q2141', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q2141 property:P138 ?l . ?l rdf:type ontology:Q502895 }
Halifax
action filter_type
action find
entity Halifax
relation named after
type common name
['Halifax', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Halifax property:named_after ?l . ?l rdf:type ontology:common_name }
[]
common name
Q3760605
SYSTEM
George Montagu-Dunk, 2nd Earl of Halifax
Q3760605
(Q2141,P138,c(Q502895))
action filter_type
action find
entity Q2141
relation P138
type Q502895
Halifax is named for [ANSWER]
['Q2141', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q2141 property:P138 ?l . ?l rdf:type ontology:Q502895 }
George Montagu-Dunk, 2nd Earl of Halifax
Halifax is named for George Montagu-Dunk, 2nd Earl of Halifax
George Montagu-Dunk, 2nd Earl of Halifax
action filter_type
action find
entity Halifax
relation named after
type common name
['Halifax', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Halifax property:named_after ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2141
P276
Q2235308
USER
What is located at that administrative territory ?
(c(Q2235308),P276,Q3760605)
action filter_type
action find_reverse
entity Q2141
relation P276
type Q2235308
[{'concept': 'Q2235308'}, 'P276', 'Q3760605']
SELECT DISTINCT ?x WHERE { ?x property:P276 resource:Q2141 . ?x rdf:type ontology:Q2235308 }
Halifax
action filter_type
action find_reverse
entity Halifax
relation location
type ship type
[{'concept': 'ship type'}, 'location', 'George Montagu-Dunk, 2nd Earl of Halifax']
SELECT DISTINCT ?x WHERE { ?x property:location resource:Halifax . ?x rdf:type ontology:ship_type }
[]
ship type
Q5630909
SYSTEM
HMCS Sackville
Q5630909
(c(Q2235308),P276,Q3760605)
action filter_type
action find_reverse
entity Q2141
relation P276
type Q2235308
[ANSWER] is located at that administrative territory
[{'concept': 'Q2235308'}, 'P276', 'Q3760605']
SELECT DISTINCT ?x WHERE { ?x property:P276 resource:Q2141 . ?x rdf:type ontology:Q2235308 }
HMCS Sackville
HMCS Sackville is located at that administrative territory
HMCS Sackville
action filter_type
action find_reverse
entity Halifax
relation location
type ship type
[{'concept': 'ship type'}, 'location', 'George Montagu-Dunk, 2nd Earl of Halifax']
SELECT DISTINCT ?x WHERE { ?x property:location resource:Halifax . ?x rdf:type ontology:ship_type }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q5630909 Q16 Q5197183
P17
Q1048835
USER
Is that ship type present in Canada and Cwm Cadnant Community ?
(Q5630909,P17,Q16) (Q5630909,P17,Q5197183)
action is_in
entity Q5630909
action intersection
action find_reverse
entity Q16
relation P17
action find_reverse
entity Q5197183
relation P17
['Q5630909', 'P17', 'Q16'] ['Q5630909', 'P17', 'Q5197183']
ASK WHERE { resource:Q5630909 property:P17 resource:Q16 . resource:Q5630909 property:P17 resource:Q5197183 }
HMCS Sackville Canada Cwm Cadnant Community
action is_in
entity HMCS Sackville
action intersection
action find_reverse
entity Canada
relation country
action find_reverse
entity Cwm Cadnant Community
relation country
['HMCS Sackville', 'country', 'Canada'] ['HMCS Sackville', 'country', 'Cwm Cadnant Community']
ASK WHERE { resource:HMCS_Sackville property:country resource:Canada . resource:HMCS_Sackville property:country resource:Cwm_Cadnant_Community }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q5630909,P17,Q16) (Q5630909,P17,Q5197183)
action is_in
entity Q5630909
action intersection
action find_reverse
entity Q16
relation P17
action find_reverse
entity Q5197183
relation P17
[ANSWER]
['Q5630909', 'P17', 'Q16'] ['Q5630909', 'P17', 'Q5197183']
ASK WHERE { resource:Q5630909 property:P17 resource:Q16 . resource:Q5630909 property:P17 resource:Q5197183 }
YES and NO respectively
action is_in
entity HMCS Sackville
action intersection
action find_reverse
entity Canada
relation country
action find_reverse
entity Cwm Cadnant Community
relation country
['HMCS Sackville', 'country', 'Canada'] ['HMCS Sackville', 'country', 'Cwm Cadnant Community']
ASK WHERE { resource:HMCS_Sackville property:country resource:Canada . resource:HMCS_Sackville property:country resource:Cwm_Cadnant_Community }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5630909
P1435
Q2065736
USER
Which cultural property heritage status does that ship type have ?
action filter_type
action find
entity Q5630909
relation P1435
type Q2065736
SELECT DISTINCT ?w WHERE { resource:Q5630909 property:P1435 ?w . ?w rdf:type ontology:Q2065736 }
HMCS Sackville
action filter_type
action find
entity HMCS Sackville
relation heritage status
type cultural property
SELECT DISTINCT ?w WHERE { resource:HMCS_Sackville property:heritage_status ?w . ?w rdf:type ontology:cultural_property }
[]
cultural property
Q1568567
SYSTEM
national historic site of Canada
Q1568567
action filter_type
action find
entity Q5630909
relation P1435
type Q2065736
That ship type has a [ANSWER]
SELECT DISTINCT ?w WHERE { resource:Q5630909 property:P1435 ?w . ?w rdf:type ontology:Q2065736 }
national historic site of Canada
That ship type has a national historic site of Canada
national historic site of Canada
action filter_type
action find
entity HMCS Sackville
relation heritage status
type cultural property
SELECT DISTINCT ?w WHERE { resource:HMCS_Sackville property:heritage_status ?w . ?w rdf:type ontology:cultural_property }
[]