Skip to content

Commit

Permalink
add queries.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pssvlng committed Jun 24, 2024
1 parent 1766e0e commit 77b7d74
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions queries.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
'''
Sparql query endpoint
'''
SPARQL_ENDPOINT = "https://lehrplan.yovisto.com/sparql"


'''
Suche nach allen Schulfächern, die bestimmte Wörter enthalten
'''
SCHULFACH_SUCHE = """
select distinct * where {
?s a <https://w3id.org/lehrplan/ontology/LP_00000001> .
?s rdfs:label ?label
FILTER(CONTAINS(LCASE(?label), "deutsch"))
}
"""

0 comments on commit 77b7d74

Please sign in to comment.