Skip to content
Discussion options

You must be logged in to vote

The only way I see is

@prefix log: <http://www.w3.org/2000/10/swap/log#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <http://example.com/> .

[] ex:formula { 
  { ?S ?P { ex:foo rdfs:label "bar" } } log:becomes { ?S ?P { ex:foo rdfs:label "baz" } }
} .

[] ex:initialData {
  ex:foo rdfs:label "bar" .
} .

{
  [] ex:formula ?formula .
  ?formula!log:call .
} => true .

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@tpluscode
Comment options

@tpluscode
Comment options

Comment options

You must be logged in to vote
1 reply
@tpluscode
Comment options

Answer selected by tpluscode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants