Closed ccolonna closed 3 years ago
?artistBirthPlaceCode
or ?artistCareerStartPlace
the song is not retrieved at all, while we want this two attributes to be optional. We're now asking for:
# Recordings with artists
?recording xyz:track%5Fid ?recordingID ;
xyz:artists ?artistList .
# artist
?artistList ?li ?artist .
?artist xyz:name%5Firi ?artistID ;
xyz:name ?artistLabel ;
xyz:country ?artistBirthPlaceCode ;
xyz:start%5Fplace ?artistCareerStartPlace .
We probably want something like:
{
# Recordings with artists
?recording xyz:track%5Fid ?recordingID ;
xyz:artists ?artistList .
# artist
?artistList ?li ?artist .
?artist xyz:name%5Firi ?artistID .
}
UNION
{
# Recordings with artists with labels
?recording xyz:track%5Fid ?recordingID ;
xyz:artists ?artistList .
# artist
?artistList ?li ?artist .
?artist xyz:name%5Firi ?artistID ;
xyz:name ?artistLabel .
}
UNION
{
# Recordings with artists with brithplace and carrer start place
?recording xyz:track%5Fid ?recordingID ;
xyz:artists ?artistList .
# artist
?artistList ?li ?artist .
?artist xyz:name%5Firi ?artistID ;
xyz:country ?artistBirthPlaceCode ;
xyz:start%5Fplace ?artistCareerStartPlace .
}
Closed with this https://github.com/polifonia-project/KG_data_transformation/commit/ddcb573f46716ab5d4a7aee48069fb202401529b
Working testbed is this
Running testbed-0.0.2 on KG output of query-0.0.4