SlideShare une entreprise Scribd logo
1  sur  9
Télécharger pour lire hors ligne
Semantic	
  Web	
  Assignment	
  3	
  
Studentname:	
  	
   	
                                                                                                                                             Barry	
  Kollee	
  
Student	
  number:	
  	
                                                                                                                                            10349863	
  (UvA	
  studentNr)	
  
Student	
  username:	
  	
                                                                                                                                          bke310	
  (VU	
  username)	
  
Assignment	
  name:	
  	
                                                                                                                                           Semantic	
  web	
  Assignment	
  3	
  	
  

Connecting	
  to	
  the	
  Web	
  of	
  Data	
  
1.	
  List	
  three	
  widely	
  used	
  ontologies	
  on	
  the	
  Web	
  of	
  Data	
  and	
  what	
  they	
  are	
  used	
  to	
  represent.	
  
           • DBpedia.	
  This	
  is	
  an	
  ontology	
  which	
  covers	
  all	
  the	
  exisiting	
  Wikipedia	
  pages.	
  So	
  it	
  mainly	
  can	
  
                                                                                                                     1
                give	
  information	
  about	
  all	
  exisiting	
  Wikipedia	
  pages	
  or	
  parts	
  of	
  it. 	
  
           • FOAF	
  (Friend	
  Of	
  A	
  Friend).	
  This	
  is	
  a	
  dictionary	
  of	
  named	
  properties	
  and	
  classes	
  using	
  W3C’s	
  
                                           2
                RDF	
  technology.	
   	
  
           • The	
  GeoNames	
  Ontology.	
  This	
  ontology	
  makes	
  it	
  possible	
  to	
  add	
  geospatial	
  semantic	
  
                                                                            3
                information	
  to	
  the	
  Word	
  Wide	
  Web.	
   	
  
	
  
	
  2.	
  Name	
  three	
  formats	
  for	
  embedding	
  structured	
  data	
  into	
  HTML.	
  
           • RDFa	
  Primer	
  
           • Microformats	
  
           • Microdata	
  
	
  
3.	
  What	
  does	
  the	
  use	
  of	
  owl:sameAs	
  imply?	
  
	
  
The	
  built-­‐in	
  OWL	
  property	
  owl:sameAs	
  inks	
  an	
  individual	
  to	
  an	
  individual.	
  Such	
  an	
  owl:sameAs	
  
statement	
  indicates	
  that	
  two	
  URI	
  references	
  actually	
  refer	
  to	
  the	
  same	
  thing:	
  the	
  individuals	
  have	
  the	
  
                            4
same	
  "identity". 	
  
	
  
4.	
  How	
  can	
  you	
  connect	
  a	
  Semantic	
  Web	
  resource	
  to	
  another	
  Semantic	
  Web	
  resource?	
  Name	
  two	
  
approaches	
  and	
  give	
  an	
  example	
  of	
  each.	
  
	
  
           • We	
  can	
  compare	
  characters	
  of	
  the	
  labels	
  of	
  the	
  concepts.	
  I.e.	
  by	
  searching	
  on	
  different	
  
                languages.(Syntax	
  matching).	
  	
  
                	
  




                                                                                                                                                                                                                                   	
  
                                                                  	
  
                           •                          Taxonomy	
  or	
  Hierarchy	
  comparison.	
  We	
  
                                                      search	
  for	
  matches	
  in	
  the	
  hierarchy	
  of	
  2	
  
                                                      Semantic	
  web	
  resources.	
  I.e.	
  by	
  mapping	
  
                                                      family	
  relationships.	
  
        	
  
5.	
  Can	
  the	
  same	
  resource	
  have	
  multiple	
  
representations?	
  (Yes/No)	
  
	
  
Yes,	
  in	
  example	
  a	
  car	
  part	
  like	
  a	
  tire.	
  We	
  can	
  state	
  that	
  
this	
  could	
  be	
  a	
  subclass	
  of	
  a	
  car	
  but	
  also	
  a	
  subclass	
  of	
  
rubber	
  transport	
  parts.	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  
1	
  www.dbpedia.org	
  	
  
2	
  http://xmlns.com/foaf/spec/	
  	
  
3	
  http://www.geonames.org/ontology/documentation.html	
  	
  
4	
  http://www.w3.org/TR/owl-­‐ref/#sameAs-­‐def	
  	
  
Developing	
  an	
  RDFa	
  Web	
  page	
  
Create	
  a	
  small	
  web	
  page,	
  for	
  example	
  a	
  personal	
  web	
  page	
  about	
  yourself	
  or	
  a	
  page	
  about	
  a	
  topic	
  
your	
  interested	
  in.	
  Mark-­‐up	
  up	
  the	
  page	
  using	
  RDFa.	
  Be	
  sure	
  to	
  use	
  at	
  least	
  1	
  external	
  ontology.	
  Your	
  
web	
  page	
  should	
  result	
  in	
  at	
  least	
  10	
  asserted	
  triples.	
  Check	
  that	
  your	
  web	
  page	
  has	
  correct	
  RDFa	
  
mark-­‐up	
  by	
  using	
  http://inspector.sindice.com	
  (You	
  can	
  use	
  the	
  By	
  direct	
  input	
  tab).	
  Hand-­‐in:	
  Your	
  
web	
  page	
  as	
  it	
  looks	
  in	
  a	
  browser;	
  the	
  source	
  code	
  (i.e.	
  HTML)	
  of	
  your	
  web	
  page;	
  the	
  output	
  of	
  the	
  
Sindice	
  Inspector	
  including	
  rea-­‐oning;	
  A	
  paragraph	
  describing	
  whether	
  the	
  reasoning	
  is	
  what	
  you	
  
expected	
  
or	
  not.	
  
                                                                                                                                                                                                                                     5
For	
  creating	
  my	
  own	
  personal	
  page	
  I	
  used	
  a	
  tool	
  called	
  Bootstrap .	
  This	
  let’s	
  you	
  easily	
  create	
  a	
  
webpage.	
  

	
  




                                                                                                                                                                                                                                                    	
  
                                                                                                                                                                                       My	
  personal	
  webpage	
  made	
  with	
  Bootstrap	
  




	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  
5
       	
  http://twitter.github.com/bootstrap/	
  	
  
 
       Ontologies	
  given	
  by	
  Sindice	
  Inspector	
  




                                                                             	
  
                 Triples	
  given	
  by	
  Sindice	
  Inspector	
  
	
  
I	
  mostly	
  used	
  explicit	
  triples	
  within	
  my	
  html	
  code.	
  I’ve	
  added	
  one	
  	
  external	
  ontology	
  to	
  foaf:Person	
  
which	
  you	
  can	
  see	
  in	
  the	
  diagram.	
  The	
  reasoning	
  is	
  done	
  on	
  all	
  my	
  declared	
  span	
  statements.	
  I	
  can	
  
state	
  that	
  I’ve	
  got	
  the	
  result	
  that	
  I	
  want	
  because	
  all	
  my	
  properties	
  all	
  listed.	
  I	
  however	
  didn’t	
  managed	
  
to	
  notice	
  why	
  	
  my	
  diagram	
  points	
  to	
  the	
  stylesheet	
  which	
  is	
  brought	
  with	
  Bootstrap.	
  

The	
  ontologies	
  that	
  are	
  being	
  retrieved	
  are	
  way	
  more	
  than	
  I	
  have	
  stated	
  in	
  my	
  HTML	
  file	
  as	
  prefixes.	
  It	
  
looks	
  like	
  that	
  some	
  ontologies	
  already	
  refer	
  to	
  others.	
  That	
  could	
  be	
  the	
  reason	
  for	
  retrieving	
  so	
  
many	
  with	
  Syndice	
  Inspector.	
  I	
  do	
  see	
  the	
  foaf	
  ontology	
  which	
  I	
  made	
  which	
  is	
  being	
  used	
  for	
  my	
  
name.	
  

My	
  sourcecode	
  is	
  listed	
  in	
  ‘Appendix	
  1	
  –	
  HTML	
  sourcecode’	
  

	
  
	
  
	
  
	
  




                                                     Generated	
  graph	
  from	
  Sindice	
  inspector	
  
Converting	
  a	
  database	
  
Use D2RQ to convert the Times
Higher Education Rankings SQL database into RDF. This will be used in your final assignment. You
can find the SQL database online on blackboard (timeshigher.sql). Dump the resulting RDF to a file.
Also, perform one SPARQL query over the dataset.
In your assignment:
1. Show a snippet of the RDF generated.
2. What syntax is it in?
3. Show the SPARQL query you performed.


1. I’ve loaded MySQL and managed to get the SGL dump running in the program ‘Sequal Pro.’




1.   I’ve made a mapping.ttl file by commandline for using the D2RQ environment. Which gives me
     Turtle syntax.

@prefix   map: <#> .
@prefix   db: <> .
@prefix   vocab: <vocab/> .
@prefix   rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix   rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix   xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix   d2rq: <http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#> .
@prefix   jdbc: <http://d2rq.org/terms/jdbc/> .

map:database a d2rq:Database;
       d2rq:jdbcDriver "com.mysql.jdbc.Driver";
       d2rq:jdbcDSN "jdbc:mysql://localhost:3306/VUDatabase";
       d2rq:username "root";
       d2rq:password "test";
       jdbc:autoReconnect "true";
       jdbc:zeroDateTimeBehavior "convertToNull";
       .

# Table rankings
map:rankings a d2rq:ClassMap;
       d2rq:dataStorage map:database;
       d2rq:uriPattern "rankings/@@rankings.id@@";
       d2rq:class vocab:rankings;
       d2rq:classDefinitionLabel "rankings";
       .
map:rankings__label a d2rq:PropertyBridge;
       d2rq:belongsToClassMap map:rankings;
       d2rq:property rdfs:label;
       d2rq:pattern "rankings #@@rankings.id@@";
       .
map:rankings_id a d2rq:PropertyBridge;
       d2rq:belongsToClassMap map:rankings;
       d2rq:property vocab:rankings_id;
       d2rq:propertyDefinitionLabel "rankings id";
       d2rq:column "rankings.id";
       d2rq:datatype xsd:integer;
       .
map:rankings_order a d2rq:PropertyBridge;
       d2rq:belongsToClassMap map:rankings;
       d2rq:property vocab:rankings_order;
       d2rq:propertyDefinitionLabel "rankings order";
       d2rq:column "rankings.order";
       d2rq:datatype xsd:integer;
       .
map:rankings_university a d2rq:PropertyBridge;
       d2rq:belongsToClassMap map:rankings;
       d2rq:property vocab:rankings_university;
       d2rq:propertyDefinitionLabel "rankings university";
       d2rq:column "rankings.university";
       .
map:rankings_overall_score a d2rq:PropertyBridge;
       d2rq:belongsToClassMap map:rankings;
       d2rq:property vocab:rankings_overall_score;
       d2rq:propertyDefinitionLabel "rankings overall_score";
       d2rq:column "rankings.overall_score";
       d2rq:datatype xsd:double;
       .
map:rankings_teaching a d2rq:PropertyBridge;
       d2rq:belongsToClassMap map:rankings;
       d2rq:property vocab:rankings_teaching;
       d2rq:propertyDefinitionLabel "rankings teaching";
       d2rq:column "rankings.teaching";
       d2rq:datatype xsd:double;
       .
map:rankings_international_mix a d2rq:PropertyBridge;
       d2rq:belongsToClassMap map:rankings;
       d2rq:property vocab:rankings_international_mix;
       d2rq:propertyDefinitionLabel "rankings international_mix";
       d2rq:column "rankings.international_mix";
       d2rq:datatype xsd:double;
       .
map:rankings_industry_income a d2rq:PropertyBridge;
       d2rq:belongsToClassMap map:rankings;
       d2rq:property vocab:rankings_industry_income;
       d2rq:propertyDefinitionLabel "rankings industry_income";
       d2rq:column "rankings.industry_income";
       d2rq:datatype xsd:double;
       .
map:rankings_research a d2rq:PropertyBridge;
       d2rq:belongsToClassMap map:rankings;
       d2rq:property vocab:rankings_research;
       d2rq:propertyDefinitionLabel "rankings research";
       d2rq:column "rankings.research";
       d2rq:datatype xsd:double;
       .
map:rankings_citations a d2rq:PropertyBridge;
       d2rq:belongsToClassMap map:rankings;
       d2rq:property vocab:rankings_citations;
       d2rq:propertyDefinitionLabel "rankings citations";
       d2rq:column "rankings.citations";
       d2rq:datatype xsd:double;
       .
3.	
  We’re	
  ready	
  to	
  go	
  to	
  perform	
  a	
  SPARQL	
  query	
  with	
  D2RQ.	
  I’ve	
  chosen	
  to	
  list	
  the	
  universities	
  with	
  
only	
  a	
  higher	
  rating	
  than	
  80.0	
  points.	
  Which	
  is	
  listed	
  in	
  the	
  column	
  ‘rankings_overall_score‘.




                                                                                                                                                                	
  

                    The	
  SPARQL	
  query	
  for	
  retrieving	
  universities	
  only	
  with	
  a	
  higher	
  rate	
  then	
  80	
  
	
  
	
  
Appendix	
  1	
  –	
  HTML	
  sourcecode	
  
<!DOCTYPE	
  html>	
  
<html	
  version="HTML+RDFa	
  1.1"	
  lang="en"	
  
	
              xmlns="http://www.w3.org/1999/html"	
  
	
              xmlns:rdf="http://www.w3.org/1999/02/22-­‐rdf-­‐syntax-­‐ns#"	
  
	
              xmlns:rdfs="http://www.w3.org/2000/01/rdf-­‐schema#"	
  
	
              xmlns:xsd="http://www.w3.org/2001/XMLSchema#"	
  
	
              xmlns:dc="http://purl.org/dc/elements/1.1/"	
  
	
              xmlns:foaf="http://xmlns.com/foaf/0.1/"	
  
	
              xmlns:dbp="http://dbpedia.org/page/">	
  
	
              	
  
	
              <head>	
  
	
              	
              <meta	
  charset="utf-­‐8">	
  
	
              	
              <title>Barry	
  Kollee</title>	
  
	
              	
              <meta	
  name="viewport"	
  content="width=device-­‐width,	
  initial-­‐scale=1.0">	
  
	
              	
              <meta	
  name="description"	
  content="">	
  
	
              	
              <meta	
  name="author"	
  content="">	
  
	
  
	
              	
              <link	
  href="css/bootstrap.css"	
  rel="stylesheet">	
  
	
              	
              <style	
  type="text/css">	
  
	
              	
              	
                 body	
  {	
  
	
              	
              	
                 	
            padding-­‐top:	
  60px;	
  
	
              	
              	
                 	
            padding-­‐bottom:	
  40px;	
  
	
              	
              	
                 }	
  
	
              	
              	
                 img	
  {	
  
	
              	
              	
                 	
            -­‐webkit-­‐box-­‐shadow:	
  2px	
  2px	
  6px	
  1px	
  rgba(0,	
  0,	
  0,	
  0.33);	
  
	
              	
              	
                 	
            box-­‐shadow:	
  2px	
  2px	
  6px	
  1px	
  rgba(0,	
  0,	
  0,	
  0.33);	
  
	
              	
              	
                 }	
  
	
              	
              </style>	
  
	
              </head>	
  
	
  
	
              <body>	
  
	
  
	
              	
              <div	
  class="navbar	
  navbar-­‐inverse	
  navbar-­‐fixed-­‐top">	
  
	
              	
              	
                 <div	
  class="navbar-­‐inner">	
  
	
              	
              	
                 	
            <div	
  class="container">	
  
	
              	
              	
                 	
            	
              <a	
  class="brand"	
  href="#">Barry	
  Kollee</a>	
  
	
              	
              	
                 	
            	
              <div	
  class="nav-­‐collapse	
  collapse">	
  
	
              	
              	
                 	
            	
              	
               <ul	
  class="nav">	
  
	
              	
              	
                 	
            	
              	
               	
               <li	
  class="active"><a	
  href="#">About	
  
me</a></li>	
  
	
              	
              	
                 	
            	
              	
               </ul>	
  
	
              	
              	
                 	
            	
              </div>	
  
	
              	
              	
                 	
            </div>	
  
	
              	
              	
                 </div>	
  
	
              	
              </div>	
  
	
  
	
              	
              <div	
  class="container">	
  
	
              	
              	
                 <div	
  class="row">	
  
	
              	
              	
                 	
  
	
              	
              	
                 <div	
  class="span2">	
  
	
              	
              	
                 	
            <img	
  style="margin-­‐top:	
  11px"	
  src="http://a
	
              0.twimg.com/profile_images/1441095528/Schermafbeelding_2011-­‐07-­‐13_om_23.09.06.png"	
  width="200"	
  
class="img-­‐rounded">	
  
	
              	
              	
                 </div>	
  
	
              	
              	
                 <div	
  class="span10">	
  
	
              	
              	
                 	
            <h4	
  property="name">Barry	
  Kollee</h4>	
  
	
              	
              	
                 	
            <blockquote	
  style="border-­‐left:0">	
  
	
              	
              	
                 	
            <p	
  class="muted">	
  
	
              	
              	
                 	
            	
              My	
  name	
  is	
  <span	
  typeof="foaf:Person"	
  
property="foaf:name">Barry	
  Kollee</span>.	
  I’m	
  a	
  student	
  of	
  the	
  <span	
  property="university">VU	
  university</span>.	
  
This	
  page	
  has	
  been	
  made	
  as	
  an	
  assignment	
  for	
  the	
  the	
  course	
  Semantic	
  web.<br><br>	
  
	
              	
              	
                 	
            	
              My	
  current	
  job	
  is	
  software	
  development	
  in	
  a	
  small	
  company	
  named	
  
<span	
  property="company">Nakko</span>.	
  We	
  mostly	
  develop	
  <span	
  property="software">applications</span>	
  for	
  
mobile	
  devices	
  like	
  <span	
  property="mobiledevice">iPhones</span>	
  and	
  <span	
  property="mobiledevice">Samsung	
  
Galaxy</span>.	
  <br><br>On	
  the	
  other	
  hand	
  we’re	
  also	
  active	
  in	
  the	
  world	
  of	
  mobile	
  advertisement.	
  
	
              	
              	
                 	
            </p>	
  
	
              	
              	
                 	
            </blockquote>	
  
	
              	
              	
                 	
            <h4>My	
  interests</h4>	
  
	
              	
              	
                 	
            <blockquote	
  style="border-­‐left:0">	
  
	
              	
              	
                 	
            <p	
  class="muted">	
  
         	
                	
                    	
              	
              My	
  interests	
  are	
  mostly	
  with	
  the	
  innovation	
  of	
  technique.	
  I	
  adore	
  
<span	
  property="electronics">gadgets</span>	
  and	
  am	
  looking	
  forward	
  to	
  see	
  how	
  technology	
  will	
  evolve	
  in	
  the	
  
upcoming	
  decades.	
  
	
          	
                	
                    	
              	
              <br><br>	
  
	
          	
                	
                    	
              	
              I’m	
  also	
  a	
  <span	
  property="sports">football</span>	
  player	
  at	
  a	
  local	
  
footballclub	
  and	
  am	
  a	
  fan	
  of	
  the	
  football	
  club	
  from	
  <span	
  property="capitalOfHolland">Amsterdam</span>	
  called	
  <span	
  
property="aDutchFootballclub">Ajax</span>.	
  
	
          	
                	
                    	
              </p>	
  
	
          	
                	
                    	
              	
              </blockquote>	
  
	
          	
                	
                    </div>	
  
	
          	
                	
                    </div>	
  
	
  
	
          	
                	
                    <hr>	
  
	
  
	
          	
                	
                    <footer>	
  
	
          	
                	
                    	
              	
  
	
          	
                	
                    	
              <p>Barry	
  Kollee<br><br>	
  
	
          	
                	
                    	
              	
              <span	
  property="foaf:mbox">b.kollee@student.vu.nl</span>	
  
	
          	
                	
                    	
              </p>	
  
	
          	
                	
                    </footer>	
  
	
  
	
          	
                </div>	
  	
  
	
  
	
          	
                <script	
  src="js/jquery.js"></script>	
  
	
          	
                <script	
  src="js/bootstrap-­‐transition.js"></script>	
  
	
          	
                <script	
  src="js/bootstrap-­‐alert.js"></script>	
  
	
          	
                <script	
  src="js/bootstrap-­‐modal.js"></script>	
  
	
          	
                <script	
  src="js/bootstrap-­‐dropdown.js"></script>	
  
	
          	
                <script	
  src="js/bootstrap-­‐scrollspy.js"></script>	
  
	
          	
                <script	
  src="js/bootstrap-­‐tab.js"></script>	
  
	
          	
                <script	
  src="js/bootstrap-­‐tooltip.js"></script>	
  
	
          	
                <script	
  src="js/bootstrap-­‐popover.js"></script>	
  
	
          	
                <script	
  src="js/bootstrap-­‐button.js"></script>	
  
	
          	
                <script	
  src="js/bootstrap-­‐collapse.js"></script>	
  
	
          	
                <script	
  src="js/bootstrap-­‐carousel.js"></script>	
  
	
          	
                <script	
  src="js/bootstrap-­‐typeahead.js"></script>	
  
	
  
	
          </body>	
  
</html>	
  
	
  

Contenu connexe

Tendances

RDF Tutorial - SPARQL 20091031
RDF Tutorial - SPARQL 20091031RDF Tutorial - SPARQL 20091031
RDF Tutorial - SPARQL 20091031kwangsub kim
 
A Semantic Multimedia Web (Part 2)
A Semantic Multimedia Web (Part 2)A Semantic Multimedia Web (Part 2)
A Semantic Multimedia Web (Part 2)Raphael Troncy
 
Aidan's PhD Viva
Aidan's PhD VivaAidan's PhD Viva
Aidan's PhD VivaAidan Hogan
 
An introduction to Semantic Web and Linked Data
An introduction to Semantic  Web and Linked DataAn introduction to Semantic  Web and Linked Data
An introduction to Semantic Web and Linked DataGabriela Agustini
 
Querying the Semantic Web with SPARQL
Querying the Semantic Web with SPARQLQuerying the Semantic Web with SPARQL
Querying the Semantic Web with SPARQLEmanuele Della Valle
 
Rdf In A Nutshell V1
Rdf In A Nutshell V1Rdf In A Nutshell V1
Rdf In A Nutshell V1Fabien Gandon
 
RDA, FRBR, and FRAD: Connecting the dots
RDA, FRBR, and FRAD: Connecting the dotsRDA, FRBR, and FRAD: Connecting the dots
RDA, FRBR, and FRAD: Connecting the dotsLouise Spiteri
 
Creating web applications with LODSPeaKr
Creating web applications with LODSPeaKrCreating web applications with LODSPeaKr
Creating web applications with LODSPeaKrAlvaro Graves
 
Piloting Linked Data to Connect Library and Archive Resources to the New Worl...
Piloting Linked Data to Connect Library and Archive Resources to the New Worl...Piloting Linked Data to Connect Library and Archive Resources to the New Worl...
Piloting Linked Data to Connect Library and Archive Resources to the New Worl...Laura Akerman
 
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)net2-project
 
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIsJosef Petrák
 
JVM Internals - NHJUG Jan 2012
JVM Internals - NHJUG Jan 2012JVM Internals - NHJUG Jan 2012
JVM Internals - NHJUG Jan 2012Doug Hawkins
 
The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)Myungjin Lee
 

Tendances (20)

Ontologies in RDF-S/OWL
Ontologies in RDF-S/OWLOntologies in RDF-S/OWL
Ontologies in RDF-S/OWL
 
RDF Tutorial - SPARQL 20091031
RDF Tutorial - SPARQL 20091031RDF Tutorial - SPARQL 20091031
RDF Tutorial - SPARQL 20091031
 
A Semantic Multimedia Web (Part 2)
A Semantic Multimedia Web (Part 2)A Semantic Multimedia Web (Part 2)
A Semantic Multimedia Web (Part 2)
 
Ist16-04 An introduction to RDF
Ist16-04 An introduction to RDF Ist16-04 An introduction to RDF
Ist16-04 An introduction to RDF
 
Aidan's PhD Viva
Aidan's PhD VivaAidan's PhD Viva
Aidan's PhD Viva
 
An introduction to Semantic Web and Linked Data
An introduction to Semantic  Web and Linked DataAn introduction to Semantic  Web and Linked Data
An introduction to Semantic Web and Linked Data
 
Querying the Semantic Web with SPARQL
Querying the Semantic Web with SPARQLQuerying the Semantic Web with SPARQL
Querying the Semantic Web with SPARQL
 
Rdf In A Nutshell V1
Rdf In A Nutshell V1Rdf In A Nutshell V1
Rdf In A Nutshell V1
 
RDA, FRBR, and FRAD: Connecting the dots
RDA, FRBR, and FRAD: Connecting the dotsRDA, FRBR, and FRAD: Connecting the dots
RDA, FRBR, and FRAD: Connecting the dots
 
Creating web applications with LODSPeaKr
Creating web applications with LODSPeaKrCreating web applications with LODSPeaKr
Creating web applications with LODSPeaKr
 
Piloting Linked Data to Connect Library and Archive Resources to the New Worl...
Piloting Linked Data to Connect Library and Archive Resources to the New Worl...Piloting Linked Data to Connect Library and Archive Resources to the New Worl...
Piloting Linked Data to Connect Library and Archive Resources to the New Worl...
 
RDF Data Model
RDF Data ModelRDF Data Model
RDF Data Model
 
SWT Lecture Session 2 - RDF
SWT Lecture Session 2 - RDFSWT Lecture Session 2 - RDF
SWT Lecture Session 2 - RDF
 
Data in RDF
Data in RDFData in RDF
Data in RDF
 
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
 
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
 
Introduction to SPARQL
Introduction to SPARQLIntroduction to SPARQL
Introduction to SPARQL
 
JVM Internals - NHJUG Jan 2012
JVM Internals - NHJUG Jan 2012JVM Internals - NHJUG Jan 2012
JVM Internals - NHJUG Jan 2012
 
The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)
 
Name That Graph !
Name That Graph !Name That Graph !
Name That Graph !
 

Similaire à Semantic web assignment 3

covo.js : A JavaScript Library to Utilize Subject Headings and Thesauri on th...
covo.js : A JavaScript Library to Utilize Subject Headings and Thesauri on th...covo.js : A JavaScript Library to Utilize Subject Headings and Thesauri on th...
covo.js : A JavaScript Library to Utilize Subject Headings and Thesauri on th...Shun Nagaya
 
Babouk: Focused Web Crawling for Corpus Compilation and Automatic Terminology...
Babouk: Focused Web Crawling for Corpus Compilation and Automatic Terminology...Babouk: Focused Web Crawling for Corpus Compilation and Automatic Terminology...
Babouk: Focused Web Crawling for Corpus Compilation and Automatic Terminology...Christophe Tricot
 
Fluidinfo: Publishing in an Openly Writeable World
Fluidinfo: Publishing in an Openly Writeable WorldFluidinfo: Publishing in an Openly Writeable World
Fluidinfo: Publishing in an Openly Writeable WorldFluidinfo
 
SMWCon 2012 Linked Data Visualizations
SMWCon 2012 Linked Data VisualizationsSMWCon 2012 Linked Data Visualizations
SMWCon 2012 Linked Data VisualizationsWilliam Smith
 
Simile Exhibit @ VGSom : A tutorial
Simile Exhibit @ VGSom : A tutorialSimile Exhibit @ VGSom : A tutorial
Simile Exhibit @ VGSom : A tutorialKanishka Chakraborty
 
WWW09 - Triplify Light-Weight Linked Data Publication from Relational Databases
WWW09 - Triplify Light-Weight Linked Data Publication from Relational DatabasesWWW09 - Triplify Light-Weight Linked Data Publication from Relational Databases
WWW09 - Triplify Light-Weight Linked Data Publication from Relational DatabasesSören Auer
 
Jarrar: The Next Generation of the Web 3.0: The Semantic Web
Jarrar: The Next Generation of the Web 3.0: The Semantic WebJarrar: The Next Generation of the Web 3.0: The Semantic Web
Jarrar: The Next Generation of the Web 3.0: The Semantic WebMustafa Jarrar
 
Pundit - SemLib Annotation Tool
Pundit - SemLib Annotation ToolPundit - SemLib Annotation Tool
Pundit - SemLib Annotation ToolSemLib Project
 
How to Optimize Your Drupal Site with Structured Content
How to Optimize Your Drupal Site with Structured ContentHow to Optimize Your Drupal Site with Structured Content
How to Optimize Your Drupal Site with Structured ContentAcquia
 
Introduction to Research Objects - Collaboartions Workshop 2015, Oxford
Introduction to Research Objects - Collaboartions Workshop 2015, OxfordIntroduction to Research Objects - Collaboartions Workshop 2015, Oxford
Introduction to Research Objects - Collaboartions Workshop 2015, Oxfordmatthewgamble
 
Evolutionary & Swarm Computing for the Semantic Web
Evolutionary & Swarm Computing for the Semantic WebEvolutionary & Swarm Computing for the Semantic Web
Evolutionary & Swarm Computing for the Semantic WebAnkit Solanki
 
Winter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20JavascriptWinter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20Javascripttutorialsruby
 
Winter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20JavascriptWinter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20Javascripttutorialsruby
 
An Introduction To The Use Of Widgets in libraries
An Introduction To The Use Of Widgets in librariesAn Introduction To The Use Of Widgets in libraries
An Introduction To The Use Of Widgets in librariesAaron Tay
 
Bringing semantic publishing into TEI: ideas and pointers
Bringing semantic publishing into TEI: ideas and pointersBringing semantic publishing into TEI: ideas and pointers
Bringing semantic publishing into TEI: ideas and pointersUniversity of Bologna
 
Exploring and using the Semantic Web - SSSW09 tutorial
Exploring and using the Semantic Web - SSSW09 tutorialExploring and using the Semantic Web - SSSW09 tutorial
Exploring and using the Semantic Web - SSSW09 tutorialMathieu d'Aquin
 

Similaire à Semantic web assignment 3 (20)

covo.js : A JavaScript Library to Utilize Subject Headings and Thesauri on th...
covo.js : A JavaScript Library to Utilize Subject Headings and Thesauri on th...covo.js : A JavaScript Library to Utilize Subject Headings and Thesauri on th...
covo.js : A JavaScript Library to Utilize Subject Headings and Thesauri on th...
 
Babouk: Focused Web Crawling for Corpus Compilation and Automatic Terminology...
Babouk: Focused Web Crawling for Corpus Compilation and Automatic Terminology...Babouk: Focused Web Crawling for Corpus Compilation and Automatic Terminology...
Babouk: Focused Web Crawling for Corpus Compilation and Automatic Terminology...
 
Fluidinfo: Publishing in an Openly Writeable World
Fluidinfo: Publishing in an Openly Writeable WorldFluidinfo: Publishing in an Openly Writeable World
Fluidinfo: Publishing in an Openly Writeable World
 
SMWCon 2012 Linked Data Visualizations
SMWCon 2012 Linked Data VisualizationsSMWCon 2012 Linked Data Visualizations
SMWCon 2012 Linked Data Visualizations
 
Simile Exhibit @ VGSom : A tutorial
Simile Exhibit @ VGSom : A tutorialSimile Exhibit @ VGSom : A tutorial
Simile Exhibit @ VGSom : A tutorial
 
WWW09 - Triplify Light-Weight Linked Data Publication from Relational Databases
WWW09 - Triplify Light-Weight Linked Data Publication from Relational DatabasesWWW09 - Triplify Light-Weight Linked Data Publication from Relational Databases
WWW09 - Triplify Light-Weight Linked Data Publication from Relational Databases
 
Jarrar: The Next Generation of the Web 3.0: The Semantic Web
Jarrar: The Next Generation of the Web 3.0: The Semantic WebJarrar: The Next Generation of the Web 3.0: The Semantic Web
Jarrar: The Next Generation of the Web 3.0: The Semantic Web
 
Pundit - SemLib Annotation Tool
Pundit - SemLib Annotation ToolPundit - SemLib Annotation Tool
Pundit - SemLib Annotation Tool
 
Biodiversity Informatics on the Semantic Web
Biodiversity Informatics on the Semantic WebBiodiversity Informatics on the Semantic Web
Biodiversity Informatics on the Semantic Web
 
How to Optimize Your Drupal Site with Structured Content
How to Optimize Your Drupal Site with Structured ContentHow to Optimize Your Drupal Site with Structured Content
How to Optimize Your Drupal Site with Structured Content
 
Introduction to Research Objects - Collaboartions Workshop 2015, Oxford
Introduction to Research Objects - Collaboartions Workshop 2015, OxfordIntroduction to Research Objects - Collaboartions Workshop 2015, Oxford
Introduction to Research Objects - Collaboartions Workshop 2015, Oxford
 
Evolutionary & Swarm Computing for the Semantic Web
Evolutionary & Swarm Computing for the Semantic WebEvolutionary & Swarm Computing for the Semantic Web
Evolutionary & Swarm Computing for the Semantic Web
 
Winter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20JavascriptWinter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20Javascript
 
Winter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20JavascriptWinter%200405%20-%20Advanced%20Javascript
Winter%200405%20-%20Advanced%20Javascript
 
Semantic Web and Linked Open Data
Semantic Web and Linked Open DataSemantic Web and Linked Open Data
Semantic Web and Linked Open Data
 
I0331047050
I0331047050I0331047050
I0331047050
 
An Introduction To The Use Of Widgets in libraries
An Introduction To The Use Of Widgets in librariesAn Introduction To The Use Of Widgets in libraries
An Introduction To The Use Of Widgets in libraries
 
Bringing semantic publishing into TEI: ideas and pointers
Bringing semantic publishing into TEI: ideas and pointersBringing semantic publishing into TEI: ideas and pointers
Bringing semantic publishing into TEI: ideas and pointers
 
Exploring and using the Semantic Web - SSSW09 tutorial
Exploring and using the Semantic Web - SSSW09 tutorialExploring and using the Semantic Web - SSSW09 tutorial
Exploring and using the Semantic Web - SSSW09 tutorial
 
Walter api
Walter apiWalter api
Walter api
 

Plus de BarryK88

Data mining test notes (back)
Data mining test notes (back)Data mining test notes (back)
Data mining test notes (back)BarryK88
 
Data mining test notes (front)
Data mining test notes (front)Data mining test notes (front)
Data mining test notes (front)BarryK88
 
Data mining Computerassignment 3
Data mining Computerassignment 3Data mining Computerassignment 3
Data mining Computerassignment 3BarryK88
 
Data mining assignment 2
Data mining assignment 2Data mining assignment 2
Data mining assignment 2BarryK88
 
Data mining assignment 4
Data mining assignment 4Data mining assignment 4
Data mining assignment 4BarryK88
 
Data mining assignment 3
Data mining assignment 3Data mining assignment 3
Data mining assignment 3BarryK88
 
Data mining assignment 5
Data mining assignment 5Data mining assignment 5
Data mining assignment 5BarryK88
 
Data mining assignment 6
Data mining assignment 6Data mining assignment 6
Data mining assignment 6BarryK88
 
Data mining assignment 1
Data mining assignment 1Data mining assignment 1
Data mining assignment 1BarryK88
 
Data mining Computerassignment 2
Data mining Computerassignment 2Data mining Computerassignment 2
Data mining Computerassignment 2BarryK88
 
Data mining Computerassignment 1
Data mining Computerassignment 1Data mining Computerassignment 1
Data mining Computerassignment 1BarryK88
 
Semantic web assignment1
Semantic web assignment1Semantic web assignment1
Semantic web assignment1BarryK88
 

Plus de BarryK88 (12)

Data mining test notes (back)
Data mining test notes (back)Data mining test notes (back)
Data mining test notes (back)
 
Data mining test notes (front)
Data mining test notes (front)Data mining test notes (front)
Data mining test notes (front)
 
Data mining Computerassignment 3
Data mining Computerassignment 3Data mining Computerassignment 3
Data mining Computerassignment 3
 
Data mining assignment 2
Data mining assignment 2Data mining assignment 2
Data mining assignment 2
 
Data mining assignment 4
Data mining assignment 4Data mining assignment 4
Data mining assignment 4
 
Data mining assignment 3
Data mining assignment 3Data mining assignment 3
Data mining assignment 3
 
Data mining assignment 5
Data mining assignment 5Data mining assignment 5
Data mining assignment 5
 
Data mining assignment 6
Data mining assignment 6Data mining assignment 6
Data mining assignment 6
 
Data mining assignment 1
Data mining assignment 1Data mining assignment 1
Data mining assignment 1
 
Data mining Computerassignment 2
Data mining Computerassignment 2Data mining Computerassignment 2
Data mining Computerassignment 2
 
Data mining Computerassignment 1
Data mining Computerassignment 1Data mining Computerassignment 1
Data mining Computerassignment 1
 
Semantic web assignment1
Semantic web assignment1Semantic web assignment1
Semantic web assignment1
 

Semantic web assignment 3

  • 1. Semantic  Web  Assignment  3   Studentname:       Barry  Kollee   Student  number:     10349863  (UvA  studentNr)   Student  username:     bke310  (VU  username)   Assignment  name:     Semantic  web  Assignment  3     Connecting  to  the  Web  of  Data   1.  List  three  widely  used  ontologies  on  the  Web  of  Data  and  what  they  are  used  to  represent.   • DBpedia.  This  is  an  ontology  which  covers  all  the  exisiting  Wikipedia  pages.  So  it  mainly  can   1 give  information  about  all  exisiting  Wikipedia  pages  or  parts  of  it.   • FOAF  (Friend  Of  A  Friend).  This  is  a  dictionary  of  named  properties  and  classes  using  W3C’s   2 RDF  technology.     • The  GeoNames  Ontology.  This  ontology  makes  it  possible  to  add  geospatial  semantic   3 information  to  the  Word  Wide  Web.        2.  Name  three  formats  for  embedding  structured  data  into  HTML.   • RDFa  Primer   • Microformats   • Microdata     3.  What  does  the  use  of  owl:sameAs  imply?     The  built-­‐in  OWL  property  owl:sameAs  inks  an  individual  to  an  individual.  Such  an  owl:sameAs   statement  indicates  that  two  URI  references  actually  refer  to  the  same  thing:  the  individuals  have  the   4 same  "identity".     4.  How  can  you  connect  a  Semantic  Web  resource  to  another  Semantic  Web  resource?  Name  two   approaches  and  give  an  example  of  each.     • We  can  compare  characters  of  the  labels  of  the  concepts.  I.e.  by  searching  on  different   languages.(Syntax  matching).           • Taxonomy  or  Hierarchy  comparison.  We   search  for  matches  in  the  hierarchy  of  2   Semantic  web  resources.  I.e.  by  mapping   family  relationships.     5.  Can  the  same  resource  have  multiple   representations?  (Yes/No)     Yes,  in  example  a  car  part  like  a  tire.  We  can  state  that   this  could  be  a  subclass  of  a  car  but  also  a  subclass  of   rubber  transport  parts.                                                                                                                   1  www.dbpedia.org     2  http://xmlns.com/foaf/spec/     3  http://www.geonames.org/ontology/documentation.html     4  http://www.w3.org/TR/owl-­‐ref/#sameAs-­‐def    
  • 2. Developing  an  RDFa  Web  page   Create  a  small  web  page,  for  example  a  personal  web  page  about  yourself  or  a  page  about  a  topic   your  interested  in.  Mark-­‐up  up  the  page  using  RDFa.  Be  sure  to  use  at  least  1  external  ontology.  Your   web  page  should  result  in  at  least  10  asserted  triples.  Check  that  your  web  page  has  correct  RDFa   mark-­‐up  by  using  http://inspector.sindice.com  (You  can  use  the  By  direct  input  tab).  Hand-­‐in:  Your   web  page  as  it  looks  in  a  browser;  the  source  code  (i.e.  HTML)  of  your  web  page;  the  output  of  the   Sindice  Inspector  including  rea-­‐oning;  A  paragraph  describing  whether  the  reasoning  is  what  you   expected   or  not.   5 For  creating  my  own  personal  page  I  used  a  tool  called  Bootstrap .  This  let’s  you  easily  create  a   webpage.       My  personal  webpage  made  with  Bootstrap                                                                                                                   5  http://twitter.github.com/bootstrap/    
  • 3.   Ontologies  given  by  Sindice  Inspector     Triples  given  by  Sindice  Inspector    
  • 4. I  mostly  used  explicit  triples  within  my  html  code.  I’ve  added  one    external  ontology  to  foaf:Person   which  you  can  see  in  the  diagram.  The  reasoning  is  done  on  all  my  declared  span  statements.  I  can   state  that  I’ve  got  the  result  that  I  want  because  all  my  properties  all  listed.  I  however  didn’t  managed   to  notice  why    my  diagram  points  to  the  stylesheet  which  is  brought  with  Bootstrap.   The  ontologies  that  are  being  retrieved  are  way  more  than  I  have  stated  in  my  HTML  file  as  prefixes.  It   looks  like  that  some  ontologies  already  refer  to  others.  That  could  be  the  reason  for  retrieving  so   many  with  Syndice  Inspector.  I  do  see  the  foaf  ontology  which  I  made  which  is  being  used  for  my   name.   My  sourcecode  is  listed  in  ‘Appendix  1  –  HTML  sourcecode’           Generated  graph  from  Sindice  inspector  
  • 5. Converting  a  database   Use D2RQ to convert the Times Higher Education Rankings SQL database into RDF. This will be used in your final assignment. You can find the SQL database online on blackboard (timeshigher.sql). Dump the resulting RDF to a file. Also, perform one SPARQL query over the dataset. In your assignment: 1. Show a snippet of the RDF generated. 2. What syntax is it in? 3. Show the SPARQL query you performed. 1. I’ve loaded MySQL and managed to get the SGL dump running in the program ‘Sequal Pro.’ 1. I’ve made a mapping.ttl file by commandline for using the D2RQ environment. Which gives me Turtle syntax. @prefix map: <#> . @prefix db: <> . @prefix vocab: <vocab/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix d2rq: <http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#> . @prefix jdbc: <http://d2rq.org/terms/jdbc/> . map:database a d2rq:Database; d2rq:jdbcDriver "com.mysql.jdbc.Driver"; d2rq:jdbcDSN "jdbc:mysql://localhost:3306/VUDatabase"; d2rq:username "root"; d2rq:password "test"; jdbc:autoReconnect "true"; jdbc:zeroDateTimeBehavior "convertToNull"; . # Table rankings
  • 6. map:rankings a d2rq:ClassMap; d2rq:dataStorage map:database; d2rq:uriPattern "rankings/@@rankings.id@@"; d2rq:class vocab:rankings; d2rq:classDefinitionLabel "rankings"; . map:rankings__label a d2rq:PropertyBridge; d2rq:belongsToClassMap map:rankings; d2rq:property rdfs:label; d2rq:pattern "rankings #@@rankings.id@@"; . map:rankings_id a d2rq:PropertyBridge; d2rq:belongsToClassMap map:rankings; d2rq:property vocab:rankings_id; d2rq:propertyDefinitionLabel "rankings id"; d2rq:column "rankings.id"; d2rq:datatype xsd:integer; . map:rankings_order a d2rq:PropertyBridge; d2rq:belongsToClassMap map:rankings; d2rq:property vocab:rankings_order; d2rq:propertyDefinitionLabel "rankings order"; d2rq:column "rankings.order"; d2rq:datatype xsd:integer; . map:rankings_university a d2rq:PropertyBridge; d2rq:belongsToClassMap map:rankings; d2rq:property vocab:rankings_university; d2rq:propertyDefinitionLabel "rankings university"; d2rq:column "rankings.university"; . map:rankings_overall_score a d2rq:PropertyBridge; d2rq:belongsToClassMap map:rankings; d2rq:property vocab:rankings_overall_score; d2rq:propertyDefinitionLabel "rankings overall_score"; d2rq:column "rankings.overall_score"; d2rq:datatype xsd:double; . map:rankings_teaching a d2rq:PropertyBridge; d2rq:belongsToClassMap map:rankings; d2rq:property vocab:rankings_teaching; d2rq:propertyDefinitionLabel "rankings teaching"; d2rq:column "rankings.teaching"; d2rq:datatype xsd:double; . map:rankings_international_mix a d2rq:PropertyBridge; d2rq:belongsToClassMap map:rankings; d2rq:property vocab:rankings_international_mix; d2rq:propertyDefinitionLabel "rankings international_mix"; d2rq:column "rankings.international_mix"; d2rq:datatype xsd:double; . map:rankings_industry_income a d2rq:PropertyBridge; d2rq:belongsToClassMap map:rankings; d2rq:property vocab:rankings_industry_income; d2rq:propertyDefinitionLabel "rankings industry_income"; d2rq:column "rankings.industry_income"; d2rq:datatype xsd:double; . map:rankings_research a d2rq:PropertyBridge; d2rq:belongsToClassMap map:rankings; d2rq:property vocab:rankings_research; d2rq:propertyDefinitionLabel "rankings research"; d2rq:column "rankings.research"; d2rq:datatype xsd:double; . map:rankings_citations a d2rq:PropertyBridge; d2rq:belongsToClassMap map:rankings; d2rq:property vocab:rankings_citations; d2rq:propertyDefinitionLabel "rankings citations"; d2rq:column "rankings.citations"; d2rq:datatype xsd:double; .
  • 7. 3.  We’re  ready  to  go  to  perform  a  SPARQL  query  with  D2RQ.  I’ve  chosen  to  list  the  universities  with   only  a  higher  rating  than  80.0  points.  Which  is  listed  in  the  column  ‘rankings_overall_score‘.   The  SPARQL  query  for  retrieving  universities  only  with  a  higher  rate  then  80      
  • 8. Appendix  1  –  HTML  sourcecode   <!DOCTYPE  html>   <html  version="HTML+RDFa  1.1"  lang="en"     xmlns="http://www.w3.org/1999/html"     xmlns:rdf="http://www.w3.org/1999/02/22-­‐rdf-­‐syntax-­‐ns#"     xmlns:rdfs="http://www.w3.org/2000/01/rdf-­‐schema#"     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"     xmlns:dc="http://purl.org/dc/elements/1.1/"     xmlns:foaf="http://xmlns.com/foaf/0.1/"     xmlns:dbp="http://dbpedia.org/page/">         <head>       <meta  charset="utf-­‐8">       <title>Barry  Kollee</title>       <meta  name="viewport"  content="width=device-­‐width,  initial-­‐scale=1.0">       <meta  name="description"  content="">       <meta  name="author"  content="">         <link  href="css/bootstrap.css"  rel="stylesheet">       <style  type="text/css">         body  {           padding-­‐top:  60px;           padding-­‐bottom:  40px;         }         img  {           -­‐webkit-­‐box-­‐shadow:  2px  2px  6px  1px  rgba(0,  0,  0,  0.33);           box-­‐shadow:  2px  2px  6px  1px  rgba(0,  0,  0,  0.33);         }       </style>     </head>       <body>         <div  class="navbar  navbar-­‐inverse  navbar-­‐fixed-­‐top">         <div  class="navbar-­‐inner">           <div  class="container">             <a  class="brand"  href="#">Barry  Kollee</a>             <div  class="nav-­‐collapse  collapse">               <ul  class="nav">                 <li  class="active"><a  href="#">About   me</a></li>               </ul>             </div>           </div>         </div>       </div>         <div  class="container">         <div  class="row">                 <div  class="span2">           <img  style="margin-­‐top:  11px"  src="http://a   0.twimg.com/profile_images/1441095528/Schermafbeelding_2011-­‐07-­‐13_om_23.09.06.png"  width="200"   class="img-­‐rounded">         </div>         <div  class="span10">           <h4  property="name">Barry  Kollee</h4>           <blockquote  style="border-­‐left:0">           <p  class="muted">             My  name  is  <span  typeof="foaf:Person"   property="foaf:name">Barry  Kollee</span>.  I’m  a  student  of  the  <span  property="university">VU  university</span>.   This  page  has  been  made  as  an  assignment  for  the  the  course  Semantic  web.<br><br>             My  current  job  is  software  development  in  a  small  company  named   <span  property="company">Nakko</span>.  We  mostly  develop  <span  property="software">applications</span>  for   mobile  devices  like  <span  property="mobiledevice">iPhones</span>  and  <span  property="mobiledevice">Samsung   Galaxy</span>.  <br><br>On  the  other  hand  we’re  also  active  in  the  world  of  mobile  advertisement.           </p>           </blockquote>           <h4>My  interests</h4>           <blockquote  style="border-­‐left:0">           <p  class="muted">  
  • 9.           My  interests  are  mostly  with  the  innovation  of  technique.  I  adore   <span  property="electronics">gadgets</span>  and  am  looking  forward  to  see  how  technology  will  evolve  in  the   upcoming  decades.             <br><br>             I’m  also  a  <span  property="sports">football</span>  player  at  a  local   footballclub  and  am  a  fan  of  the  football  club  from  <span  property="capitalOfHolland">Amsterdam</span>  called  <span   property="aDutchFootballclub">Ajax</span>.           </p>             </blockquote>         </div>         </div>           <hr>           <footer>                     <p>Barry  Kollee<br><br>             <span  property="foaf:mbox">b.kollee@student.vu.nl</span>           </p>         </footer>         </div>           <script  src="js/jquery.js"></script>       <script  src="js/bootstrap-­‐transition.js"></script>       <script  src="js/bootstrap-­‐alert.js"></script>       <script  src="js/bootstrap-­‐modal.js"></script>       <script  src="js/bootstrap-­‐dropdown.js"></script>       <script  src="js/bootstrap-­‐scrollspy.js"></script>       <script  src="js/bootstrap-­‐tab.js"></script>       <script  src="js/bootstrap-­‐tooltip.js"></script>       <script  src="js/bootstrap-­‐popover.js"></script>       <script  src="js/bootstrap-­‐button.js"></script>       <script  src="js/bootstrap-­‐collapse.js"></script>       <script  src="js/bootstrap-­‐carousel.js"></script>       <script  src="js/bootstrap-­‐typeahead.js"></script>       </body>   </html>