File tree Expand file tree Collapse file tree 5 files changed +874
-490
lines changed Expand file tree Collapse file tree 5 files changed +874
-490
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < title > Woql Client</ title >
6+ </ head >
7+ < body >
8+ < script type ="text/javascript ">
9+ var dbClient = new TerminusClient . WOQLClient ( ) ;
10+
11+ var connection = dbClient . connect ( "http://localhost" ) ;
12+
13+ connection . then ( ( response ) => {
14+ console . log ( "I'm connect" )
15+ dbClient . getSchema ( getSchema , { "terminus:encoding" :"terminus:turtle" } ) . then ( ( response ) =>
16+ console . log ( "getSchema RESPONSE OK" ) ) . catch ( ( err ) => {
17+ console . log ( "PROMISE reject" , 'GETSCHEMA' ) ;
18+ } ) ;
19+
20+ } ) . catch ( ( err ) => {
21+ console . log ( "PROMISE reject" , 'CONNECTION' ) ;
22+ } ) ;
23+
24+ var getSchema = 'terminus' ;
25+
26+ </ script >
27+
28+ </ body >
29+ </ html >
Original file line number Diff line number Diff line change 11//WOQLQuery
2- //const WOQLQuery = require('./woqlCore')
3- const WOQLQueryImp = require ( './woqlSchema' )
2+ /**
3+ * module WOQLQuery
4+ */
5+ const WOQLQuery = require ( './woqlSchema' )
46const WOQLLibrary = require ( './woqlLibrary' )
57
6- class WOQLQuery extends WOQLQueryImp {
8+ /* class WOQLQuery extends WOQLQueryImp {
79 constructor(query) {
810 super(query)
911 }
10- }
12+ }*/
1113
1214/**
1315 * Simple composite functions which produce WOQL queries
You can’t perform that action at this time.
0 commit comments