Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Spatial knowledge graphs

Anita Graser edited this page Dec 15, 2023 · 11 revisions

There is no single commonly accepted definition of a knowledge graph.

Examples

Recent initiatives building geospatial knowledge graphs include:

Archiving Knowledge graphs

RDF triples can simply be archived as CSV, e.g. in what is known as N-Triples format:

image source: https://medium.com/wallscope/understanding-linked-data-formats-rdf-xml-vs-turtle-vs-n-triples-eb931dbe9827

However there are other formats and guidelines:

RDF 1.1 Concepts and Abstract Syntax defines a data model. It does not define a specific format to encode RDF data. A number of RDF formats exist, serving different purposes.

  • Recommendation REC/OWL/encoding/turtle ... INSPIRE RDF data should be encoded in Turtle.
  • Permission PMS/OWL/encoding/other ... INSPIRE RDF data may be encoded in other RDF formats, such as N-Triples and XML.

Encoding formats

For example, exports of the EU Knowledge Graph can be accessed under https://data.linkedopendata.eu/ as turtle .ttl files.

TTL (pronounced ‘turtle’) stands for “Terse RDF Triple Language” and is a file format used to express RDF data—a common alternative to N-Triples, JSON-LD, and XML in the RDF space. The format .ttl is a W3C standard that is described as a “general-purpose language for representing information in the web”. Representing RDF, .ttl files store facts as triples, and TriG is an extension of TTL that accepts quads (to utilise named graphs). (source: https://www.oxfordsemantic.tech/faqs/what-is-a-ttl-file)

Behavior

In addition to SPARQL (a W3C standard declarative query language for querying graph data) there is also Cypher for Neo4j which was opened up through the openCypher project in October 2015.

Spatial support is available via GeoSPARQL and Cypher spatial functions, respectively.

Challenges

Challenges for archiving knowledge graphs include:

  • Many thesauri are not stable enough for long-term archiving
  • Graph database exports, e.g., from Neo4J may contain more information than can be represented in RFD triples. However, the Neosemantics plugin enables the use of RDF in Neo4j (import and export of RDF, e.g. in turtle format).
Clone this wiki locally