# Fortune 500 Companies Data from Wikidata

**Use case:** 

Retrieve detailed information on Fortune 500 companies, including founding dates, employee counts, and country details. Get structured data effortlessly.

## Input

```json
{
  "mode": "sparql",
  "query": "Douglas Adams",
  "qids": [
    "Q42",
    "Q64",
    "Q1"
  ],
  "sparql": "SELECT ?company ?companyLabel ?country ?countryLabel ?founded ?employees WHERE { ?company wdt:P31 wd:Q6881511 . ?company wdt:P17 wd:Q30 . OPTIONAL { ?company wdt:P571 ?founded . } OPTIONAL { ?company wdt:P1128 ?employees . } OPTIONAL { ?company wdt:P17 ?country . } SERVICE wikibase:label { bd:serviceParam wikibase:language \"en\". } } ORDER BY ?companyLabel LIMIT 500",
  "language": "en",
  "maxResults": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "qid": {
    "label": "QID",
    "format": "text"
  },
  "label": {
    "label": "Label",
    "format": "text"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "instanceOf": {
    "label": "Instance Of",
    "format": "text"
  },
  "aliases": {
    "label": "Aliases",
    "format": "text"
  },
  "wikidataUrl": {
    "label": "Wikidata URL",
    "format": "link"
  },
  "claims": {
    "label": "Claims (JSON)",
    "format": "text"
  },
  "sparqlBindings": {
    "label": "SPARQL Bindings",
    "format": "text"
  },
  "mode": {
    "label": "Mode",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Wikidata Scraper — Search, Entities & SPARQL API](https://apify.com/logiover/wikidata-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/logiover/wikidata-scraper) to learn more, explore other use cases, and run it yourself.