Thread:Semantic-mediawiki.org:Community portal/Album-to-song and tracklists relationships/reply (4)

In case you go with the #subobject then your data model will most likely be something like:


 * An ALBUM is represented by a wikipage ->
 * Subobjects are embedded in a page to represent each individual song ->
 * Each song has attributes like:
 * Song title
 * Song index
 * Song length
 * Song author/composer/writer (optional in case it is a compilation where a song can have different writers from the Album)
 * etc.

As demonstrated you attach attributes/properties to an individual song which a #subobject not a page (we are talking about an entity)

If you want to split an ALBUM/SONG by page/subpage then you can take a similar approach only that subobjects need to contain a reference to the album.

For example, looking for an album of song writer YYY where you want to see songs with title and length -> Has song writer::YYY|?Song title|?Song length.