SHARE
TWEET

Untitled

a guest Nov 24th, 2019 174 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             PREFIX  text: <http://jena.apache.org/text#>
  2.             PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
  3.  
  4.             SELECT DISTINCT  ?lc ?dc ?subj
  5.             WHERE
  6.               {
  7.                   ?subj  text:query ( skos:prefLabel '$mention' ) ; skos:prefLabel ?lc .
  8.  
  9.                 OPTIONAL
  10.                   {   { ?subj  <http://www.w3.org/2000/01/rdf-schema#comment>  ?dc
  11.                         FILTER LANGMATCHES(LANG(?dc), "en")
  12.                       }
  13.                     UNION
  14.                       { ?subj  <http://www.w3.org/2000/01/rdf-schema#comment>  ?dc
  15.                         FILTER LANGMATCHES(LANG(?dc), "")
  16.                       }
  17.                   }
  18.               }
  19.             LIMIT   2000
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top