A few minor spelling fixes

encoder
Yuri Astrakhan 3 years ago committed by Thomas Tanon
parent 913a826140
commit 3bed098e9e
  1. 2
      lib/oxrdf/src/dataset.rs
  2. 2
      lib/oxrdf/src/graph.rs
  3. 2
      lib/sparesults/src/solution.rs
  4. 2
      lib/spargebra/src/parser.rs
  5. 8
      lib/src/sparql/eval.rs
  6. 2
      lib/src/sparql/model.rs
  7. 2
      server/README.md

@ -489,7 +489,7 @@ impl Dataset {
/// Applies on the dataset the canonicalization process described in /// Applies on the dataset the canonicalization process described in
/// [Canonical Forms for Isomorphic and Equivalent RDF Graphs: Algorithms for Leaning and Labelling Blank Nodes, Aidan Hogan, 2017](http://aidanhogan.com/docs/rdf-canonicalisation.pdf). /// [Canonical Forms for Isomorphic and Equivalent RDF Graphs: Algorithms for Leaning and Labelling Blank Nodes, Aidan Hogan, 2017](http://aidanhogan.com/docs/rdf-canonicalisation.pdf).
/// ///
/// Usage example ([Dataset isomorphim](https://www.w3.org/TR/rdf11-concepts/#dfn-dataset-isomorphism)): /// Usage example ([Dataset isomorphism](https://www.w3.org/TR/rdf11-concepts/#dfn-dataset-isomorphism)):
/// ``` /// ```
/// use oxrdf::*; /// use oxrdf::*;
/// ///

@ -179,7 +179,7 @@ impl Graph {
/// Applies on the graph the canonicalization process described in /// Applies on the graph the canonicalization process described in
/// [Canonical Forms for Isomorphic and Equivalent RDF Graphs: Algorithms for Leaning and Labelling Blank Nodes, Aidan Hogan, 2017](http://aidanhogan.com/docs/rdf-canonicalisation.pdf). /// [Canonical Forms for Isomorphic and Equivalent RDF Graphs: Algorithms for Leaning and Labelling Blank Nodes, Aidan Hogan, 2017](http://aidanhogan.com/docs/rdf-canonicalisation.pdf).
/// ///
/// Usage example ([Graph isomorphim](https://www.w3.org/TR/rdf11-concepts/#dfn-graph-isomorphism)): /// Usage example ([Graph isomorphism](https://www.w3.org/TR/rdf11-concepts/#dfn-graph-isomorphism)):
/// ``` /// ```
/// use oxrdf::*; /// use oxrdf::*;
/// ///

@ -49,7 +49,7 @@ impl QuerySolution {
/// use oxrdf::{Variable, Literal}; /// use oxrdf::{Variable, Literal};
/// ///
/// let solution = QuerySolution::from((vec![Variable::new_unchecked("foo"), Variable::new_unchecked("bar")], vec![Some(Literal::from(1).into()), None])); /// let solution = QuerySolution::from((vec![Variable::new_unchecked("foo"), Variable::new_unchecked("bar")], vec![Some(Literal::from(1).into()), None]));
/// assert_eq!(solution.len(), 2); // there arre /// assert_eq!(solution.len(), 2); // there are
/// ``` /// ```
#[inline] #[inline]
pub fn len(&self) -> usize { pub fn len(&self) -> usize {

@ -511,7 +511,7 @@ fn build_select(
if with_aggregate && !are_variables_bound(&expression, &visible) { if with_aggregate && !are_variables_bound(&expression, &visible) {
// We validate projection variables if there is an aggregate // We validate projection variables if there is an aggregate
return Err( return Err(
"The SELECT contains an exprssion with a variable that is unbound", "The SELECT contains an expression with a variable that is unbound",
); );
} }
p = GraphPattern::Extend { p = GraphPattern::Extend {

@ -1499,12 +1499,12 @@ impl SimpleEvaluator {
} }
_ => { _ => {
result.push(b'%'); result.push(b'%');
let hight = c / 16; let high = c / 16;
let low = c % 16; let low = c % 16;
result.push(if hight < 10 { result.push(if high < 10 {
b'0' + hight b'0' + high
} else { } else {
b'A' + (hight - 10) b'A' + (high - 10)
}); });
result.push(if low < 10 { result.push(if low < 10 {
b'0' + low b'0' + low

@ -258,7 +258,7 @@ impl Iterator for QueryTripleIter {
} }
#[test] #[test]
fn test_serialization_rountrip() -> Result<(), EvaluationError> { fn test_serialization_roundtrip() -> Result<(), EvaluationError> {
use std::io::Cursor; use std::io::Cursor;
use std::str; use std::str;

@ -171,7 +171,7 @@ services:
## For multiple users: uncomment this line to mount a pre-generated .htpasswd ## For multiple users: uncomment this line to mount a pre-generated .htpasswd
# - ./.htpasswd:/etc/nginx/.htpasswd # - ./.htpasswd:/etc/nginx/.htpasswd
ports: ports:
- 7878:7878 - "7878:7878"
entrypoint: "bash -c 'echo -n $OXIGRAPH_USER: >> /etc/nginx/.htpasswd && echo $OXIGRAPH_PASSWORD | openssl passwd -stdin -apr1 >> /etc/nginx/.htpasswd && /docker-entrypoint.sh nginx'" entrypoint: "bash -c 'echo -n $OXIGRAPH_USER: >> /etc/nginx/.htpasswd && echo $OXIGRAPH_PASSWORD | openssl passwd -stdin -apr1 >> /etc/nginx/.htpasswd && /docker-entrypoint.sh nginx'"
``` ```

Loading…
Cancel
Save