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

How does eager_load_object_triples account for a graph? #51

Open
pmackay opened this issue Dec 5, 2015 · 0 comments
Open

How does eager_load_object_triples account for a graph? #51

pmackay opened this issue Dec 5, 2015 · 0 comments

Comments

@pmackay
Copy link

pmackay commented Dec 5, 2015

I've been trying to get eager_load_object_triples to work and finding it returned nothing initially. However when I edited this:

    else
      construct_query = "CONSTRUCT { ?o ?obj_pred ?obj_label } WHERE { <#{self.uri.to_s}> ?p ?o . ?o ?obj_pred ?obj_label }"
    end

to include a GRAPH clause in the WHERE referencing the graph the triples were stored in, it worked.

I'm sure I'm missing something very obvious here, any tips much appreciated.

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