cwrc / RDF-extraction

0 stars 0 forks source link

Circular relatesByCulturalFormTo relationships in simple triples #28

Open alliyya opened 2 years ago

alliyya commented 2 years ago

image

SusanBrown commented 2 years ago

Not all of these relationships are circular.

On Mar 4, 2022, at 12:00 PM, Alliyya Mo @.**@.>> wrote:

CAUTION: This email originated from outside of the University of Guelph. Do not click links or open attachments unless you recognize the sender and know the content is safe. If in doubt, forward suspicious emails to @.**@.>

[image]https://user-images.githubusercontent.com/10135030/156806378-1aea8856-b752-4bd9-90b6-4453c29ad5e2.png

— Reply to this email directly, view it on GitHubhttps://github.com/cwrc/RDF-extraction/issues/28, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAEFJIHV5AJUWLGV643HJJTU6I6SJANCNFSM5P6B2PAA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.***>

alliyya commented 2 years ago

image

alliyya commented 2 years ago

This might have to do with using the GENDEROFAUTHOR attribute:

Seeing duplicates here:

Object of cwrc:contextFocus and cwrc:culturalFormRelationship is the same, this should get filtered by default

data:herbma_Intertextuality_CulturalForm_1_describing a cwrc:GenderContext ;
    rdfs:label "Delarivier Manley - Gender Context (identifying)" ;
    cwrc:contextFocus <https://commons.cwrc.ca/orlando:49ee9869-3231-4b35-b84d-d65e1785a155> ;
    cwrc:culturalFormRelationship cwrc:New_Atalantis_TITLE,
        cwrc:The_Force_of_Love_or_The_Princess_turnd_Skullion_TITLE,
        <https://commons.cwrc.ca/orlando:49ee9869-3231-4b35-b84d-d65e1785a155> ;
    cwrc:genderReported cwrc:woman ;
    cwrc:hasIDependencyOn data:herbma_Intertextuality_1_identifying ;
    oa:hasTarget _:Ne5cd2d4ef3dd4fc7a65dffe3d5e86bd8 ;
    oa:motivatedBy oa:describing .
alliyya commented 2 years ago

Simple temporary fix without re-extraction is modifying query to include

filter(?contextFocus != ?o)