Simple Question (Direct)
Simple Question
Q75808
P937
Q56061
USER
What are the locations where Karl Arnold worked ?
(Q75808,P937,c(Q56061))
action filter_type
action find
entity Q75808
relation P937
type Q56061
['Q75808', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q75808 property:P937 ?t . ?t rdf:type ontology:Q56061 }
Karl Arnold
action filter_type
action find
entity Karl Arnold
relation work location
type administrative territorial entity
['Karl Arnold', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Karl_Arnold property:work_location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1718 Q586
SYSTEM
Düsseldorf, Bonn
Q1718 Q586
(Q75808,P937,c(Q56061))
action filter_type
action find
entity Q75808
relation P937
type Q56061
The locations Karl Arnold worked are in [ANSWERS]
['Q75808', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q75808 property:P937 ?t . ?t rdf:type ontology:Q56061 }
Düsseldorf Bonn
The locations Karl Arnold worked are in Düsseldorf and Bonn
Düsseldorf Bonn
action filter_type
action find
entity Karl Arnold
relation work location
type administrative territorial entity
['Karl Arnold', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Karl_Arnold property:work_location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q586
P706
Q163740
USER
Which nonprofit organization is located in Bonn ?
(c(Q163740),P706,Q586)
action filter_type
action find_reverse
entity Q586
relation P706
type Q163740
[{'concept': 'Q163740'}, 'P706', 'Q586']
SELECT DISTINCT ?b WHERE { ?b property:P706 resource:Q586 . ?b rdf:type ontology:Q163740 }
Bonn
action filter_type
action find_reverse
entity Bonn
relation located on terrain feature
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'located on terrain feature', 'Bonn']
SELECT DISTINCT ?b WHERE { ?b property:located_on_terrain_feature resource:Bonn . ?b rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q896332
SYSTEM
Corps Borussia Bonn
Q896332
(c(Q163740),P706,Q586)
action filter_type
action find_reverse
entity Q586
relation P706
type Q163740
[ANSWER] is located in Bonn
[{'concept': 'Q163740'}, 'P706', 'Q586']
SELECT DISTINCT ?b WHERE { ?b property:P706 resource:Q586 . ?b rdf:type ontology:Q163740 }
Corps Borussia Bonn
Corps Borussia Bonn is located in Bonn
Corps Borussia Bonn
action filter_type
action find_reverse
entity Bonn
relation located on terrain feature
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'located on terrain feature', 'Bonn']
SELECT DISTINCT ?b WHERE { ?b property:located_on_terrain_feature resource:Bonn . ?b rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1718
P1427
Q31629
USER
Which types of sport have Düsseldorf as the start location ?
(c(Q31629),P1427,Q1718)
action filter_type
action find_reverse
entity Q1718
relation P1427
type Q31629
[{'concept': 'Q31629'}, 'P1427', 'Q1718']
SELECT DISTINCT ?e WHERE { ?e property:P1427 resource:Q1718 . ?e rdf:type ontology:Q31629 }
Düsseldorf
action filter_type
action find_reverse
entity Düsseldorf
relation start point
type type of sport
[{'concept': 'type of sport'}, 'start point', 'Düsseldorf']
SELECT DISTINCT ?e WHERE { ?e property:start_point resource:Düsseldorf . ?e rdf:type ontology:type_of_sport }
[]
type of sport
Q22680887 Q22074401
SYSTEM
2017 Tour de France, Stage 2, 2017 Tour de France, Stage 1
Q22680887 Q22074401
(c(Q31629),P1427,Q1718)
action filter_type
action find_reverse
entity Q1718
relation P1427
type Q31629
[ANSWERS]
[{'concept': 'Q31629'}, 'P1427', 'Q1718']
SELECT DISTINCT ?e WHERE { ?e property:P1427 resource:Q1718 . ?e rdf:type ontology:Q31629 }
2017 Tour de France, Stage 2 2017 Tour de France, Stage 1
2017 Tour de France, Stage 2 and 2017 Tour de France, Stage 1 have Düsseldorf as the start location
2017 Tour de France, Stage 2 2017 Tour de France, Stage 1
action filter_type
action find_reverse
entity Düsseldorf
relation start point
type type of sport
[{'concept': 'type of sport'}, 'start point', 'Düsseldorf']
SELECT DISTINCT ?e WHERE { ?e property:start_point resource:Düsseldorf . ?e rdf:type ontology:type_of_sport }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22074401
P361
Q22348500
USER
What is that type of sport a component of ?
(Q22074401,P361,c(Q22348500))
action filter_type
action find
entity Q22074401
relation P361
type Q22348500
['Q22074401', 'P361', {'concept': 'Q22348500'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q22348500 . resource:Q22074401 property:P361 ?a }
2017 Tour de France, Stage 1
action filter_type
action find
entity 2017 Tour de France, Stage 1
relation part of
type cycling race class defined by the International Cycling Union
['2017 Tour de France, Stage 1', 'part of', {'concept': 'cycling race class defined by the International Cycling Union'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . resource:2017_Tour_de_France,_Stage_1 property:part_of ?a }
[]
cycling race class defined by the International Cycling Union
Clarification for simple ques.
Q22074401
SYSTEM
Did you mean 2017 Tour de France, Stage 1 ?
Q22680887 Q22074401
(Q22680887,P361,c(Q22348500)) (Q22074401,P361,c(Q22348500))
[ANSWER]
['Q22680887', 'P361', {'concept': 'Q22348500'}] ['Q22074401', 'P361', {'concept': 'Q22348500'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q22348500 . resource:Q22074401 property:P361 ?a }
2017 Tour de France, Stage 2 2017 Tour de France, Stage 1
Did you mean 2017 Tour de France, Stage 1 ?
2017 Tour de France, Stage 1
['2017 Tour de France, Stage 2', 'part of', {'concept': 'cycling race class defined by the International Cycling Union'}] ['2017 Tour de France, Stage 1', 'part of', {'concept': 'cycling race class defined by the International Cycling Union'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . resource:2017_Tour_de_France,_Stage_1 property:part_of ?a }
[]
Simple Question (Coreferenced)
USER
Yes
(Q22074401,P361,c(Q22348500))
['Q22074401', 'P361', {'concept': 'Q22348500'}]
['2017 Tour de France, Stage 1', 'part of', {'concept': 'cycling race class defined by the International Cycling Union'}]
[]
Q21821246
SYSTEM
2017 Tour de France
Q21821246
(Q22074401,P361,c(Q22348500))
action filter_type
action find
entity Q22074401
relation P361
type Q22348500
That type of sport a component of is the [ANSWER]
['Q22074401', 'P361', {'concept': 'Q22348500'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q22348500 . resource:Q22074401 property:P361 ?a }
2017 Tour de France
That type of sport a component of is the 2017 Tour de France
2017 Tour de France
action filter_type
action find
entity 2017 Tour de France, Stage 1
relation part of
type cycling race class defined by the International Cycling Union
['2017 Tour de France, Stage 1', 'part of', {'concept': 'cycling race class defined by the International Cycling Union'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . resource:2017_Tour_de_France,_Stage_1 property:part_of ?a }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21821246 Q31987
P361
Q31629
USER
Is freestyle swimming a portion of that cycling race class ?
(Q31987,P361,Q21821246)
action is_in
entity Q31987
action find
entity Q21821246
relation P361
['Q31987', 'P361', 'Q21821246']
ASK WHERE { resource:Q21821246 property:P361 resource:Q31987 }
2017 Tour de France freestyle swimming
action is_in
entity freestyle swimming
action find
entity 2017 Tour de France
relation part of
['freestyle swimming', 'part of', '2017 Tour de France']
ASK WHERE { resource:2017_Tour_de_France property:part_of resource:freestyle_swimming }
[]
type of sport
SYSTEM
NO
(Q31987,P361,Q21821246)
action is_in
entity Q31987
action find
entity Q21821246
relation P361
[ANSWER]
['Q31987', 'P361', 'Q21821246']
ASK WHERE { resource:Q21821246 property:P361 resource:Q31987 }
No
action is_in
entity freestyle swimming
action find
entity 2017 Tour de France
relation part of
['freestyle swimming', 'part of', '2017 Tour de France']
ASK WHERE { resource:2017_Tour_de_France property:part_of resource:freestyle_swimming }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1444
Q13539802 Q22348500
USER
How many places with town privileges do atleast 4 cycling race classes finally stop at ?
(c(Q22348500),P1444,c(Q13539802))
action count
action atleast
action find_reverse_tuple_counts
relation P1444
type Q13539802
type Q22348500
value 4
[{'concept': 'Q22348500'}, 'P1444', {'concept': 'Q13539802'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:P1444 ?n . ?n rdf:type ontology:Q13539802 . ?b rdf:type ontology:Q22348500 } GROUP BY ?n } . FILTER ( ?f >= 4 ) }
action count
action atleast
action find_reverse_tuple_counts
relation destination point
type place with town rights and privileges
type cycling race class defined by the International Cycling Union
value 4
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', {'concept': 'place with town rights and privileges'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:destination_point ?n . ?n rdf:type ontology:place_with_town_rights_and_privileges . ?b rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } GROUP BY ?n } . FILTER ( ?f >= 4 ) }
[]
place with town rights and privileges cycling race class defined by the International Cycling Union
SYSTEM
3
Q499532 Q190113 Q12992
(c(Q22348500),P1444,c(Q13539802))
action count
action atleast
action find_reverse_tuple_counts
relation P1444
type Q13539802
type Q22348500
value 4
[ANSWER]
[{'concept': 'Q22348500'}, 'P1444', {'concept': 'Q13539802'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:P1444 ?n . ?n rdf:type ontology:Q13539802 . ?b rdf:type ontology:Q22348500 } GROUP BY ?n } . FILTER ( ?f >= 4 ) }
Geraardsbergen Tongeren Oudenaarde
3
action count
action atleast
action find_reverse_tuple_counts
relation destination point
type place with town rights and privileges
type cycling race class defined by the International Cycling Union
value 4
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', {'concept': 'place with town rights and privileges'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:destination_point ?n . ?n rdf:type ontology:place_with_town_rights_and_privileges . ?b rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } GROUP BY ?n } . FILTER ( ?f >= 4 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1444
Q13539802 Q22348500
USER
How many places with town privileges do the journey end for approximately 3 cycling race classes ?
(c(Q22348500),P1444,c(Q13539802))
action count
action approx
action find_reverse_tuple_counts
relation P1444
type Q13539802
type Q22348500
value 3
[{'concept': 'Q22348500'}, 'P1444', {'concept': 'Q13539802'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { FILTER ( ?o = 3 ) . { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:P1444 ?r . ?r rdf:type ontology:Q13539802 . ?a rdf:type ontology:Q22348500 } GROUP BY ?r } }
action count
action approx
action find_reverse_tuple_counts
relation destination point
type place with town rights and privileges
type cycling race class defined by the International Cycling Union
value 3
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', {'concept': 'place with town rights and privileges'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { FILTER ( ?o = 3 ) . { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:destination_point ?r . ?r rdf:type ontology:place_with_town_rights_and_privileges . ?a rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } GROUP BY ?r } }
[]
place with town rights and privileges cycling race class defined by the International Cycling Union
SYSTEM
11
Q669186 Q173219 Q95318 Q190113 Q152748 Q95121 Q226941 Q204547 Q207095 Q102728 Q478797
(c(Q22348500),P1444,c(Q13539802))
action count
action approx
action find_reverse_tuple_counts
relation P1444
type Q13539802
type Q22348500
value 3
[ANSWER]
[{'concept': 'Q22348500'}, 'P1444', {'concept': 'Q13539802'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { FILTER ( ?o = 3 ) . { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:P1444 ?r . ?r rdf:type ontology:Q13539802 . ?a rdf:type ontology:Q22348500 } GROUP BY ?r } }
Thuin Tournai Chièvres Tongeren Sankt Vith Binche Zottegem Waregem Huy Ypres Harelbeke
11
action count
action approx
action find_reverse_tuple_counts
relation destination point
type place with town rights and privileges
type cycling race class defined by the International Cycling Union
value 3
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', {'concept': 'place with town rights and privileges'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { FILTER ( ?o = 3 ) . { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:destination_point ?r . ?r rdf:type ontology:place_with_town_rights_and_privileges . ?a rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } GROUP BY ?r } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22074401
P17
Q1048835
USER
Which political territory is 2017 Tour de France, Stage 1 a part of ?
(Q22074401,P17,c(Q1048835))
action filter_type
action find
entity Q22074401
relation P17
type Q1048835
['Q22074401', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q22074401 property:P17 ?l . ?l rdf:type ontology:Q1048835 }
2017 Tour de France, Stage 1
action filter_type
action find
entity 2017 Tour de France, Stage 1
relation country
type political territorial entity
['2017 Tour de France, Stage 1', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:2017_Tour_de_France,_Stage_1 property:country ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q22074401,P17,c(Q1048835))
action filter_type
action find
entity Q22074401
relation P17
type Q1048835
[ANSWER] is 2017 Tour de France, Stage 1 a part of
['Q22074401', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q22074401 property:P17 ?l . ?l rdf:type ontology:Q1048835 }
Germany
Germany is 2017 Tour de France, Stage 1 a part of
Germany
action filter_type
action find
entity 2017 Tour de France, Stage 1
relation country
type political territorial entity
['2017 Tour de France, Stage 1', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:2017_Tour_de_France,_Stage_1 property:country ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q183 Q3563 Q33
P530
Q15617994
USER
Does that political territory have diplomatic associations with Monteferrante and Finland ?
(Q183,P530,Q3563) (Q183,P530,Q33)
action is_in
entity Q183
action intersection
action find_reverse
entity Q3563
relation P530
action find_reverse
entity Q33
relation P530
['Q183', 'P530', 'Q3563'] ['Q183', 'P530', 'Q33']
ASK WHERE { resource:Q183 property:P530 resource:Q3563 . resource:Q183 property:P530 resource:Q33 }
Germany Monteferrante Finland
action is_in
entity Germany
action intersection
action find_reverse
entity Monteferrante
relation diplomatic relation
action find_reverse
entity Finland
relation diplomatic relation
['Germany', 'diplomatic relation', 'Monteferrante'] ['Germany', 'diplomatic relation', 'Finland']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Monteferrante . resource:Germany property:diplomatic_relation resource:Finland }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q183,P530,Q3563) (Q183,P530,Q33)
action is_in
entity Q183
action intersection
action find_reverse
entity Q3563
relation P530
action find_reverse
entity Q33
relation P530
[ANSWER]
['Q183', 'P530', 'Q3563'] ['Q183', 'P530', 'Q33']
ASK WHERE { resource:Q183 property:P530 resource:Q3563 . resource:Q183 property:P530 resource:Q33 }
NO and YES respectively
action is_in
entity Germany
action intersection
action find_reverse
entity Monteferrante
relation diplomatic relation
action find_reverse
entity Finland
relation diplomatic relation
['Germany', 'diplomatic relation', 'Monteferrante'] ['Germany', 'diplomatic relation', 'Finland']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Monteferrante . resource:Germany property:diplomatic_relation resource:Finland }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P793
Q57821
USER
Which significant event is Germany associated with ?
(Q183,P793,c(Q57821))
action filter_type
action find
entity Q183
relation P793
type Q57821
['Q183', 'P793', {'concept': 'Q57821'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q57821 . resource:Q183 property:P793 ?h }
Germany
action filter_type
action find
entity Germany
relation significant event
type fortification
['Germany', 'significant event', {'concept': 'fortification'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:fortification . resource:Germany property:significant_event ?h }
[]
fortification
Q5086
SYSTEM
Berlin Wall
Q5086
(Q183,P793,c(Q57821))
action filter_type
action find
entity Q183
relation P793
type Q57821
Germany is associated with [ANSWER]
['Q183', 'P793', {'concept': 'Q57821'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q57821 . resource:Q183 property:P793 ?h }
Berlin Wall
Germany is associated with Berlin Wall
Berlin Wall
action filter_type
action find
entity Germany
relation significant event
type fortification
['Germany', 'significant event', {'concept': 'fortification'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:fortification . resource:Germany property:significant_event ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P194
Q11204
USER
Which legislature governs Germany ?
(Q183,P194,c(Q11204))
action filter_type
action find
entity Q183
relation P194
type Q11204
['Q183', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?c WHERE { resource:Q183 property:P194 ?c . ?c rdf:type ontology:Q11204 }
Germany
action filter_type
action find
entity Germany
relation legislative body
type legislature
['Germany', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?c WHERE { resource:Germany property:legislative_body ?c . ?c rdf:type ontology:legislature }
[]
legislature
Q146138
SYSTEM
Bundesrat
Q146138
(Q183,P194,c(Q11204))
action filter_type
action find
entity Q183
relation P194
type Q11204
[ANSWER] governs Germany
['Q183', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?c WHERE { resource:Q183 property:P194 ?c . ?c rdf:type ontology:Q11204 }
Bundesrat
Bundesrat governs Germany
Bundesrat
action filter_type
action find
entity Germany
relation legislative body
type legislature
['Germany', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?c WHERE { resource:Germany property:legislative_body ?c . ?c rdf:type ontology:legislature }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1211
Q11204
USER
And what about South Dakota?
(Q1211,P194,c(Q11204))
action filter_type
action find
entity Q1211
relation P194
type Q11204
['Q1211', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?s WHERE { resource:Q1211 property:P194 ?s . ?s rdf:type ontology:Q11204 }
South Dakota
action filter_type
action find
entity South Dakota
relation legislative body
type legislature
['South Dakota', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?s WHERE { resource:South_Dakota property:legislative_body ?s . ?s rdf:type ontology:legislature }
[]
legislature
Q2304409
SYSTEM
South Dakota Legislature
Q2304409
(Q1211,P194,c(Q11204))
action filter_type
action find
entity Q1211
relation P194
type Q11204
[ANSWER]
['Q1211', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?s WHERE { resource:Q1211 property:P194 ?s . ?s rdf:type ontology:Q11204 }
South Dakota Legislature
South Dakota Legislature
action filter_type
action find
entity South Dakota
relation legislative body
type legislature
['South Dakota', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?s WHERE { resource:South_Dakota property:legislative_body ?s . ?s rdf:type ontology:legislature }
[]