Fix issue with advising relationships.

This commit is contained in:
Graham Triggs 2017-10-14 13:15:35 +01:00
parent f187745099
commit 85a0800d1f
2 changed files with 4 additions and 0 deletions

View file

@ -47,6 +47,8 @@
?advisingRel core:relates ?advisorRole . ?advisingRel core:relates ?advisorRole .
?advisorRole <http://purl.obolibrary.org/obo/RO_0000052> ?advisor . ?advisorRole <http://purl.obolibrary.org/obo/RO_0000052> ?advisor .
?advisor a foaf:Person . ?advisor a foaf:Person .
?advisor <http://purl.obolibrary.org/obo/RO_0000053> ?advisorRole .
?advisorRole a core:AdvisorRole .
?advisor rdfs:label ?advisorLabel . ?advisor rdfs:label ?advisorLabel .
} }
OPTIONAL { OPTIONAL {

View file

@ -48,6 +48,8 @@
?adviseeRole a core:AdviseeRole . ?adviseeRole a core:AdviseeRole .
?adviseeRole <http://purl.obolibrary.org/obo/RO_0000052> ?advisee . ?adviseeRole <http://purl.obolibrary.org/obo/RO_0000052> ?advisee .
?advisee a foaf:Person . ?advisee a foaf:Person .
?advisee <http://purl.obolibrary.org/obo/RO_0000053> ?adviseeRole .
?adviseeRole a core:AdviseeRole .
?advisee rdfs:label ?adviseeLabel . ?advisee rdfs:label ?adviseeLabel .
} }
OPTIONAL { OPTIONAL {