-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into stasher-feature-reorg
- Loading branch information
Showing
9 changed files
with
242 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Using Drafter | ||
|
||
`TODO` Make this more of a guide on how to run drafter as a user etc. | ||
|
||
## Convert any existing Grafts to work with Drafter | ||
|
||
If you have an existing Database with quads in it you may need to make drafter aware of them. To do this you can run the update statement though be careful not to run it twice on the same database! | ||
|
||
```sparql | ||
INSERT { | ||
GRAPH <http://publishmydata.com/graphs/drafter/drafts> { | ||
?g a <http://publishmydata.com/def/drafter/ManagedGraph> . | ||
?g <http://publishmydata.com/def/drafter/isPublic> true . | ||
} | ||
} WHERE { | ||
SELECT DISTINCT ?g | ||
WHERE { | ||
GRAPH ?g { | ||
?s ?p ?o . | ||
} | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT DISTINCT ?mdg | ||
WHERE { | ||
VALUES ?mdg { } | ||
GRAPH ?mdg { | ||
?ds a <http://publishmydata.com/def/dataset#Dataset> | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters