Replies: 6 comments 18 replies
-
I don’t understand your question but have you looked into “music genre” Q188451? |
Beta Was this translation helpful? Give feedback.
-
Have you seen this https://www.wikidata.org/wiki/Wikidata:WikiProject_Music/Lists/Instance_of_music_genre? |
Beta Was this translation helpful? Give feedback.
-
So are you saying that after reconciliation, the object of triples with predicate P136 are all literals? For something like genre, where we know that there are genre items in wikidata, it seems to me like we didn't actually reconcile those values... |
Beta Was this translation helpful? Give feedback.
-
Yes, there will be a Wikidata URI as the object for P136 unless the original genre URI is the Musicbrainz genre ID, in which case, we will use P8052 instead of P136. |
Beta Was this translation helpful? Give feedback.
-
So that's what we decided to do: graph TD;
A[https://musicbrainz.org/release-group/416bb5e5-c7d1-3977-8fd7-7c9daf6c2be6]--P136--->C[https://musicbrainz.org/genre/797e2e85-5ffd-495c-a757-8b4079052f0e];
C--P2888-->D[https://www.wikidata.org/wiki/Q484641];
Then we use the reasoner in Virtuoso to complete the relation: graph TD;
A[https://musicbrainz.org/release-group/416bb5e5-c7d1-3977-8fd7-7c9daf6c2be6]--P136--->D[https://www.wikidata.org/wiki/Q484641];
|
Beta Was this translation helpful? Give feedback.
-
The reason I mentioned P8052 is because I wanted to ensure that there's an indication that the genre was assigned by MusicBrainz. I'm not sure what's the best way to do this. This is to differentiate from some other music database that uses MusicBrainz genre ID for their assigned genre. |
Beta Was this translation helpful? Give feedback.
-
The principle is generally:
In Wikidata, almost a property is actually either linking another URI(object property) or linking just literal value(data property).
For example, the value of property
wdt:P136
genre are all URI, as you can refer by query:After executing this above, you see the count of URI is 1961941, but no even one literal data.
However, in our reconciliation task, we use string as the value of P136. Does that matter?
Beta Was this translation helpful? Give feedback.
All reactions