Hi Holger,

Thanks again for the answer.

I accessed the two files you indicated (rdfquery.js and dash.js), but due
to my inexperience in working with RDF, it is still fuzzy for me how to
build a query in JS Query View.

I am trying to rewrite the function below, but still to no avail. If you
can help me to build this example I would appreciate it. Perhaps I can move
forward from that example.

=====
function validateGermanLabel ($ this) {
     var results = [];
     var p = TermFactory.namedNode ("http: //www.example.org#germanLabel");
     var s = $ data.find ($ this, p, null);
     for (var t = s.next (); t; t = s.next ()) {
         var object = t.object;
         if (! object.isLiteral () ||! object.language.startsWith ("de")) {
             results.push ({
                 value: object
             });
         }
     }
     return results;
}
=====

Hugs,

Angelo

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/CANAF59JZq4QqX3DLoy0vkkgwQ_Q6hrR1e%2BmfrQDQa918yaMdDw%40mail.gmail.com.

Reply via email to