@@ -76,7 +76,7 @@ Logical conjunction of the contained queries - all queries must match or the ent
7676// a start_station Start, and that start_station is labeled Start_Label
7777let [Journey, Start, Start_Label] = vars (" Journey" , " Start" , " Start_Label" )
7878WOQL .and (
79- WOQL .triple (Journey, " type" , " scm :Journey" ),
79+ WOQL .triple (Journey, " rdf: type" , " @schema :Journey" ),
8080 WOQL .triple (Journey, " start_station" , Start),
8181 WOQL .triple (Start, " label" , Start_Label))
8282```
@@ -195,7 +195,7 @@ Specifies the graph resource to write the contained query into
195195** Example**
196196``` javascript
197197// Subq is an argument or a chained query
198- using (" admin/minecraft" ).into (" instance/main" ).add_triple (" a" , " type" , " scm :X" )
198+ using (" admin/minecraft" ).into (" instance/main" ).add_triple (" a" , " rdf: type" , " @schema :X" )
199199// writes a single tripe (doc:a, rdf:type, scm:X) into the main instance graph
200200```
201201
@@ -453,8 +453,8 @@ Deletes a single triple from the graph [Subject, Predicate, Object, Graph]
453453
454454** Example**
455455``` javascript
456- remove the class Person from the schema/ main graph
457- WOQL .delete_quad (" Person" , " type" , " owl :Class" , " schema/main " )
456+ remove the class Person from the schema graph
457+ WOQL .delete_quad (" Person" , " rdf: type" , " sys :Class" , " schema" )
458458```
459459
460460## add_triple
@@ -1051,7 +1051,7 @@ Creates a count of the results of the query
10511051** Example**
10521052``` javascript
10531053let [count, Person] = vars (" count" , " Person" )
1054- WOQL .count (count).triple (Person, " type" , " scm :Person" )
1054+ WOQL .count (count).triple (Person, " rdf: type" , " @schema :Person" )
10551055```
10561056
10571057## typecast
@@ -1261,7 +1261,7 @@ optionally into the specified graph
12611261** Example**
12621262``` javascript
12631263insert (" mydoc" , " MyType" )
1264- // equivalent to add_triple("mydoc", "type", "MyType")
1264+ // equivalent to add_triple("mydoc", "rdf: type", "@schema: MyType")
12651265```
12661266
12671267## graph
0 commit comments