Nodes that are objects and objects
-, :
select distinct ?x {
?s1 ?p1 ?x .
?x ?p2 ?o2 .
}
( )
, , -
prefix : <...anything...>
select distinct ?x {
?x (:|!:) ?o ; ^(:|!:) ?s .
}
(:|!:) , :, :. , ; . ( ?p, , & hellip;) ^p p, (, , ?person foaf:name ?name ?name ^foaf:name ?person . (:|!:) , ^(:|!:) . , ?p " ", ^?p " " ; , , ?x :p2 :o1 ?x :p2 :o2 ?x :p1 :o1 ; :p2 :o2 , :..
?x (:|!:) ?o ;
^(:|!:) ?s .
,
?x (:|!:) ?o ; ^(:|!:) ?s .
, .:)
,
node degree, SPARQL?. :
select ?x (count(*) as ?degree) {
{ ?x ?p ?o } union
{ ?s ?p ?x }
}
group by ?x
, . :
select distinct ?x {
{ ?x ?p ?o } union
{ ?s ?p ?x }
}
, :
select distinct ?x {
?x (:|!:)|^(:|!:) [].
}