Rdf Sparql查询where子句

Rdf Sparql查询where子句,rdf,sparql,Rdf,Sparql,我想得到peakHour是19,peakDay是周日的个人。就像在SQL中一样:从abc中选择*,其中peakHour=19,PeakDay=Suday 下面的sparql查询工作正常,但不完整。我不知道如何将和peakDay=Sunday添加到sparql查询中 SELECT ?x WHERE { ?x <http://www.semanticweb.org/administrator/ontologies/2014/2/untitled-ontology-5#filePeakHour

我想得到peakHour是19,peakDay是周日的个人。就像在SQL中一样:从abc中选择*,其中peakHour=19,PeakDay=Suday

下面的sparql查询工作正常,但不完整。我不知道如何将和peakDay=Sunday添加到sparql查询中

SELECT ?x WHERE 
{ ?x <http://www.semanticweb.org/administrator/ontologies/2014/2/untitled-ontology-5#filePeakHour> "19" }

请指导我如何在Sparql查询的WHERE子句中添加和关键字

规范中有很多示例,其中包括:

如果您愿意,您可以使用一些语法上的糖分将其缩短一点:

prefix : <http://www.semanticweb.org/administrator/ontologies/2014/2/untitled-ontology-5#file>

select ?x where {
  ?x :PeakHour "19" ;
     :PeakDay "Sunday" .
}
prefix : <http://www.semanticweb.org/administrator/ontologies/2014/2/untitled-ontology-5#file>

select ?x where {
  ?x :PeakHour "19" .
  ?x :PeakDay "Sunday" .
}
prefix : <http://www.semanticweb.org/administrator/ontologies/2014/2/untitled-ontology-5#file>

select ?x where {
  ?x :PeakHour "19" ;
     :PeakDay "Sunday" .
}