Skip to content

Commit

Permalink
Create rm-original-translation.ru
Browse files Browse the repository at this point in the history
  • Loading branch information
matentzn committed Sep 20, 2023
1 parent c18b335 commit df2deb9
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/sparql/rm-original-translation.ru
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX babelon: <https://w3id.org/babelon/>

DELETE {
?term ?property ?value .
}

#SELECT ?term ?property ?translation_lang
WHERE {
?term ?property ?value .

?ax a owl:Axiom ;
owl:annotatedProperty ?property ;
owl:annotatedSource ?term ;
owl:annotatedTarget ?translation ;
babelon:source_language ?source_language ;
babelon:source_value ?source_value ;
babelon:translation_language ?language_tag .

OPTIONAL {
?ax babelon:translation_status ?translation_status .
}

OPTIONAL {
?term ?property ?translation .
}

FILTER(str(?value)=str(?source_value))
FILTER(str(?value)!=str(?translation))
}

0 comments on commit df2deb9

Please sign in to comment.