Simple Question (Direct)
Simple Question
Q981469
P106
Q12737077
USER
Which occupation has Jesús Del Nero as his/her 's career ?
(Q981469,P106,c(Q12737077))
action filter_type
action find
entity Q981469
relation P106
type Q12737077
['Q981469', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q981469 property:P106 ?k }
Jesús Del Nero
action filter_type
action find
entity Jesús Del Nero
relation occupation
type occupation
['Jesús Del Nero', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Jesús_Del_Nero property:occupation ?k }
[]
occupation
Q2309784
SYSTEM
sport cyclist
Q2309784
(Q981469,P106,c(Q12737077))
action filter_type
action find
entity Q981469
relation P106
type Q12737077
The [ANSWER] has Jesús Del Nero as his/her 's career
['Q981469', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q981469 property:P106 ?k }
sport cyclist
The sport cyclist has Jesús Del Nero as his/her 's career
sport cyclist
action filter_type
action find
entity Jesús Del Nero
relation occupation
type occupation
['Jesús Del Nero', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Jesús_Del_Nero property:occupation ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2309784
P180
Q838948
USER
Which works of art demonstrate that occupation ?
(c(Q838948),P180,Q2309784)
action filter_type
action find_reverse
entity Q2309784
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q2309784']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q838948 . ?v property:P180 resource:Q2309784 }
sport cyclist
action filter_type
action find_reverse
entity sport cyclist
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'sport cyclist']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:work_of_art . ?v property:depicts resource:sport_cyclist }
[]
work of art
Q17275612 Q17275677
SYSTEM
Le Tour de France dans les Pyrénées, Le Géant
Q17275612 Q17275677
(c(Q838948),P180,Q2309784)
action filter_type
action find_reverse
entity Q2309784
relation P180
type Q838948
[ANSWERS] demonstrate that occupation
[{'concept': 'Q838948'}, 'P180', 'Q2309784']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q838948 . ?v property:P180 resource:Q2309784 }
Le Tour de France dans les Pyrénées Le Géant
Le Tour de France dans les Pyrénées and Le Géant demonstrate that occupation
Le Tour de France dans les Pyrénées Le Géant
action filter_type
action find_reverse
entity sport cyclist
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'sport cyclist']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:work_of_art . ?v property:depicts resource:sport_cyclist }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17275612
P136
Q483394
USER
What can be considered as category for that work of art ?
(Q17275612,P136,c(Q483394))
action filter_type
action find
entity Q17275612
relation P136
type Q483394
['Q17275612', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q483394 . resource:Q17275612 property:P136 ?r }
Le Tour de France dans les Pyrénées
action filter_type
action find
entity Le Tour de France dans les Pyrénées
relation genre
type genre
['Le Tour de France dans les Pyrénées', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:genre . resource:Le_Tour_de_France_dans_les_Pyrénées property:genre ?r }
[]
genre
Clarification for simple ques.
Q17275612
SYSTEM
Did you mean Le Tour de France dans les Pyrénées ?
Q17275612 Q17275677
(Q17275612,P136,c(Q483394)) (Q17275677,P136,c(Q483394))
[ANSWER]
['Q17275612', 'P136', {'concept': 'Q483394'}] ['Q17275677', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q483394 . resource:Q17275612 property:P136 ?r }
Le Tour de France dans les Pyrénées Le Géant
Did you mean Le Tour de France dans les Pyrénées ?
Le Tour de France dans les Pyrénées
['Le Tour de France dans les Pyrénées', 'genre', {'concept': 'genre'}] ['Le Géant', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:genre . resource:Le_Tour_de_France_dans_les_Pyrénées property:genre ?r }
[]
Simple Question (Coreferenced)
USER
Yes
(Q17275612,P136,c(Q483394))
['Q17275612', 'P136', {'concept': 'Q483394'}]
['Le Tour de France dans les Pyrénées', 'genre', {'concept': 'genre'}]
[]
Q557141
SYSTEM
public art
Q557141
(Q17275612,P136,c(Q483394))
action filter_type
action find
entity Q17275612
relation P136
type Q483394
[ANSWER] can be considered as category for that work of art
['Q17275612', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q483394 . resource:Q17275612 property:P136 ?r }
public art
Public art can be considered as category for that work of art
public art
action filter_type
action find
entity Le Tour de France dans les Pyrénées
relation genre
type genre
['Le Tour de France dans les Pyrénées', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:genre . resource:Le_Tour_de_France_dans_les_Pyrénées property:genre ?r }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q557141 Q20972990
P136
Q838948
USER
Does Equestrian Statue of Louis Botha have that one as genre ?
(Q20972990,P136,Q557141)
action is_in
entity Q557141
action find
entity Q20972990
relation P136
['Q20972990', 'P136', 'Q557141']
ASK WHERE { resource:Q20972990 property:P136 resource:Q557141 }
public art Equestrian Statue of Louis Botha
action is_in
entity public art
action find
entity Equestrian Statue of Louis Botha
relation genre
['Equestrian Statue of Louis Botha', 'genre', 'public art']
ASK WHERE { resource:Equestrian_Statue_of_Louis_Botha property:genre resource:public_art }
[]
work of art
SYSTEM
YES
(Q20972990,P136,Q557141)
action is_in
entity Q557141
action find
entity Q20972990
relation P136
[ANSWER]
['Q20972990', 'P136', 'Q557141']
ASK WHERE { resource:Q20972990 property:P136 resource:Q557141 }
Yes
action is_in
entity public art
action find
entity Equestrian Statue of Louis Botha
relation genre
['Equestrian Statue of Louis Botha', 'genre', 'public art']
ASK WHERE { resource:Equestrian_Statue_of_Louis_Botha property:genre resource:public_art }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8341
P941
Q151885 Q483394
USER
Which concepts inspired around the same number of genres as jazz ?
(c(Q483394),P941,c(Q151885))
action approx
action find_reverse_tuple_counts
relation P941
type Q151885
type Q483394
action count
action filter_type
action find
entity Q8341
relation P941
type Q151885
[{'concept': 'Q483394'}, 'P941', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P941 ?b . ?b rdf:type ontology:Q151885 . ?h rdf:type ontology:Q483394 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Q8341 property:P941 ?n . ?n rdf:type ontology:Q151885 } } . FILTER ( ?j = ?q ) }
jazz
action approx
action find_reverse_tuple_counts
relation inspired by
type concept
type genre
action count
action filter_type
action find
entity jazz
relation inspired by
type concept
[{'concept': 'genre'}, 'inspired by', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:inspired_by ?b . ?b rdf:type ontology:concept . ?h rdf:type ontology:genre } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:jazz property:inspired_by ?n . ?n rdf:type ontology:concept } } . FILTER ( ?j = ?q ) }
[]
concept genre
Q8341 Q2979
SYSTEM
jazz, liberty
Q8341 Q2979
(c(Q483394),P941,c(Q151885))
action approx
action find_reverse_tuple_counts
relation P941
type Q151885
type Q483394
action count
action filter_type
action find
entity Q8341
relation P941
type Q151885
[ANSWERS] inspired around the same number of genres as jazz
[{'concept': 'Q483394'}, 'P941', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P941 ?b . ?b rdf:type ontology:Q151885 . ?h rdf:type ontology:Q483394 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:Q8341 property:P941 ?n . ?n rdf:type ontology:Q151885 } } . FILTER ( ?j = ?q ) }
jazz liberty
Jazz and liberty inspired around the same number of genres as jazz
jazz liberty
action approx
action find_reverse_tuple_counts
relation inspired by
type concept
type genre
action count
action filter_type
action find
entity jazz
relation inspired by
type concept
[{'concept': 'genre'}, 'inspired by', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:inspired_by ?b . ?b rdf:type ontology:concept . ?h rdf:type ontology:genre } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { resource:jazz property:inspired_by ?n . ?n rdf:type ontology:concept } } . FILTER ( ?j = ?q ) }
[]