Re: Trasforming and quering RDFs

2022-01-18 Thread Martynas Jusevičius
As for the query, you need to stop thinking in nested objects and start thinking in triples. Could the query be something like this? SELECT ?s ?datatype WHERE { ?s 1 ; ?datatype } You can try it on your data on sparql.org: h

RE: Trasforming and quering RDFs

2022-01-18 Thread Rinor Sefa
Hey, Regarding your problem "I can't find X in the RDF file". In your example, the RDF file is in XML format, which may not be ideal for user reading. Why don't you try to present the RDF in more readable formats such as N3 or Turtle? Rinor Sefa -Original Message- From: Martynas Jusev

Re: Trasforming and quering RDFs

2022-01-18 Thread Martynas Jusevičius
Hi, SPARQL is an RDF query language, so no. But there are tools that can help: https://github.com/AtomGraph/JSON2RDF https://sparql-anything.cc Martynas atomgraph.com On Tue, Jan 18, 2022 at 5:32 PM emri mbiemri wrote: > > Dears, > > In order to have a more scalable knowledge base and easy to

Trasforming and quering RDFs

2022-01-18 Thread emri mbiemri
Dears, In order to have a more scalable knowledge base and easy to query, I have converted JSON files [1] to RDFgraphs [2]. I am trying to get all "Datatype" from "ViewModel" which has a "Type":1. The issue is I cannot find the Type: 1 within the RDF file and if so, I don't know how to query the "