"loading configuration file config.json from cache at C:\\Users\\Albin/.cache\\huggingface\\hub\\models--facebook--bart-large\\snapshots\\cb48c1365bd826bd521f650dc2e0940aee54720c\\config.json\n",
"Model config BartConfig {\n",
" \"activation_dropout\": 0.1,\n",
" \"activation_function\": \"gelu\",\n",
" \"add_bias_logits\": false,\n",
" \"add_final_layer_norm\": false,\n",
" \"architectures\": [\n",
" \"BartModel\"\n",
" ],\n",
" \"attention_dropout\": 0.1,\n",
" \"bos_token_id\": 0,\n",
" \"classif_dropout\": 0.1,\n",
" \"classifier_dropout\": 0.0,\n",
" \"d_model\": 1024,\n",
" \"decoder_attention_heads\": 16,\n",
" \"decoder_ffn_dim\": 4096,\n",
" \"decoder_layerdrop\": 0.0,\n",
" \"decoder_layers\": 12,\n",
" \"decoder_start_token_id\": 2,\n",
" \"dropout\": 0.1,\n",
" \"early_stopping\": true,\n",
" \"encoder_attention_heads\": 16,\n",
" \"encoder_ffn_dim\": 4096,\n",
" \"encoder_layerdrop\": 0.0,\n",
" \"encoder_layers\": 12,\n",
" \"eos_token_id\": 2,\n",
" \"forced_bos_token_id\": 0,\n",
" \"forced_eos_token_id\": 2,\n",
" \"gradient_checkpointing\": false,\n",
" \"id2label\": {\n",
" \"0\": \"LABEL_0\",\n",
" \"1\": \"LABEL_1\",\n",
" \"2\": \"LABEL_2\"\n",
" },\n",
" \"init_std\": 0.02,\n",
" \"is_encoder_decoder\": true,\n",
" \"label2id\": {\n",
" \"LABEL_0\": 0,\n",
" \"LABEL_1\": 1,\n",
" \"LABEL_2\": 2\n",
" },\n",
" \"max_position_embeddings\": 1024,\n",
" \"model_type\": \"bart\",\n",
" \"no_repeat_ngram_size\": 3,\n",
" \"normalize_before\": false,\n",
" \"num_beams\": 4,\n",
" \"num_hidden_layers\": 12,\n",
" \"pad_token_id\": 1,\n",
" \"scale_embedding\": false,\n",
" \"task_specific_params\": {\n",
" \"summarization\": {\n",
" \"length_penalty\": 1.0,\n",
" \"max_length\": 128,\n",
" \"min_length\": 12,\n",
" \"num_beams\": 4\n",
" },\n",
" \"summarization_cnn\": {\n",
" \"length_penalty\": 2.0,\n",
" \"max_length\": 142,\n",
" \"min_length\": 56,\n",
" \"num_beams\": 4\n",
" },\n",
" \"summarization_xsum\": {\n",
" \"length_penalty\": 1.0,\n",
" \"max_length\": 62,\n",
" \"min_length\": 11,\n",
" \"num_beams\": 6\n",
" }\n",
" },\n",
" \"transformers_version\": \"4.23.1\",\n",
" \"use_cache\": true,\n",
" \"vocab_size\": 50265\n",
"}\n",
"\n",
"loading weights file pytorch_model.bin from cache at C:\\Users\\Albin/.cache\\huggingface\\hub\\models--facebook--bart-large\\snapshots\\cb48c1365bd826bd521f650dc2e0940aee54720c\\pytorch_model.bin\n",
"All model checkpoint weights were used when initializing BartForConditionalGeneration.\n",
"\n",
"All the weights of BartForConditionalGeneration were initialized from the model checkpoint at facebook/bart-large.\n",
"If your task is similar to the task the model of the checkpoint was trained on, you can already use BartForConditionalGeneration for predictions without further training.\n",
"loading file vocab.json from cache at C:\\Users\\Albin/.cache\\huggingface\\hub\\models--facebook--bart-large\\snapshots\\cb48c1365bd826bd521f650dc2e0940aee54720c\\vocab.json\n",
"loading file merges.txt from cache at C:\\Users\\Albin/.cache\\huggingface\\hub\\models--facebook--bart-large\\snapshots\\cb48c1365bd826bd521f650dc2e0940aee54720c\\merges.txt\n",
"loading file added_tokens.json from cache at None\n",
"loading file special_tokens_map.json from cache at None\n",
"loading file tokenizer_config.json from cache at C:\\Users\\Albin/.cache\\huggingface\\hub\\models--facebook--bart-large\\snapshots\\cb48c1365bd826bd521f650dc2e0940aee54720c\\tokenizer_config.json\n",
"loading configuration file config.json from cache at C:\\Users\\Albin/.cache\\huggingface\\hub\\models--facebook--bart-large\\snapshots\\cb48c1365bd826bd521f650dc2e0940aee54720c\\config.json\n",
"Parameter 'function'=<function convert_to_features at 0x0000011A8610D430> of the transform datasets.arrow_dataset.Dataset._map_single couldn't be hashed properly, a random hash was used instead. Make sure your transforms and parameters are serializable with pickle or dill for the dataset fingerprinting and caching to work. If you reuse this transform, the caching mechanism will consider it to be different from the previous calls and recompute everything. This warning is only showed once. Subsequent hashing failures won't be showed.\n"
"SELECT DISTINCT?uri WHERE {?uri dbo:text?uri }\n",
"\"text\",\"SELECT DISTINCT?uri WHERE {?uri <http://dbpedia.org/ontology/text> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Salt_Lake_City dbo:timeZone }\n",
"\"What is the dbo:timeZone of res:Salt_Lake_City?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Salt_Lake_City> <http://dbpedia.org/ontology/timeZone> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Caesar_(game) dbo:billed?uri }\n",
"\"Who dbo:billed res:Caesar_(game)?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Caesar_(game)> <http://dbpedia.org/ontology/billed> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Germany dbo:elevation?uri }\n",
"\"What is the dbo:elevation in res:Germany?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Germany> <http://dbpedia.org/ontology/elevation> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Vietnam_War dbo:office?uri }\n",
"\"Which res:Organization_of_American_States were in dbo:office during the res:Vietnam_War?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Vietnam_War> <http://dbpedia.org/ontology/office> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Butch Otter dbo:governor?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1\n",
"\"Butch Otter is the dbo:governor of which U.S. state?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Butch> Otter <http://dbpedia.org/ontology/governor> ?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Michael_Phelps dbo:award?uri }\n",
"\"How many dbo:goldMedalist did res:Michael_Phelps dbo:award at the res:2008_Summer_Olympics?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Michael_Phelps> <http://dbpedia.org/ontology/award> ?uri }\"\n",
"\n",
"SELECT DISTINCT?date WHERE { res:Rachel_Stevens dbo:birthPlace?date }\n",
"\"Which dbp:artist were dbo:birthPlace on the same date as res:Rachel_Stevens?\",\"SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Rachel_Stevens> <http://dbpedia.org/ontology/birthPlace> ?date }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Frank_Herbert dbo:profession?uri }\n",
"\"What is the dbo:profession of res:Frank_Herbert?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Frank_Herbert> <http://dbpedia.org/ontology/profession> ?uri }\"\n",
"\n",
"ASK WHERE { res:Japan dbo:type res:Taiko }\n",
"\"Are res:Taiko some kind of res:Japan?\",\"ASK WHERE { <http://dbpedia.org/resource/Japan> <http://dbpedia.org/ontology/type> <http://dbpedia.org/resource/Taiko> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:FC_Porto dbo:numberOfSeat?uri }\n",
"\"How many dbp:seat does the home res:FC_Porto have?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/FC_Porto> <http://dbpedia.org/ontology/numberOfSeat> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Frequent-Flyer_program dbo:airlineCode }\n",
"\"Which res:Frequent-flyer_program has the most dbo:icaoAirlineCode?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Frequent-Flyer_program> <http://dbpedia.org/ontology/airlineCode> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Europe dbo:government?uri }\n",
"\"Which res:Europe have a res:Constitutional_monarchy?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Europe> <http://dbpedia.org/ontology/government> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Countries_of_the_United_Kingdom dbo:country?uri }\n",
"\"Which res:Countries_of_the_United_Kingdom have dbo:place with more than two res:Caves_of_Aggtelek_Karst_and_Slovak_Karst?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Countries_of_the_United_Kingdom> <http://dbpedia.org/ontology/country> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:United_States dbo:targetAirport?uri }\n",
"\"Which dbo:targetAirport are dbo:place in res:California,_Cincinnati res:United_States?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/United_States> <http://dbpedia.org/ontology/targetAirport> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:San_Francisco dbo:mascot?uri }\n",
"\"What are the dbo:mascot of res:San_Francisco?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/San_Francisco> <http://dbpedia.org/ontology/mascot> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Name_at_birth dbo:birthPlace?uri }\n",
"\"What is res:Name_at_birth?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Name_at_birth> <http://dbpedia.org/ontology/birthPlace> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Berlin dbo:mayor?uri }\n",
"\"Who is the dbo:mayor of res:Berlin?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Berlin> <http://dbpedia.org/ontology/mayor> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Countries_of_the_United_Kingdom dbo:country?uri }\n",
"\"Which res:Countries_of_the_United_Kingdom in the res:Europe?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Countries_of_the_United_Kingdom> <http://dbpedia.org/ontology/country> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Mean_Hamster_Software dbo:publisher?uri }\n",
"\"Which res:Software has been dbo:publisher by res:Mean_Hamster_Software?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Mean_Hamster_Software> <http://dbpedia.org/ontology/publisher> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Bill_Gates dbo:birthPlace?uri }\n",
"\"Which dbo:country was res:Bill_Gates dbo:birthPlace in?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Bill_Gates> <http://dbpedia.org/ontology/birthPlace> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Jacques_Cousteau dbo:child?uri }\n",
"\"How many dbo:child did res:Jacques_Cousteau have?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Jacques_Cousteau> <http://dbpedia.org/ontology/child> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Sweden dbo:occupation?uri }\n",
"\"Give me all dbo:occupation from res:Sweden.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Sweden> <http://dbpedia.org/ontology/occupation> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:United_Kingdom dbo:spouse res:Germany }\n",
"\"Which dbo:leader of the res:United_Kingdom were dbo:spouse to a res:Germany?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/United_Kingdom> <http://dbpedia.org/ontology/spouse> <http://dbpedia.org/resource/Germany> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Argentina dbo:country?uri }\n",
"\"Give me all res:Argentina.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Argentina> <http://dbpedia.org/ontology/country> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Michael_Jackson dbo:deathDate }\n",
"\"How did res:Michael_Jackson dbo:deathDate?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Michael_Jackson> <http://dbpedia.org/ontology/deathDate> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE {?uri dbo:state?uri }\n",
"\"Which U.S. state has been dbp:known latest?\",\"SELECT DISTINCT?uri WHERE {?uri <http://dbpedia.org/ontology/state> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Millipede dbo:date?uri }\n",
"\"Which dbo:classes does the res:Millipede dbo:date to?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Millipede> <http://dbpedia.org/ontology/date> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Forbes dbo:headline?uri }\n",
"\"Give me the homepage of res:Forbes.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Forbes> <http://dbpedia.org/ontology/headline> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Amanda_Palmer dbo:spouse?uri }\n",
"\"Who is the dbo:spouse of res:Amanda_Palmer?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Amanda_Palmer> <http://dbpedia.org/ontology/spouse> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:The_Storm_on_the_Sea_of_Galilee dbo:artist?uri }\n",
"\"Who dbp:artist res:The_Storm_on_the_Sea_of_Galilee?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/The_Storm_on_the_Sea_of_Galilee> <http://dbpedia.org/ontology/artist> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Karakoram dbo:elevation?uri }\n",
"\"What is the dbo:elevation of res:Karakoram?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Karakoram> <http://dbpedia.org/ontology/elevation> ?uri }\"\n",
"\n",
"SELECT DISTINCT?date WHERE { res:Basque_language dbo:date?date }\n",
"\"When did res:Join res:Basque_language?\",\"SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Basque_language> <http://dbpedia.org/ontology/date> ?date }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:The_Big_Bang_Theory dbo:starring?uri }\n",
"\"Which dbo:background dbo:starring in res:The_Big_Bang_Theory?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/The_Big_Bang_Theory> <http://dbpedia.org/ontology/starring> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Oscar dbo:award?uri }\n",
"\"Which res:Computer_scientist dbo:award an res:Oscar?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Oscar> <http://dbpedia.org/ontology/award> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Harry_Potter dbo:author?uri }\n",
"\"Who dbp:author res:Harry_Potter?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Harry_Potter> <http://dbpedia.org/ontology/author> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Nobel_Prize dbo:Literature dbp:award?uri }\n",
"\"Give me all dbo:writer that dbo:award the res:Nobel_Prize in res:Literature.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Nobel_Prize> <http://dbpedia.org/ontology/Literature> <http://dbpedia.org/property/award> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Lovesick_(Priscilla_Renea_song) dbo:starring?uri }\n",
"\"Give me res:The_Actors dbo:starring in res:Lovesick_(Priscilla_Renea_song).\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Lovesick_(Priscilla_Renea_song)> <http://dbpedia.org/ontology/starring> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Baghdad dbo:address?uri }\n",
"\"What is the dbo:address of res:Baghdad?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Baghdad> <http://dbpedia.org/ontology/address> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Montenegro dbo:birthPlace dbp:leader?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1\n",
"\"In which dbo:city was the dbo:president of res:Montenegro dbo:birthPlace?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Montenegro> <http://dbpedia.org/ontology/birthPlace> <http://dbpedia.org/property/leader> ?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Population_density dbo:state?uri }\n",
"\"Which U.S. state has the res:Population_density?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Population_density> <http://dbpedia.org/ontology/state> ?uri }\"\n",
"\n",
"SELECT Dbo:River WHERE { res:China dbo:river dbp:length?length }\n",
"\"What is the longest dbo:river in res:China?\",\"SELECT Dbo:River WHERE { <http://dbpedia.org/resource/China> <http://dbpedia.org/ontology/river> <http://dbpedia.org/property/length> ?length }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Berlin dbo:area?uri }\n",
"\"What is the dbo:areaCode of res:Berlin?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Berlin> <http://dbpedia.org/ontology/area> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Ivy_League dbo:effectiveRadiatedPower?uri }\n",
"\"How many res:Scientists_for_Global_Responsibility dbo:effectiveRadiatedPower from an res:Ivy_League?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Ivy_League> <http://dbpedia.org/ontology/effectiveRadiatedPower> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Australia dbo:birthPlace?uri }\n",
"\"Which dbo:specialist were dbo:birthPlace in res:Australia?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Australia> <http://dbpedia.org/ontology/birthPlace> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Curaçao dbo:country?uri }\n",
"\"Give me all res:Curaçao.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Curaçao> <http://dbpedia.org/ontology/country> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Mars dbo:moon?uri }\n",
"\"How many res:7805_Moons does res:Mars have?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Mars> <http://dbpedia.org/ontology/moon> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Batman dbo:name?uri }\n",
"\"What is res:Batman's res:Real-name_system?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Batman> <http://dbpedia.org/ontology/name> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Elon_Musk dbo:author?uri }\n",
"\"What is res:Elon_Musk for?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Elon_Musk> <http://dbpedia.org/ontology/author> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:WikiLeaks dbo:author?uri }\n",
"\"Who is the dbo:author of res:WikiLeaks?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/WikiLeaks> <http://dbpedia.org/ontology/author> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Sean_Parnell dbo:governor?uri }\n",
"\"Sean Parnell was the dbo:governor of which U.S. state?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Sean_Parnell> <http://dbpedia.org/ontology/governor> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Ford_Model_48 dbo:manufacturer?uri }\n",
"\"How many years was the res:Ford_Model_48 res:T dbo:manufacturer?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Ford_Model_48> <http://dbpedia.org/ontology/manufacturer> ?uri }\"\n",
"\n",
"SELECT DISTINCT?date WHERE { res:Carlo_Giuliani dbo:dischargeDate?date }\n",
"\"When was res:Carlo_Giuliani,_Boy dbo:discharge?\",\"SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Carlo_Giuliani> <http://dbpedia.org/ontology/dischargeDate> ?date }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE {?uri rdf:type dbo:Animal }\n",
"\"Give me all dbo:animal that are dbo:quote.\",\"SELECT DISTINCT?uri WHERE {?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Animal> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:USS_President_Lincoln_(1907) dbo:spouse?uri }\n",
"\"Who was the dbo:spouse of res:USS_President_Lincoln_(1907)?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/USS_President_Lincoln_(1907)> <http://dbpedia.org/ontology/spouse> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Bertrand_Russell dbo:award?uri }\n",
"\"How many dbp:awards has res:Bertrand_Russell?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Bertrand_Russell> <http://dbpedia.org/ontology/award> ?uri }\"\n",
"\n",
"ASK WHERE { res:Pamela_Anderson dbo:Vegan?uri }\n",
"\"Is res:Pamela_Anderson a res:Vegan_Virgin_Valentine?\",\"ASK WHERE { <http://dbpedia.org/resource/Pamela_Anderson> <http://dbpedia.org/ontology/Vegan> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE {?uri rdf:type dbo:Area } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1\n",
"\"Which dbo:area were sent into dbo:course around the dbo:year?\",\"SELECT DISTINCT?uri WHERE {?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Area> } ORDER BY DESC( ?uri) OFFSET 0 LIMIT 1\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Germany dbo:populationTotal?uri }\n",
"\"Which res:Germany have more than res:Population?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Germany> <http://dbpedia.org/ontology/populationTotal> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Robert_F._Kennedy dbo:child?uri }\n",
"\"Who is the dbo:child of res:Robert_F._Kennedy dbp:spouse to?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Robert_F> . _Kennedy <http://dbpedia.org/ontology/child> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Vrije_Universiteit_Amsterdam dbo:numberOfStudents?uri }\n",
"\"How many dbo:numberOfStudents does the res:Vrije_Universiteit_Amsterdam have?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Vrije_Universiteit_Amsterdam> <http://dbpedia.org/ontology/numberOfStudents> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:IBM dbo:revenue?uri }\n",
"\"What is the dbo:revenue of res:IBM?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/IBM> <http://dbpedia.org/ontology/revenue> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:M_(James_Bond) dbo:last?uri }\n",
"\"How many res:M_(James_Bond) do dbp:last?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/M_(James_Bond)> <http://dbpedia.org/ontology/last> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Bart_Simpson dbo:voice?uri }\n",
"\"Who does the dbo:voice of res:Bart_Simpson?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Bart_Simpson> <http://dbpedia.org/ontology/voice> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Tom_Hanks dbp:spouse?uri }\n",
"\"Who was res:Tom_Hanks dbp:spouse to?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Tom_Hanks> <http://dbpedia.org/property/spouse> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Yenisei_River dbo:country?uri }\n",
"\"Through which res:Countries_of_the_United_Kingdom does the res:Yenisei_River?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Yenisei_River> <http://dbpedia.org/ontology/country> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Germany dbo:author?uri }\n",
"\"Give me all dbo:management that are dbo:author in res:Germany.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Germany> <http://dbpedia.org/ontology/author> ?uri }\"\n",
"\n",
"SELECT DISTINCT?date WHERE { res:Michael_Jackson dbo:deathDate }\n",
"\"When did res:Michael_Jackson dbo:deathDate?\",\"SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Michael_Jackson> <http://dbpedia.org/ontology/deathDate> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Africa dbo:head?uri }\n",
"\"What is the dbo:head in res:Africa?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Africa> <http://dbpedia.org/ontology/head> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE {?uri rdf:type dbo:Book ; dbp:author?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1\n",
"\"Which dbo:author dbo:composer the most dbo:volume?\",\"SELECT DISTINCT?uri WHERE {?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Book> ; <http://dbpedia.org/property/author> ?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1\"\n",
"\n",
"SELECT DISTINCT?uri WHERE {?uri dbo:gangster?uri }\n",
"\"Give me all gangsters from the dbo:time.\",\"SELECT DISTINCT?uri WHERE {?uri <http://dbpedia.org/ontology/gangster> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE {?uri dbo:Spacecraft res:Mars }\n",
"\"Give me all res:Spacecraft that dbo:circulation to res:Mars.\",\"SELECT DISTINCT?uri WHERE {?uri <http://dbpedia.org/ontology/Spacecraft> <http://dbpedia.org/resource/Mars> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Czech_Republic dbo:country?uri }\n",
"\"Show me all res:Czech_Republic.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Czech_Republic> <http://dbpedia.org/ontology/country> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE {?uri rdf:type dbo:Astronaut }\n",
"\"Give me all taikonauts.\",\"SELECT DISTINCT?uri WHERE {?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Astronaut> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Volcano_National_Park dbo:country?uri }\n",
"\"Which res:Countries_of_the_United_Kingdom have more than ten res:Volcanoes_National_Park?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Volcano_National_Park> <http://dbpedia.org/ontology/country> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Tom_Cruise dbo:starring?uri }\n",
"\"Give me all dbo:film with res:Tom_Cruise.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Tom_Cruise> <http://dbpedia.org/ontology/starring> ?uri }\"\n",
"\n",
"SELECT DISTINCT?date WHERE { res:Count_Dracula dbo:deathDate }\n",
"\"When did res:Count_Dracula's dbp:producer dbo:deathDate?\",\"SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Count_Dracula> <http://dbpedia.org/ontology/deathDate> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:English_Wikipedia dbo:author?uri }\n",
"\"Who dbo:author res:English_Wikipedia?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/English_Wikipedia> <http://dbpedia.org/ontology/author> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:List_of_German_female_artists dbo:artist?uri }\n",
"\"Give me all res:List_of_German_female_artists.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/List_of_German_female_artists> <http://dbpedia.org/ontology/artist> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Aldi dbo:family?uri }\n",
"\"Who dbo:family res:Aldi?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Aldi> <http://dbpedia.org/ontology/family> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Danielle_Steel dbo:author?uri }\n",
"\"Which dbo:volume were dbo:writer by res:Danielle_Steel?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Danielle_Steel> <http://dbpedia.org/ontology/author> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Socrates dbo:influenced?uri }\n",
"\"Who was dbo:influenced by res:Socrates?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Socrates> <http://dbpedia.org/ontology/influenced> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Chiemsee dbo:capital?uri }\n",
"\"How dbo:capital is res:Chiemsee?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Chiemsee> <http://dbpedia.org/ontology/capital> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:New_York_Stock_Exchange dbo:company?uri }\n",
"\"Which res:Companies_listed_on_the_New_York_Stock_Exchange_(J) dbo:service in the dbp:industry as well as in res:Medicine?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/New_York_Stock_Exchange> <http://dbpedia.org/ontology/company> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Philippines dbo:authority?uri }\n",
"\"Which dbp:authority were dbo:birthPlace on the res:Philippines?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Philippines> <http://dbpedia.org/ontology/authority> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Queen_Victoria dbo:parent?uri }\n",
"\"Who were the dbo:parent of res:Queen_Victoria?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Queen_Victoria> <http://dbpedia.org/ontology/parent> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:United_States dbo:class?uri }\n",
"\"Are there any dbo:class in the res:United_States?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/United_States> <http://dbpedia.org/ontology/class> ?uri }\"\n",
"\n",
"SELECT Dbo:Language WHERE { res:Estonia dbo:spokenIn }\n",
"\"Which dbo:language are dbo:spokenIn in res:Estonia?\",\"SELECT Dbo:Language WHERE { <http://dbpedia.org/resource/Estonia> <http://dbpedia.org/ontology/spokenIn> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE {?uri rdf:type dbo:Principal?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1\n",
"\"Give me a list of all dbo:principal endangered dbo:date.\",\"SELECT DISTINCT?uri WHERE {?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Principal> ?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Rhine dbo:country?uri }\n",
"\"Which res:Countries_of_the_United_Kingdom are dbo:related by the res:Rhine?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Rhine> <http://dbpedia.org/ontology/country> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Elizabeth_II dbo:parent?uri }\n",
"\"Who was the dbo:parent of res:Elizabeth_II?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Elizabeth_II> <http://dbpedia.org/ontology/parent> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Sand_casting dbo:casting?uri }\n",
"\"Give me all res:Sand_casting.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Sand_casting> <http://dbpedia.org/ontology/casting> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Organization_of_American_States dbo:year?uri }\n",
"\"Give me all res:Organization_of_American_States of the last res:20 years.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Organization_of_American_States> <http://dbpedia.org/ontology/year> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Netherlands dbo:location?uri }\n",
"\"When is the res:Worst-case_scenario going to be in dbo:picture in the res:Netherlands?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Netherlands> <http://dbpedia.org/ontology/location> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Lance_Bass dbo:spouse }\n",
"\"Whom did res:Lance_Bass dbo:spouse?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Lance_Bass> <http://dbpedia.org/ontology/spouse> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Glasgow_Airport dbo:subsidiary?uri }\n",
"\"Which dbo:subsidiary of TUI Travel dbo:order both res:Glasgow_Airport and res:Dublin_Airport?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Glasgow_Airport> <http://dbpedia.org/ontology/subsidiary> ?uri }\"\n",
"\n",
"SELECT Dbo:Language WHERE { res:Pakistan dbo:spokenIn }\n",
"\"What dbo:language are dbo:spokenIn in res:Pakistan?\",\"SELECT Dbo:Language WHERE { <http://dbpedia.org/resource/Pakistan> <http://dbpedia.org/ontology/spokenIn> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Bill_Clinton dbo:spouse res:Dbo:child?uri }\n",
"\"Who is the dbo:child of res:Bill_Clinton dbo:spouse to?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Bill_Clinton> <http://dbpedia.org/ontology/spouse> <http://dbpedia.org/resource/Dbo:child> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Apollo_11 dbo:mission?uri }\n",
"\"Who was on the res:Apollo_11?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Apollo_11> <http://dbpedia.org/ontology/mission> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Indigo dbo:wavelength?uri }\n",
"\"What is the dbo:wavelength of res:Indigo?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Indigo> <http://dbpedia.org/ontology/wavelength> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:The_B-Sides dbo:team?uri }\n",
"\"Give me all res:The_B-Sides.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/The_B-Sides> <http://dbpedia.org/ontology/team> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Scarface dbo:alias?uri }\n",
"\"Who was dbo:alias res:Scarface?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Scarface> <http://dbpedia.org/ontology/alias> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:North_Sea dbo:operator?uri }\n",
"\"Which dbo:operator dbp:float into the res:North_Sea?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/North_Sea> <http://dbpedia.org/ontology/operator> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Fort_Knox dbp:location dbo:location?uri }\n",
"\"Where is res:Fort_Knox dbp:location?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Fort_Knox> <http://dbpedia.org/property/location> <http://dbpedia.org/ontology/location> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:United_Kingdom dbp:deathPlace dbo:birthPlace?uri }\n",
"\"Which res:Daughters_of_the_Dust of res:United_Kingdom dbp:deathPlace at the same dbo:place they were dbo:birthPlace at?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/United_Kingdom> <http://dbpedia.org/property/deathPlace> <http://dbpedia.org/ontology/birthPlace> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:China dbo:leader?uri }\n",
"\"How many dbo:leader did res:China have?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/China> <http://dbpedia.org/ontology/leader> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Teenage_Mutant_Ninja_Turtles dbo:athletics?uri }\n",
"\"What are the dbo:athletics of the res:Teenage_Mutant_Ninja_Turtles?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Teenage_Mutant_Ninja_Turtles> <http://dbpedia.org/ontology/athletics> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Piccadilly dbo:routeStart?uri }\n",
"\"Where does res:Piccadilly dbo:routeStart?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Piccadilly> <http://dbpedia.org/ontology/routeStart> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:University_of_Alabama dbo:spouse?uri }\n",
"\"What is the dbp:name of the dbo:university where res:University_of_Alabama's dbp:spouse dbo:office?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/University_of_Alabama> <http://dbpedia.org/ontology/spouse> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Paraguay dbo:state res:Independence }\n",
"\"When did res:Paraguay dbo:state its res:Independence?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Paraguay> <http://dbpedia.org/ontology/state> <http://dbpedia.org/resource/Independence> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:National_Basketball_Association dbo:activePlayer?uri }\n",
"\"How dbo:thumbnail is the dbo:thumbnailest active res:National_Basketball_Association player?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/National_Basketball_Association> <http://dbpedia.org/ontology/activePlayer> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Abraham_Lincoln dbo:deathDate }\n",
"\"Where did res:Abraham_Lincoln dbo:deathDate?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Abraham_Lincoln> <http://dbpedia.org/ontology/deathDate> }\"\n",
"\n",
"SELECT DISTINCT?date WHERE { res:Jack_Wolfskin dbo:foundingYear }\n",
"\"When was res:Jack_Wolfskin dbo:foundingYear?\",\"SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Jack_Wolfskin> <http://dbpedia.org/ontology/foundingYear> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Air_China dbo:headquarter?uri }\n",
"\"In which dbo:city is the dbo:headquarter of res:Air_China?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Air_China> <http://dbpedia.org/ontology/headquarter> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Pilsner_Urquell dbo:foundedYear?uri }\n",
"\"What is the dbo:foundingYear year of the dbo:manufacturer that dbo:manufacturer res:Pilsner_Urquell?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Pilsner_Urquell> <http://dbpedia.org/ontology/foundedYear> ?uri }\"\n",
"\n",
"SELECT DISTINCT?date WHERE { res:Boston_Tea_Party dbo:place?date }\n",
"\"When did the res:Boston_Tea_Party take dbo:place?\",\"SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Boston_Tea_Party> <http://dbpedia.org/ontology/place> ?date }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE {?uri dbo:animal dbp:endangered?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1\n",
"\"Which dbo:animal are dbo:principal endangered?\",\"SELECT DISTINCT?uri WHERE {?uri <http://dbpedia.org/ontology/animal> <http://dbpedia.org/property/endangered> ?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Germany dbo:spouse?uri }\n",
"\"Which res:Politicians_of_The_Wire were dbo:spouse to a res:Germany?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Germany> <http://dbpedia.org/ontology/spouse> ?uri }\"\n",
"\n",
"SELECT DISTINCT?height WHERE {?height dbo:dbo:height }\n",
"\"How big is the dbo:ground's dbo:diameter?\",\"SELECT DISTINCT?height WHERE {?height <http://dbpedia.org/ontology/dbo:height> }\"\n",
"\n",
"ASK WHERE { res:Barack_Obama dbo:spouse res:Michelle_Obama }\n",
"\"Is the dbp:spouse of President res:Barack_Obama dbo:guest Michelle?\",\"ASK WHERE { <http://dbpedia.org/resource/Barack_Obama> <http://dbpedia.org/ontology/spouse> <http://dbpedia.org/resource/Michelle_Obama> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:MN dbo:state?uri }\n",
"\"Which U.S. state has the dbo:abbreviation res:MN?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/MN> <http://dbpedia.org/ontology/state> ?uri }\"\n",
"\n",
"SELECT DISTINCT?date WHERE { res:Muhammad dbo:deathDate dbp:date?date }\n",
"\"When did res:Muhammad dbo:deathDate?\",\"SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Muhammad> <http://dbpedia.org/ontology/deathDate> <http://dbpedia.org/property/date> ?date }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Moon dbo:musicComposer dbp:background?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1\n",
"\"What is the dbp:background of the res:Moon dbo:musicComposer of?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Moon> <http://dbpedia.org/ontology/musicComposer> <http://dbpedia.org/property/background> ?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Texas dbo:governor?uri }\n",
"\"Who is the dbo:governor of res:Texas?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Texas> <http://dbpedia.org/ontology/governor> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Akira_Kurosawa dbo:director }\n",
"\"Which dbo:film did res:Akira_Kurosawa dbo:director?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Akira_Kurosawa> <http://dbpedia.org/ontology/director> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:San_Antonio dbo:name?uri }\n",
"\"What was the dbp:name of the dbo:motto in res:1836 in res:San_Antonio?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/San_Antonio> <http://dbpedia.org/ontology/name> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Charmed dbo:officialLanguage?uri }\n",
"\"Give me the dbo:officialLanguage of dbo:background of the res:Charmed.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Charmed> <http://dbpedia.org/ontology/officialLanguage> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Baguette dbo:numberOfCalories?uri }\n",
"\"How many dbp:calories does a res:Baguette have?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Baguette> <http://dbpedia.org/ontology/numberOfCalories> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Brighton_and_Hove dbo:established?uri }\n",
"\"Give me all res:Libraries_in_Brighton_and_Hove dbo:established before res:1400.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Brighton_and_Hove> <http://dbpedia.org/ontology/established> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE {?uri dbo:country res:Netherlands_Antilles_at_the_2007_Pan_American_Games }\n",
"\"Give me all res:Frisian_Islands that dbp:rank to the res:Netherlands_Antilles_at_the_2007_Pan_American_Games.\",\"SELECT DISTINCT?uri WHERE {?uri <http://dbpedia.org/ontology/country> <http://dbpedia.org/resource/Netherlands_Antilles_at_the_2007_Pan_American_Games> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:The_Scream dbo:museum }\n",
"\"Which dbo:museum dbo:sport res:The_Scream?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/The_Scream> <http://dbpedia.org/ontology/museum> }\"\n",
"\n",
"SELECT DISTINCT?date WHERE { res:De_Beers dbo:foundedBy }\n",
"\"When was the res:De_Beers dbo:foundedBy?\",\"SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/De_Beers> <http://dbpedia.org/ontology/foundedBy> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:John_F._Kennedy dbo:deathDate }\n",
"\"Who became dbo:president after res:John_F._Kennedy dbo:deathDate?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/John_F> . _Kennedy <http://dbpedia.org/ontology/deathDate> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Juan_Carlos_I_of_Spain dbo:spouse?uri }\n",
"\"Who are the dbo:parent of the dbo:spouse of res:Juan_Carlos_I_of_Spain res:I?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Juan_Carlos_I_of_Spain> <http://dbpedia.org/ontology/spouse> ?uri }\"\n",
"\n",
"\n",
"\"Who is the dbo:author of the dbo:service a dbo:anthem of dbo:frozen and fire?\",\"\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Beatles_VI dbo:recordLabel?uri }\n",
"\"In which dbp:studio did the res:Beatles_VI dbo:recordLabel their first dbo:album?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Beatles_VI> <http://dbpedia.org/ontology/recordLabel> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Museum_of_Beer_and_Brewing dbo:location?uri }\n",
"\"Which res:Museum_of_Beer_and_Brewing are dbp:stand in res:North_Rhine-Westphalia?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Museum_of_Beer_and_Brewing> <http://dbpedia.org/ontology/location> ?uri }\"\n",
"\n",
"SELECT DISTINCT?date WHERE { res:Diana,_Princess_of_Wales dbo:deathDate }\n",
"\"When did res:Diana,_Princess_of_Wales dbo:deathDate?\",\"SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Diana,_Princess_of_Wales> <http://dbpedia.org/ontology/deathDate> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Intel dbo:foundingYear?uri }\n",
"\"Who dbo:foundingYear res:Intel?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Intel> <http://dbpedia.org/ontology/foundingYear> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Premier_League dbo:participant?uri }\n",
"\"Who is the youngest dbo:participant in the res:Premier_League?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Premier_League> <http://dbpedia.org/ontology/participant> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Cat_Stevens dbo:starring?uri }\n",
"\"Which dbp:instrument does res:Cat_Stevens dbo:starring?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Cat_Stevens> <http://dbpedia.org/ontology/starring> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:South_Carolina dbo:river }\n",
"\"How many dbo:river and dbo:lake are in res:South_Carolina?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/South_Carolina> <http://dbpedia.org/ontology/river> }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Rodzilla dbo:alias?uri }\n",
"\"Who was dbo:alias res:Rodzilla?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Rodzilla> <http://dbpedia.org/ontology/alias> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Africa dbo:country?uri }\n",
"\"Give me the dbo:principal of all res:Countries_of_the_United_Kingdom in res:Africa.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Africa> <http://dbpedia.org/ontology/country> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Manhattan_Bridge dbo:type?uri }\n",
"\"Which dbo:abstract are of the same dbo:type as the res:Manhattan_Bridge?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Manhattan_Bridge> <http://dbpedia.org/ontology/type> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Facebook dbo:founder?uri }\n",
"\"How many res:Companies_listed_on_the_New_York_Stock_Exchange_(J) were dbo:foundingYear by the dbo:founder of res:Facebook?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Facebook> <http://dbpedia.org/ontology/founder> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Grand_Canyon dbo:band res:Dbo:leader?uri }\n",
"\"Show me res:Hiking in the res:Grand_Canyon where there's no dbo:leader of dbo:band.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Grand_Canyon> <http://dbpedia.org/ontology/band> <http://dbpedia.org/resource/Dbo:leader> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE {?uri rdf:type dbo:Book ; dbp:numberOfPages?uri }\n",
"\"Which dbo:volume has the most pages?\",\"SELECT DISTINCT?uri WHERE {?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Book> ; <http://dbpedia.org/property/numberOfPages> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:United_States dbo:area?uri }\n",
"\"What is the dbo:areaTotal state in the res:United_States?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/United_States> <http://dbpedia.org/ontology/area> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Websites_blocked_in_Pakistan dbo:numberOfEmployees?uri }\n",
"\"Give me the res:Websites_blocked_in_Pakistan of res:Companies_listed_on_the_New_York_Stock_Exchange_(J) with more than dbo:numberOfEmployees.\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Websites_blocked_in_Pakistan> <http://dbpedia.org/ontology/numberOfEmployees> ?uri }\"\n",
"\n",
"SELECT DISTINCT?uri WHERE { res:Columbus dbo:title?uri }\n",
"\"What were the dbo:title of the three dbo:shipBeam by res:Columbus?\",\"SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Columbus> <http://dbpedia.org/ontology/title> ?uri }\"\n",
"\n"
"ename": "RuntimeError",
"evalue": "Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper__index_select)",
"File \u001b[1;32mc:\\Users\\Albin\\AppData\\Local\\Programs\\Python\\Python39\\lib\\site-packages\\torch\\nn\\modules\\module.py:1130\u001b[0m, in \u001b[0;36mModule._call_impl\u001b[1;34m(self, *input, **kwargs)\u001b[0m\n\u001b[0;32m 1126\u001b[0m \u001b[39m# If we don't have any hooks, we want to skip the rest of the logic in\u001b[39;00m\n\u001b[0;32m 1127\u001b[0m \u001b[39m# this function, and just call forward.\u001b[39;00m\n\u001b[0;32m 1128\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39mnot\u001b[39;00m (\u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_backward_hooks \u001b[39mor\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_forward_hooks \u001b[39mor\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_forward_pre_hooks \u001b[39mor\u001b[39;00m _global_backward_hooks\n\u001b[0;32m 1129\u001b[0m \u001b[39mor\u001b[39;00m _global_forward_hooks \u001b[39mor\u001b[39;00m _global_forward_pre_hooks):\n\u001b[1;32m-> 1130\u001b[0m \u001b[39mreturn\u001b[39;00m forward_call(\u001b[39m*\u001b[39m\u001b[39minput\u001b[39m, \u001b[39m*\u001b[39m\u001b[39m*\u001b[39mkwargs)\n\u001b[0;32m 1131\u001b[0m \u001b[39m# Do not call functions when jit is used\u001b[39;00m\n\u001b[0;32m 1132\u001b[0m full_backward_hooks, non_full_backward_hooks \u001b[39m=\u001b[39m [], []\n",
"File \u001b[1;32mc:\\Users\\Albin\\AppData\\Local\\Programs\\Python\\Python39\\lib\\site-packages\\transformers\\models\\bart\\modeling_bart.py:801\u001b[0m, in \u001b[0;36mBartEncoder.forward\u001b[1;34m(self, input_ids, attention_mask, head_mask, inputs_embeds, output_attentions, output_hidden_states, return_dict)\u001b[0m\n\u001b[0;32m 798\u001b[0m \u001b[39mraise\u001b[39;00m \u001b[39mValueError\u001b[39;00m(\u001b[39m\"\u001b[39m\u001b[39mYou have to specify either input_ids or inputs_embeds\u001b[39m\u001b[39m\"\u001b[39m)\n\u001b[0;32m 800\u001b[0m \u001b[39mif\u001b[39;00m inputs_embeds \u001b[39mis\u001b[39;00m \u001b[39mNone\u001b[39;00m:\n\u001b[1;32m--> 801\u001b[0m inputs_embeds \u001b[39m=\u001b[39m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49membed_tokens(input_ids) \u001b[39m*\u001b[39m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39membed_scale\n\u001b[0;32m 803\u001b[0m embed_pos \u001b[39m=\u001b[39m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39membed_positions(\u001b[39minput\u001b[39m)\n\u001b[0;32m 805\u001b[0m hidden_states \u001b[39m=\u001b[39m inputs_embeds \u001b[39m+\u001b[39m embed_pos\n",
"File \u001b[1;32mc:\\Users\\Albin\\AppData\\Local\\Programs\\Python\\Python39\\lib\\site-packages\\torch\\nn\\modules\\module.py:1130\u001b[0m, in \u001b[0;36mModule._call_impl\u001b[1;34m(self, *input, **kwargs)\u001b[0m\n\u001b[0;32m 1126\u001b[0m \u001b[39m# If we don't have any hooks, we want to skip the rest of the logic in\u001b[39;00m\n\u001b[0;32m 1127\u001b[0m \u001b[39m# this function, and just call forward.\u001b[39;00m\n\u001b[0;32m 1128\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39mnot\u001b[39;00m (\u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_backward_hooks \u001b[39mor\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_forward_hooks \u001b[39mor\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_forward_pre_hooks \u001b[39mor\u001b[39;00m _global_backward_hooks\n\u001b[0;32m 1129\u001b[0m \u001b[39mor\u001b[39;00m _global_forward_hooks \u001b[39mor\u001b[39;00m _global_forward_pre_hooks):\n\u001b[1;32m-> 1130\u001b[0m \u001b[39mreturn\u001b[39;00m forward_call(\u001b[39m*\u001b[39m\u001b[39minput\u001b[39m, \u001b[39m*\u001b[39m\u001b[39m*\u001b[39mkwargs)\n\u001b[0;32m 1131\u001b[0m \u001b[39m# Do not call functions when jit is used\u001b[39;00m\n\u001b[0;32m 1132\u001b[0m full_backward_hooks, non_full_backward_hooks \u001b[39m=\u001b[39m [], []\n",
"\u001b[1;31mRuntimeError\u001b[0m: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper__index_select)"
]
}
],
...
...
@@ -932,7 +666,7 @@
"}\n",
"\n",
"# Open test file and predict all queries, save to new csv file\n",
loading configuration file config.json from cache at C:\Users\Albin/.cache\huggingface\hub\models--facebook--bart-large\snapshots\cb48c1365bd826bd521f650dc2e0940aee54720c\config.json
Model config BartConfig {
"activation_dropout": 0.1,
"activation_function": "gelu",
"add_bias_logits": false,
"add_final_layer_norm": false,
"architectures": [
"BartModel"
],
"attention_dropout": 0.1,
"bos_token_id": 0,
"classif_dropout": 0.1,
"classifier_dropout": 0.0,
"d_model": 1024,
"decoder_attention_heads": 16,
"decoder_ffn_dim": 4096,
"decoder_layerdrop": 0.0,
"decoder_layers": 12,
"decoder_start_token_id": 2,
"dropout": 0.1,
"early_stopping": true,
"encoder_attention_heads": 16,
"encoder_ffn_dim": 4096,
"encoder_layerdrop": 0.0,
"encoder_layers": 12,
"eos_token_id": 2,
"forced_bos_token_id": 0,
"forced_eos_token_id": 2,
"gradient_checkpointing": false,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1",
"2": "LABEL_2"
},
"init_std": 0.02,
"is_encoder_decoder": true,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1,
"LABEL_2": 2
},
"max_position_embeddings": 1024,
"model_type": "bart",
"no_repeat_ngram_size": 3,
"normalize_before": false,
"num_beams": 4,
"num_hidden_layers": 12,
"pad_token_id": 1,
"scale_embedding": false,
"task_specific_params": {
"summarization": {
"length_penalty": 1.0,
"max_length": 128,
"min_length": 12,
"num_beams": 4
},
"summarization_cnn": {
"length_penalty": 2.0,
"max_length": 142,
"min_length": 56,
"num_beams": 4
},
"summarization_xsum": {
"length_penalty": 1.0,
"max_length": 62,
"min_length": 11,
"num_beams": 6
}
},
"transformers_version": "4.23.1",
"use_cache": true,
"vocab_size": 50265
}
loading weights file pytorch_model.bin from cache at C:\Users\Albin/.cache\huggingface\hub\models--facebook--bart-large\snapshots\cb48c1365bd826bd521f650dc2e0940aee54720c\pytorch_model.bin
All model checkpoint weights were used when initializing BartForConditionalGeneration.
All the weights of BartForConditionalGeneration were initialized from the model checkpoint at facebook/bart-large.
If your task is similar to the task the model of the checkpoint was trained on, you can already use BartForConditionalGeneration for predictions without further training.
loading file vocab.json from cache at C:\Users\Albin/.cache\huggingface\hub\models--facebook--bart-large\snapshots\cb48c1365bd826bd521f650dc2e0940aee54720c\vocab.json
loading file merges.txt from cache at C:\Users\Albin/.cache\huggingface\hub\models--facebook--bart-large\snapshots\cb48c1365bd826bd521f650dc2e0940aee54720c\merges.txt
loading file added_tokens.json from cache at None
loading file special_tokens_map.json from cache at None
loading file tokenizer_config.json from cache at C:\Users\Albin/.cache\huggingface\hub\models--facebook--bart-large\snapshots\cb48c1365bd826bd521f650dc2e0940aee54720c\tokenizer_config.json
loading configuration file config.json from cache at C:\Users\Albin/.cache\huggingface\hub\models--facebook--bart-large\snapshots\cb48c1365bd826bd521f650dc2e0940aee54720c\config.json
Parameter 'function'=<function convert_to_features at 0x0000011A8610D430> of the transform datasets.arrow_dataset.Dataset._map_single couldn't be hashed properly, a random hash was used instead. Make sure your transforms and parameters are serializable with pickle or dill for the dataset fingerprinting and caching to work. If you reuse this transform, the caching mechanism will consider it to be different from the previous calls and recompute everything. This warning is only showed once. Subsequent hashing failures won't be showed.
%% Cell type:code id: tags:
``` python
training_args=Seq2SeqTrainingArguments(
output_dir='./models/blackbox',
num_train_epochs=1,
per_device_train_batch_size=1,
per_device_eval_batch_size=1,
warmup_steps=10,
weight_decay=0.01,
logging_dir='./logs',
)
trainer=Seq2SeqTrainer(
model=model,
args=training_args,
train_dataset=train_dataset,
eval_dataset=test_dataset
)
```
%% Cell type:code id: tags:
``` python
#torch.cuda.empty_cache()
trainer.train()
```
%% Output
The following columns in the training set don't have a corresponding argument in `BartForConditionalGeneration.forward` and have been ignored: summary, text. If summary, text are not expected by `BartForConditionalGeneration.forward`, you can safely ignore this message.
c:\Users\Albin\AppData\Local\Programs\Python\Python39\lib\site-packages\transformers\optimization.py:306: FutureWarning: This implementation of AdamW is deprecated and will be removed in a future version. Use the PyTorch implementation torch.optim.AdamW instead, or set `no_deprecation_warning=True` to disable this warning
<s><s>AT: D:Salt?://sp:com/Salt_ ORDERVI (p:timetime://dbp.org/time res } DISTINCT?uri WHERE {?:Salt LakeLake_City d?://dbp.org/location?_timeZone } }uri }"?:?:( ( ((((((((((((((((((((((((((((((((((((stringstringstring(stringstringstringstringstringstringstring____(___(((___(((((((((__((((__((((____(((((((((((((((((((((((((((((((((((((_____(________________________________________________________
(1, 256, 1024)
says major major major major major major " " " major News major major major News major major major major major major major News major major major major News major News News News major major major major major major major major News major major major major major major major major says News major says says major major News News News major News News News News News News News News News major News News News News major News News News News News major News major major major major major News major major major major major major major major major major major major] says says says says says says says major major major major major major major major News News News News News News News News major News major says says says major major major major major says major says major major major News News News News News major News News News News News News News News News News News News News News News News News News News major major major major major major major major says says says says says says major News News News News major major major major major major major major major major major major major major major major major major major major major major major major major major major major major says major major major major major major major major major major major major major News News major News News News major News major major News major major a major major says major major says says says says says says says says
"text","SELECT DISTINCT?uri WHERE {?uri <http://dbpedia.org/ontology/text> ?uri }"
SELECT DISTINCT?uri WHERE { res:Salt_Lake_City dbo:timeZone }
"What is the dbo:timeZone of res:Salt_Lake_City?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Salt_Lake_City> <http://dbpedia.org/ontology/timeZone> }"
SELECT DISTINCT?uri WHERE { res:Caesar_(game) dbo:billed?uri }
"Who dbo:billed res:Caesar_(game)?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Caesar_(game)> <http://dbpedia.org/ontology/billed> ?uri }"
SELECT DISTINCT?uri WHERE { res:Germany dbo:elevation?uri }
"What is the dbo:elevation in res:Germany?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Germany> <http://dbpedia.org/ontology/elevation> ?uri }"
SELECT DISTINCT?uri WHERE { res:Vietnam_War dbo:office?uri }
"Which res:Organization_of_American_States were in dbo:office during the res:Vietnam_War?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Vietnam_War> <http://dbpedia.org/ontology/office> ?uri }"
SELECT DISTINCT?uri WHERE { res:Butch Otter dbo:governor?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1
"Butch Otter is the dbo:governor of which U.S. state?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Butch> Otter <http://dbpedia.org/ontology/governor> ?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1"
SELECT DISTINCT?uri WHERE { res:Michael_Phelps dbo:award?uri }
"How many dbo:goldMedalist did res:Michael_Phelps dbo:award at the res:2008_Summer_Olympics?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Michael_Phelps> <http://dbpedia.org/ontology/award> ?uri }"
SELECT DISTINCT?date WHERE { res:Rachel_Stevens dbo:birthPlace?date }
"Which dbp:artist were dbo:birthPlace on the same date as res:Rachel_Stevens?","SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Rachel_Stevens> <http://dbpedia.org/ontology/birthPlace> ?date }"
SELECT DISTINCT?uri WHERE { res:Frank_Herbert dbo:profession?uri }
"What is the dbo:profession of res:Frank_Herbert?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Frank_Herbert> <http://dbpedia.org/ontology/profession> ?uri }"
ASK WHERE { res:Japan dbo:type res:Taiko }
"Are res:Taiko some kind of res:Japan?","ASK WHERE { <http://dbpedia.org/resource/Japan> <http://dbpedia.org/ontology/type> <http://dbpedia.org/resource/Taiko> }"
SELECT DISTINCT?uri WHERE { res:FC_Porto dbo:numberOfSeat?uri }
"How many dbp:seat does the home res:FC_Porto have?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/FC_Porto> <http://dbpedia.org/ontology/numberOfSeat> ?uri }"
SELECT DISTINCT?uri WHERE { res:Frequent-Flyer_program dbo:airlineCode }
"Which res:Frequent-flyer_program has the most dbo:icaoAirlineCode?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Frequent-Flyer_program> <http://dbpedia.org/ontology/airlineCode> }"
SELECT DISTINCT?uri WHERE { res:Europe dbo:government?uri }
"Which res:Europe have a res:Constitutional_monarchy?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Europe> <http://dbpedia.org/ontology/government> ?uri }"
SELECT DISTINCT?uri WHERE { res:Countries_of_the_United_Kingdom dbo:country?uri }
"Which res:Countries_of_the_United_Kingdom have dbo:place with more than two res:Caves_of_Aggtelek_Karst_and_Slovak_Karst?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Countries_of_the_United_Kingdom> <http://dbpedia.org/ontology/country> ?uri }"
SELECT DISTINCT?uri WHERE { res:United_States dbo:targetAirport?uri }
"Which dbo:targetAirport are dbo:place in res:California,_Cincinnati res:United_States?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/United_States> <http://dbpedia.org/ontology/targetAirport> ?uri }"
SELECT DISTINCT?uri WHERE { res:San_Francisco dbo:mascot?uri }
"What are the dbo:mascot of res:San_Francisco?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/San_Francisco> <http://dbpedia.org/ontology/mascot> ?uri }"
SELECT DISTINCT?uri WHERE { res:Name_at_birth dbo:birthPlace?uri }
"What is res:Name_at_birth?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Name_at_birth> <http://dbpedia.org/ontology/birthPlace> ?uri }"
SELECT DISTINCT?uri WHERE { res:Berlin dbo:mayor?uri }
"Who is the dbo:mayor of res:Berlin?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Berlin> <http://dbpedia.org/ontology/mayor> ?uri }"
SELECT DISTINCT?uri WHERE { res:Countries_of_the_United_Kingdom dbo:country?uri }
"Which res:Countries_of_the_United_Kingdom in the res:Europe?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Countries_of_the_United_Kingdom> <http://dbpedia.org/ontology/country> ?uri }"
SELECT DISTINCT?uri WHERE { res:Mean_Hamster_Software dbo:publisher?uri }
"Which res:Software has been dbo:publisher by res:Mean_Hamster_Software?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Mean_Hamster_Software> <http://dbpedia.org/ontology/publisher> ?uri }"
SELECT DISTINCT?uri WHERE { res:Bill_Gates dbo:birthPlace?uri }
"Which dbo:country was res:Bill_Gates dbo:birthPlace in?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Bill_Gates> <http://dbpedia.org/ontology/birthPlace> ?uri }"
SELECT DISTINCT?uri WHERE { res:Jacques_Cousteau dbo:child?uri }
"How many dbo:child did res:Jacques_Cousteau have?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Jacques_Cousteau> <http://dbpedia.org/ontology/child> ?uri }"
SELECT DISTINCT?uri WHERE { res:Sweden dbo:occupation?uri }
"Give me all dbo:occupation from res:Sweden.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Sweden> <http://dbpedia.org/ontology/occupation> ?uri }"
SELECT DISTINCT?uri WHERE { res:United_Kingdom dbo:spouse res:Germany }
"Which dbo:leader of the res:United_Kingdom were dbo:spouse to a res:Germany?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/United_Kingdom> <http://dbpedia.org/ontology/spouse> <http://dbpedia.org/resource/Germany> }"
SELECT DISTINCT?uri WHERE { res:Argentina dbo:country?uri }
"Give me all res:Argentina.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Argentina> <http://dbpedia.org/ontology/country> ?uri }"
SELECT DISTINCT?uri WHERE { res:Michael_Jackson dbo:deathDate }
"How did res:Michael_Jackson dbo:deathDate?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Michael_Jackson> <http://dbpedia.org/ontology/deathDate> }"
SELECT DISTINCT?uri WHERE {?uri dbo:state?uri }
"Which U.S. state has been dbp:known latest?","SELECT DISTINCT?uri WHERE {?uri <http://dbpedia.org/ontology/state> ?uri }"
SELECT DISTINCT?uri WHERE { res:Millipede dbo:date?uri }
"Which dbo:classes does the res:Millipede dbo:date to?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Millipede> <http://dbpedia.org/ontology/date> ?uri }"
SELECT DISTINCT?uri WHERE { res:Forbes dbo:headline?uri }
"Give me the homepage of res:Forbes.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Forbes> <http://dbpedia.org/ontology/headline> ?uri }"
SELECT DISTINCT?uri WHERE { res:Amanda_Palmer dbo:spouse?uri }
"Who is the dbo:spouse of res:Amanda_Palmer?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Amanda_Palmer> <http://dbpedia.org/ontology/spouse> ?uri }"
SELECT DISTINCT?uri WHERE { res:The_Storm_on_the_Sea_of_Galilee dbo:artist?uri }
"Who dbp:artist res:The_Storm_on_the_Sea_of_Galilee?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/The_Storm_on_the_Sea_of_Galilee> <http://dbpedia.org/ontology/artist> ?uri }"
SELECT DISTINCT?uri WHERE { res:Karakoram dbo:elevation?uri }
"What is the dbo:elevation of res:Karakoram?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Karakoram> <http://dbpedia.org/ontology/elevation> ?uri }"
SELECT DISTINCT?date WHERE { res:Basque_language dbo:date?date }
"When did res:Join res:Basque_language?","SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Basque_language> <http://dbpedia.org/ontology/date> ?date }"
SELECT DISTINCT?uri WHERE { res:The_Big_Bang_Theory dbo:starring?uri }
"Which dbo:background dbo:starring in res:The_Big_Bang_Theory?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/The_Big_Bang_Theory> <http://dbpedia.org/ontology/starring> ?uri }"
SELECT DISTINCT?uri WHERE { res:Oscar dbo:award?uri }
"Which res:Computer_scientist dbo:award an res:Oscar?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Oscar> <http://dbpedia.org/ontology/award> ?uri }"
SELECT DISTINCT?uri WHERE { res:Harry_Potter dbo:author?uri }
"Who dbp:author res:Harry_Potter?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Harry_Potter> <http://dbpedia.org/ontology/author> ?uri }"
SELECT DISTINCT?uri WHERE { res:Nobel_Prize dbo:Literature dbp:award?uri }
"Give me all dbo:writer that dbo:award the res:Nobel_Prize in res:Literature.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Nobel_Prize> <http://dbpedia.org/ontology/Literature> <http://dbpedia.org/property/award> ?uri }"
SELECT DISTINCT?uri WHERE { res:Lovesick_(Priscilla_Renea_song) dbo:starring?uri }
"Give me res:The_Actors dbo:starring in res:Lovesick_(Priscilla_Renea_song).","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Lovesick_(Priscilla_Renea_song)> <http://dbpedia.org/ontology/starring> ?uri }"
SELECT DISTINCT?uri WHERE { res:Baghdad dbo:address?uri }
"What is the dbo:address of res:Baghdad?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Baghdad> <http://dbpedia.org/ontology/address> ?uri }"
SELECT DISTINCT?uri WHERE { res:Montenegro dbo:birthPlace dbp:leader?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1
"In which dbo:city was the dbo:president of res:Montenegro dbo:birthPlace?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Montenegro> <http://dbpedia.org/ontology/birthPlace> <http://dbpedia.org/property/leader> ?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1"
SELECT DISTINCT?uri WHERE { res:Population_density dbo:state?uri }
"Which U.S. state has the res:Population_density?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Population_density> <http://dbpedia.org/ontology/state> ?uri }"
SELECT Dbo:River WHERE { res:China dbo:river dbp:length?length }
"What is the longest dbo:river in res:China?","SELECT Dbo:River WHERE { <http://dbpedia.org/resource/China> <http://dbpedia.org/ontology/river> <http://dbpedia.org/property/length> ?length }"
SELECT DISTINCT?uri WHERE { res:Berlin dbo:area?uri }
"What is the dbo:areaCode of res:Berlin?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Berlin> <http://dbpedia.org/ontology/area> ?uri }"
SELECT DISTINCT?uri WHERE { res:Ivy_League dbo:effectiveRadiatedPower?uri }
"How many res:Scientists_for_Global_Responsibility dbo:effectiveRadiatedPower from an res:Ivy_League?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Ivy_League> <http://dbpedia.org/ontology/effectiveRadiatedPower> ?uri }"
SELECT DISTINCT?uri WHERE { res:Australia dbo:birthPlace?uri }
"Which dbo:specialist were dbo:birthPlace in res:Australia?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Australia> <http://dbpedia.org/ontology/birthPlace> ?uri }"
SELECT DISTINCT?uri WHERE { res:Curaçao dbo:country?uri }
"Give me all res:Curaçao.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Curaçao> <http://dbpedia.org/ontology/country> ?uri }"
SELECT DISTINCT?uri WHERE { res:Mars dbo:moon?uri }
"How many res:7805_Moons does res:Mars have?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Mars> <http://dbpedia.org/ontology/moon> ?uri }"
SELECT DISTINCT?uri WHERE { res:Batman dbo:name?uri }
"What is res:Batman's res:Real-name_system?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Batman> <http://dbpedia.org/ontology/name> ?uri }"
SELECT DISTINCT?uri WHERE { res:Elon_Musk dbo:author?uri }
"What is res:Elon_Musk for?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Elon_Musk> <http://dbpedia.org/ontology/author> ?uri }"
SELECT DISTINCT?uri WHERE { res:WikiLeaks dbo:author?uri }
"Who is the dbo:author of res:WikiLeaks?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/WikiLeaks> <http://dbpedia.org/ontology/author> ?uri }"
SELECT DISTINCT?uri WHERE { res:Sean_Parnell dbo:governor?uri }
"Sean Parnell was the dbo:governor of which U.S. state?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Sean_Parnell> <http://dbpedia.org/ontology/governor> ?uri }"
SELECT DISTINCT?uri WHERE { res:Ford_Model_48 dbo:manufacturer?uri }
"How many years was the res:Ford_Model_48 res:T dbo:manufacturer?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Ford_Model_48> <http://dbpedia.org/ontology/manufacturer> ?uri }"
SELECT DISTINCT?date WHERE { res:Carlo_Giuliani dbo:dischargeDate?date }
"When was res:Carlo_Giuliani,_Boy dbo:discharge?","SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Carlo_Giuliani> <http://dbpedia.org/ontology/dischargeDate> ?date }"
SELECT DISTINCT?uri WHERE {?uri rdf:type dbo:Animal }
"Give me all dbo:animal that are dbo:quote.","SELECT DISTINCT?uri WHERE {?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Animal> }"
SELECT DISTINCT?uri WHERE { res:USS_President_Lincoln_(1907) dbo:spouse?uri }
"Who was the dbo:spouse of res:USS_President_Lincoln_(1907)?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/USS_President_Lincoln_(1907)> <http://dbpedia.org/ontology/spouse> ?uri }"
SELECT DISTINCT?uri WHERE { res:Bertrand_Russell dbo:award?uri }
"How many dbp:awards has res:Bertrand_Russell?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Bertrand_Russell> <http://dbpedia.org/ontology/award> ?uri }"
ASK WHERE { res:Pamela_Anderson dbo:Vegan?uri }
"Is res:Pamela_Anderson a res:Vegan_Virgin_Valentine?","ASK WHERE { <http://dbpedia.org/resource/Pamela_Anderson> <http://dbpedia.org/ontology/Vegan> ?uri }"
SELECT DISTINCT?uri WHERE {?uri rdf:type dbo:Area } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1
"Which dbo:area were sent into dbo:course around the dbo:year?","SELECT DISTINCT?uri WHERE {?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Area> } ORDER BY DESC( ?uri) OFFSET 0 LIMIT 1"
SELECT DISTINCT?uri WHERE { res:Germany dbo:populationTotal?uri }
"Which res:Germany have more than res:Population?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Germany> <http://dbpedia.org/ontology/populationTotal> ?uri }"
SELECT DISTINCT?uri WHERE { res:Robert_F._Kennedy dbo:child?uri }
"Who is the dbo:child of res:Robert_F._Kennedy dbp:spouse to?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Robert_F> . _Kennedy <http://dbpedia.org/ontology/child> ?uri }"
SELECT DISTINCT?uri WHERE { res:Vrije_Universiteit_Amsterdam dbo:numberOfStudents?uri }
"How many dbo:numberOfStudents does the res:Vrije_Universiteit_Amsterdam have?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Vrije_Universiteit_Amsterdam> <http://dbpedia.org/ontology/numberOfStudents> ?uri }"
SELECT DISTINCT?uri WHERE { res:IBM dbo:revenue?uri }
"What is the dbo:revenue of res:IBM?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/IBM> <http://dbpedia.org/ontology/revenue> ?uri }"
SELECT DISTINCT?uri WHERE { res:M_(James_Bond) dbo:last?uri }
"How many res:M_(James_Bond) do dbp:last?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/M_(James_Bond)> <http://dbpedia.org/ontology/last> ?uri }"
SELECT DISTINCT?uri WHERE { res:Bart_Simpson dbo:voice?uri }
"Who does the dbo:voice of res:Bart_Simpson?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Bart_Simpson> <http://dbpedia.org/ontology/voice> ?uri }"
SELECT DISTINCT?uri WHERE { res:Tom_Hanks dbp:spouse?uri }
"Who was res:Tom_Hanks dbp:spouse to?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Tom_Hanks> <http://dbpedia.org/property/spouse> ?uri }"
SELECT DISTINCT?uri WHERE { res:Yenisei_River dbo:country?uri }
"Through which res:Countries_of_the_United_Kingdom does the res:Yenisei_River?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Yenisei_River> <http://dbpedia.org/ontology/country> ?uri }"
SELECT DISTINCT?uri WHERE { res:Germany dbo:author?uri }
"Give me all dbo:management that are dbo:author in res:Germany.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Germany> <http://dbpedia.org/ontology/author> ?uri }"
SELECT DISTINCT?date WHERE { res:Michael_Jackson dbo:deathDate }
"When did res:Michael_Jackson dbo:deathDate?","SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Michael_Jackson> <http://dbpedia.org/ontology/deathDate> }"
SELECT DISTINCT?uri WHERE { res:Africa dbo:head?uri }
"What is the dbo:head in res:Africa?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Africa> <http://dbpedia.org/ontology/head> ?uri }"
SELECT DISTINCT?uri WHERE {?uri rdf:type dbo:Book ; dbp:author?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1
"Which dbo:author dbo:composer the most dbo:volume?","SELECT DISTINCT?uri WHERE {?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Book> ; <http://dbpedia.org/property/author> ?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1"
SELECT DISTINCT?uri WHERE {?uri dbo:gangster?uri }
"Give me all gangsters from the dbo:time.","SELECT DISTINCT?uri WHERE {?uri <http://dbpedia.org/ontology/gangster> ?uri }"
SELECT DISTINCT?uri WHERE {?uri dbo:Spacecraft res:Mars }
"Give me all res:Spacecraft that dbo:circulation to res:Mars.","SELECT DISTINCT?uri WHERE {?uri <http://dbpedia.org/ontology/Spacecraft> <http://dbpedia.org/resource/Mars> }"
SELECT DISTINCT?uri WHERE { res:Czech_Republic dbo:country?uri }
"Show me all res:Czech_Republic.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Czech_Republic> <http://dbpedia.org/ontology/country> ?uri }"
SELECT DISTINCT?uri WHERE {?uri rdf:type dbo:Astronaut }
"Give me all taikonauts.","SELECT DISTINCT?uri WHERE {?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Astronaut> }"
SELECT DISTINCT?uri WHERE { res:Volcano_National_Park dbo:country?uri }
"Which res:Countries_of_the_United_Kingdom have more than ten res:Volcanoes_National_Park?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Volcano_National_Park> <http://dbpedia.org/ontology/country> ?uri }"
SELECT DISTINCT?uri WHERE { res:Tom_Cruise dbo:starring?uri }
"Give me all dbo:film with res:Tom_Cruise.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Tom_Cruise> <http://dbpedia.org/ontology/starring> ?uri }"
SELECT DISTINCT?date WHERE { res:Count_Dracula dbo:deathDate }
"When did res:Count_Dracula's dbp:producer dbo:deathDate?","SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Count_Dracula> <http://dbpedia.org/ontology/deathDate> }"
SELECT DISTINCT?uri WHERE { res:English_Wikipedia dbo:author?uri }
"Who dbo:author res:English_Wikipedia?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/English_Wikipedia> <http://dbpedia.org/ontology/author> ?uri }"
SELECT DISTINCT?uri WHERE { res:List_of_German_female_artists dbo:artist?uri }
"Give me all res:List_of_German_female_artists.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/List_of_German_female_artists> <http://dbpedia.org/ontology/artist> ?uri }"
SELECT DISTINCT?uri WHERE { res:Aldi dbo:family?uri }
"Who dbo:family res:Aldi?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Aldi> <http://dbpedia.org/ontology/family> ?uri }"
SELECT DISTINCT?uri WHERE { res:Danielle_Steel dbo:author?uri }
"Which dbo:volume were dbo:writer by res:Danielle_Steel?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Danielle_Steel> <http://dbpedia.org/ontology/author> ?uri }"
SELECT DISTINCT?uri WHERE { res:Socrates dbo:influenced?uri }
"Who was dbo:influenced by res:Socrates?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Socrates> <http://dbpedia.org/ontology/influenced> ?uri }"
SELECT DISTINCT?uri WHERE { res:Chiemsee dbo:capital?uri }
"How dbo:capital is res:Chiemsee?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Chiemsee> <http://dbpedia.org/ontology/capital> ?uri }"
SELECT DISTINCT?uri WHERE { res:New_York_Stock_Exchange dbo:company?uri }
"Which res:Companies_listed_on_the_New_York_Stock_Exchange_(J) dbo:service in the dbp:industry as well as in res:Medicine?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/New_York_Stock_Exchange> <http://dbpedia.org/ontology/company> ?uri }"
SELECT DISTINCT?uri WHERE { res:Philippines dbo:authority?uri }
"Which dbp:authority were dbo:birthPlace on the res:Philippines?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Philippines> <http://dbpedia.org/ontology/authority> ?uri }"
SELECT DISTINCT?uri WHERE { res:Queen_Victoria dbo:parent?uri }
"Who were the dbo:parent of res:Queen_Victoria?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Queen_Victoria> <http://dbpedia.org/ontology/parent> ?uri }"
SELECT DISTINCT?uri WHERE { res:United_States dbo:class?uri }
"Are there any dbo:class in the res:United_States?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/United_States> <http://dbpedia.org/ontology/class> ?uri }"
SELECT Dbo:Language WHERE { res:Estonia dbo:spokenIn }
"Which dbo:language are dbo:spokenIn in res:Estonia?","SELECT Dbo:Language WHERE { <http://dbpedia.org/resource/Estonia> <http://dbpedia.org/ontology/spokenIn> }"
SELECT DISTINCT?uri WHERE {?uri rdf:type dbo:Principal?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1
"Give me a list of all dbo:principal endangered dbo:date.","SELECT DISTINCT?uri WHERE {?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Principal> ?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1"
SELECT DISTINCT?uri WHERE { res:Rhine dbo:country?uri }
"Which res:Countries_of_the_United_Kingdom are dbo:related by the res:Rhine?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Rhine> <http://dbpedia.org/ontology/country> ?uri }"
SELECT DISTINCT?uri WHERE { res:Elizabeth_II dbo:parent?uri }
"Who was the dbo:parent of res:Elizabeth_II?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Elizabeth_II> <http://dbpedia.org/ontology/parent> ?uri }"
SELECT DISTINCT?uri WHERE { res:Sand_casting dbo:casting?uri }
"Give me all res:Sand_casting.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Sand_casting> <http://dbpedia.org/ontology/casting> ?uri }"
SELECT DISTINCT?uri WHERE { res:Organization_of_American_States dbo:year?uri }
"Give me all res:Organization_of_American_States of the last res:20 years.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Organization_of_American_States> <http://dbpedia.org/ontology/year> ?uri }"
SELECT DISTINCT?uri WHERE { res:Netherlands dbo:location?uri }
"When is the res:Worst-case_scenario going to be in dbo:picture in the res:Netherlands?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Netherlands> <http://dbpedia.org/ontology/location> ?uri }"
SELECT DISTINCT?uri WHERE { res:Lance_Bass dbo:spouse }
"Whom did res:Lance_Bass dbo:spouse?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Lance_Bass> <http://dbpedia.org/ontology/spouse> }"
SELECT DISTINCT?uri WHERE { res:Glasgow_Airport dbo:subsidiary?uri }
"Which dbo:subsidiary of TUI Travel dbo:order both res:Glasgow_Airport and res:Dublin_Airport?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Glasgow_Airport> <http://dbpedia.org/ontology/subsidiary> ?uri }"
SELECT Dbo:Language WHERE { res:Pakistan dbo:spokenIn }
"What dbo:language are dbo:spokenIn in res:Pakistan?","SELECT Dbo:Language WHERE { <http://dbpedia.org/resource/Pakistan> <http://dbpedia.org/ontology/spokenIn> }"
SELECT DISTINCT?uri WHERE { res:Bill_Clinton dbo:spouse res:Dbo:child?uri }
"Who is the dbo:child of res:Bill_Clinton dbo:spouse to?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Bill_Clinton> <http://dbpedia.org/ontology/spouse> <http://dbpedia.org/resource/Dbo:child> ?uri }"
SELECT DISTINCT?uri WHERE { res:Apollo_11 dbo:mission?uri }
"Who was on the res:Apollo_11?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Apollo_11> <http://dbpedia.org/ontology/mission> ?uri }"
SELECT DISTINCT?uri WHERE { res:Indigo dbo:wavelength?uri }
"What is the dbo:wavelength of res:Indigo?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Indigo> <http://dbpedia.org/ontology/wavelength> ?uri }"
SELECT DISTINCT?uri WHERE { res:The_B-Sides dbo:team?uri }
"Give me all res:The_B-Sides.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/The_B-Sides> <http://dbpedia.org/ontology/team> ?uri }"
SELECT DISTINCT?uri WHERE { res:Scarface dbo:alias?uri }
"Who was dbo:alias res:Scarface?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Scarface> <http://dbpedia.org/ontology/alias> ?uri }"
SELECT DISTINCT?uri WHERE { res:North_Sea dbo:operator?uri }
"Which dbo:operator dbp:float into the res:North_Sea?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/North_Sea> <http://dbpedia.org/ontology/operator> ?uri }"
SELECT DISTINCT?uri WHERE { res:Fort_Knox dbp:location dbo:location?uri }
"Where is res:Fort_Knox dbp:location?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Fort_Knox> <http://dbpedia.org/property/location> <http://dbpedia.org/ontology/location> ?uri }"
SELECT DISTINCT?uri WHERE { res:United_Kingdom dbp:deathPlace dbo:birthPlace?uri }
"Which res:Daughters_of_the_Dust of res:United_Kingdom dbp:deathPlace at the same dbo:place they were dbo:birthPlace at?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/United_Kingdom> <http://dbpedia.org/property/deathPlace> <http://dbpedia.org/ontology/birthPlace> ?uri }"
SELECT DISTINCT?uri WHERE { res:China dbo:leader?uri }
"How many dbo:leader did res:China have?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/China> <http://dbpedia.org/ontology/leader> ?uri }"
SELECT DISTINCT?uri WHERE { res:Teenage_Mutant_Ninja_Turtles dbo:athletics?uri }
"What are the dbo:athletics of the res:Teenage_Mutant_Ninja_Turtles?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Teenage_Mutant_Ninja_Turtles> <http://dbpedia.org/ontology/athletics> ?uri }"
SELECT DISTINCT?uri WHERE { res:Piccadilly dbo:routeStart?uri }
"Where does res:Piccadilly dbo:routeStart?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Piccadilly> <http://dbpedia.org/ontology/routeStart> ?uri }"
SELECT DISTINCT?uri WHERE { res:University_of_Alabama dbo:spouse?uri }
"What is the dbp:name of the dbo:university where res:University_of_Alabama's dbp:spouse dbo:office?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/University_of_Alabama> <http://dbpedia.org/ontology/spouse> ?uri }"
SELECT DISTINCT?uri WHERE { res:Paraguay dbo:state res:Independence }
"When did res:Paraguay dbo:state its res:Independence?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Paraguay> <http://dbpedia.org/ontology/state> <http://dbpedia.org/resource/Independence> }"
SELECT DISTINCT?uri WHERE { res:National_Basketball_Association dbo:activePlayer?uri }
"How dbo:thumbnail is the dbo:thumbnailest active res:National_Basketball_Association player?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/National_Basketball_Association> <http://dbpedia.org/ontology/activePlayer> ?uri }"
SELECT DISTINCT?uri WHERE { res:Abraham_Lincoln dbo:deathDate }
"Where did res:Abraham_Lincoln dbo:deathDate?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Abraham_Lincoln> <http://dbpedia.org/ontology/deathDate> }"
SELECT DISTINCT?date WHERE { res:Jack_Wolfskin dbo:foundingYear }
"When was res:Jack_Wolfskin dbo:foundingYear?","SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Jack_Wolfskin> <http://dbpedia.org/ontology/foundingYear> }"
SELECT DISTINCT?uri WHERE { res:Air_China dbo:headquarter?uri }
"In which dbo:city is the dbo:headquarter of res:Air_China?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Air_China> <http://dbpedia.org/ontology/headquarter> ?uri }"
SELECT DISTINCT?uri WHERE { res:Pilsner_Urquell dbo:foundedYear?uri }
"What is the dbo:foundingYear year of the dbo:manufacturer that dbo:manufacturer res:Pilsner_Urquell?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Pilsner_Urquell> <http://dbpedia.org/ontology/foundedYear> ?uri }"
SELECT DISTINCT?date WHERE { res:Boston_Tea_Party dbo:place?date }
"When did the res:Boston_Tea_Party take dbo:place?","SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Boston_Tea_Party> <http://dbpedia.org/ontology/place> ?date }"
SELECT DISTINCT?uri WHERE {?uri dbo:animal dbp:endangered?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1
"Which dbo:animal are dbo:principal endangered?","SELECT DISTINCT?uri WHERE {?uri <http://dbpedia.org/ontology/animal> <http://dbpedia.org/property/endangered> ?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1"
SELECT DISTINCT?uri WHERE { res:Germany dbo:spouse?uri }
"Which res:Politicians_of_The_Wire were dbo:spouse to a res:Germany?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Germany> <http://dbpedia.org/ontology/spouse> ?uri }"
SELECT DISTINCT?height WHERE {?height dbo:dbo:height }
"How big is the dbo:ground's dbo:diameter?","SELECT DISTINCT?height WHERE {?height <http://dbpedia.org/ontology/dbo:height> }"
ASK WHERE { res:Barack_Obama dbo:spouse res:Michelle_Obama }
"Is the dbp:spouse of President res:Barack_Obama dbo:guest Michelle?","ASK WHERE { <http://dbpedia.org/resource/Barack_Obama> <http://dbpedia.org/ontology/spouse> <http://dbpedia.org/resource/Michelle_Obama> }"
SELECT DISTINCT?uri WHERE { res:MN dbo:state?uri }
"Which U.S. state has the dbo:abbreviation res:MN?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/MN> <http://dbpedia.org/ontology/state> ?uri }"
SELECT DISTINCT?date WHERE { res:Muhammad dbo:deathDate dbp:date?date }
"When did res:Muhammad dbo:deathDate?","SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Muhammad> <http://dbpedia.org/ontology/deathDate> <http://dbpedia.org/property/date> ?date }"
SELECT DISTINCT?uri WHERE { res:Moon dbo:musicComposer dbp:background?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1
"What is the dbp:background of the res:Moon dbo:musicComposer of?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Moon> <http://dbpedia.org/ontology/musicComposer> <http://dbpedia.org/property/background> ?uri } ORDER BY DESC(?uri) OFFSET 0 LIMIT 1"
SELECT DISTINCT?uri WHERE { res:Texas dbo:governor?uri }
"Who is the dbo:governor of res:Texas?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Texas> <http://dbpedia.org/ontology/governor> ?uri }"
SELECT DISTINCT?uri WHERE { res:Akira_Kurosawa dbo:director }
"Which dbo:film did res:Akira_Kurosawa dbo:director?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Akira_Kurosawa> <http://dbpedia.org/ontology/director> }"
SELECT DISTINCT?uri WHERE { res:San_Antonio dbo:name?uri }
"What was the dbp:name of the dbo:motto in res:1836 in res:San_Antonio?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/San_Antonio> <http://dbpedia.org/ontology/name> ?uri }"
SELECT DISTINCT?uri WHERE { res:Charmed dbo:officialLanguage?uri }
"Give me the dbo:officialLanguage of dbo:background of the res:Charmed.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Charmed> <http://dbpedia.org/ontology/officialLanguage> ?uri }"
SELECT DISTINCT?uri WHERE { res:Baguette dbo:numberOfCalories?uri }
"How many dbp:calories does a res:Baguette have?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Baguette> <http://dbpedia.org/ontology/numberOfCalories> ?uri }"
SELECT DISTINCT?uri WHERE { res:Brighton_and_Hove dbo:established?uri }
"Give me all res:Libraries_in_Brighton_and_Hove dbo:established before res:1400.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Brighton_and_Hove> <http://dbpedia.org/ontology/established> ?uri }"
SELECT DISTINCT?uri WHERE {?uri dbo:country res:Netherlands_Antilles_at_the_2007_Pan_American_Games }
"Give me all res:Frisian_Islands that dbp:rank to the res:Netherlands_Antilles_at_the_2007_Pan_American_Games.","SELECT DISTINCT?uri WHERE {?uri <http://dbpedia.org/ontology/country> <http://dbpedia.org/resource/Netherlands_Antilles_at_the_2007_Pan_American_Games> }"
SELECT DISTINCT?uri WHERE { res:The_Scream dbo:museum }
"Which dbo:museum dbo:sport res:The_Scream?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/The_Scream> <http://dbpedia.org/ontology/museum> }"
SELECT DISTINCT?date WHERE { res:De_Beers dbo:foundedBy }
"When was the res:De_Beers dbo:foundedBy?","SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/De_Beers> <http://dbpedia.org/ontology/foundedBy> }"
SELECT DISTINCT?uri WHERE { res:John_F._Kennedy dbo:deathDate }
"Who became dbo:president after res:John_F._Kennedy dbo:deathDate?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/John_F> . _Kennedy <http://dbpedia.org/ontology/deathDate> }"
SELECT DISTINCT?uri WHERE { res:Juan_Carlos_I_of_Spain dbo:spouse?uri }
"Who are the dbo:parent of the dbo:spouse of res:Juan_Carlos_I_of_Spain res:I?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Juan_Carlos_I_of_Spain> <http://dbpedia.org/ontology/spouse> ?uri }"
"Who is the dbo:author of the dbo:service a dbo:anthem of dbo:frozen and fire?",""
SELECT DISTINCT?uri WHERE { res:Beatles_VI dbo:recordLabel?uri }
"In which dbp:studio did the res:Beatles_VI dbo:recordLabel their first dbo:album?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Beatles_VI> <http://dbpedia.org/ontology/recordLabel> ?uri }"
SELECT DISTINCT?uri WHERE { res:Museum_of_Beer_and_Brewing dbo:location?uri }
"Which res:Museum_of_Beer_and_Brewing are dbp:stand in res:North_Rhine-Westphalia?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Museum_of_Beer_and_Brewing> <http://dbpedia.org/ontology/location> ?uri }"
SELECT DISTINCT?date WHERE { res:Diana,_Princess_of_Wales dbo:deathDate }
"When did res:Diana,_Princess_of_Wales dbo:deathDate?","SELECT DISTINCT?date WHERE { <http://dbpedia.org/resource/Diana,_Princess_of_Wales> <http://dbpedia.org/ontology/deathDate> }"
SELECT DISTINCT?uri WHERE { res:Intel dbo:foundingYear?uri }
"Who dbo:foundingYear res:Intel?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Intel> <http://dbpedia.org/ontology/foundingYear> ?uri }"
SELECT DISTINCT?uri WHERE { res:Premier_League dbo:participant?uri }
"Who is the youngest dbo:participant in the res:Premier_League?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Premier_League> <http://dbpedia.org/ontology/participant> ?uri }"
SELECT DISTINCT?uri WHERE { res:Cat_Stevens dbo:starring?uri }
"Which dbp:instrument does res:Cat_Stevens dbo:starring?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Cat_Stevens> <http://dbpedia.org/ontology/starring> ?uri }"
SELECT DISTINCT?uri WHERE { res:South_Carolina dbo:river }
"How many dbo:river and dbo:lake are in res:South_Carolina?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/South_Carolina> <http://dbpedia.org/ontology/river> }"
SELECT DISTINCT?uri WHERE { res:Rodzilla dbo:alias?uri }
"Who was dbo:alias res:Rodzilla?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Rodzilla> <http://dbpedia.org/ontology/alias> ?uri }"
SELECT DISTINCT?uri WHERE { res:Africa dbo:country?uri }
"Give me the dbo:principal of all res:Countries_of_the_United_Kingdom in res:Africa.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Africa> <http://dbpedia.org/ontology/country> ?uri }"
SELECT DISTINCT?uri WHERE { res:Manhattan_Bridge dbo:type?uri }
"Which dbo:abstract are of the same dbo:type as the res:Manhattan_Bridge?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Manhattan_Bridge> <http://dbpedia.org/ontology/type> ?uri }"
SELECT DISTINCT?uri WHERE { res:Facebook dbo:founder?uri }
"How many res:Companies_listed_on_the_New_York_Stock_Exchange_(J) were dbo:foundingYear by the dbo:founder of res:Facebook?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Facebook> <http://dbpedia.org/ontology/founder> ?uri }"
SELECT DISTINCT?uri WHERE { res:Grand_Canyon dbo:band res:Dbo:leader?uri }
"Show me res:Hiking in the res:Grand_Canyon where there's no dbo:leader of dbo:band.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Grand_Canyon> <http://dbpedia.org/ontology/band> <http://dbpedia.org/resource/Dbo:leader> ?uri }"
SELECT DISTINCT?uri WHERE {?uri rdf:type dbo:Book ; dbp:numberOfPages?uri }
"Which dbo:volume has the most pages?","SELECT DISTINCT?uri WHERE {?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Book> ; <http://dbpedia.org/property/numberOfPages> ?uri }"
SELECT DISTINCT?uri WHERE { res:United_States dbo:area?uri }
"What is the dbo:areaTotal state in the res:United_States?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/United_States> <http://dbpedia.org/ontology/area> ?uri }"
SELECT DISTINCT?uri WHERE { res:Websites_blocked_in_Pakistan dbo:numberOfEmployees?uri }
"Give me the res:Websites_blocked_in_Pakistan of res:Companies_listed_on_the_New_York_Stock_Exchange_(J) with more than dbo:numberOfEmployees.","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Websites_blocked_in_Pakistan> <http://dbpedia.org/ontology/numberOfEmployees> ?uri }"
SELECT DISTINCT?uri WHERE { res:Columbus dbo:title?uri }
"What were the dbo:title of the three dbo:shipBeam by res:Columbus?","SELECT DISTINCT?uri WHERE { <http://dbpedia.org/resource/Columbus> <http://dbpedia.org/ontology/title> ?uri }"
c:\Users\Albin\workspace\codebase\bart\sparql.ipynb Cell 12 in <cell line: 26>()
<a href='vscode-notebook-cell:/c%3A/Users/Albin/workspace/codebase/bart/sparql.ipynb#X33sZmlsZQ%3D%3D?line=34'>35</a> test_data = [q[0] for q in test_data]
<a href='vscode-notebook-cell:/c%3A/Users/Albin/workspace/codebase/bart/sparql.ipynb#X33sZmlsZQ%3D%3D?line=36'>37</a> for i, question in enumerate(test_data):
<a href='vscode-notebook-cell:/c%3A/Users/Albin/workspace/codebase/bart/sparql.ipynb#X33sZmlsZQ%3D%3D?line=39'>40</a> # Filter everything before the first " and after the last "
c:\Users\Albin\workspace\codebase\bart\sparql.ipynb Cell 12 in to_query(sentence)
File c:\Users\Albin\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\autograd\grad_mode.py:27, in _DecoratorContextManager.__call__.<locals>.decorate_context(*args, **kwargs)
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper__index_select)