How to generate Graphs using triples in Stardog

Hi Team,

Could you please suggest me the tutorials or videos to generate graphs in Stardog using triples. Any material related to Graphs generation is also works fine. I could see most of the tutorials around SPARQL but not on Knowledge Graphs generation.

Thanks and Regards,
Omkar Thadem

do you mean this?

INSERT DATA {
    GRAPH :g1 {
        :a a :concept .
        :b a :concept .
    }

    GRAPH :g2 {
        :c a :concept .
        :d a :concept .
    }
}
SELECT *
WHERE {
    GRAPH ?g { ?s ?p ?o }
}

SELECT *
WHERE {
    GRAPH :g2 { ?s ?p ?o }
}

Hi Crapthings,

That was a great help. I think, I was looking for CONSTRUCT SPARQL query to generate the RDF Graph based on the triples.

Thanks and Regards,
Omkar Thadem

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.