SPARQL Access

At the current state a manually compiled sample MMoOn inventory called Open German can be accessed via the SPARQL endpoint provided below. The triples for each sub-ontology have been loaded in a named graph identified by the ontology IRI. However, if you are not interested in restricting queries to specific sub-ontologies, the default graph offers the union of all sub-ontologies/graphs.



With the following sample queries you can explore the existing data:

1. Retrieving all lexemes that have a wordform which consists of a specific suffix:

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX mmoon: <http://mmoon.org/core/>
PREFIX deu_inv: <http://mmoon.org/deu/inventory/og/>

SELECT ?lexeme

WHERE {
  ?lexeme rdf:type mmoon:Lexeme .
  ?lexeme mmoon:hasWordform ?wordform .
  ?wordform mmoon:consistsOfMorph deu_inv:Suffix_en_2 .
}

2. Retrieving homonyms of a specific morph:

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX mmoon: <http://mmoon.org/core/>
PREFIX deu_inv: <http://mmoon.org/deu/inventory/og/>

SELECT ?morph

WHERE {
  ?morph rdf:type mmoon:Morph .
  ?morph mmoon:isHomonymTo deu_inv:Suffix_en_1 .
}

3. Retrieving all morphs that correspond to a specific morpheme:

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX mmoon: <http://mmoon.org/core/>
PREFIX deu_inv: <http://mmoon.org/deu/inventory/og/>

SELECT ?morph

WHERE {
  ?morph rdf:type mmoon:Morph .
  ?morph mmoon:correspondsToMorpheme deu_inv:AtomicMorpheme_INF .
}

Or using the inverse property:

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX mmoon: <http://mmoon.org/core/>
PREFIX deu_inv: <http://mmoon.org/deu/inventory/og/>

SELECT ?morph

WHERE {
  ?morph rdf:type mmoon:Morph .
  deu_inv:AtomicMorpheme_INF mmoon:hasRealization ?morph .
}

4. Retrieving all lexemes that are derived words of a specific lexeme:

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX mmoon: <http://mmoon.org/core/>
PREFIX deu_inv: <http://mmoon.org/deu/inventory/og/>

SELECT ?lexeme

WHERE {
  ?lexeme rdf:type mmoon:Lexeme .
  ?lexeme mmoon:isDerivedFrom deu_inv:Lexeme_kaufen .
}