Simple Question (Direct)
Simple Question
Q3888365
P54
Q1194951
USER
What is Pablo Camacho a member of ?
(Q3888365,P54,c(Q1194951))
action filter_type
action find
entity Q3888365
relation P54
type Q1194951
['Q3888365', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1194951 . resource:Q3888365 property:P54 ?m }
Pablo Camacho
action filter_type
action find
entity Pablo Camacho
relation member of sports team
type national sports team
['Pablo Camacho', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:national_sports_team . resource:Pablo_Camacho property:member_of_sports_team ?m }
[]
national sports team
Q214151
SYSTEM
Venezuela national football team
Q214151
(Q3888365,P54,c(Q1194951))
action filter_type
action find
entity Q3888365
relation P54
type Q1194951
Pablo Camacho a member of is the [ANSWER]
['Q3888365', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1194951 . resource:Q3888365 property:P54 ?m }
Venezuela national football team
Pablo Camacho a member of is the Venezuela national football team
Venezuela national football team
action filter_type
action find
entity Pablo Camacho
relation member of sports team
type national sports team
['Pablo Camacho', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:national_sports_team . resource:Pablo_Camacho property:member_of_sports_team ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3888365
P21
Q290
USER
What is the sex of Pablo Camacho ?
(Q3888365,P21,c(Q290))
action filter_type
action find
entity Q3888365
relation P21
type Q290
['Q3888365', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q3888365 property:P21 ?v . ?v rdf:type ontology:Q290 }
Pablo Camacho
action filter_type
action find
entity Pablo Camacho
relation gender
type sex
['Pablo Camacho', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Pablo_Camacho property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3888365,P21,c(Q290))
action filter_type
action find
entity Q3888365
relation P21
type Q290
The sex of Pablo Camacho is the [ANSWER]
['Q3888365', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q3888365 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
The sex of Pablo Camacho is the male
male
action filter_type
action find
entity Pablo Camacho
relation gender
type sex
['Pablo Camacho', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Pablo_Camacho property:gender ?v . ?v rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q214151
P17
Q15617994
USER
How many administrative territories are Venezuela national football team situated in ?
(Q214151,P17,c(Q15617994))
action count
action filter_type
action find
entity Q214151
relation P17
type Q15617994
['Q214151', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Q214151 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Venezuela national football team
action count
action filter_type
action find
entity Venezuela national football team
relation country
type designation for an administrative territorial entity
['Venezuela national football team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Venezuela_national_football_team property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q717
(Q214151,P17,c(Q15617994))
action count
action filter_type
action find
entity Q214151
relation P17
type Q15617994
[ANSWER]
['Q214151', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Q214151 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Venezuela
1
action count
action filter_type
action find
entity Venezuela national football team
relation country
type designation for an administrative territorial entity
['Venezuela national football team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Venezuela_national_football_team property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q19274103
P17
Q15617994
USER
And also tell me about Jacob Obrechtstraat?
(Q19274103,P17,c(Q15617994))
action count
action filter_type
action find
entity Q19274103
relation P17
type Q15617994
['Q19274103', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Q19274103 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Jacob Obrechtstraat
action count
action filter_type
action find
entity Jacob Obrechtstraat
relation country
type designation for an administrative territorial entity
['Jacob Obrechtstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Jacob_Obrechtstraat property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q55
(Q19274103,P17,c(Q15617994))
action count
action filter_type
action find
entity Q19274103
relation P17
type Q15617994
[ANSWER]
['Q19274103', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Q19274103 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Netherlands
1
action count
action filter_type
action find
entity Jacob Obrechtstraat
relation country
type designation for an administrative territorial entity
['Jacob Obrechtstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Jacob_Obrechtstraat property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q16302160
Q15617994
USER
And what about La Laguna, Veraguas?
(Q16302160,P17,c(Q15617994))
action count
action filter_type
action find
entity Q16302160
relation P17
type Q15617994
['Q16302160', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Q16302160 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
La Laguna, Veraguas
action count
action filter_type
action find
entity La Laguna, Veraguas
relation country
type designation for an administrative territorial entity
['La Laguna, Veraguas', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:La_Laguna,_Veraguas property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q16302160,P17,c(Q15617994))
action count
action filter_type
action find
entity Q16302160
relation P17
type Q15617994
[ANSWER]
['Q16302160', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Q16302160 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity La Laguna, Veraguas
relation country
type designation for an administrative territorial entity
['La Laguna, Veraguas', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:La_Laguna,_Veraguas property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can max number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?k ) { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?c } } . { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?z = ?k ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?k ) { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?c } } . { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?z = ?k ) }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people can perform on [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?k ) { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?c } } . { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?z = ?k ) }
piano
Max number of people can perform on piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?k ) { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?c } } . { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?z = ?k ) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5994 Q7787706 Q5401364
P61
Q502895
USER
Was piano invented or discoverd by Thomas Blore and Estil C. Ball ?
(Q5994,P61,Q7787706) (Q5994,P61,Q5401364)
action is_in
entity Q5994
action intersection
action find_reverse
entity Q7787706
relation P61
action find_reverse
entity Q5401364
relation P61
['Q5994', 'P61', 'Q7787706'] ['Q5994', 'P61', 'Q5401364']
ASK WHERE { resource:Q5994 property:P61 resource:Q7787706 . resource:Q5994 property:P61 resource:Q5401364 }
piano Thomas Blore Estil C. Ball
action is_in
entity piano
action intersection
action find_reverse
entity Thomas Blore
relation discoverer or inventor
action find_reverse
entity Estil C. Ball
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Thomas Blore'] ['piano', 'discoverer or inventor', 'Estil C. Ball']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Thomas_Blore . resource:piano property:discoverer_or_inventor resource:Estil_C._Ball }
[]
common name
SYSTEM
NO
(Q5994,P61,Q7787706) (Q5994,P61,Q5401364)
action is_in
entity Q5994
action intersection
action find_reverse
entity Q7787706
relation P61
action find_reverse
entity Q5401364
relation P61
[ANSWER]
['Q5994', 'P61', 'Q7787706'] ['Q5994', 'P61', 'Q5401364']
ASK WHERE { resource:Q5994 property:P61 resource:Q7787706 . resource:Q5994 property:P61 resource:Q5401364 }
No
action is_in
entity piano
action intersection
action find_reverse
entity Thomas Blore
relation discoverer or inventor
action find_reverse
entity Estil C. Ball
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Thomas Blore'] ['piano', 'discoverer or inventor', 'Estil C. Ball']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Thomas_Blore . resource:piano property:discoverer_or_inventor resource:Estil_C._Ball }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3888365 Q1533
P19
Q515
USER
Was Pablo Camacho born at Caracas ?
(Q3888365,P19,Q1533)
action is_in
entity Q1533
action find
entity Q3888365
relation P19
['Q3888365', 'P19', 'Q1533']
ASK WHERE { resource:Q3888365 property:P19 resource:Q1533 }
Pablo Camacho Caracas
action is_in
entity Caracas
action find
entity Pablo Camacho
relation place of birth
['Pablo Camacho', 'place of birth', 'Caracas']
ASK WHERE { resource:Pablo_Camacho property:place_of_birth resource:Caracas }
[]
city
SYSTEM
YES
(Q3888365,P19,Q1533)
action is_in
entity Q1533
action find
entity Q3888365
relation P19
[ANSWER]
['Q3888365', 'P19', 'Q1533']
ASK WHERE { resource:Q3888365 property:P19 resource:Q1533 }
Yes
action is_in
entity Caracas
action find
entity Pablo Camacho
relation place of birth
['Pablo Camacho', 'place of birth', 'Caracas']
ASK WHERE { resource:Pablo_Camacho property:place_of_birth resource:Caracas }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q214151 Q717
P17
Q15617994
USER
Is that national sports team situated in Venezuela ?
(Q214151,P17,Q717)
action is_in
entity Q717
action find
entity Q214151
relation P17
['Q214151', 'P17', 'Q717']
ASK WHERE { resource:Q214151 property:P17 resource:Q717 }
Venezuela national football team Venezuela
action is_in
entity Venezuela
action find
entity Venezuela national football team
relation country
['Venezuela national football team', 'country', 'Venezuela']
ASK WHERE { resource:Venezuela_national_football_team property:country resource:Venezuela }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q214151,P17,Q717)
action is_in
entity Q717
action find
entity Q214151
relation P17
[ANSWER]
['Q214151', 'P17', 'Q717']
ASK WHERE { resource:Q214151 property:P17 resource:Q717 }
Yes
action is_in
entity Venezuela
action find
entity Venezuela national football team
relation country
['Venezuela national football team', 'country', 'Venezuela']
ASK WHERE { resource:Venezuela_national_football_team property:country resource:Venezuela }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q22034122
P180
Q34379 Q3305213
USER
Which paintings depict greater number of musical instruments than With goodly greenish locks, all loose 'untied' ?
(c(Q3305213),P180,c(Q34379))
action greater
action find_tuple_counts
relation P180
type Q3305213
type Q34379
action count
action filter_type
action find
entity Q22034122
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ontology:Q3305213 . resource:Q22034122 property:P180 ?h } } . FILTER ( ?u > ?r ) . { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?u ) WHERE { ?x property:P180 ?q . ?x rdf:type ontology:Q3305213 . ?q rdf:type ontology:Q34379 } GROUP BY ?x } }
With goodly greenish locks, all loose 'untied'
action greater
action find_tuple_counts
relation depicts
type painting
type musical instrument
action count
action filter_type
action find
entity With goodly greenish locks, all loose 'untied'
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ontology:painting . resource:With_goodly_greenish_locks,_all_loose_'untied' property:depicts ?h } } . FILTER ( ?u > ?r ) . { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?u ) WHERE { ?x property:depicts ?q . ?x rdf:type ontology:painting . ?q rdf:type ontology:musical_instrument } GROUP BY ?x } }
[]
musical instrument painting
Q25540861 Q22570045 Q17189257
SYSTEM
L'Ouïe, Picture clock with Alster panorama, Brita at the Piano
Q22570045 Q24090417 Q20081287 Q25540861 Q17189257 Q26972426
(c(Q3305213),P180,c(Q34379))
action greater
action find_tuple_counts
relation P180
type Q3305213
type Q34379
action count
action filter_type
action find
entity Q22034122
relation P180
type Q3305213
[ANSWERS] depict greater number of musical instruments than With goodly greenish locks, all loose 'untied'
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ontology:Q3305213 . resource:Q22034122 property:P180 ?h } } . FILTER ( ?u > ?r ) . { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?u ) WHERE { ?x property:P180 ?q . ?x rdf:type ontology:Q3305213 . ?q rdf:type ontology:Q34379 } GROUP BY ?x } }
Picture clock with Alster panorama Sleep that knits up the ravell'd sleeve of care The Sideboard L'Ouïe Brita at the Piano Architectural Fantasy in the Style of Pompeii
L'Ouïe, Picture clock with Alster panorama and Brita at the Piano depict greater number of musical instruments than With goodly greenish locks, all loose 'untied'
L'Ouïe Picture clock with Alster panorama Brita at the Piano
action greater
action find_tuple_counts
relation depicts
type painting
type musical instrument
action count
action filter_type
action find
entity With goodly greenish locks, all loose 'untied'
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ontology:painting . resource:With_goodly_greenish_locks,_all_loose_'untied' property:depicts ?h } } . FILTER ( ?u > ?r ) . { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?u ) WHERE { ?x property:depicts ?q . ?x rdf:type ontology:painting . ?q rdf:type ontology:musical_instrument } GROUP BY ?x } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q22915338
P180
Q34379 Q3305213
USER
And what about Near Florence?
(c(Q3305213),P180,c(Q34379))
action greater
action find_tuple_counts
relation P180
type Q3305213
type Q34379
action count
action filter_type
action find
entity Q22915338
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?z ) WHERE { ?i property:P180 ?y . ?i rdf:type ontology:Q3305213 . ?y rdf:type ontology:Q34379 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q22915338 property:P180 ?n . ?n rdf:type ontology:Q3305213 } } . FILTER ( ?z > ?r ) }
Near Florence
action greater
action find_tuple_counts
relation depicts
type painting
type musical instrument
action count
action filter_type
action find
entity Near Florence
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?z ) WHERE { ?i property:depicts ?y . ?i rdf:type ontology:painting . ?y rdf:type ontology:musical_instrument } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Near_Florence property:depicts ?n . ?n rdf:type ontology:painting } } . FILTER ( ?z > ?r ) }
[]
musical instrument painting
Q25540861 Q22570045 Q17189257
SYSTEM
L'Ouïe, Picture clock with Alster panorama, Brita at the Piano
Q22570045 Q24090417 Q20081287 Q25540861 Q17189257 Q26972426
(c(Q3305213),P180,c(Q34379))
action greater
action find_tuple_counts
relation P180
type Q3305213
type Q34379
action count
action filter_type
action find
entity Q22915338
relation P180
type Q3305213
[ANSWERS]
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?z ) WHERE { ?i property:P180 ?y . ?i rdf:type ontology:Q3305213 . ?y rdf:type ontology:Q34379 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q22915338 property:P180 ?n . ?n rdf:type ontology:Q3305213 } } . FILTER ( ?z > ?r ) }
Picture clock with Alster panorama Sleep that knits up the ravell'd sleeve of care The Sideboard L'Ouïe Brita at the Piano Architectural Fantasy in the Style of Pompeii
L'Ouïe Picture clock with Alster panorama Brita at the Piano
action greater
action find_tuple_counts
relation depicts
type painting
type musical instrument
action count
action filter_type
action find
entity Near Florence
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?z ) WHERE { ?i property:depicts ?y . ?i rdf:type ontology:painting . ?y rdf:type ontology:musical_instrument } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Near_Florence property:depicts ?n . ?n rdf:type ontology:painting } } . FILTER ( ?z > ?r ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q25540861 Q22570045 Q17189257
P180
Q34379
USER
Which musical instruments are demonstrated in L'Ouïe, Picture clock with Alster panorama and Brita at the Piano ?
(Q25540861,P180,c(Q34379)) (Q22570045,P180,c(Q34379)) (Q17189257,P180,c(Q34379))
action union
action filter_type
action find
entity Q25540861
relation P180
type Q34379
action filter_type
action find
entity Q22570045
relation P180
type Q34379
action filter_type
action find
entity Q17189257
relation P180
type Q34379
['Q25540861', 'P180', {'concept': 'Q34379'}] ['Q22570045', 'P180', {'concept': 'Q34379'}] ['Q17189257', 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { ?e property:P180 ?c . VALUES ( ?e ) { ( resource:Q25540861 ) ( resource:Q22570045 ) } }
L'Ouïe Picture clock with Alster panorama Brita at the Piano
action union
action filter_type
action find
entity L'Ouïe
relation depicts
type musical instrument
action filter_type
action find
entity Picture clock with Alster panorama
relation depicts
type musical instrument
action filter_type
action find
entity Brita at the Piano
relation depicts
type musical instrument
["L'Ouïe", 'depicts', {'concept': 'musical instrument'}] ['Picture clock with Alster panorama', 'depicts', {'concept': 'musical instrument'}] ['Brita at the Piano', 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { ?e property:depicts ?c . VALUES ( ?e ) { ( resource:L'Ouïe ) ( resource:Picture_clock_with_Alster_panorama ) } }
[]
musical instrument
Q201129 Q8355 Q8355
SYSTEM
violin for 2nd, 3rd, lyre for 1st
Q201129 Q8355 Q8355 Q1148709
(Q25540861,P180,c(Q34379)) (Q22570045,P180,c(Q34379)) (Q17189257,P180,c(Q34379))
action union
action filter_type
action find
entity Q25540861
relation P180
type Q34379
action filter_type
action find
entity Q22570045
relation P180
type Q34379
action filter_type
action find
entity Q17189257
relation P180
type Q34379
[ANSWERS]
['Q25540861', 'P180', {'concept': 'Q34379'}] ['Q22570045', 'P180', {'concept': 'Q34379'}] ['Q17189257', 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { ?e property:P180 ?c . VALUES ( ?e ) { ( resource:Q25540861 ) ( resource:Q22570045 ) } }
lyre violin violin grand piano
Lyre, violin and violin are demonstrated in L'Ouïe, Picture clock with Alster panorama and Brita at the Piano
lyre violin violin
action union
action filter_type
action find
entity L'Ouïe
relation depicts
type musical instrument
action filter_type
action find
entity Picture clock with Alster panorama
relation depicts
type musical instrument
action filter_type
action find
entity Brita at the Piano
relation depicts
type musical instrument
["L'Ouïe", 'depicts', {'concept': 'musical instrument'}] ['Picture clock with Alster panorama', 'depicts', {'concept': 'musical instrument'}] ['Brita at the Piano', 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { ?e property:depicts ?c . VALUES ( ?e ) { ( resource:L'Ouïe ) ( resource:Picture_clock_with_Alster_panorama ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8355
P425
Q12737077
USER
Which occupation does that musical instrument belong to ?
(c(Q12737077),P425,Q8355)
action filter_type
action find_reverse
entity Q8355
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q8355']
SELECT DISTINCT ?a WHERE { ?a property:P425 resource:Q8355 . ?a rdf:type ontology:Q12737077 }
violin
action filter_type
action find_reverse
entity violin
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'violin']
SELECT DISTINCT ?a WHERE { ?a property:field_of_this_occupation resource:violin . ?a rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q8355
SYSTEM
Did you mean violin ?
Q201129 Q8355 Q8355
(c(Q12737077),P425,Q201129) (c(Q12737077),P425,Q8355) (c(Q12737077),P425,Q8355)
[ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q201129'] [{'concept': 'Q12737077'}, 'P425', 'Q8355'] [{'concept': 'Q12737077'}, 'P425', 'Q8355']
SELECT DISTINCT ?a WHERE { ?a property:P425 resource:Q8355 . ?a rdf:type ontology:Q12737077 }
lyre violin violin
Did you mean violin ?
violin
[{'concept': 'occupation'}, 'field of this occupation', 'lyre'] [{'concept': 'occupation'}, 'field of this occupation', 'violin'] [{'concept': 'occupation'}, 'field of this occupation', 'violin']
SELECT DISTINCT ?a WHERE { ?a property:field_of_this_occupation resource:violin . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q12737077),P425,Q8355)
[{'concept': 'Q12737077'}, 'P425', 'Q8355']
[{'concept': 'occupation'}, 'field of this occupation', 'violin']
[]
Q1259917
SYSTEM
violinist
Q1259917
(c(Q12737077),P425,Q8355)
action filter_type
action find_reverse
entity Q8355
relation P425
type Q12737077
That musical instrument belongs to the [ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q8355']
SELECT DISTINCT ?a WHERE { ?a property:P425 resource:Q8355 . ?a rdf:type ontology:Q12737077 }
violinist
That musical instrument belongs to the violinist
violinist
action filter_type
action find_reverse
entity violin
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'violin']
SELECT DISTINCT ?a WHERE { ?a property:field_of_this_occupation resource:violin . ?a rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1259917 Q23498177
P106
Q502895
USER
Does Georgia Hilmer have the profession of that occupation ?
(Q23498177,P106,Q1259917)
action is_in
entity Q23498177
action find
entity Q1259917
relation P106
['Q23498177', 'P106', 'Q1259917']
ASK WHERE { resource:Q1259917 property:P106 resource:Q23498177 }
violinist Georgia Hilmer
action is_in
entity Georgia Hilmer
action find
entity violinist
relation occupation
['Georgia Hilmer', 'occupation', 'violinist']
ASK WHERE { resource:violinist property:occupation resource:Georgia_Hilmer }
[]
common name
SYSTEM
NO
(Q23498177,P106,Q1259917)
action is_in
entity Q23498177
action find
entity Q1259917
relation P106
[ANSWER]
['Q23498177', 'P106', 'Q1259917']
ASK WHERE { resource:Q1259917 property:P106 resource:Q23498177 }
No
action is_in
entity Georgia Hilmer
action find
entity violinist
relation occupation
['Georgia Hilmer', 'occupation', 'violinist']
ASK WHERE { resource:violinist property:occupation resource:Georgia_Hilmer }
[]