Skip to content

Generated query to use rdf:type in match #57

@CyberDaedalus00

Description

@CyberDaedalus00

When I generate a SPARQL query from a GraphQL query, I always see the statement in the WHERE clause is something like:

?df_3_0 <http://example.org/hero> ?hero.

which won't match anything in our knowledge base and thus cause the query to return with no results.

What I was expected was a statement more like:

?hero <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/hero>

which would then be followed by the remainder of the statements used to obtain the predicate values of interest.

Is there a way to get the code to generate that? Perhaps I've missed something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions