User:Rc1959/InformaticsQueries

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:

computer science term (Q66747126) instances edit

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!

computer science term (Q66747126) subclasses edit

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!

part of (P361)s computer program (Q40056) edit

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!