I am trying to use SPARQLMotion to get the dbpedia URI for companies
that I have loaded via semanticXML. My script currently only consists
of one Module which is an ApplyConstruct module. When running Debug,
on this module, it doesn’t seem to return any assertions in the
SPARQLMotion Results View (I do check ‘Display result triples). The
CONSTRUCT query I use in this module works fine when run directly as a
standalone SPARQL query:

CONSTRUCT {
    ?s owl:sameAs ?o3 .
}
WHERE {
    ?s a CQ:displayName .
    ?s composite:child ?o .
    ?o sxml:text ?o2 .
    LET (?o3 := smf:dbpedia(?o2)) .
}

This returns that following assertion. Note that only one of the 10 or
so companies I have loaded actually has a dbpedia result, which is as
expected:

<displayName workstateID=”ReadyNotQAed”>  owl:sameAs  <http://
dbpedia.org/resource/Genuine_Parts_Company>

I would like this applyConstruct module to assert this match so I can
utilize it to get more data on this company from dbpedia.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to