Re: Concept of Resource

Hi Martynas,

The RDF/JS spec interface is intentionally quite low-level. There are several libraries that take in RDF/JS datasets and create entity/resource-level abstractions

They include the following:

  *
https://rdfjs.dev/ldo
  *
https://github.com/ldflex/ldflex

More libraries high-level can be found at https://rdfjs.dev/.


Kind Regards,

Jesse Wright
DPhil Computer Science
Jesus College
[cid:f68192fa-5c1a-4115-a8e8-7a6331b48bbb]

mailto:jesse.wright@cs.ox.ac.uk
https://www.cs.ox.ac.uk/people/jesse.wright/
https://www.linkedin.com/in/jesse-wright-49823a132/
Book a meeting: https://cal.com/jesse-wright-zdbdal/public
Mobile: +44 7862 381 515
WhatsApp: +61 468 669 019

My work day may look different than yours. Please do not feel obligated to respond outside of your normal working hours.
________________________________
From: Martynas Jusevičius <martynas@atomgraph.com>
Sent: Wednesday, March 26, 2025 12:52 PM
To: public-rdfjs <public-rdfjs@w3.org>
Subject: Concept of Resource

Hi,

I was wondering if RDF/JS, or maybe some extending library, supports -
or should support - a concept of "resource"? As in higher-level
property/value view over the raw triples with the same subject.

RDFLib supports it:
https://rdflib.readthedocs.io/en/stable/_modules/rdflib/resource.html
Jena supports it as well:
https://jena.apache.org/documentation/javadoc/jena/org.apache.jena.core/org/apache/jena/rdf/model/Resource.html


Martynas

Received on Wednesday, 26 March 2025 17:25:02 UTC