-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquery1.rq
More file actions
21 lines (19 loc) · 834 Bytes
/
query1.rq
File metadata and controls
21 lines (19 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PREFIX pubo: <http://lod.semanticsoftware.info/pubo/pubo#>
PREFIX sro: <http://salt.semanticauthoring.org/ontologies/sro#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX cnt: <http://www.w3.org/2011/content#>
PREFIX dbpedia: <http://dbpedia.org/resource/>
SELECT ?subject ?REcontent ?NEcontent WHERE {
SERVICE <http://dbpedia.org/sparql> {
dbpedia:Linked_data dcterms:subject ?category .
?subject dcterms:subject ?category .
}
?paper pubo:hasAnnotation ?rhetoricalEntity .
?rhetoricalEntity rdf:type sro:Contribution .
?rhetoricalEntity pubo:containsNE ?namedEntity.
?namedEntity rdfs:isDefinedBy ?subject .
?rhetoricalEntity cnt:chars ?REcontent .
?namedEntity cnt:chars ?NEcontent.
}