Simple Question (Direct)
Simple Question
Q17103122
P641
Q204686
USER
What was the winter sport that Ove Løvåsen was a part of ?
(Q17103122,P641,c(Q204686))
action filter_type
action find
entity Q17103122
relation P641
type Q204686
['Q17103122', 'P641', {'concept': 'Q204686'}]
SELECT DISTINCT ?h WHERE { resource:Q17103122 property:P641 ?h . ?h rdf:type ontology:Q204686 }
Ove Løvåsen
action filter_type
action find
entity Ove Løvåsen
relation sport
type winter sport
['Ove Løvåsen', 'sport', {'concept': 'winter sport'}]
SELECT DISTINCT ?h WHERE { resource:Ove_Løvåsen property:sport ?h . ?h rdf:type ontology:winter_sport }
[]
winter sport
Q192431
SYSTEM
speed skating
Q192431
(Q17103122,P641,c(Q204686))
action filter_type
action find
entity Q17103122
relation P641
type Q204686
The winter sport that Ove Løvåsen was a part of was h [ANSWER]
['Q17103122', 'P641', {'concept': 'Q204686'}]
SELECT DISTINCT ?h WHERE { resource:Q17103122 property:P641 ?h . ?h rdf:type ontology:Q204686 }
speed skating
The winter sport that Ove Løvåsen was a part of was h speed skating
speed skating
action filter_type
action find
entity Ove Løvåsen
relation sport
type winter sport
['Ove Løvåsen', 'sport', {'concept': 'winter sport'}]
SELECT DISTINCT ?h WHERE { resource:Ove_Løvåsen property:sport ?h . ?h rdf:type ontology:winter_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17103122
P21
Q290
USER
Which sex does that person belong to ?
(Q192431,P21,c(Q290))
action filter_type
action find
entity Q17103122
relation P21
type Q290
['Q192431', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q17103122 property:P21 ?v . ?v rdf:type ontology:Q290 }
Ove Løvåsen
action filter_type
action find
entity Ove Løvåsen
relation gender
type sex
['speed skating', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Ove_Løvåsen property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q192431,P21,c(Q290))
action filter_type
action find
entity Q17103122
relation P21
type Q290
That person belongs to [ANSWER]
['Q192431', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q17103122 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Ove Løvåsen
relation gender
type sex
['speed skating', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Ove_Løvåsen property:gender ?v . ?v rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q17103122
P27
Q15617994
USER
How many administrative territories are the native countriesof Ove Løvåsen ?
(Q17103122,P27,c(Q15617994))
action count
action filter_type
action find
entity Q17103122
relation P27
type Q15617994
['Q17103122', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q17103122 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Ove Løvåsen
action count
action filter_type
action find
entity Ove Løvåsen
relation country of citizenship
type designation for an administrative territorial entity
['Ove Løvåsen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Ove_Løvåsen property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q20
(Q17103122,P27,c(Q15617994))
action count
action filter_type
action find
entity Q17103122
relation P27
type Q15617994
[ANSWER]
['Q17103122', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q17103122 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Norway
1
action count
action filter_type
action find
entity Ove Løvåsen
relation country of citizenship
type designation for an administrative territorial entity
['Ove Løvåsen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Ove_Løvåsen property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15992935
P39
Q12737077
USER
What was the position for which Odis Echols was appointed ?
(Q15992935,P39,c(Q12737077))
action filter_type
action find
entity Q15992935
relation P39
type Q12737077
['Q15992935', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q15992935 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
Odis Echols
action filter_type
action find
entity Odis Echols
relation position held
type occupation
['Odis Echols', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Odis_Echols property:position_held ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q20658713
SYSTEM
member of the State Senate of Massachusetts
Q20658713
(Q15992935,P39,c(Q12737077))
action filter_type
action find
entity Q15992935
relation P39
type Q12737077
The [ANSWER]
['Q15992935', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q15992935 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
member of the State Senate of Massachusetts
The member of the State Senate of Massachusetts
member of the State Senate of Massachusetts
action filter_type
action find
entity Odis Echols
relation position held
type occupation
['Odis Echols', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Odis_Echols property:position_held ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20658713
P1001
Q852446
USER
Which US administrative territory applies to jurisdiction of that occupation ?
(Q20658713,P1001,c(Q852446))
action filter_type
action find
entity Q20658713
relation P1001
type Q852446
['Q20658713', 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?d WHERE { resource:Q20658713 property:P1001 ?d . ?d rdf:type ontology:Q852446 }
member of the State Senate of Massachusetts
action filter_type
action find
entity member of the State Senate of Massachusetts
relation applies to jurisdiction
type administrative territorial entity of the United States
['member of the State Senate of Massachusetts', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?d WHERE { resource:member_of_the_State_Senate_of_Massachusetts property:applies_to_jurisdiction ?d . ?d rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1522
SYSTEM
New Mexico
Q1522
(Q20658713,P1001,c(Q852446))
action filter_type
action find
entity Q20658713
relation P1001
type Q852446
[ANSWER] applies to jurisdiction of that occupation
['Q20658713', 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?d WHERE { resource:Q20658713 property:P1001 ?d . ?d rdf:type ontology:Q852446 }
New Mexico
New Mexico applies to jurisdiction of that occupation
New Mexico
action filter_type
action find
entity member of the State Senate of Massachusetts
relation applies to jurisdiction
type administrative territorial entity of the United States
['member of the State Senate of Massachusetts', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?d WHERE { resource:member_of_the_State_Senate_of_Massachusetts property:applies_to_jurisdiction ?d . ?d rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20658713
P17
Q15617994
USER
Which administrative territory does that occupation belong to ?
(Q1522,P17,c(Q15617994))
action filter_type
action find
entity Q20658713
relation P17
type Q15617994
['Q1522', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q20658713 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
member of the State Senate of Massachusetts
action filter_type
action find
entity member of the State Senate of Massachusetts
relation country
type designation for an administrative territorial entity
['New Mexico', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:member_of_the_State_Senate_of_Massachusetts property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1522,P17,c(Q15617994))
action filter_type
action find
entity Q20658713
relation P17
type Q15617994
That occupation belongs to the [ANSWER]
['Q1522', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q20658713 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
United States of America
That occupation belongs to the United States of America
United States of America
action filter_type
action find
entity member of the State Senate of Massachusetts
relation country
type designation for an administrative territorial entity
['New Mexico', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:member_of_the_State_Senate_of_Massachusetts property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q1522
P495 P915
Q838948
USER
Which works of art were filmed in the location New Mexico and are United States of America a country of origin of ?
AND((c(Q838948),P915,Q1522), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q1522
relation P915
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P915', 'Q1522'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?p WHERE { ?p property:P915 resource:Q1522 . ?p property:P495 resource:Q30 . ?p rdf:type ontology:Q838948 }
United States of America New Mexico
action filter_type
action intersection
action find_reverse
entity New Mexico
relation filming location
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'filming location', 'New Mexico'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?p WHERE { ?p property:filming_location resource:New_Mexico . ?p property:country_of_origin resource:United_States_of_America . ?p rdf:type ontology:work_of_art }
[]
work of art
Q1475275 Q1128750 Q23647173 Q3073106 Q2027905 Q2300632 Q950586 Q1514641 Q657588 Q1111970
SYSTEM
Some of them are The Juror, Crazy Heart, Transpecos, Five Days from Home, Billy Jack, Tank Girl, Dark Blood, Hamlet 2, Trade, Sunshine Cleaning
Q846940 Q650460 Q14774970 Q7715284 Q4345913 Q287960 Q444525 Q16250528 Q676039 Q746029 Q948635 Q15961525 Q1579371 Q45672 Q15627888 Q126896 Q1164753 Q587809 Q1631574 Q208344 Q1993812 Q857861 Q725578 Q1518589 Q1702708 Q780350 Q367244 Q4934642 Q1687420 Q192073 Q18155457 Q5223177 Q7758456 Q191100 Q1854549 Q49396 Q1327680 Q10384115 Q24958752 Q1254088 Q1215745 Q1810952 Q171453 Q232000 Q274529 Q14772351 Q503638 Q16998946 Q1195524 Q16250945 Q1427026 Q20649346 Q1883105 Q621493 Q730228 Q2300632 Q590869 Q21427279 Q7726909 Q1546610 Q1164779 Q20026847 Q785157 Q7578823 Q2365679 Q20993873 Q20638437 Q1215005 Q1425639 Q1111970 Q6652340 Q947885 Q506400 Q18353472 Q1475275 Q11928 Q21160867 Q170564 Q182373 Q748986 Q18155077 Q2027905 Q21450478 Q3043148 Q1211921 Q3028045 Q620655 Q19363883 Q848785 Q7801402 Q4004545 Q1671622 Q3282975 Q548919 Q1353728 Q465192 Q3828458 Q3234596 Q260548 Q16639467 Q1321814 Q249350 Q1195497 Q268824 Q1421526 Q510388 Q1139236 Q182218 Q185658 Q3506557 Q1545826 Q977747 Q826840 Q759350 Q16250591 Q261700 Q3598715 Q7714833 Q1637139 Q2579741 Q264869 Q19983487 Q214013 Q4179741 Q18811591 Q4802857 Q23647173 Q990987 Q18149284 Q1463361 Q1354162 Q569941 Q1521248 Q211784 Q3258993 Q578809 Q3566895 Q1049095 Q217020 Q1747719 Q2329403 Q5575373 Q191543 Q261305 Q2014167 Q13222089 Q1464948 Q1128750 Q952125 Q950586 Q17337292 Q640710 Q19614711 Q766135 Q1514641 Q2804739 Q474414 Q20716882 Q552775 Q270215 Q213053 Q4902390 Q210873 Q18359358 Q961138 Q7443591 Q16249776 Q4121019 Q162037 Q616700 Q2331487 Q5048438 Q7827295 Q1339386 Q1050541 Q142292 Q2268296 Q7078978 Q1409165 Q326114 Q1412037 Q737109 Q3795162 Q725423 Q814072 Q17183413 Q1740828 Q1131669 Q24053263 Q17150575 Q602750 Q2043182 Q883213 Q669231 Q2299188 Q18151017 Q235347 Q3006300 Q1355172 Q3073106 Q5179569 Q183081 Q635299 Q1334320 Q13582568 Q12132358 Q847435 Q1128496 Q751709 Q740528 Q14948584 Q6537234 Q1094020 Q20646986 Q4353965 Q657588 Q593877 Q105387
AND((c(Q838948),P915,Q1522), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q1522
relation P915
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWERS] were filmed in the location New Mexico and are United States of America a country of origin of
{'AND': [[{'concept': 'Q838948'}, 'P915', 'Q1522'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?p WHERE { ?p property:P915 resource:Q1522 . ?p property:P495 resource:Q30 . ?p rdf:type ontology:Q838948 }
Conspiracy Fanboys The Signal The Bad Man The Legend of the Lone Ranger Legion Timerider: The Adventure of Lyle Swann Fort Bliss The Grapes of Wrath 3:10 to Yuma Brothers The Homesman MacGruber The Last Stand Two Men in Town In the Valley of Elah Paul Carriers The Texas Rangers Armageddon Infinity Beerfest Cowboys & Aliens The Muppet Movie A Gunfight Viva Zapata! Felon Bobbie Jo and the Outlaw In Dreams Little Miss Sunshine Vacation Dark Country The Prodigal Planet Transformers: Revenge of the Fallen Atomic Ed and the Black Hole Lonely Are the Brave Skyjacked Transcendence Sidney Hall After Earth Journey to the Center of the Earth Around the Bend Transformers Butch Cassidy and the Sundance Kid The Book of Eli Batman v Superman: Dawn of Justice Easy Rider Spare Parts Every Which Way but Loose The Guest Hang 'Em High Gold Mad Love Observe and Report Private Lessons Tank Girl The Bachelor The Condemned 2 The Comeback Trail The Milagro Beanfield War The Men Who Stare at Goats Comancheria Twins Spoiled Not Forgotten Don't Blink Katie Says Goodbye Jonathan Livingston Seagull Last Man Standing Sunshine Cleaning Little Treasure Gamer Red Dawn Lazer Team The Juror Swing Vote 5 Shells Terminator 2: Judgment Day Indiana Jones and the Kingdom of the Crystal Skull Natural Born Killers The Reach Billy Jack The Space Between Us Paper Heart The Cowboys Flying Tigers Appaloosa Whiskey Tango Foxtrot Jarhead Tiger Eyes Undead or Alive Intruders Showdown The Lone Ranger Young Guns The Flock Nightwing Tennessee Silverado Good Kill The Hitcher Haywire The Man from Laramie Fright Night Five Dollars a Day Convoy The Eye The Avengers Indiana Jones and the Last Crusade Sweet Vengeance Ace in the Hole The Tao of Steve Wild Hogs The Burning Plain Frontera Ghosts of Mars 2 Guns The Atomic City The Missing 10 Years Let Me In The Magnificent Seven 21 Grams Cruel World Big Sky As Cool As I Am Transpecos My One and Only Dirty Weekend Wisdom Seraphim Falls Due Date Billy the Kid 2010: The Year We Make Contact Lone Survivor Them! We're the Millers Rent Thor Cowboy Odd Thomas Goats Terminator Salvation Bite the Bullet The Burrowers Jane Got a Gun Pursued Crazy Heart Suspect Zero Dark Blood Sicario The Spirit Independence Day: Resurgence Gas Food Lodging Hamlet 2 A Distant Trumpet First Snow Shot Caller The Host Contact Superman Bi the Way Leave Her to Heaven The Maze Runner: Scorch Trials The Guilt Trip Second Thoughts Dead Man's Burden Bombardier Afterwards Colorado Territory Save Me Casey's Shadow Tortilla Heaven Employee of the Month Catchfire Traffic Clockers Off the Map The Killer Inside Me True Grit Silkwood Two-Lane Blacktop Heaven with a Gun North Country Beer for My Horses The Gatling Gun Kickboxer 4 The Longest Yard Logan Blood Father Bordertown The Resident Young Guns II Vampires All the Pretty Horses In a Valley of Violence John Carter Sundown Wyatt Earp Five Days from Home Cowboy del Amor No Country for Old Men Outrageous Fortune Elvis Has Left the Building A Million Ways to Die in the West The War Boys The Spy Next Door Year One The Astronaut Farmer Wild Wild West Persecuted Lewis and Clark and George City Slickers Busy Day Lust in the Dust Trade Lolita Independence Day
The Juror, Crazy Heart, Transpecos, Five Days from Home, Billy Jack, Tank Girl, Dark Blood, Hamlet 2, Trade and Sunshine Cleaning were filmed in the location New Mexico and are United States of America a country of origin of
The Juror Crazy Heart Transpecos Five Days from Home Billy Jack Tank Girl Dark Blood Hamlet 2 Trade Sunshine Cleaning
action filter_type
action intersection
action find_reverse
entity New Mexico
relation filming location
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'filming location', 'New Mexico'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?p WHERE { ?p property:filming_location resource:New_Mexico . ?p property:country_of_origin resource:United_States_of_America . ?p rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1644302 Q30
P6
Q502895
USER
Which people do United States of America or El Casar de Escalona serve as the head of government for ?
OR((Q30,P6,c(Q502895)), (Q1644302,P6,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q1644302
relation P6
type Q502895
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q1644302', 'P6', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . { { resource:Q1644302 property:P6 ?x } UNION { resource:Q30 property:P6 ?x } } }
El Casar de Escalona United States of America
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity El Casar de Escalona
relation head of government
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['El Casar de Escalona', 'head of government', {'concept': 'common name'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . { { resource:El_Casar_de_Escalona property:head_of_government ?x } UNION { resource:United_States_of_America property:head_of_government ?x } } }
[]
common name
Q8007 Q35686 Q11613 Q35041 Q11881 Q11896 Q23685 Q11812 Q23 Q34296
SYSTEM
Some of them are Franklin Delano Roosevelt, Rutherford B. Hayes, Harry S. Truman, William McKinley, John Tyler, Zachary Taylor, Jimmy Carter, Thomas Jefferson, George Washington, Woodrow Wilson
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q14125425 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q9588 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
OR((Q30,P6,c(Q502895)), (Q1644302,P6,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q1644302
relation P6
type Q502895
United States of America or El Casar de Escalona serve as the head of government for President [ANSWERS]
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q1644302', 'P6', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . { { resource:Q1644302 property:P6 ?x } UNION { resource:Q30 property:P6 ?x } } }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Valentin Duran Lopez Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump Richard Nixon James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
United States of America or El Casar de Escalona serve as the head of government for President Franklin Delano Roosevelt, Rutherford B. Hayes, Harry S. Truman, William McKinley, John Tyler, Zachary Taylor, Jimmy Carter, Thomas Jefferson, George Washington and Woodrow Wilson
Franklin Delano Roosevelt Rutherford B. Hayes Harry S. Truman William McKinley John Tyler Zachary Taylor Jimmy Carter Thomas Jefferson George Washington Woodrow Wilson
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity El Casar de Escalona
relation head of government
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['El Casar de Escalona', 'head of government', {'concept': 'common name'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . { { resource:El_Casar_de_Escalona property:head_of_government ?x } UNION { resource:United_States_of_America property:head_of_government ?x } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1754737
P941
Q838948 Q15709879 Q2342494
USER
How many works of art were the sources of inspiration for approximately the same number of artwork series or collectables as Lady Snowblood ?
(c(Q15709879)|c(Q2342494),P941,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15709879
action find_reverse_tuple_counts
relation P941
type Q838948
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1754737
relation P941
type Q15709879
type Q2342494
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?n ) WHERE { { ?q property:P941 ?d . ?q rdf:type ontology:Q15709879 . ?d rdf:type ontology:Q838948 } UNION { ?q property:P941 ?d . ?d rdf:type ontology:Q838948 . ?q rdf:type ontology:Q2342494 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:P941 resource:Q1754737 . { { ?i rdf:type ontology:Q15709879 } UNION { ?i rdf:type ontology:Q2342494 } } } } . FILTER ( ?n = ?y ) }
Lady Snowblood
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type artwork series
action find_reverse_tuple_counts
relation inspired by
type work of art
type collectable
action count
action filter_multi_types
action find_reverse
entity Lady Snowblood
relation inspired by
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?n ) WHERE { { ?q property:inspired_by ?d . ?q rdf:type ontology:artwork_series . ?d rdf:type ontology:work_of_art } UNION { ?q property:inspired_by ?d . ?d rdf:type ontology:work_of_art . ?q rdf:type ontology:collectable } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:inspired_by resource:Lady_Snowblood . { { ?i rdf:type ontology:artwork_series } UNION { ?i rdf:type ontology:collectable } } } } . FILTER ( ?n = ?y ) }
[]
work of art artwork series collectable
SYSTEM
30
Q125191 Q1136305 Q1198611 Q107724 Q1217787 Q1856846 Q7758112 Q46239 Q1852671 Q17738 Q1345920 Q181598 Q753298 Q201293 Q1754737 Q41567 Q1144983 Q18668045 Q186014 Q3223805 Q5968141 Q379873 Q734834 Q1170100 Q375786 Q83186 Q465478 Q493755 Q214619 Q169082
(c(Q15709879)|c(Q2342494),P941,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15709879
action find_reverse_tuple_counts
relation P941
type Q838948
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1754737
relation P941
type Q15709879
type Q2342494
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?n ) WHERE { { ?q property:P941 ?d . ?q rdf:type ontology:Q15709879 . ?d rdf:type ontology:Q838948 } UNION { ?q property:P941 ?d . ?d rdf:type ontology:Q838948 . ?q rdf:type ontology:Q2342494 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:P941 resource:Q1754737 . { { ?i rdf:type ontology:Q15709879 } UNION { ?i rdf:type ontology:Q2342494 } } } } . FILTER ( ?n = ?y ) }
photograph Doryphoros The Absent-Minded Professor Thunderball The Time Machine The Ballad of Cable Hogue The Pretty Sister of Jose Statue of Zeus at Olympia Carnival of Souls Star Wars Episode IV: A New Hope Song of the South King Lear Uncle Vanya Roman Holiday Lady Snowblood Hamlet Animal Kingdom The Old Fisherman Zeitgeist: The Movie The Judgement of Paris La sirena varada Who Framed Roger Rabbit Ghent Altarpiece The Philadelphia Experiment Hippolytus Romeo and Juliet Star Trek II: The Wrath of Khan Coming to America The Little Mermaid 10 Things I Hate About You
30
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type artwork series
action find_reverse_tuple_counts
relation inspired by
type work of art
type collectable
action count
action filter_multi_types
action find_reverse
entity Lady Snowblood
relation inspired by
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?n ) WHERE { { ?q property:inspired_by ?d . ?q rdf:type ontology:artwork_series . ?d rdf:type ontology:work_of_art } UNION { ?q property:inspired_by ?d . ?d rdf:type ontology:work_of_art . ?q rdf:type ontology:collectable } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { ?i property:inspired_by resource:Lady_Snowblood . { { ?i rdf:type ontology:artwork_series } UNION { ?i rdf:type ontology:collectable } } } } . FILTER ( ?n = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1852671
P941
Q838948 Q15709879 Q2342494
USER
And also tell me about Carnival of Souls?
(c(Q15709879)|c(Q2342494),P941,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15709879
action find_reverse_tuple_counts
relation P941
type Q838948
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1852671
relation P941
type Q15709879
type Q2342494
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?s ) WHERE { VALUES ( ?r ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } . ?v rdf:type ?r } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:P941 resource:Q1852671 . { VALUES ( ?k ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } . ?u rdf:type ?k } } } . FILTER ( ?s = ?m ) }
Carnival of Souls
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type artwork series
action find_reverse_tuple_counts
relation inspired by
type work of art
type collectable
action count
action filter_multi_types
action find_reverse
entity Carnival of Souls
relation inspired by
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?s ) WHERE { VALUES ( ?r ) { ( ontology:artwork_series ) ( ontology:collectable ) } . ?v rdf:type ?r } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:inspired_by resource:Carnival_of_Souls . { VALUES ( ?k ) { ( ontology:artwork_series ) ( ontology:collectable ) } . ?u rdf:type ?k } } } . FILTER ( ?s = ?m ) }
[]
work of art artwork series collectable
SYSTEM
30
Q125191 Q1136305 Q1198611 Q107724 Q1217787 Q1856846 Q7758112 Q46239 Q1852671 Q17738 Q1345920 Q181598 Q753298 Q201293 Q1754737 Q41567 Q1144983 Q18668045 Q186014 Q3223805 Q5968141 Q379873 Q734834 Q1170100 Q375786 Q83186 Q465478 Q493755 Q214619 Q169082
(c(Q15709879)|c(Q2342494),P941,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15709879
action find_reverse_tuple_counts
relation P941
type Q838948
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1852671
relation P941
type Q15709879
type Q2342494
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?s ) WHERE { VALUES ( ?r ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } . ?v rdf:type ?r } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:P941 resource:Q1852671 . { VALUES ( ?k ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } . ?u rdf:type ?k } } } . FILTER ( ?s = ?m ) }
photograph Doryphoros The Absent-Minded Professor Thunderball The Time Machine The Ballad of Cable Hogue The Pretty Sister of Jose Statue of Zeus at Olympia Carnival of Souls Star Wars Episode IV: A New Hope Song of the South King Lear Uncle Vanya Roman Holiday Lady Snowblood Hamlet Animal Kingdom The Old Fisherman Zeitgeist: The Movie The Judgement of Paris La sirena varada Who Framed Roger Rabbit Ghent Altarpiece The Philadelphia Experiment Hippolytus Romeo and Juliet Star Trek II: The Wrath of Khan Coming to America The Little Mermaid 10 Things I Hate About You
30
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type artwork series
action find_reverse_tuple_counts
relation inspired by
type work of art
type collectable
action count
action filter_multi_types
action find_reverse
entity Carnival of Souls
relation inspired by
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?s ) WHERE { VALUES ( ?r ) { ( ontology:artwork_series ) ( ontology:collectable ) } . ?v rdf:type ?r } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:inspired_by resource:Carnival_of_Souls . { VALUES ( ?k ) { ( ontology:artwork_series ) ( ontology:collectable ) } . ?u rdf:type ?k } } } . FILTER ( ?s = ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11812
P22
Q502895
USER
Who have Thomas Jefferson as a father ?
(c(Q502895),P22,Q11812)
action filter_type
action find_reverse
entity Q11812
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q11812']
SELECT DISTINCT ?a WHERE { ?a property:P22 resource:Q11812 . ?a rdf:type ontology:Q502895 }
Thomas Jefferson
action filter_type
action find_reverse
entity Thomas Jefferson
relation father
type common name
[{'concept': 'common name'}, 'father', 'Thomas Jefferson']
SELECT DISTINCT ?a WHERE { ?a property:father resource:Thomas_Jefferson . ?a rdf:type ontology:common_name }
[]
common name
Q255159 Q6779916 Q5664155
SYSTEM
Martha Jefferson Randolph, Mary Jefferson Eppes, Harriet Hemings
Q11239932 Q6779916 Q255159 Q5664155
(c(Q502895),P22,Q11812)
action filter_type
action find_reverse
entity Q11812
relation P22
type Q502895
[ANSWERS] have Thomas Jefferson as a father
[{'concept': 'Q502895'}, 'P22', 'Q11812']
SELECT DISTINCT ?a WHERE { ?a property:P22 resource:Q11812 . ?a rdf:type ontology:Q502895 }
Madison Hemings Mary Jefferson Eppes Martha Jefferson Randolph Harriet Hemings
Martha Jefferson Randolph, Mary Jefferson Eppes and Harriet Hemings have Thomas Jefferson as a father
Martha Jefferson Randolph Mary Jefferson Eppes Harriet Hemings
action filter_type
action find_reverse
entity Thomas Jefferson
relation father
type common name
[{'concept': 'common name'}, 'father', 'Thomas Jefferson']
SELECT DISTINCT ?a WHERE { ?a property:father resource:Thomas_Jefferson . ?a rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5664155
P9
Q502895
USER
Who have that one as thier sibling ?
(Q5664155,P9,c(Q502895))
action filter_type
action find
entity Q5664155
relation P9
type Q502895
['Q5664155', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q5664155 property:P9 ?y . ?y rdf:type ontology:Q502895 }
Harriet Hemings
action filter_type
action find
entity Harriet Hemings
relation sister
type common name
['Harriet Hemings', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Harriet_Hemings property:sister ?y . ?y rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q255159
SYSTEM
Did you mean Martha Jefferson Randolph ?
Q255159 Q6779916 Q5664155
(Q255159,P9,c(Q502895)) (Q6779916,P9,c(Q502895)) (Q5664155,P9,c(Q502895))
[ANSWER]
['Q255159', 'P9', {'concept': 'Q502895'}] ['Q6779916', 'P9', {'concept': 'Q502895'}] ['Q5664155', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q5664155 property:P9 ?y . ?y rdf:type ontology:Q502895 }
Martha Jefferson Randolph Mary Jefferson Eppes Harriet Hemings
Did you mean Martha Jefferson Randolph ?
Martha Jefferson Randolph
['Martha Jefferson Randolph', 'sister', {'concept': 'common name'}] ['Mary Jefferson Eppes', 'sister', {'concept': 'common name'}] ['Harriet Hemings', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Harriet_Hemings property:sister ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Harriet Hemings. Could you tell me the answer for that?
(Q5664155,P9,c(Q502895))
Q5664155
['Q5664155', 'P9', {'concept': 'Q502895'}]
['Harriet Hemings', 'sister', {'concept': 'common name'}]
[]
Q6779916 Q255159
SYSTEM
Mary Jefferson Eppes, Martha Jefferson Randolph
Q6779916 Q255159
(Q5664155,P9,c(Q502895))
action filter_type
action find
entity Q5664155
relation P9
type Q502895
[ANSWERS] have that one as thier sibling
['Q5664155', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q5664155 property:P9 ?y . ?y rdf:type ontology:Q502895 }
Mary Jefferson Eppes Martha Jefferson Randolph
Mary Jefferson Eppes and Martha Jefferson Randolph have that one as thier sibling
Mary Jefferson Eppes Martha Jefferson Randolph
action filter_type
action find
entity Harriet Hemings
relation sister
type common name
['Harriet Hemings', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Harriet_Hemings property:sister ?y . ?y rdf:type ontology:common_name }
[]