/
Knowledge Graphen & WLO

Knowledge Graphen & WLO

Wir wollen Knowledge Graph Technologie an WLO anbinden und dort nutzbar machen. Dazu soll ein erstes Oberflächen-Multi-Widget entstehen, welches die Möglichkeiten darstellen kann.

Bitte auf dieser Seite folgende Informationen hinterlegen:

Welche Daten sind vorhanden und in welchem Zustand sind sie?

Daten

Zustand (wann zuletzt eingespielt oder aktualisiert , etc.)

Daten

Zustand (wann zuletzt eingespielt oder aktualisiert , etc.)

  • WLO Inhalte/Ressourcen

WLO Metadata Dump eingespielt 06.2024 (die Idee ist, dies wöchentlich zu tun)

  • Lehrpläne (Berlin-Brandenburg)

 

  • ESCO Kompetenzen

 

  • Sachgebietssystematik

 

  • EAF-Systematik

 

  • Hochschulfachsystematik

 

  • Mappings zw. den Systematiken

 

  • OERSI-Inhalte

OERSI ist jetzt beinhaltet in WLO Metadata

  • Themenbäume

 

  • Verknüpfungen von WLO-Daten und Lehrplänen zu

    • Wikipedia-Kategorien

    • Wikidata

    • Wordnet

    • DBpedia

    • Wiktionary

Alle WLO Metadata in Yovisto KGs (https://edu.yovisto.com/sparql2 ) ist angereichert mit Wikipedia, Wikidata, Wordnet und Wiktionary Metadata

Weitere? (z.B. Inhaltetyp Person, Projekt, o.a.

 

Wie kann man die Daten abfragen und wie sehen die Ergebnisse aus?

 

Java

Python

Java

Python

import org.apache.jena.query.*; public class SparqlExample { public static void main(String[] args) { String sparqlEndpoint = "https://edu.yovisto.com/sparql2"; String queryString = "Select ?element_1 ?element2 ..."; Query query = QueryFactory.create(queryString); QueryExecution qExec = QueryExecutionFactory.sparqlService(sparqlEndpoint, query); try { ResultSet results = qExec.execSelect(); while (results.hasNext()) { QuerySolution soln = results.nextSolution(); String element_1 = soln.getResource("element_1").getURI(); String element_2 = soln.getLiteral("element_2").getURI(); System.out.println("Element_1: " + element_1 + ", Element 2: " + element_2); } } finally { qExec.close(); } } }
from SPARQLWrapper import SPARQLWrapper, JSON sparql = SPARQLWrapper("https://edu.yovisto.com/sparql2") sparql.setQuery(""" Select ?element_1 ?element2 ... """) sparql.setReturnFormat(JSON) results = sparql.query().convert() for result in results["results"]["bindings"]: print(f"Element 1: {result['element_1']['value']}") print(f"Element 2: {result['element_2']['value']}") print()

 

# Beispielhafte SPARQL-ABFRAGE für Wikipedia Artikel # __IDENTIFIER__ ersetzen mit WLO Resource Identifier select distinct ?dbpedia_context, ?wlo_ref, ?wikipedia_ref, ?name, ?description where { VALUES ?resource_input { <https://edu.yovisto.com/wlo/resource/__IDENTIFIER__> } ?resource_input a <https://schema.org/CreativeWork> . ?resource_input <https://schema.org/name> ?name . OPTIONAL { ?resource_input <https://schema.org/description> ?description . } ?resource_input <https://w3id.org/curriculum/hasAnnotationTarget> ?nif_context_output . ?dbpedia_context <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#referenceContext> ?nif_context_output . ?dbpedia_context <http://www.w3.org/2005/11/its/rdf#taAnnotatorsRef> <http://www.dbpedia-spotlight.org> . ?dbpedia_context <http://www.w3.org/2005/11/its/rdf#taIdentRef> ?dbpedia_resource . BIND (REPLACE(str(?dbpedia_resource), "http://de.dbpedia.org/resource/", "https://de.wikipedia.org/wiki/") AS ?wikipedia_article) BIND (URI(?wikipedia_article) as ?wikipedia_ref) BIND (REPLACE(str(?resource_input), "https://edu.yovisto.com/wlo/resource/", "https://redaktion.openeduhub.net/edu-sharing/components/render/") AS ?wlo_page) BIND (URI(?wlo_page) as ?wlo_ref) optional { ?process <http://purl.obolibrary.org/obo/OBI_0000293> ?nif_context_output . ?process a <https://edu.yovisto.com/ontology/AnnotationProcessDBpedia> . } filter ( bound(?process) ) }
#Ergebnis hier anschauen in HTML Format https://edu.yovisto.com/sparql2?default-graph-uri=&qtxt=select+distinct+%3Fdbpedia_context%2C+%3Fwlo_ref%2C+%3Fwikipedia_ref%2C+%3Fname%2C+%3Fdescription++where+%7B%0D%0AVALUES+%3Fresource_input+%7B+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F95993710-4470-4d66-a4ac-50b1cbb7a982%3E+%7D%0D%0A%3Fresource_input+a+%3Chttps%3A%2F%2Fschema.org%2FCreativeWork%3E+.%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fname%3E+%3Fname+.%0D%0AOPTIONAL+%7B%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fdescription%3E+%3Fdescription+.%0D%0A%7D%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fw3id.org%2Fcurriculum%2FhasAnnotationTarget%3E++%3Fnif_context_output+.%0D%0A%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fpersistence.uni-leipzig.org%2Fnlp2rdf%2Fontologies%2Fnif-core%23referenceContext%3E+%3Fnif_context_output+.%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taAnnotatorsRef%3E+%3Chttp%3A%2F%2Fwww.dbpedia-spotlight.org%3E+.%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taIdentRef%3E+%3Fdbpedia_resource+.%0D%0ABIND+%28REPLACE%28str%28%3Fdbpedia_resource%29%2C+%22http%3A%2F%2Fde.dbpedia.org%2Fresource%2F%22%2C+%22https%3A%2F%2Fde.wikipedia.org%2Fwiki%2F%22%29+AS+%3Fwikipedia_article%29%0D%0ABIND+%28URI%28%3Fwikipedia_article%29+as+%3Fwikipedia_ref%29%0D%0ABIND+%28REPLACE%28str%28%3Fresource_input%29%2C+%22https%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F%22%2C+%22https%3A%2F%2Fredaktion.openeduhub.net%2Fedu-sharing%2Fcomponents%2Frender%2F%22%29+AS+%3Fwlo_page%29%0D%0ABIND+%28URI%28%3Fwlo_page%29+as+%3Fwlo_ref%29%0D%0A%0D%0Aoptional+%7B%0D%0A%3Fprocess+%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FOBI_0000293%3E+%3Fnif_context_output+.%0D%0A%3Fprocess+a+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fontology%2FAnnotationProcessDBpedia%3E+.%0D%0A%7D%0D%0Afilter+%28+bound%28%3Fprocess%29+%29+%0D%0A%7D%0D%0A%0D%0A&format=text%2Fhtml&should-sponge=&timeout=0&signal_void=on #Ergebnis hier anschauen in JSON Format https://edu.yovisto.com/sparql2?default-graph-uri=&qtxt=select+distinct+%3Fdbpedia_context%2C+%3Fwlo_ref%2C+%3Fwikipedia_ref%2C+%3Fname%2C+%3Fdescription++where+%7B%0D%0AVALUES+%3Fresource_input+%7B+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F95993710-4470-4d66-a4ac-50b1cbb7a982%3E+%7D%0D%0A%3Fresource_input+a+%3Chttps%3A%2F%2Fschema.org%2FCreativeWork%3E+.%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fname%3E+%3Fname+.%0D%0AOPTIONAL+%7B%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fdescription%3E+%3Fdescription+.%0D%0A%7D%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fw3id.org%2Fcurriculum%2FhasAnnotationTarget%3E++%3Fnif_context_output+.%0D%0A%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fpersistence.uni-leipzig.org%2Fnlp2rdf%2Fontologies%2Fnif-core%23referenceContext%3E+%3Fnif_context_output+.%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taAnnotatorsRef%3E+%3Chttp%3A%2F%2Fwww.dbpedia-spotlight.org%3E+.%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taIdentRef%3E+%3Fdbpedia_resource+.%0D%0ABIND+%28REPLACE%28str%28%3Fdbpedia_resource%29%2C+%22http%3A%2F%2Fde.dbpedia.org%2Fresource%2F%22%2C+%22https%3A%2F%2Fde.wikipedia.org%2Fwiki%2F%22%29+AS+%3Fwikipedia_article%29%0D%0ABIND+%28URI%28%3Fwikipedia_article%29+as+%3Fwikipedia_ref%29%0D%0ABIND+%28REPLACE%28str%28%3Fresource_input%29%2C+%22https%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F%22%2C+%22https%3A%2F%2Fredaktion.openeduhub.net%2Fedu-sharing%2Fcomponents%2Frender%2F%22%29+AS+%3Fwlo_page%29%0D%0ABIND+%28URI%28%3Fwlo_page%29+as+%3Fwlo_ref%29%0D%0A%0D%0Aoptional+%7B%0D%0A%3Fprocess+%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FOBI_0000293%3E+%3Fnif_context_output+.%0D%0A%3Fprocess+a+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fontology%2FAnnotationProcessDBpedia%3E+.%0D%0A%7D%0D%0Afilter+%28+bound%28%3Fprocess%29+%29+%0D%0A%7D%0D%0A&format=application%2Fsparql-results%2Bjson&should-sponge=&timeout=0&signal_void=on
# Beispielhafte SPARQL-ABFRAGE für Wikipedia Artikel mit Bild-Link und Wikipedia Comment # __IDENTIFIER__ ersetzen mit WLO Resource Identifier select distinct ?wlo_ref, ?wikipedia_ref, ?depiction, ?wikipedia_comment where { VALUES ?resource_input { <https://edu.yovisto.com/wlo/resource/__IDENTIFIER__> } ?resource_input a <https://schema.org/CreativeWork> . ?resource_input <https://schema.org/name> ?name . OPTIONAL { ?resource_input <https://schema.org/description> ?description . } ?resource_input <https://w3id.org/curriculum/hasAnnotationTarget> ?nif_context_output . ?dbpedia_context <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#referenceContext> ?nif_context_output . ?dbpedia_context <http://www.w3.org/2005/11/its/rdf#taAnnotatorsRef> <http://www.dbpedia-spotlight.org> . ?dbpedia_context <http://www.w3.org/2005/11/its/rdf#taIdentRef> ?dbpedia_resource . OPTIONAL { ?dbpedia_resource rdfs:comment ?wikipedia_comment . } OPTIONAL { ?dbpedia_resource <http://xmlns.com/foaf/0.1/depiction> ?depiction . } BIND (REPLACE(str(?dbpedia_resource), "http://de.dbpedia.org/resource/", "https://de.wikipedia.org/wiki/") AS ?wikipedia_article) BIND (URI(?wikipedia_article) as ?wikipedia_ref) BIND (REPLACE(str(?resource_input), "https://edu.yovisto.com/wlo/resource/", "https://redaktion.openeduhub.net/edu-sharing/components/render/") AS ?wlo_page) BIND (URI(?wlo_page) as ?wlo_ref) optional { ?process <http://purl.obolibrary.org/obo/OBI_0000293> ?nif_context_output . ?process a <https://edu.yovisto.com/ontology/AnnotationProcessDBpedia> . } filter ( bound(?process) ) }
# Ergebnis hier anschauen in HTML Format https://edu.yovisto.com/sparql2?default-graph-uri=&qtxt=select+distinct+%3Fwlo_ref%2C+%3Fwikipedia_ref%2C+%3Fdepiction%2C+%3Fwikipedia_comment++where+%7B%0D%0AVALUES+%3Fresource_input+%7B+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F95993710-4470-4d66-a4ac-50b1cbb7a982%3E+%7D%0D%0A%3Fresource_input+a+%3Chttps%3A%2F%2Fschema.org%2FCreativeWork%3E+.%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fname%3E+%3Fname+.%0D%0AOPTIONAL+%7B%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fdescription%3E+%3Fdescription+.%0D%0A%7D%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fw3id.org%2Fcurriculum%2FhasAnnotationTarget%3E++%3Fnif_context_output+.%0D%0A%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fpersistence.uni-leipzig.org%2Fnlp2rdf%2Fontologies%2Fnif-core%23referenceContext%3E+%3Fnif_context_output+.%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taAnnotatorsRef%3E+%3Chttp%3A%2F%2Fwww.dbpedia-spotlight.org%3E+.%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taIdentRef%3E+%3Fdbpedia_resource+.%0D%0AOPTIONAL+%7B%0D%0A%3Fdbpedia_resource+rdfs%3Acomment+%3Fwikipedia_comment+.%0D%0A%7D%0D%0AOPTIONAL+%7B%0D%0A%3Fdbpedia_resource+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2Fdepiction%3E+%3Fdepiction+.%0D%0A%7D%0D%0ABIND+%28REPLACE%28str%28%3Fdbpedia_resource%29%2C+%22http%3A%2F%2Fde.dbpedia.org%2Fresource%2F%22%2C+%22https%3A%2F%2Fde.wikipedia.org%2Fwiki%2F%22%29+AS+%3Fwikipedia_article%29%0D%0ABIND+%28URI%28%3Fwikipedia_article%29+as+%3Fwikipedia_ref%29%0D%0ABIND+%28REPLACE%28str%28%3Fresource_input%29%2C+%22https%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F%22%2C+%22https%3A%2F%2Fredaktion.openeduhub.net%2Fedu-sharing%2Fcomponents%2Frender%2F%22%29+AS+%3Fwlo_page%29%0D%0ABIND+%28URI%28%3Fwlo_page%29+as+%3Fwlo_ref%29%0D%0A%0D%0Aoptional+%7B%0D%0A%3Fprocess+%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FOBI_0000293%3E+%3Fnif_context_output+.%0D%0A%3Fprocess+a+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fontology%2FAnnotationProcessDBpedia%3E+.%0D%0A%7D%0D%0Afilter+%28+bound%28%3Fprocess%29+%29+%0D%0A%7D%0D%0A&format=text%2Fhtml&should-sponge=&timeout=0&signal_void=on # Ergebnis hier anschauen in JSON Format https://edu.yovisto.com/sparql2?default-graph-uri=&qtxt=select+distinct+%3Fwlo_ref%2C+%3Fwikipedia_ref%2C+%3Fdepiction%2C+%3Fwikipedia_comment++where+%7B%0D%0AVALUES+%3Fresource_input+%7B+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F95993710-4470-4d66-a4ac-50b1cbb7a982%3E+%7D%0D%0A%3Fresource_input+a+%3Chttps%3A%2F%2Fschema.org%2FCreativeWork%3E+.%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fname%3E+%3Fname+.%0D%0AOPTIONAL+%7B%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fdescription%3E+%3Fdescription+.%0D%0A%7D%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fw3id.org%2Fcurriculum%2FhasAnnotationTarget%3E++%3Fnif_context_output+.%0D%0A%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fpersistence.uni-leipzig.org%2Fnlp2rdf%2Fontologies%2Fnif-core%23referenceContext%3E+%3Fnif_context_output+.%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taAnnotatorsRef%3E+%3Chttp%3A%2F%2Fwww.dbpedia-spotlight.org%3E+.%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taIdentRef%3E+%3Fdbpedia_resource+.%0D%0AOPTIONAL+%7B%0D%0A%3Fdbpedia_resource+rdfs%3Acomment+%3Fwikipedia_comment+.%0D%0A%7D%0D%0AOPTIONAL+%7B%0D%0A%3Fdbpedia_resource+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2Fdepiction%3E+%3Fdepiction+.%0D%0A%7D%0D%0ABIND+%28REPLACE%28str%28%3Fdbpedia_resource%29%2C+%22http%3A%2F%2Fde.dbpedia.org%2Fresource%2F%22%2C+%22https%3A%2F%2Fde.wikipedia.org%2Fwiki%2F%22%29+AS+%3Fwikipedia_article%29%0D%0ABIND+%28URI%28%3Fwikipedia_article%29+as+%3Fwikipedia_ref%29%0D%0ABIND+%28REPLACE%28str%28%3Fresource_input%29%2C+%22https%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F%22%2C+%22https%3A%2F%2Fredaktion.openeduhub.net%2Fedu-sharing%2Fcomponents%2Frender%2F%22%29+AS+%3Fwlo_page%29%0D%0ABIND+%28URI%28%3Fwlo_page%29+as+%3Fwlo_ref%29%0D%0A%0D%0Aoptional+%7B%0D%0A%3Fprocess+%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FOBI_0000293%3E+%3Fnif_context_output+.%0D%0A%3Fprocess+a+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fontology%2FAnnotationProcessDBpedia%3E+.%0D%0A%7D%0D%0Afilter+%28+bound%28%3Fprocess%29+%29+%0D%0A%7D&format=application%2Fsparql-results%2Bjson&should-sponge=&timeout=0&signal_void=on

 

# Beispielhafte SPARQL-ABFRAGE für Wikipeida Kategorieen # __IDENTIFIER__ ersetzen mit WLO Resource Identifier select distinct ?wlo_ref, ?wikipedia_ref, ?wikipedia_category_ref where { VALUES ?resource_input { <https://edu.yovisto.com/wlo/resource/__IDENTIFIER__> } ?resource_input a <https://schema.org/CreativeWork> . ?resource_input <https://schema.org/name> ?name . OPTIONAL { ?resource_input <https://schema.org/description> ?description . } ?resource_input <https://w3id.org/curriculum/hasAnnotationTarget> ?nif_context_output . ?dbpedia_context <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#referenceContext> ?nif_context_output . ?dbpedia_context <http://www.w3.org/2005/11/its/rdf#taAnnotatorsRef> <http://www.dbpedia-spotlight.org> . ?dbpedia_context <http://www.w3.org/2005/11/its/rdf#taIdentRef> ?dbpedia_resource . OPTIONAL { ?dbpedia_resource <http://purl.org/dc/terms/subject> ?dbpedia_category . BIND (REPLACE(str(?dbpedia_category), "http://de.dbpedia.org/resource/", "https://de.wikipedia.org/wiki/") AS ?wikipedia_category) BIND (URI(?wikipedia_category) as ?wikipedia_category_ref) } BIND (REPLACE(str(?dbpedia_resource), "http://de.dbpedia.org/resource/", "https://de.wikipedia.org/wiki/") AS ?wikipedia_article) BIND (URI(?wikipedia_article) as ?wikipedia_ref) BIND (REPLACE(str(?resource_input), "https://edu.yovisto.com/wlo/resource/", "https://redaktion.openeduhub.net/edu-sharing/components/render/") AS ?wlo_page) BIND (URI(?wlo_page) as ?wlo_ref) optional { ?process <http://purl.obolibrary.org/obo/OBI_0000293> ?nif_context_output . ?process a <https://edu.yovisto.com/ontology/AnnotationProcessDBpedia> . } filter ( bound(?process) ) }
# Ergebnis hier anschauen in HTML Format https://edu.yovisto.com/sparql2?default-graph-uri=&qtxt=select+distinct+%3Fwlo_ref%2C+%3Fwikipedia_ref%2C+%3Fwikipedia_category_ref++where+%7B%0D%0AVALUES+%3Fresource_input+%7B+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F95993710-4470-4d66-a4ac-50b1cbb7a982%3E+%7D%0D%0A%3Fresource_input+a+%3Chttps%3A%2F%2Fschema.org%2FCreativeWork%3E+.%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fname%3E+%3Fname+.%0D%0AOPTIONAL+%7B%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fdescription%3E+%3Fdescription+.%0D%0A%7D%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fw3id.org%2Fcurriculum%2FhasAnnotationTarget%3E++%3Fnif_context_output+.%0D%0A%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fpersistence.uni-leipzig.org%2Fnlp2rdf%2Fontologies%2Fnif-core%23referenceContext%3E+%3Fnif_context_output+.%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taAnnotatorsRef%3E+%3Chttp%3A%2F%2Fwww.dbpedia-spotlight.org%3E+.%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taIdentRef%3E+%3Fdbpedia_resource+.%0D%0AOPTIONAL+%7B%0D%0A%3Fdbpedia_resource+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2Fsubject%3E+%3Fdbpedia_category+.%0D%0ABIND+%28REPLACE%28str%28%3Fdbpedia_category%29%2C+%22http%3A%2F%2Fde.dbpedia.org%2Fresource%2F%22%2C+%22https%3A%2F%2Fde.wikipedia.org%2Fwiki%2F%22%29+AS+%3Fwikipedia_category%29%0D%0ABIND+%28URI%28%3Fwikipedia_category%29+as+%3Fwikipedia_category_ref%29%0D%0A%0D%0A%7D%0D%0A%0D%0ABIND+%28REPLACE%28str%28%3Fdbpedia_resource%29%2C+%22http%3A%2F%2Fde.dbpedia.org%2Fresource%2F%22%2C+%22https%3A%2F%2Fde.wikipedia.org%2Fwiki%2F%22%29+AS+%3Fwikipedia_article%29%0D%0ABIND+%28URI%28%3Fwikipedia_article%29+as+%3Fwikipedia_ref%29%0D%0ABIND+%28REPLACE%28str%28%3Fresource_input%29%2C+%22https%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F%22%2C+%22https%3A%2F%2Fredaktion.openeduhub.net%2Fedu-sharing%2Fcomponents%2Frender%2F%22%29+AS+%3Fwlo_page%29%0D%0ABIND+%28URI%28%3Fwlo_page%29+as+%3Fwlo_ref%29%0D%0A%0D%0Aoptional+%7B%0D%0A%3Fprocess+%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FOBI_0000293%3E+%3Fnif_context_output+.%0D%0A%3Fprocess+a+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fontology%2FAnnotationProcessDBpedia%3E+.%0D%0A%7D%0D%0Afilter+%28+bound%28%3Fprocess%29+%29+%0D%0A%7D%0D%0A&format=text%2Fhtml&should-sponge=&timeout=0&signal_void=on # Ergebnis hier anschauen in JSON Format https://edu.yovisto.com/sparql2?default-graph-uri=&qtxt=select+distinct+%3Fwlo_ref%2C+%3Fwikipedia_ref%2C+%3Fwikipedia_category_ref++where+%7B%0D%0AVALUES+%3Fresource_input+%7B+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F95993710-4470-4d66-a4ac-50b1cbb7a982%3E+%7D%0D%0A%3Fresource_input+a+%3Chttps%3A%2F%2Fschema.org%2FCreativeWork%3E+.%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fname%3E+%3Fname+.%0D%0AOPTIONAL+%7B%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fdescription%3E+%3Fdescription+.%0D%0A%7D%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fw3id.org%2Fcurriculum%2FhasAnnotationTarget%3E++%3Fnif_context_output+.%0D%0A%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fpersistence.uni-leipzig.org%2Fnlp2rdf%2Fontologies%2Fnif-core%23referenceContext%3E+%3Fnif_context_output+.%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taAnnotatorsRef%3E+%3Chttp%3A%2F%2Fwww.dbpedia-spotlight.org%3E+.%0D%0A%3Fdbpedia_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taIdentRef%3E+%3Fdbpedia_resource+.%0D%0AOPTIONAL+%7B%0D%0A%3Fdbpedia_resource+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2Fsubject%3E+%3Fdbpedia_category+.%0D%0ABIND+%28REPLACE%28str%28%3Fdbpedia_category%29%2C+%22http%3A%2F%2Fde.dbpedia.org%2Fresource%2F%22%2C+%22https%3A%2F%2Fde.wikipedia.org%2Fwiki%2F%22%29+AS+%3Fwikipedia_category%29%0D%0ABIND+%28URI%28%3Fwikipedia_category%29+as+%3Fwikipedia_category_ref%29%0D%0A%0D%0A%7D%0D%0A%0D%0ABIND+%28REPLACE%28str%28%3Fdbpedia_resource%29%2C+%22http%3A%2F%2Fde.dbpedia.org%2Fresource%2F%22%2C+%22https%3A%2F%2Fde.wikipedia.org%2Fwiki%2F%22%29+AS+%3Fwikipedia_article%29%0D%0ABIND+%28URI%28%3Fwikipedia_article%29+as+%3Fwikipedia_ref%29%0D%0ABIND+%28REPLACE%28str%28%3Fresource_input%29%2C+%22https%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F%22%2C+%22https%3A%2F%2Fredaktion.openeduhub.net%2Fedu-sharing%2Fcomponents%2Frender%2F%22%29+AS+%3Fwlo_page%29%0D%0ABIND+%28URI%28%3Fwlo_page%29+as+%3Fwlo_ref%29%0D%0A%0D%0Aoptional+%7B%0D%0A%3Fprocess+%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FOBI_0000293%3E+%3Fnif_context_output+.%0D%0A%3Fprocess+a+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fontology%2FAnnotationProcessDBpedia%3E+.%0D%0A%7D%0D%0Afilter+%28+bound%28%3Fprocess%29+%29+%0D%0A%7D&format=application%2Fsparql-results%2Bjson&should-sponge=&timeout=0&signal_void=on
# Beispielhafte SPARQL-ABFRAGE für Wordnet + Dbnary # __IDENTIFIER__ ersetzen mit WLO Resource Identifier select distinct ?wordnet_context, ?wlo_ref, ?wordnet_resource, ?dbnary_resource, ?name, ?description where { VALUES ?resource_input { <https://edu.yovisto.com/wlo/resource/__IDENTIFIER__> } ?resource_input a <https://schema.org/CreativeWork> . ?resource_input <https://schema.org/name> ?name . OPTIONAL { ?resource_input <https://schema.org/description> ?description . } ?resource_input <https://w3id.org/curriculum/hasAnnotationTarget> ?nif_context_output . ?wordnet_context <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#referenceContext> ?nif_context_output . ?wordnet_context <http://www.w3.org/2005/11/its/rdf#taAnnotatorsRef> <https://spacy.io> . ?wordnet_context <http://www.w3.org/2005/11/its/rdf#taIdentRef> ?wordnet_resource . ?wordnet_context <http://www.w3.org/2005/11/its/rdf#termInfoRef> ?dbnary_resource . BIND (REPLACE(str(?resource_input), "https://edu.yovisto.com/wlo/resource/", "https://redaktion.openeduhub.net/edu-sharing/components/render/") AS ?wlo_page) BIND (URI(?wlo_page) as ?wlo_ref) optional { ?process <http://purl.obolibrary.org/obo/OBI_0000293> ?nif_context_output . ?process a <https://edu.yovisto.com/ontology/AnnotationProcessWordnet> . } filter ( bound(?process) ) filter STRSTARTS(str(?wordnet_resource), "https://en-word.net") }
# Ergebnis hier anschauen in HTML Format https://edu.yovisto.com/sparql2?default-graph-uri=&qtxt=select+distinct+%3Fwordnet_context%2C+%3Fwlo_ref%2C+%3Fwordnet_resource%2C+%3Fdbnary_resource%2C+%3Fname%2C+%3Fdescription+where+%7B%0D%0AVALUES+%3Fresource_input+%7B+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F95993710-4470-4d66-a4ac-50b1cbb7a982%3E+%7D%0D%0A%3Fresource_input+a+%3Chttps%3A%2F%2Fschema.org%2FCreativeWork%3E+.%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fname%3E+%3Fname+.%0D%0AOPTIONAL+%7B%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fdescription%3E+%3Fdescription+.%0D%0A%7D%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fw3id.org%2Fcurriculum%2FhasAnnotationTarget%3E++%3Fnif_context_output+.%0D%0A%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fpersistence.uni-leipzig.org%2Fnlp2rdf%2Fontologies%2Fnif-core%23referenceContext%3E+%3Fnif_context_output+.%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taAnnotatorsRef%3E+%3Chttps%3A%2F%2Fspacy.io%3E+.%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taIdentRef%3E+%3Fwordnet_resource+.%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23termInfoRef%3E+%3Fdbnary_resource+.%0D%0A%0D%0ABIND+%28REPLACE%28str%28%3Fresource_input%29%2C+%22https%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F%22%2C+%22https%3A%2F%2Fredaktion.openeduhub.net%2Fedu-sharing%2Fcomponents%2Frender%2F%22%29+AS+%3Fwlo_page%29%0D%0ABIND+%28URI%28%3Fwlo_page%29+as+%3Fwlo_ref%29%0D%0A%0D%0Aoptional+%7B%0D%0A%3Fprocess+%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FOBI_0000293%3E+%3Fnif_context_output+.%0D%0A%3Fprocess+a+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fontology%2FAnnotationProcessWordnet%3E+.%0D%0A%7D%0D%0Afilter+%28+bound%28%3Fprocess%29+%29+%0D%0Afilter+STRSTARTS%28str%28%3Fwordnet_resource%29%2C+%22https%3A%2F%2Fen-word.net%22%29%0D%0A%7D%0D%0A&format=text%2Fhtml&should-sponge=&timeout=0&signal_void=on # Ergebnis hier anschauen in JSON Format https://edu.yovisto.com/sparql2?default-graph-uri=&qtxt=select+distinct+%3Fwordnet_context%2C+%3Fwlo_ref%2C+%3Fwordnet_resource%2C+%3Fdbnary_resource%2C+%3Fname%2C+%3Fdescription+where+%7B%0D%0AVALUES+%3Fresource_input+%7B+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F95993710-4470-4d66-a4ac-50b1cbb7a982%3E+%7D%0D%0A%3Fresource_input+a+%3Chttps%3A%2F%2Fschema.org%2FCreativeWork%3E+.%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fname%3E+%3Fname+.%0D%0AOPTIONAL+%7B%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fdescription%3E+%3Fdescription+.%0D%0A%7D%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fw3id.org%2Fcurriculum%2FhasAnnotationTarget%3E++%3Fnif_context_output+.%0D%0A%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fpersistence.uni-leipzig.org%2Fnlp2rdf%2Fontologies%2Fnif-core%23referenceContext%3E+%3Fnif_context_output+.%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taAnnotatorsRef%3E+%3Chttps%3A%2F%2Fspacy.io%3E+.%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taIdentRef%3E+%3Fwordnet_resource+.%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23termInfoRef%3E+%3Fdbnary_resource+.%0D%0A%0D%0ABIND+%28REPLACE%28str%28%3Fresource_input%29%2C+%22https%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F%22%2C+%22https%3A%2F%2Fredaktion.openeduhub.net%2Fedu-sharing%2Fcomponents%2Frender%2F%22%29+AS+%3Fwlo_page%29%0D%0ABIND+%28URI%28%3Fwlo_page%29+as+%3Fwlo_ref%29%0D%0A%0D%0Aoptional+%7B%0D%0A%3Fprocess+%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FOBI_0000293%3E+%3Fnif_context_output+.%0D%0A%3Fprocess+a+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fontology%2FAnnotationProcessWordnet%3E+.%0D%0A%7D%0D%0Afilter+%28+bound%28%3Fprocess%29+%29+%0D%0Afilter+STRSTARTS%28str%28%3Fwordnet_resource%29%2C+%22https%3A%2F%2Fen-word.net%22%29%0D%0A%7D&format=application%2Fsparql-results%2Bjson&should-sponge=&timeout=0&signal_void=on
# Beispielhafte SPARQL-ABFRAGE für Wordnet mit weiteren linguistischen Daten # __IDENTIFIER__ ersetzen mit WLO Resource Identifier select distinct ?wordnet_context, ?wlo_ref, ?name, ?description, ?wortart, ?fall, ?pluralitaet, ?geschl, ?verbModus, ?person, ?zeitForm where { VALUES ?resource_input { <https://edu.yovisto.com/wlo/resource/__IDENTIFIER__> } ?resource_input a <https://schema.org/CreativeWork> . ?resource_input <https://schema.org/name> ?name . OPTIONAL { ?resource_input <https://schema.org/description> ?description . } ?resource_input <https://w3id.org/curriculum/hasAnnotationTarget> ?nif_context_output . ?wordnet_context <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#referenceContext> ?nif_context_output . ?wordnet_context <http://www.w3.org/2005/11/its/rdf#taAnnotatorsRef> <https://spacy.io> . ?wordnet_context <http://www.w3.org/2005/11/its/rdf#taIdentRef> ?wordnet_resource . ?wordnet_context <http://www.w3.org/2005/11/its/rdf#termInfoRef> ?dbnary_resource . OPTIONAL { ?wordnet_context <http://www.lexinfo.net/ontology/2.0/lexinfo#partOfSpeech> ?wortart } OPTIONAL { ?wordnet_context <http://purl.org/olia/olia.owl#hasCase> ?fall } OPTIONAL { ?wordnet_context <http://purl.org/olia/olia.owl#hasNumber> ?pluralitaet } OPTIONAL { ?wordnet_context <http://www.lexinfo.net/ontology/2.0/lexinfo#gender> ?geschl } OPTIONAL { ?wordnet_context <http://purl.org/olia/olia.owl#hasMood> ?verbModus } OPTIONAL { ?wordnet_context <http://purl.org/olia/olia.owl#hasPerson> ?person } OPTIONAL { ?wordnet_context <http://purl.org/olia/olia.owl#hasTense> ?zeitForm } BIND (REPLACE(str(?resource_input), "https://edu.yovisto.com/wlo/resource/", "https://redaktion.openeduhub.net/edu-sharing/components/render/") AS ?wlo_page) BIND (URI(?wlo_page) as ?wlo_ref) optional { ?process <http://purl.obolibrary.org/obo/OBI_0000293> ?nif_context_output . ?process a <https://edu.yovisto.com/ontology/AnnotationProcessWordnet> . } filter ( bound(?process) ) filter STRSTARTS(str(?wordnet_resource), "https://en-word.net") }
# Ergebnis hier anschauen in HTML Format https://edu.yovisto.com/sparql2?default-graph-uri=&qtxt=select+distinct+%3Fwordnet_context%2C+%3Fwlo_ref%2C+%3Fname%2C+%3Fdescription%2C+%3Fwortart%2C+%3Ffall%2C+%3Fpluralitaet%2C+%3Fgeschl%2C+%3FverbModus%2C+%3Fperson%2C+%3FzeitForm+where+%7B%0D%0AVALUES+%3Fresource_input+%7B+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F95993710-4470-4d66-a4ac-50b1cbb7a982%3E+%7D%0D%0A%3Fresource_input+a+%3Chttps%3A%2F%2Fschema.org%2FCreativeWork%3E+.%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fname%3E+%3Fname+.%0D%0AOPTIONAL+%7B%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fdescription%3E+%3Fdescription+.%0D%0A%7D%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fw3id.org%2Fcurriculum%2FhasAnnotationTarget%3E++%3Fnif_context_output+.%0D%0A%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fpersistence.uni-leipzig.org%2Fnlp2rdf%2Fontologies%2Fnif-core%23referenceContext%3E+%3Fnif_context_output+.%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taAnnotatorsRef%3E+%3Chttps%3A%2F%2Fspacy.io%3E+.%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taIdentRef%3E+%3Fwordnet_resource+.%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23termInfoRef%3E+%3Fdbnary_resource+.%0D%0A%0D%0AOPTIONAL+%7B%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fwww.lexinfo.net%2Fontology%2F2.0%2Flexinfo%23partOfSpeech%3E+%3Fwortart%0D%0A%7D%0D%0AOPTIONAL+%7B%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fpurl.org%2Folia%2Folia.owl%23hasCase%3E+%3Ffall%0D%0A%7D%0D%0AOPTIONAL+%7B%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fpurl.org%2Folia%2Folia.owl%23hasNumber%3E+%3Fpluralitaet%0D%0A%7D%0D%0AOPTIONAL+%7B%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fwww.lexinfo.net%2Fontology%2F2.0%2Flexinfo%23gender%3E+%3Fgeschl%0D%0A%7D%0D%0AOPTIONAL+%7B%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fpurl.org%2Folia%2Folia.owl%23hasMood%3E+%3FverbModus%0D%0A%7D%0D%0AOPTIONAL+%7B%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fpurl.org%2Folia%2Folia.owl%23hasPerson%3E+%3Fperson%0D%0A%7D%0D%0AOPTIONAL+%7B%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fpurl.org%2Folia%2Folia.owl%23hasTense%3E+%3FzeitForm%0D%0A%7D%0D%0A%0D%0A%0D%0A%0D%0ABIND+%28REPLACE%28str%28%3Fresource_input%29%2C+%22https%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F%22%2C+%22https%3A%2F%2Fredaktion.openeduhub.net%2Fedu-sharing%2Fcomponents%2Frender%2F%22%29+AS+%3Fwlo_page%29%0D%0ABIND+%28URI%28%3Fwlo_page%29+as+%3Fwlo_ref%29%0D%0A%0D%0Aoptional+%7B%0D%0A%3Fprocess+%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FOBI_0000293%3E+%3Fnif_context_output+.%0D%0A%3Fprocess+a+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fontology%2FAnnotationProcessWordnet%3E+.%0D%0A%7D%0D%0Afilter+%28+bound%28%3Fprocess%29+%29+%0D%0Afilter+STRSTARTS%28str%28%3Fwordnet_resource%29%2C+%22https%3A%2F%2Fen-word.net%22%29%0D%0A%7D%0D%0A&format=text%2Fhtml&should-sponge=&timeout=0&signal_void=on # Ergebnis hier anschauen in JSON Format https://edu.yovisto.com/sparql2?default-graph-uri=&qtxt=select+distinct+%3Fwordnet_context%2C+%3Fwlo_ref%2C+%3Fname%2C+%3Fdescription%2C+%3Fwortart%2C+%3Ffall%2C+%3Fpluralitaet%2C+%3Fgeschl%2C+%3FverbModus%2C+%3Fperson%2C+%3FzeitForm+where+%7B%0D%0AVALUES+%3Fresource_input+%7B+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F95993710-4470-4d66-a4ac-50b1cbb7a982%3E+%7D%0D%0A%3Fresource_input+a+%3Chttps%3A%2F%2Fschema.org%2FCreativeWork%3E+.%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fname%3E+%3Fname+.%0D%0AOPTIONAL+%7B%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fschema.org%2Fdescription%3E+%3Fdescription+.%0D%0A%7D%0D%0A%3Fresource_input+%3Chttps%3A%2F%2Fw3id.org%2Fcurriculum%2FhasAnnotationTarget%3E++%3Fnif_context_output+.%0D%0A%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fpersistence.uni-leipzig.org%2Fnlp2rdf%2Fontologies%2Fnif-core%23referenceContext%3E+%3Fnif_context_output+.%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taAnnotatorsRef%3E+%3Chttps%3A%2F%2Fspacy.io%3E+.%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taIdentRef%3E+%3Fwordnet_resource+.%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23termInfoRef%3E+%3Fdbnary_resource+.%0D%0A%0D%0AOPTIONAL+%7B%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fwww.lexinfo.net%2Fontology%2F2.0%2Flexinfo%23partOfSpeech%3E+%3Fwortart%0D%0A%7D%0D%0AOPTIONAL+%7B%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fpurl.org%2Folia%2Folia.owl%23hasCase%3E+%3Ffall%0D%0A%7D%0D%0AOPTIONAL+%7B%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fpurl.org%2Folia%2Folia.owl%23hasNumber%3E+%3Fpluralitaet%0D%0A%7D%0D%0AOPTIONAL+%7B%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fwww.lexinfo.net%2Fontology%2F2.0%2Flexinfo%23gender%3E+%3Fgeschl%0D%0A%7D%0D%0AOPTIONAL+%7B%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fpurl.org%2Folia%2Folia.owl%23hasMood%3E+%3FverbModus%0D%0A%7D%0D%0AOPTIONAL+%7B%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fpurl.org%2Folia%2Folia.owl%23hasPerson%3E+%3Fperson%0D%0A%7D%0D%0AOPTIONAL+%7B%0D%0A%3Fwordnet_context+%3Chttp%3A%2F%2Fpurl.org%2Folia%2Folia.owl%23hasTense%3E+%3FzeitForm%0D%0A%7D%0D%0A%0D%0A%0D%0A%0D%0ABIND+%28REPLACE%28str%28%3Fresource_input%29%2C+%22https%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F%22%2C+%22https%3A%2F%2Fredaktion.openeduhub.net%2Fedu-sharing%2Fcomponents%2Frender%2F%22%29+AS+%3Fwlo_page%29%0D%0ABIND+%28URI%28%3Fwlo_page%29+as+%3Fwlo_ref%29%0D%0A%0D%0Aoptional+%7B%0D%0A%3Fprocess+%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FOBI_0000293%3E+%3Fnif_context_output+.%0D%0A%3Fprocess+a+%3Chttps%3A%2F%2Fedu.yovisto.com%2Fontology%2FAnnotationProcessWordnet%3E+.%0D%0A%7D%0D%0Afilter+%28+bound%28%3Fprocess%29+%29+%0D%0Afilter+STRSTARTS%28str%28%3Fwordnet_resource%29%2C+%22https%3A%2F%2Fen-word.net%22%29%0D%0A%7D&format=application%2Fsparql-results%2Bjson&should-sponge=&timeout=0&signal_void=on
# Beispielhafte SPARQL-ABFRAGE für Recommender # __IDENTIFIER__ ersetzen mit WLO Resource Identifier select distinct ?wlo_ref count(distinct ?cat) as ?cnt ?finalTitle where { <https://edu.yovisto.com/wlo/resource/__IDENTIFIER__> <https://w3id.org/curriculum/hasAnnotationTarget> ?ctx . ?target <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#referenceContext> ?ctx . ?target <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#referenceContext> ?ctx . ?target <http://www.w3.org/2005/11/its/rdf#taAnnotatorsRef> <http://www.dbpedia-spotlight.org> . ?target <http://www.w3.org/2005/11/its/rdf#taIdentRef> ?e . ?e <http://purl.org/dc/terms/subject> ?cat . ?e2 <http://purl.org/dc/terms/subject> ?cat . ?target2 <http://www.w3.org/2005/11/its/rdf#taIdentRef> ?e2 . ?target2 <http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#referenceContext> ?ctx2 . ?doc <https://w3id.org/curriculum/hasAnnotationTarget> ?ctx2 . optional{?doc <http://purl.org/dc/terms/title> ?title2 .} optional{?doc <http://www.w3.org/2004/02/skos/core#altLabel> ?title3 .} optional{?doc <https://schema.org/name> ?title4 .} bind( coalesce(coalesce(?title2,?title3), ?title4 ) as ?finalTitle) BIND (REPLACE(str(?doc), "https://edu.yovisto.com/wlo/resource/", "https://redaktion.openeduhub.net/edu-sharing/components/render/") AS ?wlo_page) BIND (URI(?wlo_page) as ?wlo_ref) } group by ?wlo_ref ?finalTitle order by desc(?cnt ) limit 10
# Ergebnis hier anschauen in HTML Format https://edu.yovisto.com/sparql2?default-graph-uri=&qtxt=select+distinct++%3Fwlo_ref+count%28distinct+%3Fcat%29+as+%3Fcnt+%3FfinalTitle+where+%7B%0D%0A%3Chttps%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F95993710-4470-4d66-a4ac-50b1cbb7a982%3E+%3Chttps%3A%2F%2Fw3id.org%2Fcurriculum%2FhasAnnotationTarget%3E+%3Fctx+.%0D%0A%3Ftarget+%3Chttp%3A%2F%2Fpersistence.uni-leipzig.org%2Fnlp2rdf%2Fontologies%2Fnif-core%23referenceContext%3E+%3Fctx+.%0D%0A%3Ftarget+%3Chttp%3A%2F%2Fpersistence.uni-leipzig.org%2Fnlp2rdf%2Fontologies%2Fnif-core%23referenceContext%3E+%3Fctx+.%0D%0A%3Ftarget+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taAnnotatorsRef%3E+%3Chttp%3A%2F%2Fwww.dbpedia-spotlight.org%3E+.%0D%0A%3Ftarget+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taIdentRef%3E+%3Fe+.%0D%0A%3Fe+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2Fsubject%3E+%3Fcat+.%0D%0A%3Fe2+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2Fsubject%3E+%3Fcat+.%0D%0A%3Ftarget2+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taIdentRef%3E+%3Fe2+.%0D%0A%3Ftarget2+%3Chttp%3A%2F%2Fpersistence.uni-leipzig.org%2Fnlp2rdf%2Fontologies%2Fnif-core%23referenceContext%3E+%3Fctx2+.%0D%0A%3Fdoc+%3Chttps%3A%2F%2Fw3id.org%2Fcurriculum%2FhasAnnotationTarget%3E+%3Fctx2+.%0D%0Aoptional%7B%3Fdoc+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2Ftitle%3E+%3Ftitle2+.%7D%0D%0Aoptional%7B%3Fdoc+%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23altLabel%3E+%3Ftitle3+.%7D%0D%0Aoptional%7B%3Fdoc+%3Chttps%3A%2F%2Fschema.org%2Fname%3E+%3Ftitle4+.%7D%0D%0Abind%28+coalesce%28coalesce%28%3Ftitle2%2C%3Ftitle3%29%2C+%3Ftitle4+%29+as+%3FfinalTitle%29%0D%0A%0D%0ABIND+%28REPLACE%28str%28%3Fdoc%29%2C+%22https%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F%22%2C+%22https%3A%2F%2Fredaktion.openeduhub.net%2Fedu-sharing%2Fcomponents%2Frender%2F%22%29+AS+%3Fwlo_page%29%0D%0ABIND+%28URI%28%3Fwlo_page%29+as+%3Fwlo_ref%29%0D%0A%0D%0A%7D+group+by++%3Fwlo_ref+%3FfinalTitle+order+by+desc%28%3Fcnt+%29+limit+10%0D%0A%0D%0A%0D%0A%0D%0A&format=text%2Fhtml&should-sponge=&timeout=0&signal_void=on # Ergebnis hier anschauen in JSON Format https://edu.yovisto.com/sparql2?default-graph-uri=&qtxt=select+distinct++%3Fwlo_ref+count%28distinct+%3Fcat%29+as+%3Fcnt+%3FfinalTitle+where+%7B%0D%0A%3Chttps%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F95993710-4470-4d66-a4ac-50b1cbb7a982%3E+%3Chttps%3A%2F%2Fw3id.org%2Fcurriculum%2FhasAnnotationTarget%3E+%3Fctx+.%0D%0A%3Ftarget+%3Chttp%3A%2F%2Fpersistence.uni-leipzig.org%2Fnlp2rdf%2Fontologies%2Fnif-core%23referenceContext%3E+%3Fctx+.%0D%0A%3Ftarget+%3Chttp%3A%2F%2Fpersistence.uni-leipzig.org%2Fnlp2rdf%2Fontologies%2Fnif-core%23referenceContext%3E+%3Fctx+.%0D%0A%3Ftarget+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taAnnotatorsRef%3E+%3Chttp%3A%2F%2Fwww.dbpedia-spotlight.org%3E+.%0D%0A%3Ftarget+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taIdentRef%3E+%3Fe+.%0D%0A%3Fe+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2Fsubject%3E+%3Fcat+.%0D%0A%3Fe2+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2Fsubject%3E+%3Fcat+.%0D%0A%3Ftarget2+%3Chttp%3A%2F%2Fwww.w3.org%2F2005%2F11%2Fits%2Frdf%23taIdentRef%3E+%3Fe2+.%0D%0A%3Ftarget2+%3Chttp%3A%2F%2Fpersistence.uni-leipzig.org%2Fnlp2rdf%2Fontologies%2Fnif-core%23referenceContext%3E+%3Fctx2+.%0D%0A%3Fdoc+%3Chttps%3A%2F%2Fw3id.org%2Fcurriculum%2FhasAnnotationTarget%3E+%3Fctx2+.%0D%0Aoptional%7B%3Fdoc+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2Ftitle%3E+%3Ftitle2+.%7D%0D%0Aoptional%7B%3Fdoc+%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23altLabel%3E+%3Ftitle3+.%7D%0D%0Aoptional%7B%3Fdoc+%3Chttps%3A%2F%2Fschema.org%2Fname%3E+%3Ftitle4+.%7D%0D%0Abind%28+coalesce%28coalesce%28%3Ftitle2%2C%3Ftitle3%29%2C+%3Ftitle4+%29+as+%3FfinalTitle%29%0D%0A%0D%0ABIND+%28REPLACE%28str%28%3Fdoc%29%2C+%22https%3A%2F%2Fedu.yovisto.com%2Fwlo%2Fresource%2F%22%2C+%22https%3A%2F%2Fredaktion.openeduhub.net%2Fedu-sharing%2Fcomponents%2Frender%2F%22%29+AS+%3Fwlo_page%29%0D%0ABIND+%28URI%28%3Fwlo_page%29+as+%3Fwlo_ref%29%0D%0A%0D%0A%7D+group+by++%3Fwlo_ref+%3FfinalTitle+order+by+desc%28%3Fcnt+%29+limit+10%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A&format=application%2Fsparql-results%2Bjson&should-sponge=&timeout=0&signal_void=on
// Beispielhafte SPARQL-ABFRAGE für ...
// Ergebnis
// Beispielhafte SPARQL-ABFRAGE für ...
// Ergebnis