1. SELECT ?x ?y
	WHERE { ?x <http://localhost/Institute#hasResearchInterest> ?y }

2. SELECT ?x ?y
	WHERE { ?x <http://localhost/Institute#hasGender> ?y }

3. SELECT ?x ?Qualification
	WHERE { ?x <http://localhost/Institute#hasQualification> ?Qualification }

4. SELECT ?x ?Publication
	WHERE { ?x <http://localhost/Institute#hasPublication> ?Publication }

5. SELECT ?x ?City_from
	WHERE { ?x <http://localhost/Institute#city> ?City_from }

6. SELECT ?x ?lastName
	WHERE { ?x <http://localhost/Institute#lastName> ?lastName }

7. SELECT ?x ?Experience
	WHERE
		{ ?x <http://localhost/Institute#hasTeachingExperience> ?Experience }

8. SELECT ?ResearchInterest ?isInterestOf
	WHERE 
	   {
   	?ResearchInterest <http://localhost/Institute#isInterestOf> ?isInterestOf }

9. SELECT ?ResearchInterest ?isInterestOf
	WHERE 
	  {
   	?ResearchInterest <http://localhost/Institute#isInterestOf> ?isInterestOf .
              }

10. SELECT ?x ?ISI_Branch
	WHERE 
	  {
   	?x <http://localhost/Institute#belongsToCentre> ?ISI_Branch .    
	  }

11. SELECT ?name ?course_name
	WHERE { ?name <http://localhost/Institute#ugStudent> ?course_name }

12.  SELECT ?name ?Student_of_course ?unit
	WHERE { 
		     ?name <http://localhost/Institute#pgStudent> ?Student_of_course .
 		     ?name <http://localhost/Institute#hasAffiliation> ?unit 
		 }

13. SELECT ?name ?Student_of_course ?unit
	WHERE { 
		    ?name <http://localhost/Institute#ugStudent> ?Student_of_course .
 		    ?name <http://localhost/Institute#hasAffiliation> ?unit
  		 }

14. SELECT ?name ?Student_of_course ?unit ?gender
	WHERE { 
		     ?name <http://localhost/Institute#ugStudent> ?Student_of_course .
		     ?name <http://localhost/Institute#hasAffiliation> ?unit .
		     ?name <http://localhost/Institute#hasGender> ?gender  
		 }

15. SELECT ?name ?Student_of_course ?unit ?gender
	WHERE { 
		     ?name <http://localhost/Institute#ugStudent> ?Student_of_course .
		     ?name <http://localhost/Institute#hasAffiliation> ?unit .
		     ?name <http://localhost/Institute#hasGender> ?gender
		  }

16. SELECT ?name ?Student_of_course ?email
	WHERE { 
		     ?name <http://localhost/Institute#pgStudent> ?Student_of_course .
		     ?name <http://localhost/Institute#email> ?email .
		     
		 }

17. SELECT ?name ?home_page ?email
	WHERE { 
		     ?name <http://localhost/Institute#homepage> ?home_page .
		     ?name <http://localhost/Institute#email> ?email .
		     
		 }

18. SELECT  ?name ?firstName
WHERE   { 
?name <http://localhost/Institute#firstName> ?firstName .
                           }

19. SELECT  ?name ?firstName
WHERE   { 
?name <http://localhost/Institute#firstName> ?firstName .
               		 FILTER regex(?firstName, "Vinit")
        		   }

20. SELECT  ?name ?firstName
WHERE   { 
?name <http://localhost/Institute#firstName> ?firstName .
                FILTER regex(?firstName, "bis", "i")
        		}

21. SELECT  ?firstName ?email
WHERE   { 
?name <http://localhost/Institute#firstName> ?firstName .
                 ?name <http://localhost/Institute#email> ?email
                 FILTER regex(?firstName, "bis", "i")
        		}

22. SELECT ?name ?email
WHERE  { 
         OPTIONAL { ?name  <http://localhost/Institute#email>  ?email }
       }

23. SELECT ?fName ?publication
WHERE  { ?x <http://localhost/Institute#firstName>  ?fName .
            OPTIONAL { ?x  <http://localhost/Institute#hasPublication>  ?publication }
       }

24. SELECT ?student ?guide
   WHERE {
                   ?student <http://localhost/Institute#hasResearchGuide> ?guide
                  }

25. SELECT ?fName ?lName ?guide
   	WHERE {
                   ?x <http://localhost/Institute#firstName> ?fName .
                   ?x <http://localhost/Institute#lastName> ?lName .
                   ?x <http://localhost/Institute#hasResearchGuide> ?guide 
                }

26. SELECT ?fName ?lName ?guide ?research_topic
   	WHERE {
                   ?x <http://localhost/Institute#firstName> ?fName .
                   ?x <http://localhost/Institute#lastName> ?lName .
                   ?x <http://localhost/Institute#hasResearchGuide> ?guide .
                  OPTIONAL {?x <http://localhost/Institute#researchArea> ?research_topic}
                }

27. PREFIX a: <http://localhost/Institute#>
    SELECT ?x ?y
	WHERE { ?x a:hasResearchInterest ?y. 
                                        ?x rdf:type a:Senior_Research_Student
                   }