我正在尝试将所有ttl文件合并到一个数据转储中,但是当我尝试这样做时
rdfproc test_big parse vm_base.ttl turtle
这是永远的,还在等待...,让我怀疑它已经卡在某个地方。
有没有更好的选择可以更快地做到这一点? 除了我在Protégé中手动打开所有文件(这是我一直在做的,并发现它很费时)。
修改
我用riot
合并了两个文件进行了测试,但是为什么给出重复的@prefix
声明呢?
@prefix schema: <https://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix cocoon: <https://w3id.org/cocoon/v1.0.1#> .
<https://w3id.org/cocoon/data/v1.0.1/Device/150.203.213.249/lat=-35.271475/long=149.121434>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> cocoon:Device ;
rdfs:comment "The computer used to conduct the tests, belongs to Australian National University College of Engineering & Computer Science."@en ;
rdfs:label "CECS-030929"@en .
_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> schema:Place .
_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> schema:GeoCoordinates ;
schema:address "Hanna Neumann Building #145, Science Road, Canberra ACT 2601" ;
schema:latitude "-35.271475" ;
schema:longitude "149.121434" .
_:b0 schema:geo _:b1 .
<https://w3id.org/cocoon/data/v1.0.1/Device/150.203.213.249/lat=-35.271475/long=149.121434>
cocoon:inPhisicalLocation _:b0 ;
cocoon:ipv4 "150.203.213.249" .
@prefix schema: <https://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix cocoon: <https://w3id.org/cocoon/v1.0.1#> .
<1-KB> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> schema:TypeAndQuantityNode ;
schema:amountOfThisGood "1"^^xsd:interger ;
schema:unitText "KB" ;
schema:unitCode "2P" .
我对文件进行了测试