Simple Question (Direct)
Simple Question
Q18147653
P276
Q22698
USER
Which park is the location of Nessus Abducting Deianeira ?
(Q18147653,P276,c(Q22698))
action filter_type
action find
entity Q18147653
relation P276
type Q22698
['Q18147653', 'P276', {'concept': 'Q22698'}]
SELECT DISTINCT ?p WHERE { resource:Q18147653 property:P276 ?p . ?p rdf:type ontology:Q22698 }
Nessus Abducting Deianeira
action filter_type
action find
entity Nessus Abducting Deianeira
relation location
type park
['Nessus Abducting Deianeira', 'location', {'concept': 'park'}]
SELECT DISTINCT ?p WHERE { resource:Nessus_Abducting_Deianeira property:location ?p . ?p rdf:type ontology:park }
[]
park
Q818517
SYSTEM
Tuileries Garden
Q818517
(Q18147653,P276,c(Q22698))
action filter_type
action find
entity Q18147653
relation P276
type Q22698
[ANSWER] is the location of Nessus Abducting Deianeira
['Q18147653', 'P276', {'concept': 'Q22698'}]
SELECT DISTINCT ?p WHERE { resource:Q18147653 property:P276 ?p . ?p rdf:type ontology:Q22698 }
Tuileries Garden
Tuileries Garden is the location of Nessus Abducting Deianeira
Tuileries Garden
action filter_type
action find
entity Nessus Abducting Deianeira
relation location
type park
['Nessus Abducting Deianeira', 'location', {'concept': 'park'}]
SELECT DISTINCT ?p WHERE { resource:Nessus_Abducting_Deianeira property:location ?p . ?p rdf:type ontology:park }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q818517
P138
Q83620
USER
Which thoroughfare is the eponym of that park ?
(c(Q83620),P138,Q818517)
action filter_type
action find_reverse
entity Q818517
relation P138
type Q83620
[{'concept': 'Q83620'}, 'P138', 'Q818517']
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q818517 . ?t rdf:type ontology:Q83620 }
Tuileries Garden
action filter_type
action find_reverse
entity Tuileries Garden
relation named after
type thoroughfare
[{'concept': 'thoroughfare'}, 'named after', 'Tuileries Garden']
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:Tuileries_Garden . ?t rdf:type ontology:thoroughfare }
[]
thoroughfare
Q3110160
SYSTEM
quai des Tuileries
Q3110160
(c(Q83620),P138,Q818517)
action filter_type
action find_reverse
entity Q818517
relation P138
type Q83620
[ANSWER] is the eponym of that park
[{'concept': 'Q83620'}, 'P138', 'Q818517']
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q818517 . ?t rdf:type ontology:Q83620 }
quai des Tuileries
Quai des Tuileries is the eponym of that park
quai des Tuileries
action filter_type
action find_reverse
entity Tuileries Garden
relation named after
type thoroughfare
[{'concept': 'thoroughfare'}, 'named after', 'Tuileries Garden']
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:Tuileries_Garden . ?t rdf:type ontology:thoroughfare }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q818517
P17
Q15617994
USER
Which administrative territory is Tuileries Garden a part of ?
(Q818517,P17,c(Q15617994))
action filter_type
action find
entity Q818517
relation P17
type Q15617994
['Q818517', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q818517 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Tuileries Garden
action filter_type
action find
entity Tuileries Garden
relation country
type designation for an administrative territorial entity
['Tuileries Garden', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Tuileries_Garden property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q818517,P17,c(Q15617994))
action filter_type
action find
entity Q818517
relation P17
type Q15617994
[ANSWER] is Tuileries Garden a part of
['Q818517', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q818517 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
France
France is Tuileries Garden a part of
France
action filter_type
action find
entity Tuileries Garden
relation country
type designation for an administrative territorial entity
['Tuileries Garden', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Tuileries_Garden property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with approximately 42 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 42
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?t ) WHERE { ?q rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?q property:P530 ?o } GROUP BY ?q } . FILTER ( ?t = 42 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 42
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?t ) WHERE { ?q rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?o } GROUP BY ?q } . FILTER ( ?t = 42 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 42
[ANSWERS] have diplomatic relations with approximately 42 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?t ) WHERE { ?q rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?q property:P530 ?o } GROUP BY ?q } . FILTER ( ?t = 42 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Denmark Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relations with approximately 42 administrative territories
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 42
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?t ) WHERE { ?q rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?o } GROUP BY ?q } . FILTER ( ?t = 42 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q818517
P669
Q34442
USER
How many roads are Tuileries Garden located on ?
(Q818517,P669,c(Q34442))
action count
action filter_type
action find
entity Q818517
relation P669
type Q34442
['Q818517', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q818517 property:P669 ?o . ?o rdf:type ontology:Q34442 }
Tuileries Garden
action count
action filter_type
action find
entity Tuileries Garden
relation located on street
type road
['Tuileries Garden', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Tuileries_Garden property:located_on_street ?o . ?o rdf:type ontology:road }
[]
road
SYSTEM
1
Q141747
(Q818517,P669,c(Q34442))
action count
action filter_type
action find
entity Q818517
relation P669
type Q34442
[ANSWER]
['Q818517', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q818517 property:P669 ?o . ?o rdf:type ontology:Q34442 }
rue de Rivoli
1
action count
action filter_type
action find
entity Tuileries Garden
relation located on street
type road
['Tuileries Garden', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Tuileries_Garden property:located_on_street ?o . ?o rdf:type ontology:road }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2495837
Q34442
USER
And what about Thalia?
(Q2495837,P669,c(Q34442))
action count
action filter_type
action find
entity Q2495837
relation P669
type Q34442
['Q2495837', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Q2495837 property:P669 ?d . ?d rdf:type ontology:Q34442 }
Thalia
action count
action filter_type
action find
entity Thalia
relation located on street
type road
['Thalia', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Thalia property:located_on_street ?d . ?d rdf:type ontology:road }
[]
road
SYSTEM
1
(Q2495837,P669,c(Q34442))
action count
action filter_type
action find
entity Q2495837
relation P669
type Q34442
[ANSWER]
['Q2495837', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Q2495837 property:P669 ?d . ?d rdf:type ontology:Q34442 }
1
action count
action filter_type
action find
entity Thalia
relation located on street
type road
['Thalia', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { resource:Thalia property:located_on_street ?d . ?d rdf:type ontology:road }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23013754 Q818517
P669
Q34442
USER
Which roads are Tuileries Garden or Studio located on ?
OR((Q818517,P669,c(Q34442)), (Q23013754,P669,c(Q34442)))
action filter_type
action union
action find
entity Q818517
relation P669
action find
entity Q23013754
relation P669
type Q34442
{'OR': [['Q818517', 'P669', {'concept': 'Q34442'}], ['Q23013754', 'P669', {'concept': 'Q34442'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q818517 property:P669 ?e } UNION { resource:Q23013754 property:P669 ?e } } . ?e rdf:type ontology:Q34442 }
Studio Tuileries Garden
action filter_type
action union
action find
entity Tuileries Garden
relation located on street
action find
entity Studio
relation located on street
type road
{'OR': [['Tuileries Garden', 'located on street', {'concept': 'road'}], ['Studio', 'located on street', {'concept': 'road'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Tuileries_Garden property:located_on_street ?e } UNION { resource:Studio property:located_on_street ?e } } . ?e rdf:type ontology:road }
[]
road
Q5684026 Q141747
SYSTEM
Havnegade, rue de Rivoli
Q5684026 Q141747
OR((Q818517,P669,c(Q34442)), (Q23013754,P669,c(Q34442)))
action filter_type
action union
action find
entity Q818517
relation P669
action find
entity Q23013754
relation P669
type Q34442
Tuileries Garden or Studio are located in [ANSWERS]
{'OR': [['Q818517', 'P669', {'concept': 'Q34442'}], ['Q23013754', 'P669', {'concept': 'Q34442'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q818517 property:P669 ?e } UNION { resource:Q23013754 property:P669 ?e } } . ?e rdf:type ontology:Q34442 }
Havnegade rue de Rivoli
Tuileries Garden or Studio are located in Havnegade and rue de Rivoli
Havnegade rue de Rivoli
action filter_type
action union
action find
entity Tuileries Garden
relation located on street
action find
entity Studio
relation located on street
type road
{'OR': [['Tuileries Garden', 'located on street', {'concept': 'road'}], ['Studio', 'located on street', {'concept': 'road'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Tuileries_Garden property:located_on_street ?e } UNION { resource:Studio property:located_on_street ?e } } . ?e rdf:type ontology:road }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q34442 Q1076486
USER
How many sports venues have their location as atleast 1 road ?
(c(Q1076486),P669,c(Q34442))
action count
action atleast
action find_tuple_counts
relation P669
type Q1076486
type Q34442
value 1
[{'concept': 'Q1076486'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?n ) WHERE { ?u property:P669 ?r . ?u rdf:type ontology:Q1076486 . ?r rdf:type ontology:Q34442 } GROUP BY ?u } . FILTER ( ?n >= 1 ) }
action count
action atleast
action find_tuple_counts
relation located on street
type sports venue
type road
value 1
[{'concept': 'sports venue'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?n ) WHERE { ?u property:located_on_street ?r . ?u rdf:type ontology:sports_venue . ?r rdf:type ontology:road } GROUP BY ?u } . FILTER ( ?n >= 1 ) }
[]
road sports venue
SYSTEM
24
Q26703663 Q13137994 Q3058242 Q732147 Q1850427 Q15882253 Q26705714 Q5374130 Q21279585 Q26868824 Q2348778 Q21011418 Q25932777 Q503319 Q4490043 Q330298 Q645095 Q183529 Q26868898 Q669347 Q25932646 Q14378302 Q21336422 Q15917693
(c(Q1076486),P669,c(Q34442))
action count
action atleast
action find_tuple_counts
relation P669
type Q1076486
type Q34442
value 1
[ANSWER]
[{'concept': 'Q1076486'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?n ) WHERE { ?u property:P669 ?r . ?u rdf:type ontology:Q1076486 . ?r rdf:type ontology:Q34442 } GROUP BY ?u } . FILTER ( ?n >= 1 ) }
Sportpark Stadspark Sportpark De Bosk espace sportif Pailleron Percival Molson Memorial Stadium Sportpark Maliskamp Sportplaza Mercator Jo van Marle Sportpark Empire Stadium Sportpark Corpus den Hoorn Sportpark Lewenborg Sportfondsenbad Noord Sportpark Hoogkerk Sportpark Wildervank Olympic Stadium Willem-Alexander Baan De Kuip Piscine Molitor Olimpiyskiy National Sports Complex Sportpark Coendersborg Valeriy Lobanovskyi Dynamo Stadium Sportpark De Hichte Sportpark De Groote Wielen Sportpark Kardinge De Streepjesberg
24
action count
action atleast
action find_tuple_counts
relation located on street
type sports venue
type road
value 1
[{'concept': 'sports venue'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?n ) WHERE { ?u property:located_on_street ?r . ?u rdf:type ontology:sports_venue . ?r rdf:type ontology:road } GROUP BY ?u } . FILTER ( ?n >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23013754
P166
Q618779
USER
Which award was received by Studio ?
(Q23013754,P166,c(Q618779))
action filter_type
action find
entity Q23013754
relation P166
type Q618779
['Q23013754', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q23013754 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Studio
action filter_type
action find
entity Studio
relation award received
type award
['Studio', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Studio property:award_received ?x . ?x rdf:type ontology:award }
[]
award
Q20824563
SYSTEM
Michelin star
Q20824563
(Q23013754,P166,c(Q618779))
action filter_type
action find
entity Q23013754
relation P166
type Q618779
The [ANSWER] was received by Studio
['Q23013754', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q23013754 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Michelin star
The Michelin star was received by Studio
Michelin star
action filter_type
action find
entity Studio
relation award received
type award
['Studio', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Studio property:award_received ?x . ?x rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q20824563 Q151107
P1027
Q1269299
USER
Does Michelin give that award ?
(Q20824563,P1027,Q151107)
action is_in
entity Q151107
action find
entity Q20824563
relation P1027
['Q20824563', 'P1027', 'Q151107']
ASK WHERE { resource:Q20824563 property:P1027 resource:Q151107 }
Michelin star Michelin
action is_in
entity Michelin
action find
entity Michelin star
relation conferred by
['Michelin star', 'conferred by', 'Michelin']
ASK WHERE { resource:Michelin_star property:conferred_by resource:Michelin }
[]
type of business entity
SYSTEM
YES
(Q20824563,P1027,Q151107)
action is_in
entity Q151107
action find
entity Q20824563
relation P1027
[ANSWER]
['Q20824563', 'P1027', 'Q151107']
ASK WHERE { resource:Q20824563 property:P1027 resource:Q151107 }
Yes
action is_in
entity Michelin
action find
entity Michelin star
relation conferred by
['Michelin star', 'conferred by', 'Michelin']
ASK WHERE { resource:Michelin_star property:conferred_by resource:Michelin }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q35 Q633636 Q53302
P530
Q15617994
USER
Does Denmark have ambassadorial relations with Kriftel and Palmanova ?
(Q35,P530,Q633636) (Q35,P530,Q53302)
action is_in
entity Q35
action intersection
action find_reverse
entity Q633636
relation P530
action find_reverse
entity Q53302
relation P530
['Q35', 'P530', 'Q633636'] ['Q35', 'P530', 'Q53302']
ASK WHERE { resource:Q35 property:P530 resource:Q633636 . resource:Q35 property:P530 resource:Q53302 }
Denmark Kriftel Palmanova
action is_in
entity Denmark
action intersection
action find_reverse
entity Kriftel
relation diplomatic relation
action find_reverse
entity Palmanova
relation diplomatic relation
['Denmark', 'diplomatic relation', 'Kriftel'] ['Denmark', 'diplomatic relation', 'Palmanova']
ASK WHERE { resource:Denmark property:diplomatic_relation resource:Kriftel . resource:Denmark property:diplomatic_relation resource:Palmanova }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q35,P530,Q633636) (Q35,P530,Q53302)
action is_in
entity Q35
action intersection
action find_reverse
entity Q633636
relation P530
action find_reverse
entity Q53302
relation P530
[ANSWER]
['Q35', 'P530', 'Q633636'] ['Q35', 'P530', 'Q53302']
ASK WHERE { resource:Q35 property:P530 resource:Q633636 . resource:Q35 property:P530 resource:Q53302 }
No
action is_in
entity Denmark
action intersection
action find_reverse
entity Kriftel
relation diplomatic relation
action find_reverse
entity Palmanova
relation diplomatic relation
['Denmark', 'diplomatic relation', 'Kriftel'] ['Denmark', 'diplomatic relation', 'Palmanova']
ASK WHERE { resource:Denmark property:diplomatic_relation resource:Kriftel . resource:Denmark property:diplomatic_relation resource:Palmanova }
[]