Aim
Create Dgraph schema for managing university PhD students and their research projects. Click here to view complete problem statement.
Graph
mutation{
schema{
type: string @index .
ssn: string @index .
name: string @index .
dob: date @index .
rank: int @index .
researchSpeciality: string @index .
projectNumber: string @index .
startDate: date @index .
endDate: date @index .
budget: float @index .
degreeProgram: string @index .
deptNumber: string @index .
officeAddress: string .
startTime: date @index .
endTime: date @index .
principal_investigator: uid @reverse .
co_investigator: uid @reverse .
supervisor: uid @reverse .
sponsor: uid @reverse .
research_assistant: uid @reverse .
student_advisor: uid @reverse .
major_department: uid @reverse .
chairman: uid @reverse .
has_department: uid @reverse .
has_professor: uid @reverse .
}
}
*** END ***

No comments:
Post a Comment
Your comments are very much valuable for us. Thanks for giving your precious time.