Simple Question (Direct)
Simple Question
Q2581132
P20
Q56061
USER
Which administrative territory is the place of death of William Wynne Ryland ?
(Q2581132,P20,c(Q56061))
action filter_type
action find
entity Q2581132
relation P20
type Q56061
['Q2581132', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2581132 property:P20 ?g . ?g rdf:type ontology:Q56061 }
William Wynne Ryland
action filter_type
action find
entity William Wynne Ryland
relation place of death
type administrative territorial entity
['William Wynne Ryland', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:William_Wynne_Ryland property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1362341
SYSTEM
Tyburn
Q1362341
(Q2581132,P20,c(Q56061))
action filter_type
action find
entity Q2581132
relation P20
type Q56061
[ANSWER] is the place of death of William Wynne Ryland
['Q2581132', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2581132 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Tyburn
Tyburn is the place of death of William Wynne Ryland
Tyburn
action filter_type
action find
entity William Wynne Ryland
relation place of death
type administrative territorial entity
['William Wynne Ryland', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:William_Wynne_Ryland property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2581132
P921
Q191067
USER
Which article has William Wynne Ryland as its main topic ?
(c(Q191067),P921,Q2581132)
action filter_type
action find_reverse
entity Q2581132
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q2581132']
SELECT DISTINCT ?b WHERE { ?b property:P921 resource:Q2581132 . ?b rdf:type ontology:Q191067 }
William Wynne Ryland
action filter_type
action find_reverse
entity William Wynne Ryland
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'William Wynne Ryland']
SELECT DISTINCT ?b WHERE { ?b property:main_subject resource:William_Wynne_Ryland . ?b rdf:type ontology:article }
[]
article
Q19104122
SYSTEM
Ryland, William Wynne (DNB00)
Q19104122
(c(Q191067),P921,Q2581132)
action filter_type
action find_reverse
entity Q2581132
relation P921
type Q191067
[ANSWER] has William Wynne Ryland as its main topic
[{'concept': 'Q191067'}, 'P921', 'Q2581132']
SELECT DISTINCT ?b WHERE { ?b property:P921 resource:Q2581132 . ?b rdf:type ontology:Q191067 }
Ryland, William Wynne (DNB00)
Ryland, William Wynne (DNB00) has William Wynne Ryland as its main topic
Ryland, William Wynne (DNB00)
action filter_type
action find_reverse
entity William Wynne Ryland
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'William Wynne Ryland']
SELECT DISTINCT ?b WHERE { ?b property:main_subject resource:William_Wynne_Ryland . ?b rdf:type ontology:article }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2581132
P937
Q56061
USER
Which is the work location of William Wynne Ryland ?
(Q2581132,P937,c(Q56061))
action filter_type
action find
entity Q2581132
relation P937
type Q56061
['Q2581132', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q2581132 property:P937 ?i . ?i rdf:type ontology:Q56061 }
William Wynne Ryland
action filter_type
action find
entity William Wynne Ryland
relation work location
type administrative territorial entity
['William Wynne Ryland', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:William_Wynne_Ryland property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q2581132,P937,c(Q56061))
action filter_type
action find
entity Q2581132
relation P937
type Q56061
[ANSWER] is the work location of William Wynne Ryland
['Q2581132', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q2581132 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Paris
Paris is the work location of William Wynne Ryland
Paris
action filter_type
action find
entity William Wynne Ryland
relation work location
type administrative territorial entity
['William Wynne Ryland', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:William_Wynne_Ryland property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P47
Q20667921
USER
Which french administrative divisions do that administrative territory share a border with ?
(c(Q20667921),P47,Q90)
action filter_type
action find
entity Q90
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q90']
SELECT DISTINCT ?a WHERE { resource:Q90 property:P47 ?a . ?a rdf:type ontology:Q20667921 }
Paris
action filter_type
action find
entity Paris
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Paris']
SELECT DISTINCT ?a WHERE { resource:Paris property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q193370 Q160506 Q172455
SYSTEM
Montreuil, Saint-Denis, Boulogne-Billancourt
Q135265 Q208889 Q18102 Q274327 Q253721 Q193899 Q234728 Q205632 Q234743 Q193819 Q193877 Q212274 Q175999 Q193929 Q640102 Q193370 Q201982 Q212793 Q256004 Q48958 Q208943 Q160506 Q166640 Q172455 Q189153 Q135104 Q209086 Q241021 Q609134
(c(Q20667921),P47,Q90)
action filter_type
action find
entity Q90
relation P47
type Q20667921
[ANSWERS] that administrative territory share a border with
[{'concept': 'Q20667921'}, 'P47', 'Q90']
SELECT DISTINCT ?a WHERE { resource:Q90 property:P47 ?a . ?a rdf:type ontology:Q20667921 }
Issy-les-Moulineaux Saint-Ouen Saint-Mandé Saint-Maurice Malakoff Fontenay-sous-Bois Vanves Aubervilliers Puteaux Vincennes Ivry-sur-Seine Nogent-sur-Marne Le Pré-Saint-Gervais Suresnes Gentilly Montreuil Clichy Charenton-le-Pont Les Lilas Neuilly-sur-Seine Bagnolet Saint-Denis Levallois-Perret Boulogne-Billancourt Saint-Cloud Le Kremlin-Bicêtre Pantin Montrouge Joinville-le-Pont
Montreuil, Saint-Denis and Boulogne-Billancourt that administrative territory share a border with
Montreuil Saint-Denis Boulogne-Billancourt
action filter_type
action find
entity Paris
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Paris']
SELECT DISTINCT ?a WHERE { resource:Paris property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q160506
P17
Q15617994
USER
Which administrative territory is that french administrative division a part of ?
(Q160506,P17,c(Q15617994))
action filter_type
action find
entity Q160506
relation P17
type Q15617994
['Q160506', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q160506 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Saint-Denis
action filter_type
action find
entity Saint-Denis
relation country
type designation for an administrative territorial entity
['Saint-Denis', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Saint-Denis property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q193370
SYSTEM
Did you mean Montreuil ?
Q193370 Q160506 Q172455
(Q193370,P17,c(Q15617994)) (Q160506,P17,c(Q15617994)) (Q172455,P17,c(Q15617994))
[ANSWER]
['Q193370', 'P17', {'concept': 'Q15617994'}] ['Q160506', 'P17', {'concept': 'Q15617994'}] ['Q172455', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q160506 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Montreuil Saint-Denis Boulogne-Billancourt
Did you mean Montreuil ?
Montreuil
['Montreuil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Denis', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Boulogne-Billancourt', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Saint-Denis property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Saint-Denis. Could you tell me the answer for that?
(Q160506,P17,c(Q15617994))
Q160506
['Q160506', 'P17', {'concept': 'Q15617994'}]
['Saint-Denis', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q160506,P17,c(Q15617994))
action filter_type
action find
entity Q160506
relation P17
type Q15617994
[ANSWER] is that french administrative division a part of
['Q160506', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q160506 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
France
France is that french administrative division a part of
France
action filter_type
action find
entity Saint-Denis
relation country
type designation for an administrative territorial entity
['Saint-Denis', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Saint-Denis property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q20667921 Q16970 Q1048835
USER
Which french administrative divisions are the etymology of around 1 churches or political territories ?
(c(Q16970)|c(Q1048835),P138,c(Q20667921))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q16970
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q1048835
value 1
[[{'concept': 'Q16970'}, {'concept': 'Q1048835'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?o ) WHERE { ?y rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q16970 ) } } GROUP BY ?e } . FILTER ( ?o = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type church
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type political territorial entity
value 1
[[{'concept': 'church'}, {'concept': 'political territorial entity'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?o ) WHERE { ?y rdf:type ?j . VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:church ) } } GROUP BY ?e } . FILTER ( ?o = 1 ) }
[]
type of french administrative division church political territorial entity
Q22380 Q130272
SYSTEM
Créhange, Chartres
Q22380 Q130272
(c(Q16970)|c(Q1048835),P138,c(Q20667921))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q16970
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q1048835
value 1
[ANSWERS] are the etymology of around 1 churches or political territories
[[{'concept': 'Q16970'}, {'concept': 'Q1048835'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?o ) WHERE { ?y rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q16970 ) } } GROUP BY ?e } . FILTER ( ?o = 1 ) }
Créhange Chartres
Créhange and Chartres are the etymology of around 1 churches or political territories
Créhange Chartres
action approx
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type church
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type political territorial entity
value 1
[[{'concept': 'church'}, {'concept': 'political territorial entity'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?o ) WHERE { ?y rdf:type ?j . VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:church ) } } GROUP BY ?e } . FILTER ( ?o = 1 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q20667921
USER
How many french administrative divisions have an adjacent border with that french administrative division ?
(c(Q20667921),P47,Q22380)
[{'concept': 'Q20667921'}, 'P47', 'Q22380']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q22380 . ?z rdf:type ontology:Q20667921 }
[{'concept': 'type of french administrative division'}, 'shares border with', 'Créhange']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Créhange . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Quantitative|Count|Single entity type|Clarification
Q22380
SYSTEM
Did you mean Créhange ?
(c(Q20667921),P47,Q22380) (c(Q20667921),P47,Q130272)
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q22380'] [{'concept': 'Q20667921'}, 'P47', 'Q130272']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q22380 . ?z rdf:type ontology:Q20667921 }
Did you mean Créhange ?
Créhange
[{'concept': 'type of french administrative division'}, 'shares border with', 'Créhange'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Chartres']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Créhange . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q20667921),P47,Q22380)
[{'concept': 'Q20667921'}, 'P47', 'Q22380']
[{'concept': 'type of french administrative division'}, 'shares border with', 'Créhange']
[]
SYSTEM
6
Q21642 Q22378 Q21956 Q21955 Q21965 Q21896
(c(Q20667921),P47,Q22380)
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q22380']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q22380 . ?z rdf:type ontology:Q20667921 }
Bambiderstroff Elvange Flétrange Tritteling-Redlach Mainvillers Faulquemont
6
[{'concept': 'type of french administrative division'}, 'shares border with', 'Créhange']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Créhange . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q130272
P1444
Q878123
USER
Which racings have Chartres as their destination point ?
(c(Q878123),P1444,Q130272)
action filter_type
action find_reverse
entity Q130272
relation P1444
type Q878123
[{'concept': 'Q878123'}, 'P1444', 'Q130272']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q878123 . ?t property:P1444 resource:Q130272 }
Chartres
action filter_type
action find_reverse
entity Chartres
relation destination point
type racing
[{'concept': 'racing'}, 'destination point', 'Chartres']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:racing . ?t property:destination_point resource:Chartres }
[]
racing
Q2636550 Q2120753
SYSTEM
2004 Tour de France, Stage 5, 2012 Tour de France, Stage 19
Q2636550 Q2120753
(c(Q878123),P1444,Q130272)
action filter_type
action find_reverse
entity Q130272
relation P1444
type Q878123
[ANSWERS]
[{'concept': 'Q878123'}, 'P1444', 'Q130272']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q878123 . ?t property:P1444 resource:Q130272 }
2004 Tour de France, Stage 5 2012 Tour de France, Stage 19
2004 Tour de France, Stage 5 and 2012 Tour de France, Stage 19 have Chartres as their destination point
2004 Tour de France, Stage 5 2012 Tour de France, Stage 19
action filter_type
action find_reverse
entity Chartres
relation destination point
type racing
[{'concept': 'racing'}, 'destination point', 'Chartres']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:racing . ?t property:destination_point resource:Chartres }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q130272
P931
Q811979
USER
Which architectural structure serves the place named that french administrative division ?
(c(Q811979),P931,Q2636550) (c(Q811979),P931,Q2120753)
action filter_type
action find_reverse
entity Q130272
relation P931
type Q811979
[{'concept': 'Q811979'}, 'P931', 'Q2636550'] [{'concept': 'Q811979'}, 'P931', 'Q2120753']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q811979 . ?w property:P931 resource:Q130272 }
Chartres
action filter_type
action find_reverse
entity Chartres
relation place served by airport
type architectural structure
[{'concept': 'architectural structure'}, 'place served by airport', '2004 Tour de France, Stage 5'] [{'concept': 'architectural structure'}, 'place served by airport', '2012 Tour de France, Stage 19']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:architectural_structure . ?w property:place_served_by_airport resource:Chartres }
[]
architectural structure
Q1836780
SYSTEM
Chartres – Champhol Aerodrome
Q1836780
(c(Q811979),P931,Q2636550) (c(Q811979),P931,Q2120753)
action filter_type
action find_reverse
entity Q130272
relation P931
type Q811979
[ANSWER] serves the place named that french administrative division
[{'concept': 'Q811979'}, 'P931', 'Q2636550'] [{'concept': 'Q811979'}, 'P931', 'Q2120753']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q811979 . ?w property:P931 resource:Q130272 }
Chartres – Champhol Aerodrome
Chartres – Champhol Aerodrome serves the place named that french administrative division
Chartres – Champhol Aerodrome
action filter_type
action find_reverse
entity Chartres
relation place served by airport
type architectural structure
[{'concept': 'architectural structure'}, 'place served by airport', '2004 Tour de France, Stage 5'] [{'concept': 'architectural structure'}, 'place served by airport', '2012 Tour de France, Stage 19']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:architectural_structure . ?w property:place_served_by_airport resource:Chartres }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q1267889 Q15324 Q20667921
USER
How many french administrative divisions are located in the neighbourhood of exactly 1 waterways and bodies of water ?
(c(Q20667921),P206,c(Q1267889)|c(Q15324))
action count
action equal
action union
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action find_tuple_counts
relation P206
type Q20667921
type Q15324
value 1
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) ?l WHERE { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } GROUP BY ?l } . FILTER ( ?f = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) ?l WHERE { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:waterway ) ( ontology:body_of_water ) } } GROUP BY ?l } . FILTER ( ?f = 1 ) }
[]
waterway body of water type of french administrative division
SYSTEM
21
Q224023 Q665411 Q842027 Q877744 Q71356 Q160199 Q380224 Q683550 Q453263 Q1066836 Q391365 Q769160 Q1031980 Q513962 Q382048 Q323399 Q70491 Q231180 Q191765 Q1164176 Q20892
(c(Q20667921),P206,c(Q1267889)|c(Q15324))
action count
action equal
action union
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
action find_tuple_counts
relation P206
type Q20667921
type Q15324
value 1
[ANSWER]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) ?l WHERE { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1267889 ) ( ontology:Q15324 ) } } GROUP BY ?l } . FILTER ( ?f = 1 ) }
Penvénan Leffrinckoucke Rogliano Le Portel Île-aux-Moines Cherbourg-Octeville Marck Urville-Nacqueville Pleumeur-Bodou Grand-Fort-Philippe Bray-Dunes Grande-Synthe Escalles Oye-Plage Tardinghen Gravelines Larmor-Baden Zuydcoote Anglet Saint-Léonard Le Mont-Saint-Michel
21
action count
action equal
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) ?l WHERE { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:waterway ) ( ontology:body_of_water ) } } GROUP BY ?l } . FILTER ( ?f = 1 ) }
[]