WSML

1 program Added 2026-03-11T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Web Services Modeling Language
Provenance: commit 71c327dea3 · authored 2026-03-11T22:47:19+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

WSFL (0.52)JML (0.41)Forge (0.41)LookML (0.40)BitML (0.39)

LLM-contributed programs

Simple Animals Ontology

Provenance: commit 71c327dea3 · authored 2026-03-11T22:47:19+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.wsml · added: 2026-03-11T10:00:00Z
wsmlVariant _"http://www.wsmo.org/wsml/wsml-syntax/wsml-flight"

namespace { _"http://www.example.org/ontologies/animals#",
  dc  _"http://purl.org/dc/elements/1.1#"
}

ontology _"http://www.example.org/ontologies/animals"

  annotations
    dc#title hasValue "Simple Animals Ontology"
    dc#description hasValue "An example WSML ontology describing animal classifications"
  endAnnotations

  concept Animal
    attributes
      hasName ofType _string
      hasLegs ofType _integer

  concept Mammal subConceptOf Animal
  concept Reptile subConceptOf Animal
  concept Bird subConceptOf Animal

  concept Dog subConceptOf Mammal
  concept Cat subConceptOf Mammal

  instance Fido memberOf Dog
    hasName hasValue "Fido"
    hasLegs hasValue 4

  instance Whiskers memberOf Cat
    hasName hasValue "Whiskers"
    hasLegs hasValue 4

  axiom MammalHasLegs
    definedBy
      ?x memberOf Mammal and ?x[hasLegs hasValue ?n]
      implies ?n > 0 .

Contribute — propose a file extension

Tell us where to find evidence about WSML (mapped to pl/wsml). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/WSML/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← WsFuck WTFCode →