Advertisement
adrianb82

sparql profile

Feb 19th, 2014
2,865
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SPARQL 3.16 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <rdf:RDF
  3.     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  4.     xmlns:el="http://www.semanticlab.net/prj/recognize/voc/"
  5.     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  6.     xmlns:dcterms="http://purl.org/dc/terms/">
  7.  
  8. <rdf:Description rdf:about="http://www.semanticlab.net/prj/recognize/lexicon/paper.evaluation.5.context">
  9.     <rdfs:label>paper.evaluation.5.context</rdfs:label>
  10.     <dcterms:description>bleeding edge, WITH context, WITH stopwords FILTER</dcterms:description>
  11.     <dcterms:source>http://localhost:8080/openrdf-sesame/repositories/testde</dcterms:source>
  12.     <el:query><![CDATA[
  13. PREFIX dbprop:<http://dbpedia.org/property/>
  14. PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#>
  15. PREFIX dbpedia-owl:<http://dbpedia.org/ontology/>
  16. PREFIX schema-org:<http://schema.org/>
  17. PREFIX prop-de:<http://de.dbpedia.org/property/>
  18. PREFIX owl:<http://www.w3.org/2002/07/owl#>
  19. PREFIX foaf:<http://xmlns.com/foaf/0.1/>
  20. PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>    
  21. PREFIX type: <http://dbpedia.org/class/yago/>
  22. SELECT ?s ?company_name ?abstract ?foundingDate ?homepage ?industry ?city ?country ?keyPeople ?ticker_name
  23. WHERE {
  24.         ?s rdf:type dbpedia-owl:Company .
  25.         ?s rdfs:label ?company_name .
  26.         OPTIONAL { ?s dbpedia-owl:abstract ?abstract .}
  27.         OPTIONAL { ?s dbpedia-owl:foundingDate ?foundingDate .}
  28.         OPTIONAL { ?s foaf:homepage ?homepage .}
  29.         OPTIONAL { ?s prop-de:branche ?industry .}
  30.         OPTIONAL { ?s prop-de:sitz ?city .}
  31.         OPTIONAL { ?s prop-de:region ?country .}
  32.         OPTIONAL { ?s prop-de:leitung ?keyPeople . }
  33.         OPTIONAL { ?s dbprop:symbol ?ticker_name .}
  34.         FILTER ( LANG(?company_name) = "de" )
  35.         FILTER ( LANG(?abstract) = "de" )
  36. }
  37.  
  38. ]]></el:query>
  39.     <el:class>com.weblyzard.backend.recognize.rdf.queryResultHandler.Paper5Context</el:class>
  40.     <el:preferredLanguage></el:preferredLanguage>
  41.     <el:entityType>ch.htwchur.wisdom.recognize.OrganizationEntity</el:entityType>
  42.     <el:namesStopwordFactory>com.weblyzard.backend.recognize.FILTER.OrganizationNamesStopwords</el:namesStopwordFactory>
  43.     <el:namesStopwordLanguages>C,de_CH,de_DE,en,fr</el:namesStopwordLanguages>
  44.     <el:namesStopwords></el:namesStopwords>
  45.     <el:contextStopwordFactory>com.weblyzard.backend.recognize.FILTER.OrganizationContextStopwords</el:contextStopwordFactory>
  46.     <el:contextStopwordLanguages>de,en,fr</el:contextStopwordLanguages>
  47.     <el:contextStopwords></el:contextStopwords>
  48.     <el:firstnamesFilterFactory>com.weblyzard.backend.recognize.FILTER.OrganizationNamesFirstnameFilter</el:firstnamesFilterFactory>
  49.     <el:firstnamesFilterLanguages>de</el:firstnamesFilterLanguages>
  50.     <el:lastnamesFilterFactory>com.weblyzard.backend.recognize.FILTER.OrganizationNamesLastnameFilter</el:lastnamesFilterFactory>
  51.     <el:lastnamesFilterLanguages>de</el:lastnamesFilterLanguages>
  52.     <el:groundNamesFilterFactory>com.weblyzard.backend.recognize.FILTER.OrganizationNamesFirstnameGroundingFilter</el:groundNamesFilterFactory>
  53.     <el:groundNamesFilterLanguages>C</el:groundNamesFilterLanguages>
  54.     <el:affixFilterClass>com.weblyzard.backend.recognize.FILTER.OrganizationAffixFilter</el:affixFilterClass>
  55. </rdf:Description>
  56.  
  57. </rdf:RDF>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement