I have one input inference in Virtuoso Open Source, that was defined from goodrelations site —
rdfs_rule_set('http://purl.org/goodrelations/v1', 'http://purl.org/goodrelations/v1');
— that I used in query using —
define input:inference <http://purl.org/goodrelations/v1> .
Now I want to consolidate all brand which have same name, give owl:sameAs inference to it, and insert in into rule set —
rdfs_rule_set('samebrands', 'samebrands');
However, when I add more inference, Virtuoso told me I can’t add more than 1 inference to query.
How should I do it? Thank you :).
You have to use another pragma:
See the documentation.
Another approach is to define an inference rule which contains two graphs (GR and samebrands).