Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INSERT
- {GRAPH <http://data.linkedmdb.org/linkset> {
- ?instance1 owl:sameAs ?instance2.
- }}
- WHERE
- {GRAPH <http://data.linkedmdb.org> {
- ?instance1 owl:sameAs ?instance2.
- FILTER(REGEX(str(?instance2), 'http://dbpedia.org'))
- }}
- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- SELECT * {
- ?s rdf:type <http://www.w3.org/2002/07/owl#ObjectProperty>
- }
- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- SELECT * {
- ?s rdf:type <http://www.w3.org/2002/07/owl#DatatypeProperty>
- }
- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- SELECT DISTINCT *
- WHERE {GRAPH <http://data.linkedmdb.org> {
- ?instance1 owl:sameAs ?instance2.
- OPTIONAL {
- GRAPH <http://data.linkedmdb.org> {
- ?instance1 rdf:type ?c1.
- }}
- OPTIONAL {
- GRAPH <http://dbpedia.org> {
- ?instance2 rdf:type ?c2.
- }}
- }}
- LIMIT 10 OFFSET 0
- +++++++++++++++++++++++++++++++++++++++++++++++++++++
- SPARQL SELECT DISTINCT * {
- GRAPH <http://graph1> {
- ?instance1 xlore:hasURL ?propertyValue1.
- OPTIONAL {
- ?instance1 rdf:type ?c1.
- }
- OPTIONAL {GRAPH <http://graph2> {
- ?instance2 rdf:type ?c2.
- ?instance2 foaf:isPrimaryTopicOf ?propertyValue2.
- }}
- FILTER(str(?propertyValue1) = str(?propertyValue2))
- }
- }
- LIMIT 10 OFFSET 0
- +++++++++++++++++++++++++++++++++++++++++++++++++++++
- SPARQL SELECT DISTINCT * {
- GRAPH <http://graph1> {
- ?instance1 xlore:hasURL ?propertyValue1.
- OPTIONAL {
- ?instance1 owl:InstanceOf ?c1.
- }
- OPTIONAL {GRAPH <http://graph2> {
- ?instance2 rdf:type ?c2.
- ?instance2 foaf:isPrimaryTopicOf ?propertyValue2.
- }}
- FILTER(str(?propertyValue1) = str(?propertyValue2))
- }
- }
- LIMIT 10 OFFSET 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement