Ankesh Sep11 Jesse Weaver
From Semantic Portal Wiki
CSCI 6966 Advanced Semantic Web (Fall 2008)
- syllabus, announcements, presentations
- Lesson 1, Lesson 2, Lesson 3, Lesson 4, Lesson 5, Lesson 6,
- Lesson 7, Lesson 8, Lesson 9, Lesson 10, Lesson 11, Lesson 12, Lesson 13
- Question is for the Presentation: Ankesh Sep11
- Question is asked by: Jesse Weaver
- The Question is: The paper mentions that variables are replaced by constants from filter expressions, but depending on the system, the two forms of the query may mean different things. As an example, consider:
SELECT ?s WHERE {
?s <test:p> ?o .
FILTER(?o = "true"^^xsd:boolean)
}
According to SPARQL, the '=' operator here checks for _boolean_ equality if ?o is bound to an xsd:boolean literal. Therefore, if ?o binds to "1"^^xsd:boolean (non-canonical but valid lexical representation), FILTER "passes". However, with variable replacement, the query would become:
SELECT ?s WHERE {
?s <test:p> "true"^^xsd:boolean .
}
Depending on the system, this may not be equivalent (although it could be). Does DARQ account for this?
Facts about Ankesh Sep11 Jesse WeaverRDF feed
| Question asked | The paper mentions that variables are repl … The paper mentions that variables are replaced by constants from filter expressions, but depending on the system, the two forms of the query may mean different things. As an example, consider:
SELECT ?s WHERE {
?s <test:p> ?o .
FILTER(?o = "true"^^xsd:boolean)
}
According to SPARQL, the '=' operator here checks for _boolean_ equality if ?o is bound to an xsd:boolean literal. Therefore, if ?o binds to "1"^^xsd:boolean (non-canonical but valid lexical representation), FILTER "passes". However, with variable replacement, the query would become: SELECT ?s WHERE {
?s <test:p> "true"^^xsd:boolean .
}
Depending on the system, this may not be equivalent (although it could be). Does DARQ account for this? it could be). Does DARQ account for this? |
| Question asked by | Jesse Weaver + |
| Question for the Presentation | Ankesh Sep11 + |

