Skip to content

Commit

Permalink
updating alternative syntax example
Browse files Browse the repository at this point in the history
  • Loading branch information
josd committed Mar 18, 2024
1 parent 10284eb commit 34cf11c
Showing 1 changed file with 1 addition and 34 deletions.
35 changes: 1 addition & 34 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,4 @@ See the living document [RDF Surfaces Primer](https://w3c-cg.github.io/rdfsurfac

### Example using alternative RDF TriG syntax

```trig
# ------------------
# Socrates inference
# ------------------
#
# Infer that Socrates is mortal.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix blogic: <http://www.w3.org/2000/10/swap/blogic#>.
@prefix : <http://example.org/ns#>.
:Socrates a :Man.
:Man rdfs:subClassOf :Human.
:Human rdfs:subClassOf :Mortal.
(_:A _:B _:S) blogic:onNegativeSurface _:subclass_surface1.
_:subclass_surface1 {
_:A rdfs:subClassOf _:B.
_:S a _:A.
() blogic:onNegativeSurface _:subclass_surface2.
}
_:subclass_surface2 {
_:S a _:B.
}
# query
(_:S _:C) blogic:onQuerySurface _:query_surface.
_:query_surface {
_:S a _:C.
}
```
- https://github.com/eyereasoner/see-lingua/blob/main/lingua/blogic.trig

0 comments on commit 34cf11c

Please sign in to comment.