Simple Question (Direct)
Simple Question
Q351129
P1303
Q34379
USER
What musical instruments can Carl Rütti perform with ?
(Q351129,P1303,c(Q34379))
action filter_type
action find
entity Q351129
relation P1303
type Q34379
['Q351129', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34379 . resource:Q351129 property:P1303 ?e }
Carl Rütti
action filter_type
action find
entity Carl Rütti
relation instrument
type musical instrument
['Carl Rütti', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:musical_instrument . resource:Carl_Rütti property:instrument ?e }
[]
musical instrument
Q5994 Q1444
SYSTEM
piano, organ
Q5994 Q1444
(Q351129,P1303,c(Q34379))
action filter_type
action find
entity Q351129
relation P1303
type Q34379
Carl Rütti can perform the [ANSWERS]
['Q351129', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34379 . resource:Q351129 property:P1303 ?e }
piano organ
Carl Rütti can perform the piano and organ
piano organ
action filter_type
action find
entity Carl Rütti
relation instrument
type musical instrument
['Carl Rütti', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:musical_instrument . resource:Carl_Rütti property:instrument ?e }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5994
P61
Q502895
USER
Who was the inventor or discoverer of that musical instrument ?
(Q5994,P61,c(Q502895))
action filter_type
action find
entity Q5994
relation P61
type Q502895
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q5994 property:P61 ?a . ?a rdf:type ontology:Q502895 }
piano
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:piano property:discoverer_or_inventor ?a . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1444
SYSTEM
Did you mean organ ?
Q5994 Q1444
(Q5994,P61,c(Q502895)) (Q1444,P61,c(Q502895))
[ANSWER]
['Q5994', 'P61', {'concept': 'Q502895'}] ['Q1444', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q5994 property:P61 ?a . ?a rdf:type ontology:Q502895 }
piano organ
Did you mean organ ?
organ
['piano', 'discoverer or inventor', {'concept': 'common name'}] ['organ', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:piano property:discoverer_or_inventor ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant piano. Could you tell me the answer for that?
(Q5994,P61,c(Q502895))
Q5994
['Q5994', 'P61', {'concept': 'Q502895'}]
['piano', 'discoverer or inventor', {'concept': 'common name'}]
[]
Q301597
SYSTEM
Bartolomeo Cristofori
Q301597
(Q5994,P61,c(Q502895))
action filter_type
action find
entity Q5994
relation P61
type Q502895
The inventor or discoverer of that musical instrument was [ANSWER]
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q5994 property:P61 ?a . ?a rdf:type ontology:Q502895 }
Bartolomeo Cristofori
The inventor or discoverer of that musical instrument was Bartolomeo Cristofori
Bartolomeo Cristofori
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:piano property:discoverer_or_inventor ?a . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q351129
P27
Q15617994
USER
How many administrative territories do Carl Rütti belong to ?
(Q351129,P27,c(Q15617994))
action count
action filter_type
action find
entity Q351129
relation P27
type Q15617994
['Q351129', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Q351129 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Carl Rütti
action count
action filter_type
action find
entity Carl Rütti
relation country of citizenship
type designation for an administrative territorial entity
['Carl Rütti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Carl_Rütti property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q39
(Q351129,P27,c(Q15617994))
action count
action filter_type
action find
entity Q351129
relation P27
type Q15617994
[ANSWER]
['Q351129', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Q351129 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Switzerland
1
action count
action filter_type
action find
entity Carl Rütti
relation country of citizenship
type designation for an administrative territorial entity
['Carl Rütti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Carl_Rütti property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6135371
Q15617994
USER
And also tell me about James Hakewill?
(Q6135371,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6135371
relation P27
type Q15617994
['Q6135371', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q6135371 property:P27 ?s }
James Hakewill
action count
action filter_type
action find
entity James Hakewill
relation country of citizenship
type designation for an administrative territorial entity
['James Hakewill', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:James_Hakewill property:country_of_citizenship ?s }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q6135371,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6135371
relation P27
type Q15617994
[ANSWER]
['Q6135371', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q6135371 property:P27 ?s }
1
action count
action filter_type
action find
entity James Hakewill
relation country of citizenship
type designation for an administrative territorial entity
['James Hakewill', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:James_Hakewill property:country_of_citizenship ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q351129
P19
Q56061
USER
Which administrative territory is the birthplace of Carl Rütti ?
(Q351129,P19,c(Q56061))
action filter_type
action find
entity Q351129
relation P19
type Q56061
['Q351129', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q351129 property:P19 ?f }
Carl Rütti
action filter_type
action find
entity Carl Rütti
relation place of birth
type administrative territorial entity
['Carl Rütti', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Carl_Rütti property:place_of_birth ?f }
[]
administrative territorial entity
Q36378
SYSTEM
Fribourg
Q36378
(Q351129,P19,c(Q56061))
action filter_type
action find
entity Q351129
relation P19
type Q56061
In [ANSWER] is the birthplace of Carl Rütti
['Q351129', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q351129 property:P19 ?f }
Fribourg
In Fribourg is the birthplace of Carl Rütti
Fribourg
action filter_type
action find
entity Carl Rütti
relation place of birth
type administrative territorial entity
['Carl Rütti', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Carl_Rütti property:place_of_birth ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36378
P159
Q43229
USER
Which organizations have their head office location at that administrative territory ?
(c(Q43229),P159,Q36378)
action filter_type
action find_reverse
entity Q36378
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q36378']
SELECT DISTINCT ?z WHERE { ?z property:P159 resource:Q36378 . ?z rdf:type ontology:Q43229 }
Fribourg
action filter_type
action find_reverse
entity Fribourg
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Fribourg']
SELECT DISTINCT ?z WHERE { ?z property:headquarters_location resource:Fribourg . ?z rdf:type ontology:organization }
[]
organization
Q5225607 Q862699 Q2537281
SYSTEM
Dartfish, Billag, WIFAG Maschinenfabrik AG
Q5225607 Q862699 Q2537281
(c(Q43229),P159,Q36378)
action filter_type
action find_reverse
entity Q36378
relation P159
type Q43229
[ANSWERS] have their head office location at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q36378']
SELECT DISTINCT ?z WHERE { ?z property:P159 resource:Q36378 . ?z rdf:type ontology:Q43229 }
Dartfish Billag WIFAG Maschinenfabrik AG
Dartfish, Billag and WIFAG Maschinenfabrik AG have their head office location at that administrative territory
Dartfish Billag WIFAG Maschinenfabrik AG
action filter_type
action find_reverse
entity Fribourg
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Fribourg']
SELECT DISTINCT ?z WHERE { ?z property:headquarters_location resource:Fribourg . ?z rdf:type ontology:organization }
[]