Fork me on GitHub
#rdf
<
2021-01-24
>
EmmanuelOga09:01:15

The query API is not that bad.. it is just a bunch of methods filter and props. With this source triples:

:me
  rdf:type schema:Person;
  schema:name "Emmanuel Oga";
  schema:familyName "Oga";
  schema:givenName "Emmanuel";
  schema:jobTitle "Software Engineer";
  schema:knowsLanguage "en-US", "es-ES".
I can find my name like this:
val name = qs.filter(s = ":me").props("schema:name") // -> returns "Emmanuel Oga"