Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Embodiments for a Single Expression #31

Open
eliarizzetto opened this issue Sep 30, 2024 · 0 comments
Open

Multiple Embodiments for a Single Expression #31

eliarizzetto opened this issue Sep 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@eliarizzetto
Copy link
Collaborator

eliarizzetto commented Sep 30, 2024

There are Bibliographic Resources (i.e. entities of type fabio:Expression) that have more than one embodiment, i.e. are connected by the frbr:embodiment property to more than one entity of type fabio:Manifestation.
Although this scenario is indeed compliant with the OpenCitations Data Model, it is very unlikely that Meta has produced such cases "intentionally", given the current logic of the software and the information provided in the data taken from the primary sources. Rather, this seems to be caused by error (see issue #28).

This issue can be reproduced by running the following SPARQL query (endpoint accessed on Sept. 26th, 2024), which returns 10 Bibliographic Resources with more than one fabio:Manifestion, despite being contained only in one venue.

PREFIX frbr: <http://purl.org/vocab/frbr/core#>
PREFIX fabio: <http://purl.org/spar/fabio/>

SELECT ?br (COUNT(DISTINCT ?man) AS ?manCount) ?venue WHERE {
  ?br frbr:partOf ?venue;
    rdf:type fabio:JournalArticle;
    frbr:embodiment ?man.
}
GROUP BY ?br ?venue
HAVING (((COUNT(DISTINCT ?venue)) = 1 ) && ((COUNT(DISTINCT ?man)) > 1 ))
LIMIT 10

Example (query results):

br manCount venue
https://w3id.org/oc/meta/br/062503856318 "2"^^xsd:integer https://w3id.org/oc/meta/br/061701964518
https://w3id.org/oc/meta/br/06204247839 "2"^^xsd:integer https://w3id.org/oc/meta/br/0610560000
https://w3id.org/oc/meta/br/061903893178 "2"^^xsd:integer https://w3id.org/oc/meta/br/062101092804
https://w3id.org/oc/meta/br/061903893178 "2"^^xsd:integer https://w3id.org/oc/meta/br/061503770329
https://w3id.org/oc/meta/br/061803836210 "2"^^xsd:integer https://w3id.org/oc/meta/br/062607399
https://w3id.org/oc/meta/br/06304279610 "2"^^xsd:integer https://w3id.org/oc/meta/br/0612060638
https://w3id.org/oc/meta/br/062603870267 "2"^^xsd:integer https://w3id.org/oc/meta/br/0624027301
https://w3id.org/oc/meta/br/061803866409 "2"^^xsd:integer https://w3id.org/oc/meta/br/0621060976
https://w3id.org/oc/meta/br/061103897145 "2"^^xsd:integer https://w3id.org/oc/meta/br/0619036632
https://w3id.org/oc/meta/br/061103917874 "2"^^xsd:integer https://w3id.org/oc/meta/br/0680753977
@eliarizzetto eliarizzetto added the bug Something isn't working label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant