Simple Question (Direct)
Simple Question
Q2254458
P27
Q15617994
USER
Which administrative territory does Dan the Automator belong to ?
(Q2254458,P27,c(Q15617994))
action filter_type
action find
entity Q2254458
relation P27
type Q15617994
['Q2254458', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q2254458 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Dan the Automator
action filter_type
action find
entity Dan the Automator
relation country of citizenship
type designation for an administrative territorial entity
['Dan the Automator', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Dan_the_Automator property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2254458,P27,c(Q15617994))
action filter_type
action find
entity Q2254458
relation P27
type Q15617994
Dan the Automator belongs to [ANSWER]
['Q2254458', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q2254458 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
Dan the Automator belongs to United States of America
United States of America
action filter_type
action find
entity Dan the Automator
relation country of citizenship
type designation for an administrative territorial entity
['Dan the Automator', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Dan_the_Automator property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2254458
P136
Q151885
USER
Which concept can be considered as genre of that person ?
(Q30,P136,c(Q151885))
action filter_type
action find
entity Q2254458
relation P136
type Q151885
['Q30', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q2254458 property:P136 ?z . ?z rdf:type ontology:Q151885 }
Dan the Automator
action filter_type
action find
entity Dan the Automator
relation genre
type concept
['United States of America', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Dan_the_Automator property:genre ?z . ?z rdf:type ontology:concept }
[]
concept
Q11401
SYSTEM
hip hop
Q11401
(Q30,P136,c(Q151885))
action filter_type
action find
entity Q2254458
relation P136
type Q151885
[ANSWER] can be considered as genre of that person
['Q30', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q2254458 property:P136 ?z . ?z rdf:type ontology:Q151885 }
hip hop
Hip hop can be considered as genre of that person
hip hop
action filter_type
action find
entity Dan the Automator
relation genre
type concept
['United States of America', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Dan_the_Automator property:genre ?z . ?z rdf:type ontology:concept }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12791955 Q2254458
P19
Q56061
USER
Which administrative territories are the birthplace of Dan the Automator or Jan Bobnarič ?
OR((Q2254458,P19,c(Q56061)), (Q12791955,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2254458
relation P19
action find
entity Q12791955
relation P19
type Q56061
{'OR': [['Q2254458', 'P19', {'concept': 'Q56061'}], ['Q12791955', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q2254458 property:P19 ?m } UNION { resource:Q12791955 property:P19 ?m } } . ?m rdf:type ontology:Q56061 }
Jan Bobnarič Dan the Automator
action filter_type
action union
action find
entity Dan the Automator
relation place of birth
action find
entity Jan Bobnarič
relation place of birth
type administrative territorial entity
{'OR': [['Dan the Automator', 'place of birth', {'concept': 'administrative territorial entity'}], ['Jan Bobnarič', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Dan_the_Automator property:place_of_birth ?m } UNION { resource:Jan_Bobnarič property:place_of_birth ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q437 Q62
SYSTEM
Ljubljana, San Francisco
Q437 Q62
OR((Q2254458,P19,c(Q56061)), (Q12791955,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2254458
relation P19
action find
entity Q12791955
relation P19
type Q56061
[ANSWERS] are the birthplace of Dan the Automator or Jan Bobnarič
{'OR': [['Q2254458', 'P19', {'concept': 'Q56061'}], ['Q12791955', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q2254458 property:P19 ?m } UNION { resource:Q12791955 property:P19 ?m } } . ?m rdf:type ontology:Q56061 }
Ljubljana San Francisco
Ljubljana and San Francisco are the birthplace of Dan the Automator or Jan Bobnarič
Ljubljana San Francisco
action filter_type
action union
action find
entity Dan the Automator
relation place of birth
action find
entity Jan Bobnarič
relation place of birth
type administrative territorial entity
{'OR': [['Dan the Automator', 'place of birth', {'concept': 'administrative territorial entity'}], ['Jan Bobnarič', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Dan_the_Automator property:place_of_birth ?m } UNION { resource:Jan_Bobnarič property:place_of_birth ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are twin towns of that administrative territory ?
(Q437,P190,c(Q56061))
['Q437', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q437 property:P190 ?z . ?z rdf:type ontology:Q56061 }
['Ljubljana', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Ljubljana property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q62
SYSTEM
Did you mean San Francisco ?
(Q437,P190,c(Q56061)) (Q62,P190,c(Q56061))
[ANSWER]
['Q437', 'P190', {'concept': 'Q56061'}] ['Q62', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q437 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Did you mean San Francisco ?
San Francisco
['Ljubljana', 'sister city', {'concept': 'administrative territorial entity'}] ['San Francisco', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Ljubljana property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Ljubljana. Could you tell me the answer for that?
(Q437,P190,c(Q56061))
Q437
['Q437', 'P190', {'concept': 'Q56061'}]
['Ljubljana', 'sister city', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
18
Q2683 Q994 Q649 Q384 Q188022 Q115117 Q180717 Q1524 Q1780 Q546 Q1741 Q3711 Q185289 Q216 Q37320 Q239 Q41262 Q3927
(Q437,P190,c(Q56061))
[ANSWER]
['Q437', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q437 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Parma Tbilisi Moscow Skopje Mardin Ploče Sousse Athens Bratislava Trieste Vienna Belgrade Pernik Vilnius Cleveland Brussels Nottingham Astrakhan
18
['Ljubljana', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Ljubljana property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q437
P206
Q355304
USER
Which watercourse is situated nearby Ljubljana ?
(Q437,P206,c(Q355304))
action filter_type
action find
entity Q437
relation P206
type Q355304
['Q437', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?b WHERE { resource:Q437 property:P206 ?b . ?b rdf:type ontology:Q355304 }
Ljubljana
action filter_type
action find
entity Ljubljana
relation located next to body of water
type watercourse
['Ljubljana', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?b WHERE { resource:Ljubljana property:located_next_to_body_of_water ?b . ?b rdf:type ontology:watercourse }
[]
watercourse
Q14383
SYSTEM
Sava
Q14383
(Q437,P206,c(Q355304))
action filter_type
action find
entity Q437
relation P206
type Q355304
[ANSWER] is situated nearby Ljubljana
['Q437', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?b WHERE { resource:Q437 property:P206 ?b . ?b rdf:type ontology:Q355304 }
Sava
Sava is situated nearby Ljubljana
Sava
action filter_type
action find
entity Ljubljana
relation located next to body of water
type watercourse
['Ljubljana', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?b WHERE { resource:Ljubljana property:located_next_to_body_of_water ?b . ?b rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q62
P112
Q502895
USER
Which people founded San Francisco ?
(Q62,P112,c(Q502895))
action filter_type
action find
entity Q62
relation P112
type Q502895
['Q62', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q62 property:P112 ?a . ?a rdf:type ontology:Q502895 }
San Francisco
action filter_type
action find
entity San Francisco
relation founder
type common name
['San Francisco', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:San_Francisco property:founder ?a . ?a rdf:type ontology:common_name }
[]
common name
Q2636220 Q2356932
SYSTEM
Francisco Palóu, José Joaquín Moraga
Q2636220 Q2356932
(Q62,P112,c(Q502895))
action filter_type
action find
entity Q62
relation P112
type Q502895
[ANSWERS] founded San Francisco
['Q62', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q62 property:P112 ?a . ?a rdf:type ontology:Q502895 }
Francisco Palóu José Joaquín Moraga
Francisco Palóu and José Joaquín Moraga founded San Francisco
Francisco Palóu José Joaquín Moraga
action filter_type
action find
entity San Francisco
relation founder
type common name
['San Francisco', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:San_Francisco property:founder ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3263060
Q502895
USER
And also tell me about Louis Royer?
(Q3263060,P112,c(Q502895))
action filter_type
action find
entity Q3263060
relation P112
type Q502895
['Q3263060', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q3263060 property:P112 ?l . ?l rdf:type ontology:Q502895 }
Louis Royer
action filter_type
action find
entity Louis Royer
relation founder
type common name
['Louis Royer', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Louis_Royer property:founder ?l . ?l rdf:type ontology:common_name }
[]
common name
Q19841340
SYSTEM
Louis Royer
Q19841340
(Q3263060,P112,c(Q502895))
action filter_type
action find
entity Q3263060
relation P112
type Q502895
[ANSWER]
['Q3263060', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q3263060 property:P112 ?l . ?l rdf:type ontology:Q502895 }
Louis Royer
Louis Royer
action filter_type
action find
entity Louis Royer
relation founder
type common name
['Louis Royer', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Louis_Royer property:founder ?l . ?l rdf:type ontology:common_name }
[]