User:Rc1959/InformaticsQueries

From Wikidata
Jump to navigation Jump to search

Exploring Informatics

[edit]

Computer science terms computer science term (Q66747126)

[edit]

The aim of this page is to find equivalence between "Informatics" ontology and CIM. First, this tries to list existing computer science terms:

It returns "process", "file", "directory"

SELECT DISTINCT ?subject ?subjectLabel ?instanceOf WHERE {
  ?subject wdt:P279* wd:Q66747126 . # computer science term
  OPTIONAL { ?subject wdt:P279 ?instanceOf } .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
order by ?subjectLabel
Try it!
SELECT DISTINCT ?subject ?subjectLabel ?instanceOf WHERE {
  ?subject wdt:P31* wd:Q66747126 . # computer science term
  OPTIONAL { ?subject wdt:P31 ?instanceOf } .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
order by ?subjectLabel
Try it!

Not many data.

SELECT DISTINCT ?subject ?subjectLabel WHERE {
  ?subject wdt:P361* wd:Q40056 . # computer program
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
order by ?subjectLabel
Try it!

Anything related to native API (Q2246458)

[edit]

The Windows native API is mentioned in WikiData. What relates to it ? Nothing of interest.

SELECT DISTINCT ?subject ?subjectLabel ?predicateLabel WHERE {
  ?subject ?predicateLabel wd:Q2246458 .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
order by ?subjectLabel
Try it!