Simple Question (Direct)
Simple Question
Q4755316
P19
Q15617994
USER
Which administrative territory is the birthplace of Andrea Vignali ?
(Q4755316,P19,c(Q15617994))
action filter_type
action find
entity Q4755316
relation P19
type Q15617994
['Q4755316', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4755316 property:P19 ?y . ?y rdf:type ontology:Q15617994 }
Andrea Vignali
action filter_type
action find
entity Andrea Vignali
relation place of birth
type designation for an administrative territorial entity
['Andrea Vignali', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Andrea_Vignali property:place_of_birth ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q13370
SYSTEM
Massa
Q13370
(Q4755316,P19,c(Q15617994))
action filter_type
action find
entity Q4755316
relation P19
type Q15617994
The [ANSWER] is the birthplace of Andrea Vignali
['Q4755316', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4755316 property:P19 ?y . ?y rdf:type ontology:Q15617994 }
Massa
The Massa is the birthplace of Andrea Vignali
Massa
action filter_type
action find
entity Andrea Vignali
relation place of birth
type designation for an administrative territorial entity
['Andrea Vignali', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Andrea_Vignali property:place_of_birth ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13370
P17
Q15617994
USER
Which administrative territory is that one present in ?
(Q13370,P17,c(Q15617994))
action filter_type
action find
entity Q13370
relation P17
type Q15617994
['Q13370', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q13370 property:P17 ?n }
Massa
action filter_type
action find
entity Massa
relation country
type designation for an administrative territorial entity
['Massa', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Massa property:country ?n }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q13370,P17,c(Q15617994))
action filter_type
action find
entity Q13370
relation P17
type Q15617994
That one is in [ANSWER]
['Q13370', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q13370 property:P17 ?n }
Italy
That one is in Italy
Italy
action filter_type
action find
entity Massa
relation country
type designation for an administrative territorial entity
['Massa', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Massa property:country ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with that administrative territory ?
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?d }
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?d }
[]
designation for an administrative territorial entity
SYSTEM
74
Q739 Q805 Q801 Q189 Q843 Q928 Q184 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q17 Q229 Q228 Q33 Q32 Q31 Q37 Q36 Q34 Q77 Q39 Q1016 Q227 Q215 Q79 Q191 Q733 Q948 Q869 Q298 Q45 Q252 Q30 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q41 Q155 Q218 Q219 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q423 Q881 Q114
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWER]
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?d }
Colombia Yemen Israel Iceland Pakistan Philippines Belarus Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Japan Cyprus Andorra Finland Luxembourg Belgium Lithuania Poland Sweden Uruguay Switzerland Libya Azerbaijan Slovenia Egypt Estonia Paraguay Tunisia Thailand Chile Portugal Indonesia United States of America Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Greece Brazil Romania Bulgaria San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea North Korea Vietnam Kenya
74
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q38
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Italy ?
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Q38 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Italy
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Italy property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
74
Q739 Q805 Q801 Q189 Q843 Q928 Q184 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q17 Q229 Q228 Q33 Q32 Q31 Q37 Q36 Q34 Q77 Q39 Q1016 Q227 Q215 Q79 Q191 Q733 Q948 Q869 Q298 Q45 Q252 Q30 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q41 Q155 Q218 Q219 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q423 Q881 Q114
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWER]
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Q38 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Colombia Yemen Israel Iceland Pakistan Philippines Belarus Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Japan Cyprus Andorra Finland Luxembourg Belgium Lithuania Poland Sweden Uruguay Switzerland Libya Azerbaijan Slovenia Egypt Estonia Paraguay Tunisia Thailand Chile Portugal Indonesia United States of America Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Greece Brazil Romania Bulgaria San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea North Korea Vietnam Kenya
74
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { resource:Italy property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q36
Q15617994
USER
And how about Poland?
(Q36,P530,c(Q15617994))
action count
action filter_type
action find
entity Q36
relation P530
type Q15617994
['Q36', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Q36 property:P530 ?y . ?y rdf:type ontology:Q15617994 }
Poland
action count
action filter_type
action find
entity Poland
relation diplomatic relation
type designation for an administrative territorial entity
['Poland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Poland property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
(Q36,P530,c(Q15617994))
action count
action filter_type
action find
entity Q36
relation P530
type Q15617994
[ANSWER]
['Q36', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Q36 property:P530 ?y . ?y rdf:type ontology:Q15617994 }
2
action count
action filter_type
action find
entity Poland
relation diplomatic relation
type designation for an administrative territorial entity
['Poland', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Poland property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36 Q28513
P206
Q355304
USER
How many watercourses are situated in the neighbourhood of Poland and Austria-Hungary ?
(Q36,P206,c(Q355304)) (Q28513,P206,c(Q355304))
action count
action intersection
action filter_type
action find
entity Q36
relation P206
type Q355304
action filter_type
action find
entity Q28513
relation P206
type Q355304
['Q36', 'P206', {'concept': 'Q355304'}] ['Q28513', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q36 property:P206 ?r . ?r rdf:type ontology:Q355304 . resource:Q28513 property:P206 ?r . ?r rdf:type ontology:Q355304 }
Poland Austria-Hungary
action count
action intersection
action filter_type
action find
entity Poland
relation located next to body of water
type watercourse
action filter_type
action find
entity Austria-Hungary
relation located next to body of water
type watercourse
['Poland', 'located next to body of water', {'concept': 'watercourse'}] ['Austria-Hungary', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Poland property:located_next_to_body_of_water ?r . ?r rdf:type ontology:watercourse . resource:Austria-Hungary property:located_next_to_body_of_water ?r . ?r rdf:type ontology:watercourse }
[]
watercourse
SYSTEM
6
Q552 Q548 Q582675 Q1331973 Q156237 Q577026
(Q36,P206,c(Q355304)) (Q28513,P206,c(Q355304))
action count
action intersection
action filter_type
action find
entity Q36
relation P206
type Q355304
action filter_type
action find
entity Q28513
relation P206
type Q355304
[ANSWER]
['Q36', 'P206', {'concept': 'Q355304'}] ['Q28513', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q36 property:P206 ?r . ?r rdf:type ontology:Q355304 . resource:Q28513 property:P206 ?r . ?r rdf:type ontology:Q355304 }
Oder Vistula Jizera Olza Western Bug Opava
6
action count
action intersection
action filter_type
action find
entity Poland
relation located next to body of water
type watercourse
action filter_type
action find
entity Austria-Hungary
relation located next to body of water
type watercourse
['Poland', 'located next to body of water', {'concept': 'watercourse'}] ['Austria-Hungary', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Poland property:located_next_to_body_of_water ?r . ?r rdf:type ontology:watercourse . resource:Austria-Hungary property:located_next_to_body_of_water ?r . ?r rdf:type ontology:watercourse }
[]