-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
427 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
use prefixmap::PrefixMap; | ||
use srdf::{QuerySolutionIter, RdfData, SRDF}; | ||
|
||
#[derive(Debug, Clone)] | ||
pub struct QueryProcessor { | ||
rdf_data: RdfData, | ||
} | ||
|
||
impl QueryProcessor { | ||
pub fn new(rdf_data: RdfData) -> QueryProcessor { | ||
QueryProcessor { | ||
rdf_data: rdf_data.clone(), | ||
} | ||
} | ||
|
||
pub fn prefix_map(&self) -> Option<PrefixMap> { | ||
Some(self.rdf_data.prefixmap()) | ||
} | ||
|
||
pub fn query_select<S: SRDF>(_str: &str) -> QuerySolutionIter<S> { | ||
todo!() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
mod rdf_data; | ||
mod rdf_data_config; | ||
mod rdf_data_error; | ||
|
||
pub use rdf_data::*; | ||
pub use rdf_data_config::*; | ||
pub use rdf_data_error::*; |
Oops, something went wrong.