Simple Question (Direct)
Simple Question
Q3486131
P641
Q349
USER
What was the sport that Skander Cheikh was a part of ?
(Q3486131,P641,c(Q349))
action filter_type
action find
entity Q3486131
relation P641
type Q349
['Q3486131', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q3486131 property:P641 ?o . ?o rdf:type ontology:Q349 }
Skander Cheikh
action filter_type
action find
entity Skander Cheikh
relation sport
type sport
['Skander Cheikh', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Skander_Cheikh property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3486131,P641,c(Q349))
action filter_type
action find
entity Q3486131
relation P641
type Q349
The sport that Skander Cheikh was a part of was the [ANSWER]
['Q3486131', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q3486131 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
The sport that Skander Cheikh was a part of was the association football
association football
action filter_type
action find
entity Skander Cheikh
relation sport
type sport
['Skander Cheikh', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Skander_Cheikh property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3486131
P21
Q290
USER
Which sex does that person belong to ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q3486131
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q3486131 property:P21 ?x . ?x rdf:type ontology:Q290 }
Skander Cheikh
action filter_type
action find
entity Skander Cheikh
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Skander_Cheikh property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q3486131
relation P21
type Q290
That person belongs to [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q3486131 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Skander Cheikh
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Skander_Cheikh property:gender ?x . ?x rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do around 3576 people know to play ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3576
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?m = 3576 ) . { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?g } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3576
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?m = 3576 ) . { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?g } }
[]
musical instrument common name
Q8355 Q1444
SYSTEM
violin, organ
Q8355 Q1444
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3576
Around 3576 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?m = 3576 ) . { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?g } }
violin organ
Around 3576 people know about violin and organ
violin organ
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3576
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?m = 3576 ) . { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?g } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8355
P180
Q838948
USER
Which works of art express that musical instrument ?
(c(Q838948),P180,Q8355)
action filter_type
action find_reverse
entity Q8355
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q8355']
SELECT DISTINCT ?x WHERE { ?x property:P180 resource:Q8355 . ?x rdf:type ontology:Q838948 }
violin
action filter_type
action find_reverse
entity violin
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'violin']
SELECT DISTINCT ?x WHERE { ?x property:depicts resource:violin . ?x rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q1444
SYSTEM
Did you mean organ ?
Q8355 Q1444
(c(Q838948),P180,Q8355) (c(Q838948),P180,Q1444)
[ANSWER]
[{'concept': 'Q838948'}, 'P180', 'Q8355'] [{'concept': 'Q838948'}, 'P180', 'Q1444']
SELECT DISTINCT ?x WHERE { ?x property:P180 resource:Q8355 . ?x rdf:type ontology:Q838948 }
violin organ
Did you mean organ ?
organ
[{'concept': 'work of art'}, 'depicts', 'violin'] [{'concept': 'work of art'}, 'depicts', 'organ']
SELECT DISTINCT ?x WHERE { ?x property:depicts resource:violin . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant violin. Could you tell me the answer for that?
(c(Q838948),P180,Q8355)
Q8355
[{'concept': 'Q838948'}, 'P180', 'Q8355']
[{'concept': 'work of art'}, 'depicts', 'violin']
[]
Q19005808 Q19357201
SYSTEM
Attributes of Music, Orpheus
Q19005808 Q19357201
(c(Q838948),P180,Q8355)
action filter_type
action find_reverse
entity Q8355
relation P180
type Q838948
[ANSWERS] express that musical instrument
[{'concept': 'Q838948'}, 'P180', 'Q8355']
SELECT DISTINCT ?x WHERE { ?x property:P180 resource:Q8355 . ?x rdf:type ontology:Q838948 }
Attributes of Music Orpheus
Attributes of Music and Orpheus express that musical instrument
Attributes of Music Orpheus
action filter_type
action find_reverse
entity violin
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'violin']
SELECT DISTINCT ?x WHERE { ?x property:depicts resource:violin . ?x rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
How many technicss are used for the assembly of approximately 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action count
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?a ) WHERE { ?k rdf:type ontology:Q2695280 . ?w rdf:type ontology:Q838948 . ?w property:P2079 ?k } GROUP BY ?k } . FILTER ( ?a = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?a ) WHERE { ?k rdf:type ontology:technics . ?w rdf:type ontology:work_of_art . ?w property:fabrication_method ?k } GROUP BY ?k } . FILTER ( ?a = 1 ) }
[]
technics work of art
SYSTEM
2
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action count
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?a ) WHERE { ?k rdf:type ontology:Q2695280 . ?w rdf:type ontology:Q838948 . ?w property:P2079 ?k } GROUP BY ?k } . FILTER ( ?a = 1 ) }
gilding collage
2
action count
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?a ) WHERE { ?k rdf:type ontology:technics . ?w rdf:type ontology:work_of_art . ?w property:fabrication_method ?k } GROUP BY ?k } . FILTER ( ?a = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3486131
P106
Q12737077
USER
Which occupation has Skander Cheikh as his/her 's career ?
(Q3486131,P106,c(Q12737077))
action filter_type
action find
entity Q3486131
relation P106
type Q12737077
['Q3486131', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3486131 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Skander Cheikh
action filter_type
action find
entity Skander Cheikh
relation occupation
type occupation
['Skander Cheikh', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Skander_Cheikh property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3486131,P106,c(Q12737077))
action filter_type
action find
entity Q3486131
relation P106
type Q12737077
As [ANSWER] has Skander Cheikh as his/her 's career
['Q3486131', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3486131 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
association football player
As association football player has Skander Cheikh as his/her 's career
association football player
action filter_type
action find
entity Skander Cheikh
relation occupation
type occupation
['Skander Cheikh', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Skander_Cheikh property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19005808
P136
Q1792379
USER
What can be considered as category for Attributes of Music ?
(Q19005808,P136,c(Q1792379))
action filter_type
action find
entity Q19005808
relation P136
type Q1792379
['Q19005808', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1792379 . resource:Q19005808 property:P136 ?s }
Attributes of Music
action filter_type
action find
entity Attributes of Music
relation genre
type art genre
['Attributes of Music', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:art_genre . resource:Attributes_of_Music property:genre ?s }
[]
art genre
Q170571
SYSTEM
still life
Q170571
(Q19005808,P136,c(Q1792379))
action filter_type
action find
entity Q19005808
relation P136
type Q1792379
[ANSWER] can be considered as category for Attributes of Music
['Q19005808', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1792379 . resource:Q19005808 property:P136 ?s }
still life
Still life can be considered as category for Attributes of Music
still life
action filter_type
action find
entity Attributes of Music
relation genre
type art genre
['Attributes of Music', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:art_genre . resource:Attributes_of_Music property:genre ?s }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q170571 Q7939030
P101
Q502895
USER
Does Vlasta Zorko have specialisation in that art genre ?
(Q7939030,P101,Q170571)
action is_in
entity Q7939030
action find
entity Q170571
relation P101
['Q7939030', 'P101', 'Q170571']
ASK WHERE { resource:Q170571 property:P101 resource:Q7939030 }
still life Vlasta Zorko
action is_in
entity Vlasta Zorko
action find
entity still life
relation field of work
['Vlasta Zorko', 'field of work', 'still life']
ASK WHERE { resource:still_life property:field_of_work resource:Vlasta_Zorko }
[]
common name
SYSTEM
NO
(Q7939030,P101,Q170571)
action is_in
entity Q7939030
action find
entity Q170571
relation P101
[ANSWER]
['Q7939030', 'P101', 'Q170571']
ASK WHERE { resource:Q170571 property:P101 resource:Q7939030 }
No
action is_in
entity Vlasta Zorko
action find
entity still life
relation field of work
['Vlasta Zorko', 'field of work', 'still life']
ASK WHERE { resource:still_life property:field_of_work resource:Vlasta_Zorko }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P361
Q847017
USER
What is association football player a part of ?
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?a WHERE { resource:Q937857 property:P361 ?a . ?a rdf:type ontology:Q847017 }
association football player
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?a WHERE { resource:association_football_player property:part_of ?a . ?a rdf:type ontology:sports_club }
[]
sports club
Q476028
SYSTEM
association football club
Q476028
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
Association football player a part of is an [ANSWER]
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?a WHERE { resource:Q937857 property:P361 ?a . ?a rdf:type ontology:Q847017 }
association football club
Association football player a part of is an association football club
association football club
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?a WHERE { resource:association_football_player property:part_of ?a . ?a rdf:type ontology:sports_club }
[]