Overview
This article explains the process of converting data created with Microsoft Visio to RDF format, and the method for adding RDF data when a specific URI (in this case, a Japan Search URI containing information about Katsushika Hokusai) is specified. We introduce techniques for handling Visio data in RDF format through the conversion process, and present the results of incorporating information about Katsushika Hokusai as a concrete example.
Background
In the following article, I introduced an example of converting data created with Microsoft Visio to RDF:
This time, I added a process to include additional RDF data when a URI is specified. Here are some notes on this.
Sample Data
In this example, we specify the URI of Katsushika Hokusai published on Japan Search.

Processing Results
The converted TTL file looks as follows:
@prefix ex: <http://example.org/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix ns1: <http://schema.org/> .
@prefix ns2: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
foaf:Person a rdfs:Class,
owl:Class ;
rdfs:label "Person" ;
rdfs:comment "A person." ;
rdfs:isDefinedBy foaf: ;
rdfs:subClassOf <http://www.w3.org/2003/01/geo/wgs84_pos#SpatialThing>,
foaf:Agent ;
owl:disjointWith foaf:Organization,
foaf:Project ;
owl:equivalentClass ns1:Person,
<http://www.w3.org/2000/10/swap/pim/contact#Person> ;
ns2:term_status "stable" .
ex:BOB ex:knows ex:Alice ;
ex:type foaf:Person ;
foaf:topic_interest <https://jpsearch.go.jp/entity/chname/่้ฃพๅๆ> .
<https://jpsearch.go.jp/entity/chname/่้ฃพๅๆ> a <https://jpsearch.go.jp/term/type/Agent>,
<https://jpsearch.go.jp/term/type/Person> ;
rdfs:label "่้ฃพๅๆ" ;
ns1:birthDate <https://jpsearch.go.jp/entity/time/1760> ;
ns1:deathDate <https://jpsearch.go.jp/entity/time/1849> ;
ns1:description "1760?-1849, ๆฑๆธๆไปฃๅพๆใฎๆตฎไธ็ตตๅธซใๅงใฏๅทๆๆฐใๅนผๅใฏๆๅคช้ใใฎใก้่ตใ้็งฐใฏไธญๅณถๅ
ซๅณ่ก้ใๅทใฏๅๅทๆฅๆใๅฎ็ใๆดๆใ็บไธใ็ป็่ไบบใๅใชใฉใ" ;
ns1:image <https://commons.wikimedia.org/wiki/Special:FilePath/Hokusai_portrait_whiteBackground.png?width=350> ;
ns1:name "Katsushika, Hokusai"@en,
"ใใคใใๅๆ"@ja,
"ๅๅๆ"@ja,
"ๅๅๆๅ"@ja,
"ๅๅๆ็บไธ"@ja,
"ๅๅๆ็บไธ่ไบบ"@ja,
"ๅๅทๆฅๆ"@ja,
"ๅๆ"@ja,
"ๅๆ่ผๆๆน่้ฃพ็บไธ"@ja,
"ๅๆ"@ja,
"ๅๆไธปไบบ"@ja,
"ๅๆๅฎ็"@ja,
"ๅๆ็บไธๅ"@ja,
"็ป็ไบบๅๆ"@ja,
"่้ฃพๅๆ"@ja,
"่้ฃพๅ่ไบบ"@ja,
"ใใคใใ ใปใใใ"@ja-hira,
"ใซใใทใซ ใใฏใตใค"@ja-kana ;
ns1:subjectOf <https://jpsearch.go.jp/data/nij15-nijl_nijl_nijl_kotengakutougouhyakka_hagajinmeijiten_00029172> ;
ns1:url <https://jpsearch.go.jp/gallery/ndl-xbzl6VVOpkhjzlg> ;
rdfs:isDefinedBy <https://jpsearch.go.jp/entity/chname/> ;
owl:sameAs <http://collection.britishmuseum.org/id/person-institution/1820>,
<http://data.bnf.fr/ark:/12148/cb124954814#about>,
<http://dbpedia.org/resource/Hokusai>,
<http://edan.si.edu/saam/id/person-institution/2267>,
<http://id.ndl.go.jp/auth/entity/00270331>,
<http://ja.dbpedia.org/resource/่้ฃพๅๆ>,
<http://lod.ac/id/1626>,
<http://viaf.org/viaf/69033717>,
<http://www.wikidata.org/entity/Q5586> .
The data without RDF data added via URI is shown below. By comparing with the above, you can confirm that data about foaf:Person and Katsushika Hokusai has been added.
@prefix ex: <http://example.org/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
ex:BOB ex:knows ex:Alice ;
ex:type foaf:Person ;
foaf:topic_interest <https://jpsearch.go.jp/entity/chname/่้ฃพๅๆ> .
Visualization Results
The visualization results of the above TTL file are shown below:

A partially enlarged view is shown below:

You can confirm that the data is connected via URIs.
Summary
For more information about retrieving RDF data from URIs, please refer to the following:
I hope this serves as a useful reference.


