W3C home > Mailing lists > Public > public-xg-mmsem@w3.org > November 2006

Comments on "Image Annotation Semantic Web" examples + N3 conversions

From: Massimo Martinelli <Massimo.Martinelli@isti.cnr.it>
Date: Mon, 27 Nov 2006 17:03:58 +0100
To: public-xg-mmsem@w3.org
Message-id: <456B0C6E.3080303@isti.cnr.it>

Dear all,

Please find here some more comments on the examples of the "Image
Annotation on the Semantic Web" document.


1)  5_2
  <!ENTITY painting
"http://thing-described-by.org/?http://www.metmuseum.org/Works_Of_Art/images/ep/images/ep67.241.L.jpg">
should be
  <!ENTITY painting1
"http://thing-described-by.org/?http://www.metmuseum.org/Works_Of_Art/images/ep/images/ep67.241.L.jpg">



2) 5_2
  <vra:Image rdf:about="&image1a;">
should be
  <vra:Image rdf:about="&image1;">



3) 5_2
  <vra:Image rdf:about="&image1b;">
should be
  <vra:Image rdf:about="&image2;">



4) 5_2
      </vra:Image>
    </rdf:RDF>

should be

      </vra:Image>
    </vra:Work>
  </rdf:RDF>





5)  5_4

two namespaces are missing

  xmlns:svg="http://www.w3.org/2000/svg"
  xmlns:xlink="http://www.w3.org/1999/xlink/">



6)  5_4
      <svg xml:space="preserve" width="451" heigth="640" viewBox="0 0
451 640">
         ...
      </svg>

should be

      <svg:svg xml:space="preserve" width="451" heigth="640" viewBox="0
0 451 640">
         ...
      </svg:svg>


7) examples 5_1 and 5_2 have to be checked:
   some parsing problems remain.



>  XG UPDATES
> 
>    Image annotations deliverable: Raphael is editing, but didn't check
>    in yet
> 
>    XML exampes still need to be converted to N3 and the graphs need to
>    be redone
> 
>    <mhausenb> volunteer to convert ...




Please also check the following N3 conversions,
because i'm not very skilled with the N3 notation !

--------------------------------------------------
2.2.1

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix ex: <http://example.org/> .
@prefix : <http://example.org/> .

<:Ganesh.jpg>
  dc:creator   'Jeff Z. Pan';
  dc:title     'An image of the Elephant Ganesh'.


----------------------------
5.1

@prefix : <http://www.altova.com/ontologies/location#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcmi: <http://purl.org/dc/dcmitype/> .
@prefix event: <http://www.altova.com/ontologies/personal_history_event#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix lsc: <http://www.altova.com/ontologies/landscape#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix vra: <http://www.vraweb.org/vracore/vracore3#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .


<http://www.w3.org/2001/sw/BestPractices/MM/images/examples/Personal.jpg>
    dc:creator  [
             a foaf:Person;
             foaf:familyname "Stabenaou";
             foaf:firstname "Arne" ];
             dc:date "2002-12-40";
             dc:description "Photo of Katerina Tzouvara during Vacations
in Thailand";
         dc:format "JPEG";
         dc:type dcmi:Image;
         :located_in_City  [
             a :City;
             :belongs_to_Country  [
                 a :Country ];
             foaf:name "Phi Phi" ];
         :located_in_Continent  [
             a :Continent ];
         :located_in_Country  [
             a :Country ];

<vra:measurements.resolution> "300 x 225px";
         foaf:depicts  [
             a lsc:Beach ],
                 [
             a lsc:Palm_Tree ],
                 [
             a foaf:Person;
             foaf:familyname "Tzouvara";
             foaf:firstname "Katerina" ], event:Vacations, lsc:Sand .


----------------
5.5.1

@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
@prefix case1: <http://www.telemed.uniud.it/cases/case1/>
@prefix : <http://www.telemed.uniud.it/cases/case1/>

<:case1>
      dc:contributor  		"Della Mea, Vincenzo";
      dc:creator  		"Beltrami, Carlo Alberto";
      dc:date  			"2006-05-30";
      dc:description  		"Female, 86 yrs. Some clinical history. This
field might be further structured.";
      dc:identifier  		"http://www.telemed.uniud.it/cases/case1/";
      dc:language  		"EN";
      dc:relation.hasPart   	:image1.jpg, image2.jpg;
      dc:subject  [
             a dcterms:MESH;
             rdf:value "A10.549.400";
             rdfs:label "lymph nodes" ],
                 [
             a dcterms:MESH;
             rdf:value "C04.697.650.560";
             :label "lymphatic metastasis" ],
                 [
             a dcterms:MESH;
             rdf:value "C04.557.470.200.025.200";
             rdfs:label "carcinoid tumor" ];
      dc:title  			"Sample annotated image" .




---------------
5.3

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix tva: <urn:tva:metadata:2002> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix : <#>

<program1> a <urn:tva:metadata:2002Program>;
         <urn:tva:metadata:2002Genre>
<urn:tva:metadata:cs:ContentCS:2002:Sports>,
<urn:tva:metadata:cs:FormatCS:2002:Magazine>,
<urn:tva:metadata:cs:IntentionCS:2002:Entertainment>;
         <urn:tva:metadata:2002ReleaseInformation>  [
             <urn:tva:metadata:2002ReleaseDate>  [
                 xsd:date "2002-03-17" ];
             <urn:tva:metadata:2002ReleaseLocation> "fr" ];
         <urn:tva:metadata:2002hasSynopsis> "Weekly Sports Magazine
broadcasted every Sunday";
         <urn:tva:metadata:2002hasTitle> "Stade 2" .

----------
5.4

@prefix SMALL: <http://grin.hq.nasa.gov/IMAGES/SMALL/> .
@prefix example: <http://example.org/> .
@prefix System-ont:
<http://semspace.mindswap.org/2004/ontologies/System-ont.owl#> .
@prefix www.w3: <http://www.w3.org/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ns: <http://www.w3.org/2003/12/exif/ns#> .
@prefix technical: <http://www.mindswap.org/~glapizco/technical.owl#> .
@prefix ShuttleMission-ont:
<http://semspace.mindswap.org/2004/ontologies/ShuttleMission-ont.owl#> .
@prefix digital-media: <http://www.mindswap.org/2005/owl/digital-media#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix NASA-Use-Case: <http://example.org/NASA-Use-Case#> .
@prefix : <http://example.org/NASA-Use-Case> .


<example:A0>	    			rdfs:type     				technical:ImagePart;
								rdfs:label     				"region2407";
      							digital-media:svgOutline    :Anonymous1;
       							digital-media:regionOf     	SMALL:GPN-2000-001171.jpg;
        						digital-media:depicts     	NASA-Use-Case:Saturn_1B .

<SMALL:GPN-2000-001171.jpg>     rdfs:type      				technical:Image;
							    digital-media:hasRegion 	Anonymous2;
								digital-media:depicts 		NASA-Use-Case:Apollo_7_Launch;
								dc:description  			"Taken at Kennedy Space Center in Florida";
								dc:creator  				"NASA";
								ns:imageWidth  				"451";
								dc:date  					"10/11/1968";
								ns:imageLength  			"640";
														
<NASA-Use-Case:Apollo_7_Launch> :rdfs:type     					
ShuttleMission-ont:Launch;
    							rdfs:label    						"Apollo 7 Launch";
							    ShuttleMission-ont:has_shuttle     	:Saturn_1B;
							    digital-media:depiction     		 :GPN-2000-001171.jpg;
								ShuttleMission-ont:codeName  		"Apollo 7 Launch";
								ShuttleMission-ont:launchDate  		"10/11/1968" .

<NASA-Use-Case:Saturn_1B>   	rdfs:type 				    System-ont:ShuttleName;
 								rdfs:label     				"Saturn_1B";
      							rdfs:label     				"Saturn 1B";
							    digital-media:depiction     :Anonymous2;
							    digital-media:depiction  	:Anonymous3.
							
							
<:Anonymous1>					rdfs:type					svg:svg;
								:heigth  					"640";
								:width  					"451";
								:viewBox  					"0 0 451 640";
								:image  					"";
								:rect  						"";

<:Anonymous2> .
<:Anonymous3> .



Best regards,
Massimo
Received on Monday, 27 November 2006 16:05:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:20 GMT