-
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.
- Loading branch information
1 parent
13fdaf3
commit 1690981
Showing
4 changed files
with
47 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>org.eclipse.epsilon.examples.emc.rdf</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
</buildSpec> | ||
<natures> | ||
</natures> | ||
</projectDescription> |
15 changes: 15 additions & 0 deletions
15
examples/org.eclipse.epsilon.examples.emc.rdf/Run Queries.launch
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,15 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<launchConfiguration type="org.epsilon.eol.eclipse.dt.launching.EolLaunchConfigurationDelegate"> | ||
<booleanAttribute key="fine_grained_profiling" value="false"/> | ||
<stringAttribute key="implementation_name" value="Parallel"/> | ||
<listAttribute key="models"> | ||
<listEntry value="aliases= name=Model prefixes= type=RDF uris=file\:///Volumes/Sources/emc-rdf/examples/org.eclipse.epsilon.examples.emc.rdf/spiderman.ttl"/> | ||
</listAttribute> | ||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/> | ||
<intAttribute key="parallelism" value="11"/> | ||
<listAttribute key="parameters"/> | ||
<booleanAttribute key="profile_model_loading" value="false"/> | ||
<booleanAttribute key="profiling_enabled" value="false"/> | ||
<booleanAttribute key="reset_profiler" value="false"/> | ||
<stringAttribute key="source" value="/org.eclipse.epsilon.examples.emc.rdf/queries.eol"/> | ||
</launchConfiguration> |
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,4 @@ | ||
Person.all.println('People: '); | ||
|
||
var goblin = Model.getElementById('http://example.org/#green-goblin'); | ||
goblin.enemyOf.println('Green Goblin is an enemy of: '); |
17 changes: 17 additions & 0 deletions
17
examples/org.eclipse.epsilon.examples.emc.rdf/spiderman.ttl
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,17 @@ | ||
# Sample Turtle document from the W3C: https://www.w3.org/TR/turtle/#sec-intro | ||
|
||
@base <http://example.org/> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | ||
@prefix rel: <http://www.perceive.net/schemas/relationship/> . | ||
|
||
<#green-goblin> | ||
rel:enemyOf <#spiderman> ; | ||
a foaf:Person ; # in the context of the Marvel universe | ||
foaf:name "Green Goblin" . | ||
|
||
<#spiderman> | ||
rel:enemyOf <#green-goblin> ; | ||
a foaf:Person ; | ||
foaf:name "Spiderman", "Человек-паук"@ru . |