Simple Question (Direct)
Simple Question
Q7352551
P607
Q198
USER
What was the war that Robin Hughes took part in
(Q7352551,P607,c(Q198))
action filter_type
action find
entity Q7352551
relation P607
type Q198
['Q7352551', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?m WHERE { resource:Q7352551 property:P607 ?m . ?m rdf:type ontology:Q198 }
Robin Hughes
action filter_type
action find
entity Robin Hughes
relation conflict
type war
['Robin Hughes', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?m WHERE { resource:Robin_Hughes property:conflict ?m . ?m rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q7352551,P607,c(Q198))
action filter_type
action find
entity Q7352551
relation P607
type Q198
The war that Robin Hughes took part in was in [ANSWER]
['Q7352551', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?m WHERE { resource:Q7352551 property:P607 ?m . ?m rdf:type ontology:Q198 }
World War II
The war that Robin Hughes took part in was in World War II
World War II
action filter_type
action find
entity Robin Hughes
relation conflict
type war
['Robin Hughes', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?m WHERE { resource:Robin_Hughes property:conflict ?m . ?m rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q362
P710
Q15617994
USER
Who were the artist who participated in that war ?
(Q362,P710,c(Q15617994))
action filter_type
action find
entity Q362
relation P710
type Q15617994
['Q362', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q362 property:P710 ?b . ?b rdf:type ontology:Q15617994 }
World War II
action filter_type
action find
entity World War II
relation participant
type designation for an administrative territorial entity
['World War II', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:World_War_II property:participant ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q30 Q142
SYSTEM
Italy, United States of America, France
Q142 Q17 Q30 Q38 Q145
(Q362,P710,c(Q15617994))
action filter_type
action find
entity Q362
relation P710
type Q15617994
The artist participated in that war were [ANSWERS]
['Q362', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q362 property:P710 ?b . ?b rdf:type ontology:Q15617994 }
France Japan United States of America Italy United Kingdom
The artist participated in that war were Italy, United States of America and France
Italy United States of America France
action filter_type
action find
entity World War II
relation participant
type designation for an administrative territorial entity
['World War II', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:World_War_II property:participant ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q82794 Q1048835 Q15617994
USER
Which administrative territories are parts of approximately 1 geographic regions and political territories ?
(c(Q15617994),P361,c(Q82794)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P361
type Q15617994
type Q82794
action find_tuple_counts
relation P361
type Q15617994
type Q1048835
value 1
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q82794'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) ?z WHERE { { ?z property:P361 ?e . ?e rdf:type ontology:Q82794 . ?z rdf:type ontology:Q15617994 } UNION { ?z property:P361 ?e . ?z rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 } } GROUP BY ?z } . FILTER ( ?f = 1 ) }
action approx
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'geographic region'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) ?z WHERE { { ?z property:part_of ?e . ?e rdf:type ontology:geographic_region . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z property:part_of ?e . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity } } GROUP BY ?z } . FILTER ( ?f = 1 ) }
[]
geographic region political territorial entity designation for an administrative territorial entity
Q242 Q676178 Q686312
SYSTEM
Belize, Viereck, Duchy of Amalfi
Q676178 Q706938 Q554282 Q242 Q686312 Q561223 Q640310 Q625844 Q624292 Q252916 Q623929 Q632429
(c(Q15617994),P361,c(Q82794)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P361
type Q15617994
type Q82794
action find_tuple_counts
relation P361
type Q15617994
type Q1048835
value 1
[ANSWERS] are parts of approximately 1 geographic regions and political territories
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q82794'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) ?z WHERE { { ?z property:P361 ?e . ?e rdf:type ontology:Q82794 . ?z rdf:type ontology:Q15617994 } UNION { ?z property:P361 ?e . ?z rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 } } GROUP BY ?z } . FILTER ( ?f = 1 ) }
Viereck Werder Ferdinandshof Belize Duchy of Amalfi Lancken-Granitz Buckautal Görzke Wenzlow administrative quarter Gräben Hinrichshagen
Belize, Viereck and Duchy of Amalfi are parts of approximately 1 geographic regions and political territories
Belize Viereck Duchy of Amalfi
action approx
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'geographic region'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) ?z WHERE { { ?z property:part_of ?e . ?e rdf:type ontology:geographic_region . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z property:part_of ?e . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity } } GROUP BY ?z } . FILTER ( ?f = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q242
P1376
Q56061
USER
What is the capital of Belize ?
(c(Q56061),P1376,Q242)
action filter_type
action find_reverse
entity Q242
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q242']
SELECT DISTINCT ?f WHERE { ?f property:P1376 resource:Q242 . ?f rdf:type ontology:Q56061 }
Belize
action filter_type
action find_reverse
entity Belize
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Belize']
SELECT DISTINCT ?f WHERE { ?f property:capital_of resource:Belize . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3043
SYSTEM
Belmopan
Q3043
(c(Q56061),P1376,Q242)
action filter_type
action find_reverse
entity Q242
relation P1376
type Q56061
The capital of Belize is Belize [ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q242']
SELECT DISTINCT ?f WHERE { ?f property:P1376 resource:Q242 . ?f rdf:type ontology:Q56061 }
Belmopan
The capital of Belize is Belize Belmopan
Belmopan
action filter_type
action find_reverse
entity Belize
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Belize']
SELECT DISTINCT ?f WHERE { ?f property:capital_of resource:Belize . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3043
P138
Q355304
USER
Which watercourses are that administrative territory named after ?
(Q3043,P138,c(Q355304))
action filter_type
action find
entity Q3043
relation P138
type Q355304
['Q3043', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?n WHERE { resource:Q3043 property:P138 ?n . ?n rdf:type ontology:Q355304 }
Belmopan
action filter_type
action find
entity Belmopan
relation named after
type watercourse
['Belmopan', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?n WHERE { resource:Belmopan property:named_after ?n . ?n rdf:type ontology:watercourse }
[]
watercourse
Q1408983 Q815650
SYSTEM
Mopan River, Belize River
Q1408983 Q815650
(Q3043,P138,c(Q355304))
action filter_type
action find
entity Q3043
relation P138
type Q355304
That administrative territory are named after [ANSWERS]
['Q3043', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?n WHERE { resource:Q3043 property:P138 ?n . ?n rdf:type ontology:Q355304 }
Mopan River Belize River
That administrative territory are named after Mopan River and Belize River
Mopan River Belize River
action filter_type
action find
entity Belmopan
relation named after
type watercourse
['Belmopan', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?n WHERE { resource:Belmopan property:named_after ?n . ?n rdf:type ontology:watercourse }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3043
P138
Q56061
USER
Do Belmopan have those watercourses as their namesake ?
(Q3043,P138,Q1408983) (Q3043,P138,Q815650)
action is_in
entity prev_answer
action find
entity Q3043
relation P138
['Q3043', 'P138', 'Q1408983'] ['Q3043', 'P138', 'Q815650']
ASK WHERE { VALUES ( ?o ) { ( resource:Q1408983 ) ( resource:Q815650 ) } . resource:Q3043 property:P138 ?o }
Belmopan
action is_in
entity prev_answer
action find
entity Belmopan
relation named after
['Belmopan', 'named after', 'Mopan River'] ['Belmopan', 'named after', 'Belize River']
ASK WHERE { VALUES ( ?o ) { ( resource:Mopan_River ) ( resource:Belize_River ) } . resource:Belmopan property:named_after ?o }
[]
administrative territorial entity
SYSTEM
YES
(Q3043,P138,Q1408983) (Q3043,P138,Q815650)
action is_in
entity prev_answer
action find
entity Q3043
relation P138
[ANSWER]
['Q3043', 'P138', 'Q1408983'] ['Q3043', 'P138', 'Q815650']
ASK WHERE { VALUES ( ?o ) { ( resource:Q1408983 ) ( resource:Q815650 ) } . resource:Q3043 property:P138 ?o }
Yes
action is_in
entity prev_answer
action find
entity Belmopan
relation named after
['Belmopan', 'named after', 'Mopan River'] ['Belmopan', 'named after', 'Belize River']
ASK WHERE { VALUES ( ?o ) { ( resource:Mopan_River ) ( resource:Belize_River ) } . resource:Belmopan property:named_after ?o }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q549658
P403
Q15324 Q355304
USER
How many bodies of water do the drainage of lesser number of watercourses end than Malian Gulf ?
(c(Q355304),P403,c(Q15324))
action count
action less
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
action count
action filter_type
action find_reverse
entity Q549658
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:P403 ?q . ?q rdf:type ontology:Q15324 . ?l rdf:type ontology:Q355304 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P403 resource:Q549658 . ?a rdf:type ontology:Q355304 } } . FILTER ( ?i < ?m ) }
Malian Gulf
action count
action less
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
action count
action filter_type
action find_reverse
entity Malian Gulf
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:mouth_of_the_watercourse ?q . ?q rdf:type ontology:body_of_water . ?l rdf:type ontology:watercourse } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:mouth_of_the_watercourse resource:Malian_Gulf . ?a rdf:type ontology:watercourse } } . FILTER ( ?i < ?m ) }
[]
body of water watercourse
SYSTEM
45
Q6021455 Q21857993 Q5516517 Q6321425 Q21844766 Q21859586 Q21855790 Q5875448 Q259929 Q21872194 Q10438494 Q21852063 Q21872065 Q21862899 Q7050615 Q21852389 Q2088977 Q21857803 Q21809333 Q21880702 Q21855781 Q21850122 Q21855145 Q21857591 Q21841013 Q21857521 Q21856766 Q21857526 Q21852940 Q664704 Q21844748 Q21823240 Q21860001 Q21859976 Q21885510 Q959127 Q426453 Q21857829 Q1294277 Q21860011 Q2148190 Q132868 Q202868 Q37040 Q21855512
(c(Q355304),P403,c(Q15324))
action count
action less
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
action count
action filter_type
action find_reverse
entity Q549658
relation P403
type Q355304
[ANSWER]
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:P403 ?q . ?q rdf:type ontology:Q15324 . ?l rdf:type ontology:Q355304 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P403 resource:Q549658 . ?a rdf:type ontology:Q355304 } } . FILTER ( ?i < ?m ) }
Indian River Bay Ejnar Glacier Gael Hamkes Bay Jøkelbugten Gerard de Geer Glacier Borgjøkelen Glacier Godthåb Golf Hochstetterbugten Wandel Sea Kofoed-Hansen Glacier Bällstaviken Hisinger Glacier Sælsø Glacier Storstrømmen Glacier Nordenskiold Glacier Wahlenberg Glacier Bodega Bay Budolfi Isstrøm Glacier Eielson Eielsongletsjer Storm Bay Vibeke Glacier Jætte Glacier Spærre Glacier L. Bistrup Glacier Foster Bugt Soraner Glacier Ejnar Mikkelsen Glacier Dove Bay Violin Glacier Chignecto Bay Waltershausen Glacier Bjørnbo Glacier Hastings Glacier Trefork Glacier Shark Bay Massachusetts Bay Scoresby Sund Ebbe Glacier Lower New York Bay Britannia Gletscher Rhode Island Sound Greenland Sea Edsviken Baffin Bay Jupiter Glacier
45
action count
action less
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
action count
action filter_type
action find_reverse
entity Malian Gulf
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?i ) WHERE { ?l property:mouth_of_the_watercourse ?q . ?q rdf:type ontology:body_of_water . ?l rdf:type ontology:watercourse } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:mouth_of_the_watercourse resource:Malian_Gulf . ?a rdf:type ontology:watercourse } } . FILTER ( ?i < ?m ) }
[]