Skip to content

Commit

Permalink
SPARQL support!
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-zucker committed Mar 9, 2024
1 parent 4e07ab5 commit 6fd5f6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sol-sparql.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
//import * as util from './drafts-old/sol/libs/utils.js';
//import {showNamedTemplate,results2table} from './drafts-old/sol/libs/display.js';
import {fetchNonRdfData} from './src/model.js';
import {rel2absIRI} from './src/isomorphic.js';

export async function fetchSparqlData(element){
alert(typeof sol)
let endpoint = element.getAttribute('endpoint');
endpoint = util.rel2absIRI(endpoint.trim());
endpoint = rel2absIRI(endpoint.trim());
let query = (await fetchNonRdfData({
source : element.source,
type : 'html',
Expand Down

0 comments on commit 6fd5f6e

Please sign in to comment.