Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement an RDF-LDF can_answer($pattern) method #13

Open
phochste opened this issue Jan 20, 2016 · 1 comment
Open

Implement an RDF-LDF can_answer($pattern) method #13

phochste opened this issue Jan 20, 2016 · 1 comment

Comments

@phochste
Copy link
Owner

 my $ldf = RDF::LDF->new(url => $url);
 if ($ldf->can_answer($pattern)) {
       ... do stuff ...
 }

In the LDF protocol not all variables could be available for querying. The hydra:variable section in the LDF controls defined the mapping of requests parameters to LDF queries.

@phochste
Copy link
Owner Author

LDF context should contain hydra:required for all parameters that must be provided in the pattern query

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant