Simple Question (Direct)
Simple Question
Q8004442
P607
Q198
USER
What battle was William Andrew Quarles a part of ?
(Q8004442,P607,c(Q198))
action filter_type
action find
entity Q8004442
relation P607
type Q198
['Q8004442', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q198 . resource:Q8004442 property:P607 ?a }
William Andrew Quarles
action filter_type
action find
entity William Andrew Quarles
relation conflict
type war
['William Andrew Quarles', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:war . resource:William_Andrew_Quarles property:conflict ?a }
[]
war
Q8676
SYSTEM
American Civil War
Q8676
(Q8004442,P607,c(Q198))
action filter_type
action find
entity Q8004442
relation P607
type Q198
The [ANSWER] was William Andrew Quarles a part of
['Q8004442', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q198 . resource:Q8004442 property:P607 ?a }
American Civil War
The American Civil War was William Andrew Quarles a part of
American Civil War
action filter_type
action find
entity William Andrew Quarles
relation conflict
type war
['William Andrew Quarles', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:war . resource:William_Andrew_Quarles property:conflict ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8676
P1542
Q601401
USER
Which trade results in that war ?
(c(Q601401),P1542,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P1542
type Q601401
[{'concept': 'Q601401'}, 'P1542', 'Q8676']
SELECT DISTINCT ?q WHERE { ?q property:P1542 resource:Q8676 . ?q rdf:type ontology:Q601401 }
American Civil War
action filter_type
action find_reverse
entity American Civil War
relation cause of
type trade
[{'concept': 'trade'}, 'cause of', 'American Civil War']
SELECT DISTINCT ?q WHERE { ?q property:cause_of resource:American_Civil_War . ?q rdf:type ontology:trade }
[]
trade
Q118382
SYSTEM
slavery in the United States
Q118382
(c(Q601401),P1542,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P1542
type Q601401
[ANSWER] results in that war
[{'concept': 'Q601401'}, 'P1542', 'Q8676']
SELECT DISTINCT ?q WHERE { ?q property:P1542 resource:Q8676 . ?q rdf:type ontology:Q601401 }
slavery in the United States
Slavery in the United States results in that war
slavery in the United States
action filter_type
action find_reverse
entity American Civil War
relation cause of
type trade
[{'concept': 'trade'}, 'cause of', 'American Civil War']
SELECT DISTINCT ?q WHERE { ?q property:cause_of resource:American_Civil_War . ?q rdf:type ontology:trade }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q213461
P1303
Q34379 Q502895
USER
How many musical instruments are played by approximately the same number of people as harmonium ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q213461
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:Q213461 property:P1303 ?m . ?m rdf:type ontology:Q34379 } } . FILTER ( ?r = ?o ) . { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:P1303 ?w . ?b rdf:type ontology:Q502895 . ?w rdf:type ontology:Q34379 } GROUP BY ?w } }
harmonium
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity harmonium
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:harmonium property:instrument ?m . ?m rdf:type ontology:musical_instrument } } . FILTER ( ?r = ?o ) . { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:instrument ?w . ?b rdf:type ontology:common_name . ?w rdf:type ontology:musical_instrument } GROUP BY ?w } }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q213461
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:Q213461 property:P1303 ?m . ?m rdf:type ontology:Q34379 } } . FILTER ( ?r = ?o ) . { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:P1303 ?w . ?b rdf:type ontology:Q502895 . ?w rdf:type ontology:Q34379 } GROUP BY ?w } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity harmonium
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { resource:harmonium property:instrument ?m . ?m rdf:type ontology:musical_instrument } } . FILTER ( ?r = ?o ) . { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:instrument ?w . ?b rdf:type ontology:common_name . ?w rdf:type ontology:musical_instrument } GROUP BY ?w } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1300012
P1303
Q34379 Q502895
USER
And also tell me about toy piano?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1300012
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:P1303 ?n . ?m rdf:type ontology:Q502895 . ?n rdf:type ontology:Q34379 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Q1300012 property:P1303 ?k . ?k rdf:type ontology:Q34379 } } . FILTER ( ?h = ?z ) }
toy piano
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity toy piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:instrument ?n . ?m rdf:type ontology:common_name . ?n rdf:type ontology:musical_instrument } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:toy_piano property:instrument ?k . ?k rdf:type ontology:musical_instrument } } . FILTER ( ?h = ?z ) }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1300012
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:P1303 ?n . ?m rdf:type ontology:Q502895 . ?n rdf:type ontology:Q34379 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Q1300012 property:P1303 ?k . ?k rdf:type ontology:Q34379 } } . FILTER ( ?h = ?z ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity toy piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:instrument ?n . ?m rdf:type ontology:common_name . ?n rdf:type ontology:musical_instrument } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:toy_piano property:instrument ?k . ?k rdf:type ontology:musical_instrument } } . FILTER ( ?h = ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q118382
P828
Q198
USER
What is the result of having slavery in the United States ?
(c(Q198),P828,Q118382)
action filter_type
action find_reverse
entity Q118382
relation P828
type Q198
[{'concept': 'Q198'}, 'P828', 'Q118382']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q198 . ?d property:P828 resource:Q118382 }
slavery in the United States
action filter_type
action find_reverse
entity slavery in the United States
relation has cause
type war
[{'concept': 'war'}, 'has cause', 'slavery in the United States']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:war . ?d property:has_cause resource:slavery_in_the_United_States }
[]
war
Q8676
SYSTEM
American Civil War
Q8676
(c(Q198),P828,Q118382)
action filter_type
action find_reverse
entity Q118382
relation P828
type Q198
The result of having slavery in the United States is the [ANSWER]
[{'concept': 'Q198'}, 'P828', 'Q118382']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q198 . ?d property:P828 resource:Q118382 }
American Civil War
The result of having slavery in the United States is the American Civil War
American Civil War
action filter_type
action find_reverse
entity slavery in the United States
relation has cause
type war
[{'concept': 'war'}, 'has cause', 'slavery in the United States']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:war . ?d property:has_cause resource:slavery_in_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8676
P793
Q502895
USER
Which person had that war as its key event ?
(c(Q502895),P793,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P793
type Q502895
[{'concept': 'Q502895'}, 'P793', 'Q8676']
SELECT DISTINCT ?e WHERE { ?e property:P793 resource:Q8676 . ?e rdf:type ontology:Q502895 }
American Civil War
action filter_type
action find_reverse
entity American Civil War
relation significant event
type common name
[{'concept': 'common name'}, 'significant event', 'American Civil War']
SELECT DISTINCT ?e WHERE { ?e property:significant_event resource:American_Civil_War . ?e rdf:type ontology:common_name }
[]
common name
Q21988192
SYSTEM
Moses Greeley Parker
Q21988192
(c(Q502895),P793,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P793
type Q502895
[ANSWER] had that war as its key event
[{'concept': 'Q502895'}, 'P793', 'Q8676']
SELECT DISTINCT ?e WHERE { ?e property:P793 resource:Q8676 . ?e rdf:type ontology:Q502895 }
Moses Greeley Parker
Moses Greeley Parker had that war as its key event
Moses Greeley Parker
action filter_type
action find_reverse
entity American Civil War
relation significant event
type common name
[{'concept': 'common name'}, 'significant event', 'American Civil War']
SELECT DISTINCT ?e WHERE { ?e property:significant_event resource:American_Civil_War . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8676
P101
Q2668072
USER
Which collection has specialisation in American Civil War ?
(c(Q2668072),P101,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P101
type Q2668072
[{'concept': 'Q2668072'}, 'P101', 'Q8676']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2668072 . ?i property:P101 resource:Q8676 }
American Civil War
action filter_type
action find_reverse
entity American Civil War
relation field of work
type collection
[{'concept': 'collection'}, 'field of work', 'American Civil War']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:collection . ?i property:field_of_work resource:American_Civil_War }
[]
collection
Q16930752
SYSTEM
Bridgeport Depot Museum
Q16930752
(c(Q2668072),P101,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P101
type Q2668072
Museum [ANSWER] has specialisation in American Civil War
[{'concept': 'Q2668072'}, 'P101', 'Q8676']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2668072 . ?i property:P101 resource:Q8676 }
Bridgeport Depot Museum
Museum Bridgeport Depot Museum has specialisation in American Civil War
Bridgeport Depot Museum
action filter_type
action find_reverse
entity American Civil War
relation field of work
type collection
[{'concept': 'collection'}, 'field of work', 'American Civil War']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:collection . ?i property:field_of_work resource:American_Civil_War }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8676
P710
Q1048835
USER
Who was the artist who participated in American Civil War ?
(Q8676,P710,c(Q1048835))
action filter_type
action find
entity Q8676
relation P710
type Q1048835
['Q8676', 'P710', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q8676 property:P710 ?l . ?l rdf:type ontology:Q1048835 }
American Civil War
action filter_type
action find
entity American Civil War
relation participant
type political territorial entity
['American Civil War', 'participant', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:American_Civil_War property:participant ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q214102
SYSTEM
Union
Q214102
(Q8676,P710,c(Q1048835))
action filter_type
action find
entity Q8676
relation P710
type Q1048835
The artist participated in American Civil War was in [ANSWER]
['Q8676', 'P710', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q8676 property:P710 ?l . ?l rdf:type ontology:Q1048835 }
Union
The artist participated in American Civil War was in Union
Union
action filter_type
action find
entity American Civil War
relation participant
type political territorial entity
['American Civil War', 'participant', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:American_Civil_War property:participant ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q8676
Q4818345
USER
And which historical unrecognized state?
(Q8676,P710,c(Q4818345))
action filter_type
action find
entity Q8676
relation P710
type Q4818345
['Q8676', 'P710', {'concept': 'Q4818345'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q4818345 . resource:Q8676 property:P710 ?t }
American Civil War
action filter_type
action find
entity American Civil War
relation participant
type historical unrecognized state
['American Civil War', 'participant', {'concept': 'historical unrecognized state'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:historical_unrecognized_state . resource:American_Civil_War property:participant ?t }
[]
historical unrecognized state
Q81931
SYSTEM
Confederate States of America
Q81931
(Q8676,P710,c(Q4818345))
action filter_type
action find
entity Q8676
relation P710
type Q4818345
[ANSWER]
['Q8676', 'P710', {'concept': 'Q4818345'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q4818345 . resource:Q8676 property:P710 ?t }
Confederate States of America
Confederate States of America
action filter_type
action find
entity American Civil War
relation participant
type historical unrecognized state
['American Civil War', 'participant', {'concept': 'historical unrecognized state'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:historical_unrecognized_state . resource:American_Civil_War property:participant ?t }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1001
Q17335294 Q187931
USER
How many coats of arms or phrases apply to jurisdiction over that historical unrecognized state ?
(c(Q17335294),P1001,Q81931) (c(Q187931),P1001,Q81931) (c(Q17335294),P1001,Q81931) (c(Q187931),P1001,Q81931)
action count
action union
action filter_type
action find_reverse
entity Q81931
relation P1001
type Q17335294
action filter_type
action find_reverse
entity Q81931
relation P1001
type Q187931
[{'concept': 'Q17335294'}, 'P1001', 'Q81931'] [{'concept': 'Q187931'}, 'P1001', 'Q81931'] [{'concept': 'Q17335294'}, 'P1001', 'Q81931'] [{'concept': 'Q187931'}, 'P1001', 'Q81931']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { ?r property:P1001 resource:Q81931 . ?r rdf:type ontology:Q17335294 } UNION { ?r property:P1001 resource:Q81931 . ?r rdf:type ontology:Q187931 } }
action count
action union
action filter_type
action find_reverse
entity Confederate States of America
relation applies to jurisdiction
type flag or coat of arms
action filter_type
action find_reverse
entity Confederate States of America
relation applies to jurisdiction
type phrase
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Confederate States of America'] [{'concept': 'phrase'}, 'applies to jurisdiction', 'Confederate States of America'] [{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Confederate States of America'] [{'concept': 'phrase'}, 'applies to jurisdiction', 'Confederate States of America']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { ?r property:applies_to_jurisdiction resource:Confederate_States_of_America . ?r rdf:type ontology:flag_or_coat_of_arms } UNION { ?r property:applies_to_jurisdiction resource:Confederate_States_of_America . ?r rdf:type ontology:phrase } }
[]
flag or coat of arms phrase
SYSTEM
3
Q2361008 Q913583 Q16969240
(c(Q17335294),P1001,Q81931) (c(Q187931),P1001,Q81931) (c(Q17335294),P1001,Q81931) (c(Q187931),P1001,Q81931)
action count
action union
action filter_type
action find_reverse
entity Q81931
relation P1001
type Q17335294
action filter_type
action find_reverse
entity Q81931
relation P1001
type Q187931
[ANSWER]
[{'concept': 'Q17335294'}, 'P1001', 'Q81931'] [{'concept': 'Q187931'}, 'P1001', 'Q81931'] [{'concept': 'Q17335294'}, 'P1001', 'Q81931'] [{'concept': 'Q187931'}, 'P1001', 'Q81931']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { ?r property:P1001 resource:Q81931 . ?r rdf:type ontology:Q17335294 } UNION { ?r property:P1001 resource:Q81931 . ?r rdf:type ontology:Q187931 } }
Bonnie Blue Flag Flags of the Confederate States of America Deo Vindice
3
action count
action union
action filter_type
action find_reverse
entity Confederate States of America
relation applies to jurisdiction
type flag or coat of arms
action filter_type
action find_reverse
entity Confederate States of America
relation applies to jurisdiction
type phrase
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Confederate States of America'] [{'concept': 'phrase'}, 'applies to jurisdiction', 'Confederate States of America'] [{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Confederate States of America'] [{'concept': 'phrase'}, 'applies to jurisdiction', 'Confederate States of America']
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { ?r property:applies_to_jurisdiction resource:Confederate_States_of_America . ?r rdf:type ontology:flag_or_coat_of_arms } UNION { ?r property:applies_to_jurisdiction resource:Confederate_States_of_America . ?r rdf:type ontology:phrase } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16930752
P17
Q15617994
USER
Which administrative territory does Bridgeport Depot Museum belong to ?
(Q16930752,P17,c(Q15617994))
action filter_type
action find
entity Q16930752
relation P17
type Q15617994
['Q16930752', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q16930752 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Bridgeport Depot Museum
action filter_type
action find
entity Bridgeport Depot Museum
relation country
type designation for an administrative territorial entity
['Bridgeport Depot Museum', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Bridgeport_Depot_Museum property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q16930752,P17,c(Q15617994))
action filter_type
action find
entity Q16930752
relation P17
type Q15617994
Bridgeport Depot Museum belongs to the [ANSWER]
['Q16930752', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q16930752 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
Bridgeport Depot Museum belongs to the United States of America
United States of America
action filter_type
action find
entity Bridgeport Depot Museum
relation country
type designation for an administrative territorial entity
['Bridgeport Depot Museum', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Bridgeport_Depot_Museum property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P1376
Q56061
USER
Which administrative territories are the capital of that administrative territory ?
(c(Q56061),P1376,Q30)
action filter_type
action find_reverse
entity Q30
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q30']
SELECT DISTINCT ?c WHERE { ?c property:P1376 resource:Q30 . ?c rdf:type ontology:Q56061 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'United States of America']
SELECT DISTINCT ?c WHERE { ?c property:capital_of resource:United_States_of_America . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q61
SYSTEM
New York City, Washington, D.C.
Q60 Q61
(c(Q56061),P1376,Q30)
action filter_type
action find_reverse
entity Q30
relation P1376
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P1376', 'Q30']
SELECT DISTINCT ?c WHERE { ?c property:P1376 resource:Q30 . ?c rdf:type ontology:Q56061 }
New York City Washington, D.C.
New York City and Washington, D.C. are the capital of that administrative territory
New York City Washington, D.C.
action filter_type
action find_reverse
entity United States of America
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'United States of America']
SELECT DISTINCT ?c WHERE { ?c property:capital_of resource:United_States_of_America . ?c rdf:type ontology:administrative_territorial_entity }
[]