Hi,
I am trying to make a query(SPARQL) where given a folder I can list content of all resources in that folder. For example: A query with inbox as an endpoint that shows me the title and summary of all the notifications that are inside that folder.
An example of inbox would be this:
@prefix : <#>.
@prefix inbox: <>.
@prefix ldp: <http://www.w3.org/ns/ldp#>.
@prefix terms: <http://purl.org/dc/terms/>.
@prefix XML: <http://www.w3.org/2001/XMLSchema#>.
@prefix st: <http://www.w3.org/ns/posix/stat#>.
@prefix tur: <http://www.w3.org/ns/iana/media-types/text/turtle#>.
inbox:
a ldp:BasicContainer, ldp:Container;
terms:modified "2020-04-01T20:41:34Z"^^XML:dateTime;
ldp:contains
<1585184241983.ttl>, <1585190831744.ttl>, <1585437347737.ttl>,
<1585755866235.ttl>;
st:mtime 1585773694.755;
st:size 4096.
<1585184241983.ttl>
a tur:Resource, ldp:Resource;
terms:modified "2020-04-01T16:36:56Z"^^XML:dateTime;
st:mtime 1585759016.9;
st:size 877.
<1585190831744.ttl>
a tur:Resource, ldp:Resource;
terms:modified "2020-04-01T16:43:35Z"^^XML:dateTime;
st:mtime 1585759415.31;
st:size 877.
<1585437347737.ttl>
a tur:Resource, ldp:Resource;
terms:modified "2020-04-01T16:59:30Z"^^XML:dateTime;
st:mtime 1585760370.042;
st:size 877.
<1585755866235.ttl>
a tur:Resource, ldp:Resource;
terms:modified "2020-04-01T16:35:53Z"^^XML:dateTime;
st:mtime 1585758953.69;
st:size 886.
An example of notification:
@prefix terms: <http://purl.org/dc/terms#>.
@prefix as: <https://www.w3.org/ns/activitystreams#>.
@prefix schema: <http://schema.org/>.
@prefix solid: <https://www.w3.org/ns/solid/terms#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
<> a as:Offer;
schema:license <https://creativecommons.org/licenses/by-sa/4.0/>;
terms:title "Route share";
as:summary "Testing";
as:actor <https://christianpelaez98.solid.community/profile/card#me>;
as:target <https://pruebaChristian.solid.community/profile/card#me>;
as:object <https://christianpelaez98.solid.community/ejemplos/ruta1.ttl>;
solid:read "true"^^xsd:boolean;
as:published "2020-03-26T00:57:21.984Z"^^xsd:dateTime.
Anybody got an idea? I have searched the forum and issues but I have not found anything that talks about this. Thanks!!