Skip to content

Commit

Permalink
Extend example queries
Browse files Browse the repository at this point in the history
  • Loading branch information
agarciadom committed Oct 21, 2024
1 parent fcf58ee commit 28ba7f3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/org.eclipse.epsilon.examples.emc.rdf/queries.eol
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
Person.all.println('People: ');

var goblin = Model.getElementById('http://example.org/#green-goblin');
goblin.enemyOf.println('Green Goblin is an enemy of: ');
goblin.enemyOf.println('Green Goblin is an enemy of: ');

var spider = Model.getElementById('http://example.org/#spiderman');
spider.name.println('Names of Spiderman: ');
spider.`name@ru`.println('Name of Spiderman in Russian: ');

0 comments on commit 28ba7f3

Please sign in to comment.