Skip to content

Instantly share code, notes, and snippets.

@edsu
Last active September 11, 2015 19:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edsu/df95383e87bc559b5cb2 to your computer and use it in GitHub Desktop.
Save edsu/df95383e87bc559b5cb2 to your computer and use it in GitHub Desktop.
An rdfs hack to infer a language competency based on more specific lingvoj language competencies. It also would allow hasCompetency to be used when the specific ability is not known.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix lingvoj: <http://www.lingvoj.org/ontology#> .
:hasCompetency
a owl:ObjectProperty ;
rdfs:label "basic competency in a language"@en ;
rdfs:range :Lingvo ;
rdfs:domain foaf:Person .
lingvoj:basicUnderstanding rdfs:subPropertyOf :hasCompetency .
lingvoj:basicSpeaking rdfs:subPropertyOf :hasCompetency .
lingvoj:basicReading rdfs:subPropertyOf :hasCompetency .
lingvoj:basicWriting rdfs:subPropertyOf :hasCompetency .
lingvoj:intermediateUnderstanding rdfs:subPropertyOf :hasCompetency .
lingvoj:intermediateSpeaking rdfs:subPropertyOf :hasCompetency .
lingvoj:intermediateReading rdfs:subPropertyOf :hasCompetency .
lingvoj:intermediateWriting rdfs:subPropertyOf :hasCompetency .
lingvoj:advancedUnderstanding rdfs:subPropertyOf :hasCompetency .
lingvoj:advancedSpeaking rdfs:subPropertyOf :hasCompetency .
lingvoj:advancedReading rdfs:subPropertyOf :hasCompetency .
lingvoj:advancedWriting rdfs:subPropertyOf :hasCompetency .
lingvoj:expertUnderstanding rdfs:subPropertyOf :hasCompetency .
lingvoj:expertSpeaking rdfs:subPropertyOf :hasCompetency .
lingvoj:expertReading rdfs:subPropertyOf :hasCompetency .
lingvoj:expertWriting rdfs:subPropertyOf :hasCompetency .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment