code-example
Version:
Language code example.
9 lines (8 loc) • 763 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var code = "PREFIX a: <http://www.w3.org/2000/10/annotation-ns#>\nPREFIX dc: <http://purl.org/dc/elements/1.1/>\nPREFIX foaf: <http://xmlns.com/foaf/0.1/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\n\n# Comment!\n\nSELECT ?given ?family\nWHERE {\n {\n ?annot a:annotates <http://www.w3.org/TR/rdf-sparql-query/> .\n ?annot dc:creator ?c .\n OPTIONAL {?c foaf:givenName ?given ;\n foaf:familyName ?family }\n } UNION {\n ?c !foaf:knows/foaf:knows? ?thing.\n ?thing rdfs\n } MINUS {\n ?thing rdfs:label \"\u525B\u67D4\u6D41\"@jp\n }\n FILTER isBlank(?c)\n}\n";
var _default = code;
exports.default = _default;