Changes

Jump to navigation Jump to search
Line 99: Line 99:     
== linking to wikidata ==
 
== linking to wikidata ==
  −
== defining properties for a type ==
  −
  −
{{SPARQL|query=
  −
SELECT ?class ?classLabel ?wikidataQid ?property ?propertyLabel ?wikidataPid WHERE {
  −
  ?class pdiot:P291 ?property.
  −
  OPTIONAL {?class pdiot:P103 ?wikidataQid}
  −
  OPTIONAL {?property pdiot:P104 ?wikidataPid}
  −
  SERVICE wikibase:label {
  −
    bd:serviceParam wikibase:language "en" .
  −
  } 
  −
}
  −
ORDER BY ASC(?classLabel)
  −
LIMIT 100
  −
|label=expected properties
  −
}}
  −
  −
{{SPARQL|query=
  −
#defaultView:Graph
  −
SELECT ?class ?classLabel  ?rgb ?property ?propertyLabel  WHERE {
  −
  ?class pdiot:P291 ?property.
  −
  BIND ("111177" AS ?rgb)
  −
  SERVICE wikibase:label {
  −
    bd:serviceParam wikibase:language "en" .
  −
  } 
  −
}
  −
ORDER BY ASC(?classLabel)
  −
LIMIT 100
  −
|label=graph of expected properties
  −
}}
 

Navigation menu