我试图从NCBI的MeSH中获得解剖学术语的所有同义词,但它似乎是低的(est?)级别术语正在被省略。
"NK细胞“绝对是”杀死细胞,自然“,http://purl.bioontology.org/ontology/MESH/D007694的同义词,它是MeSH”解剖分类“http://purl.bioontology.org/ontology/MESH/U000002的后代。
http://www.ncbi.nlm.nih.gov/mesh/68007694
我已经将http://bioportal.bioontology.org/ontologies/MESH中的三元组加载到AWS/EC2中的Virtuoso服务器中。
"NK单元“不会出现在mesh:U 000002:的所有子类查询中。
PREFIX mesh: <http://purl.bioontology.org/ontology/MESH/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
select ?s ?o where {
?s skos:altLabel ?o
{ select ?s
where {
{ ?s rdfs:subClassOf* mesh:U000002 } .
}
}
}会不会有
“”“NK”确实出现在一个查询中,该查询只开始一个较低的级别,即“”,
PREFIX mesh: <http://purl.bioontology.org/ontology/MESH/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
select ?s ?o where {
?s skos:altLabel ?o
{ select ?s
where {
{ ?s rdfs:subClassOf* mesh:D002477 } .
}
}
}发布于 2015-07-08 20:02:29
我将ResultSetMaxRows在virtuoso.ini的SPARQL部分从10,000增加到10,000。
我对所有解剖同义词的查询现在大约有35,000行长,包括"NK细胞“。
我的系统中有几个virtuoso.ini文件。我编辑了/opt/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.ini
https://stackoverflow.com/questions/31296605
复制相似问题