Very new to this, so might have some terms wrong. I want to get a subset of triples for an entity (or entities). For example, this gives me 856 (as of now) triples for these two entities, including some labels and also /prop/direct/
, /prop/direct-normalized/
, and /prop/
predicates:
CONSTRUCT {?s ?p ?o.}
WHERE {
VALUES ?s {wd:Q937 wd:Q670439}
{?s ?p ?o.}
}
But what if I only want the /prop/direct/
(wdt
) triples? Would I use FILTER
in some way? I suspect I'm missing the correct way to specify these in the first place. I'd like to stick with the CONSTRUCT
verb. Thanks.