有人可以在sparql中帮助我吗?我正在从事基于本体的项目。我有一个像protege-owl这样的结构
City-hasWeatherConditions-(multiple value i.e temp,dewpoint)
我想获取每个属性的值。
PREFIX pro: <http://www.semanticweb.org/computer/ontologies/2019/0/fyp.owl#>
select ?indi ?val
where
{
{
select ?indi
where
{
pro:Lahore
<http://www.semanticweb.org/computer/ontologies/2019/0/fyp.owl#hasWeatherCondition>
?indi
}
}
{
select ?val
where
{
<http://www.semanticweb.org/computer/ontologies/2019/0/fyp.owl#DewPoint>
<http://www.semanticweb.org/computer/ontologies/2019/0/fyp.owl#hasDewPoint>
?val
}
}
}