Simple Question (Direct)
Simple Question
Q652946
P1412
Q34770
USER
Which language can Alcée Louis la Branche understand ?
(Q652946,P1412,c(Q34770))
action filter_type
action find
entity Q652946
relation P1412
type Q34770
['Q652946', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q652946 property:P1412 ?q }
Alcée Louis la Branche
action filter_type
action find
entity Alcée Louis la Branche
relation languages spoken, written or signed
type language
['Alcée Louis la Branche', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Alcée_Louis_la_Branche property:languages_spoken,_written_or_signed ?q }
[]
language
Q1860
SYSTEM
English
Q1860
(Q652946,P1412,c(Q34770))
action filter_type
action find
entity Q652946
relation P1412
type Q34770
Alcée Louis la Branche can understand the [ANSWER]
['Q652946', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q652946 property:P1412 ?q }
English
Alcée Louis la Branche can understand the English
English
action filter_type
action find
entity Alcée Louis la Branche
relation languages spoken, written or signed
type language
['Alcée Louis la Branche', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Alcée_Louis_la_Branche property:languages_spoken,_written_or_signed ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q652946
P19
Q56061
USER
Which administrative territory was Alcée Louis la Branche born in ?
(Q652946,P19,c(Q56061))
action filter_type
action find
entity Q652946
relation P19
type Q56061
['Q652946', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q652946 property:P19 ?t }
Alcée Louis la Branche
action filter_type
action find
entity Alcée Louis la Branche
relation place of birth
type administrative territorial entity
['Alcée Louis la Branche', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Alcée_Louis_la_Branche property:place_of_birth ?t }
[]
administrative territorial entity
Q34404
SYSTEM
New Orleans
Q34404
(Q652946,P19,c(Q56061))
action filter_type
action find
entity Q652946
relation P19
type Q56061
Alcée Louis la Branche was born in [ANSWER]
['Q652946', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q652946 property:P19 ?t }
New Orleans
Alcée Louis la Branche was born in New Orleans
New Orleans
action filter_type
action find
entity Alcée Louis la Branche
relation place of birth
type administrative territorial entity
['Alcée Louis la Branche', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Alcée_Louis_la_Branche property:place_of_birth ?t }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are partner towns of that administrative territory ?
(Q34404,P190,c(Q56061))
action count
action filter_type
action find
entity Q34404
relation P190
type Q56061
['Q34404', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q34404 property:P190 ?l . ?l rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity New Orleans
relation sister city
type administrative territorial entity
['New Orleans', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:New_Orleans property:sister_city ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
9
Q44255 Q223920 Q1735 Q5468 Q3238 Q44206 Q171632 Q207321 Q168202
(Q34404,P190,c(Q56061))
action count
action filter_type
action find
entity Q34404
relation P190
type Q56061
[ANSWER]
['Q34404', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q34404 property:P190 ?l . ?l rdf:type ontology:Q56061 }
San Miguel de Tucumán Pointe-Noire Innsbruck Durban Tegucigalpa Resistencia Maracaibo Matsue Rosh HaAyin
9
action count
action filter_type
action find
entity New Orleans
relation sister city
type administrative territorial entity
['New Orleans', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:New_Orleans property:sister_city ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34404
P915
Q838948
USER
Which works of art were filmed in the location New Orleans ?
(c(Q838948),P915,Q34404)
action filter_type
action find_reverse
entity Q34404
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q34404']
SELECT DISTINCT ?q WHERE { ?q property:P915 resource:Q34404 . ?q rdf:type ontology:Q838948 }
New Orleans
action filter_type
action find_reverse
entity New Orleans
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'New Orleans']
SELECT DISTINCT ?q WHERE { ?q property:filming_location resource:New_Orleans . ?q rdf:type ontology:work_of_art }
[]
work of art
Q741823 Q3023357 Q183239
SYSTEM
JFK, 12 Years a Slave, The Curious Case of Benjamin Button
Q183239 Q1424234 Q868329 Q17634968 Q73651 Q858842 Q255376 Q203334 Q1279412 Q17154325 Q11220194 Q16250697 Q4295471 Q2025754 Q3199977 Q14387340 Q797242 Q3520498 Q798737 Q135230 Q5749030 Q15028216 Q15110422 Q3088298 Q388476 Q3823378 Q464634 Q1529637 Q3922579 Q1812457 Q330982 Q2479849 Q3907134 Q1778856 Q1653396 Q18619590 Q3118162 Q1119142 Q166462 Q2064383 Q7733728 Q903885 Q21168538 Q2660062 Q18155816 Q8073727 Q1969446 Q15140437 Q16982089 Q12126045 Q7069522 Q499680 Q503638 Q2706811 Q14948553 Q745753 Q2028118 Q2356692 Q1480617 Q18914954 Q3520173 Q747847 Q7738521 Q2157076 Q249032 Q1425127 Q266596 Q7524706 Q741823 Q300490 Q136264 Q776607 Q196685 Q1199793 Q728404 Q16147760 Q1026872 Q858976 Q3023357 Q18377827 Q7353307 Q3896119 Q1758112 Q53719 Q7033542 Q958142 Q1156495 Q6442259 Q2411262 Q1634476 Q948726 Q3053255 Q18388171 Q869669 Q1426423 Q350784 Q1464230 Q3564816 Q1889403 Q74643 Q249040 Q17025594 Q7033877 Q4423986 Q1194785 Q18342910 Q1616729 Q15028220 Q212129 Q549263 Q1126079 Q1195600 Q17150529 Q19850715 Q7757734 Q1486444 Q1533060 Q3598715 Q31540 Q2306995 Q607363 Q27204 Q214014 Q593877 Q2356205 Q651296 Q3282963 Q130142 Q1753075 Q303862 Q1018042 Q3499917 Q1810617 Q2097490 Q15548282 Q252409 Q1426953 Q7742442 Q15040917 Q1199733 Q4353019 Q217552 Q14905874 Q15622633 Q1588871 Q1129080 Q2574066 Q1766137 Q318910 Q19363980 Q1128867 Q2984104 Q12132457 Q122113 Q642925 Q738704 Q245187 Q3284333 Q493807 Q587891 Q1460915 Q280220 Q4817961 Q4922135 Q18353315 Q751382 Q7242738 Q2031385 Q1588862 Q2521211 Q5254649 Q368136 Q16974924 Q1322981 Q228964 Q741257 Q581964 Q164424 Q1125083 Q3139644 Q776277 Q2020244 Q859084 Q870466 Q18209382 Q814483 Q1033094 Q16354845 Q16249670 Q16974047 Q15070803 Q1545950 Q577469 Q1083412 Q16248744 Q146605 Q192409 Q2596218 Q759471 Q1268749 Q7010752 Q641786 Q2002001 Q630202 Q151870 Q4994377 Q484987 Q2396492 Q15046490 Q7997210
(c(Q838948),P915,Q34404)
action filter_type
action find_reverse
entity Q34404
relation P915
type Q838948
[ANSWERS] were filmed in the location New Orleans
[{'concept': 'Q838948'}, 'P915', 'Q34404']
SELECT DISTINCT ?q WHERE { ?q property:P915 resource:Q34404 . ?q rdf:type ontology:Q838948 }
The Curious Case of Benjamin Button Resurrection Colombiana Burnt Double Jeopardy RED The Client J. D.'s Revenge Glory Road The Runner Dawn of the Planet of the Apes Get Hard Netherworld Stolen Knucklehead Hateship, Loveship Ray Dallas Buyers Club The Bad Lieutenant: Port of Call New Orleans Bullet to the Head Hexing a Hurricane Wild Card 13 Sins From the Rough The Mechanic The First 9½ Weeks D.O.A. Oldboy Father of Invention Legendary The Beyond Hard Times The Mississippi Gambler Albino Alligator Sin City: A Dame to Kill For Daddy's Home Grudge Match The Drowning Pool Beasts of the Southern Wild Mardi Gras: Spring Break The Fields Green Lantern Jack Reacher: Never Go Back Mirrors 2 The Whole Truth Zombie! vs. Mardi Gras Undercover Blues Terminator Genisys Mississippi Grind Mardi Gras Massacre Number One The Cincinnati Kid Easy Rider College American Heist Mandingo The Campaign Sonny Primary Colors Elvis & Nixon The Butler New Orleans The Gun in Betty Lou's Handbag The Loft Heaven's Prisoners Tune in Tomorrow Panic in the Streets Sinners and Saints JFK A Murder of Crows Killing Them Softly Venom Escape Plan The Skeleton Key The Pelican Brief 99 Homes The Paperboy The Final Destination 12 Years a Slave Mr. Right Robosapien: Rebooted Parker Ender's Game Looper Night Trap A Love Song for Bobby Long Welcome to the Rileys Hatchet III The Family That Preys Last Holiday So Undercover Empire State Kidnap King Creole Cat People Going Overboard Cirque du Freak: The Vampire's Assistant WUSA Pretty Baby Killer Joe In the Electric Mist Midnight Special Nightmare The Unholy Father Hood Geostorm Love Liza Hot Tub Time Machine 2 A Streetcar Named Desire The Last Exorcism Kill Theory The Fugitive Kind The Best of Me The Big Short The Pool Boys Avenging Force No Mercy 2 Guns Assassination Games The Dukes of Hazzard This Is the End Live and Let Die 21 Jump Street Lolita Waking Madison Freelancers Inside Out Miller's Crossing Deal Waiting... Butter Storyville Dracula III: Legacy Solstice Focus Déjà Vu The Buccaneer The Invisible Avenger 22 Jump Street Seeking Justice Tammy and the Bachelor X-Men Origins: Wolverine Hours Self/less Hatchet Contraband Frankenstein Safe in Hell Interview with the Vampire When the Bough Breaks I Love You Phillip Morris Percy Jackson: Sea of Monsters When the Game Stands Tall Super Exit to Eden Beautiful Creatures 12 Rounds Eve's Bayou Angel Heart Dead Man Walking The Big Easy Little Murder Attack of the Giant Leeches Black Water Transit Elsa & Fred Wild at Heart Pride Hurricane Season Hatchet II Crazy in Alabama Delta Heat Città violenta Fractured The Reaping Just My Luck Meet the Spartans All the King's Men Judas Kiss Tightrope Homefront Let's Do It Again Swamp Women Big Momma's House 2 The Last Time Our Brand Is Crisis The Badge Candyman 2: Farewell to the Flesh American Ultra The D Train Hot Pursuit Home Sweet Hell This Property Is Condemned Point of No Return Johnny Handsome Black and White Zandalee Down by Law Night of the Demons Walk on the Wild Side Dylan Dog: Dead of Night New Orleans Music in Exile Crossroads Obsession Bending the Rules Runaway Jury Flakes Dracula 2000 Hotel Chef Who Do You Love?
JFK, 12 Years a Slave and The Curious Case of Benjamin Button were filmed in the location New Orleans
JFK 12 Years a Slave The Curious Case of Benjamin Button
action filter_type
action find_reverse
entity New Orleans
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'New Orleans']
SELECT DISTINCT ?q WHERE { ?q property:filming_location resource:New_Orleans . ?q rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q741823 Q3023357 Q183239
P915
Q56061
USER
Which locations were those works of art filmed ?
(Q741823,P915,c(Q56061)) (Q3023357,P915,c(Q56061)) (Q183239,P915,c(Q56061))
action filter_type
action find
entity prev_answer
relation P915
type Q56061
['Q741823', 'P915', {'concept': 'Q56061'}] ['Q3023357', 'P915', {'concept': 'Q56061'}] ['Q183239', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?j property:P915 ?h . ?h rdf:type ontology:Q56061 . VALUES ( ?j ) { ( resource:Q183239 ) ( resource:Q1424234 ) ( resource:Q868329 ) } }
JFK 12 Years a Slave The Curious Case of Benjamin Button
action filter_type
action find
entity prev_answer
relation filming location
type administrative territorial entity
['JFK', 'filming location', {'concept': 'administrative territorial entity'}] ['12 Years a Slave', 'filming location', {'concept': 'administrative territorial entity'}] ['The Curious Case of Benjamin Button', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?j property:filming_location ?h . ?h rdf:type ontology:administrative_territorial_entity . VALUES ( ?j ) { ( resource:The_Curious_Case_of_Benjamin_Button ) ( resource:Resurrection ) ( resource:Colombiana ) } }
[]
administrative territorial entity
Q340 Q34404 Q34404
SYSTEM
Montreal for 1st, New Orleans for 2nd, 3rd
Q34404 Q34404 Q340 Q34404 Q11703
(Q741823,P915,c(Q56061)) (Q3023357,P915,c(Q56061)) (Q183239,P915,c(Q56061))
action filter_type
action find
entity prev_answer
relation P915
type Q56061
[ANSWERS]
['Q741823', 'P915', {'concept': 'Q56061'}] ['Q3023357', 'P915', {'concept': 'Q56061'}] ['Q183239', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?j property:P915 ?h . ?h rdf:type ontology:Q56061 . VALUES ( ?j ) { ( resource:Q183239 ) ( resource:Q1424234 ) ( resource:Q868329 ) } }
New Orleans New Orleans Montreal New Orleans United States Virgin Islands
Those works of art were filmed in Montreal, New Orleans and New Orleans
Montreal New Orleans New Orleans
action filter_type
action find
entity prev_answer
relation filming location
type administrative territorial entity
['JFK', 'filming location', {'concept': 'administrative territorial entity'}] ['12 Years a Slave', 'filming location', {'concept': 'administrative territorial entity'}] ['The Curious Case of Benjamin Button', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?j property:filming_location ?h . ?h rdf:type ontology:administrative_territorial_entity . VALUES ( ?j ) { ( resource:The_Curious_Case_of_Benjamin_Button ) ( resource:Resurrection ) ( resource:Colombiana ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q340
P27
Q502895
USER
Who is a citizen of Montreal ?
(c(Q502895),P27,Q340)
action filter_type
action find_reverse
entity Q340
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q340']
SELECT DISTINCT ?x WHERE { ?x property:P27 resource:Q340 . ?x rdf:type ontology:Q502895 }
Montreal
action filter_type
action find_reverse
entity Montreal
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Montreal']
SELECT DISTINCT ?x WHERE { ?x property:country_of_citizenship resource:Montreal . ?x rdf:type ontology:common_name }
[]
common name
Q5072625
SYSTEM
Chantal Rouleau
Q5072625
(c(Q502895),P27,Q340)
action filter_type
action find_reverse
entity Q340
relation P27
type Q502895
A citizen of Montreal is Miss [ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q340']
SELECT DISTINCT ?x WHERE { ?x property:P27 resource:Q340 . ?x rdf:type ontology:Q502895 }
Chantal Rouleau
A citizen of Montreal is Miss Chantal Rouleau
Chantal Rouleau
action filter_type
action find_reverse
entity Montreal
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Montreal']
SELECT DISTINCT ?x WHERE { ?x property:country_of_citizenship resource:Montreal . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3023357
P136
Q1792379
USER
What can be considered as category for 12 Years a Slave ?
(Q3023357,P136,c(Q1792379))
action filter_type
action find
entity Q3023357
relation P136
type Q1792379
['Q3023357', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1792379 . resource:Q3023357 property:P136 ?d }
12 Years a Slave
action filter_type
action find
entity 12 Years a Slave
relation genre
type art genre
['12 Years a Slave', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:art_genre . resource:12_Years_a_Slave property:genre ?d }
[]
art genre
Q645928 Q1257444 Q130232
SYSTEM
biographical film, film adaptation, drama film
Q645928 Q1257444 Q130232
(Q3023357,P136,c(Q1792379))
action filter_type
action find
entity Q3023357
relation P136
type Q1792379
The [ANSWERS] can be considered as category for 12 Years a Slave
['Q3023357', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1792379 . resource:Q3023357 property:P136 ?d }
biographical film film adaptation drama film
The biographical film, film adaptation and drama film can be considered as category for 12 Years a Slave
biographical film film adaptation drama film
action filter_type
action find
entity 12 Years a Slave
relation genre
type art genre
['12 Years a Slave', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:art_genre . resource:12_Years_a_Slave property:genre ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q3023357
P921
Q601401 Q451967
USER
How many trades or human actions were the main subjects in the work 12 Years a Slave ?
(Q3023357,P921,c(Q601401)) (Q3023357,P921,c(Q451967))
action count
action union
action filter_type
action find
entity Q3023357
relation P921
type Q601401
action filter_type
action find
entity Q3023357
relation P921
type Q451967
['Q3023357', 'P921', {'concept': 'Q601401'}] ['Q3023357', 'P921', {'concept': 'Q451967'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { VALUES ( ?x ) { ( ontology:Q601401 ) ( ontology:Q451967 ) } . ?z rdf:type ?x }
12 Years a Slave
action count
action union
action filter_type
action find
entity 12 Years a Slave
relation main subject
type trade
action filter_type
action find
entity 12 Years a Slave
relation main subject
type human action
['12 Years a Slave', 'main subject', {'concept': 'trade'}] ['12 Years a Slave', 'main subject', {'concept': 'human action'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { VALUES ( ?x ) { ( ontology:trade ) ( ontology:human_action ) } . ?z rdf:type ?x }
[]
trade human action
SYSTEM
2
Q118382 Q8461
(Q3023357,P921,c(Q601401)) (Q3023357,P921,c(Q451967))
action count
action union
action filter_type
action find
entity Q3023357
relation P921
type Q601401
action filter_type
action find
entity Q3023357
relation P921
type Q451967
[ANSWER]
['Q3023357', 'P921', {'concept': 'Q601401'}] ['Q3023357', 'P921', {'concept': 'Q451967'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { VALUES ( ?x ) { ( ontology:Q601401 ) ( ontology:Q451967 ) } . ?z rdf:type ?x }
slavery in the United States racism
2
action count
action union
action filter_type
action find
entity 12 Years a Slave
relation main subject
type trade
action filter_type
action find
entity 12 Years a Slave
relation main subject
type human action
['12 Years a Slave', 'main subject', {'concept': 'trade'}] ['12 Years a Slave', 'main subject', {'concept': 'human action'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { VALUES ( ?x ) { ( ontology:trade ) ( ontology:human_action ) } . ?z rdf:type ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3023357
P162
Q502895
USER
Which people are the producers of 12 Years a Slave ?
(Q3023357,P162,c(Q502895))
action filter_type
action find
entity Q3023357
relation P162
type Q502895
['Q3023357', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3023357 property:P162 ?r . ?r rdf:type ontology:Q502895 }
12 Years a Slave
action filter_type
action find
entity 12 Years a Slave
relation producer
type common name
['12 Years a Slave', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:12_Years_a_Slave property:producer ?r . ?r rdf:type ontology:common_name }
[]
common name
Q35332 Q697131 Q5249738
SYSTEM
Brad Pitt, Arnon Milchan, Dede Gardner
Q35332 Q4910517 Q697131 Q5249738
(Q3023357,P162,c(Q502895))
action filter_type
action find
entity Q3023357
relation P162
type Q502895
[ANSWERS] are the producers of 12 Years a Slave
['Q3023357', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3023357 property:P162 ?r . ?r rdf:type ontology:Q502895 }
Brad Pitt Bill Pohlad Arnon Milchan Dede Gardner
Brad Pitt, Arnon Milchan and Dede Gardner are the producers of 12 Years a Slave
Brad Pitt Arnon Milchan Dede Gardner
action filter_type
action find
entity 12 Years a Slave
relation producer
type common name
['12 Years a Slave', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:12_Years_a_Slave property:producer ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q35332 Q697131 Q5249738
P21
Q290
USER
What are the sex of Brad Pitt, Arnon Milchan and Dede Gardner ?
(Q35332,P21,c(Q290)) (Q697131,P21,c(Q290)) (Q5249738,P21,c(Q290))
action union
action filter_type
action find
entity Q35332
relation P21
type Q290
action filter_type
action find
entity Q697131
relation P21
type Q290
action filter_type
action find
entity Q5249738
relation P21
type Q290
['Q35332', 'P21', {'concept': 'Q290'}] ['Q697131', 'P21', {'concept': 'Q290'}] ['Q5249738', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?k ) { ( resource:Q35332 ) ( resource:Q697131 ) } . ?k property:P21 ?r }
Brad Pitt Arnon Milchan Dede Gardner
action union
action filter_type
action find
entity Brad Pitt
relation gender
type sex
action filter_type
action find
entity Arnon Milchan
relation gender
type sex
action filter_type
action find
entity Dede Gardner
relation gender
type sex
['Brad Pitt', 'gender', {'concept': 'sex'}] ['Arnon Milchan', 'gender', {'concept': 'sex'}] ['Dede Gardner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?k ) { ( resource:Brad_Pitt ) ( resource:Arnon_Milchan ) } . ?k property:gender ?r }
[]
sex
Q6581097 Q6581097 Q6581072
SYSTEM
male for 1st, 2nd, female for 3rd
Q6581097 Q6581097 Q6581072
(Q35332,P21,c(Q290)) (Q697131,P21,c(Q290)) (Q5249738,P21,c(Q290))
action union
action filter_type
action find
entity Q35332
relation P21
type Q290
action filter_type
action find
entity Q697131
relation P21
type Q290
action filter_type
action find
entity Q5249738
relation P21
type Q290
[ANSWERS]
['Q35332', 'P21', {'concept': 'Q290'}] ['Q697131', 'P21', {'concept': 'Q290'}] ['Q5249738', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?k ) { ( resource:Q35332 ) ( resource:Q697131 ) } . ?k property:P21 ?r }
male male female
The sex of Brad Pitt , Arnon Milchan and Dede Gardner are the male, male and female
male male female
action union
action filter_type
action find
entity Brad Pitt
relation gender
type sex
action filter_type
action find
entity Arnon Milchan
relation gender
type sex
action filter_type
action find
entity Dede Gardner
relation gender
type sex
['Brad Pitt', 'gender', {'concept': 'sex'}] ['Arnon Milchan', 'gender', {'concept': 'sex'}] ['Dede Gardner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?k ) { ( resource:Brad_Pitt ) ( resource:Arnon_Milchan ) } . ?k property:gender ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34404
P276
Q3839081
USER
Which disaster is located at New Orleans ?
(c(Q3839081),P276,Q34404)
action filter_type
action find_reverse
entity Q34404
relation P276
type Q3839081
[{'concept': 'Q3839081'}, 'P276', 'Q34404']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q34404 . ?q rdf:type ontology:Q3839081 }
New Orleans
action filter_type
action find_reverse
entity New Orleans
relation location
type disaster
[{'concept': 'disaster'}, 'location', 'New Orleans']
SELECT DISTINCT ?q WHERE { ?q property:location resource:New_Orleans . ?q rdf:type ontology:disaster }
[]
disaster
Q1516710
SYSTEM
TACA Flight 110
Q1516710
(c(Q3839081),P276,Q34404)
action filter_type
action find_reverse
entity Q34404
relation P276
type Q3839081
[ANSWER] is located at New Orleans
[{'concept': 'Q3839081'}, 'P276', 'Q34404']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q34404 . ?q rdf:type ontology:Q3839081 }
TACA Flight 110
TACA Flight 110 is located at New Orleans
TACA Flight 110
action filter_type
action find_reverse
entity New Orleans
relation location
type disaster
[{'concept': 'disaster'}, 'location', 'New Orleans']
SELECT DISTINCT ?q WHERE { ?q property:location resource:New_Orleans . ?q rdf:type ontology:disaster }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34404
P17
Q15617994
USER
Which administrative territory is that administrative territory present in ?
(Q1516710,P17,c(Q15617994))
action filter_type
action find
entity Q34404
relation P17
type Q15617994
['Q1516710', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q34404 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
New Orleans
action filter_type
action find
entity New Orleans
relation country
type designation for an administrative territorial entity
['TACA Flight 110', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:New_Orleans property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1516710,P17,c(Q15617994))
action filter_type
action find
entity Q34404
relation P17
type Q15617994
That administrative territory is the [ANSWER]
['Q1516710', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q34404 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
United States of America
That administrative territory is the United States of America
United States of America
action filter_type
action find
entity New Orleans
relation country
type designation for an administrative territorial entity
['TACA Flight 110', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:New_Orleans property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q18148936 Q34404
P17
Q15617994
USER
Or Babino, Haiti?
OR((Q34404,P17,c(Q15617994)), (Q18148936,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q34404
relation P17
action find
entity Q18148936
relation P17
type Q15617994
{'OR': [['Q34404', 'P17', {'concept': 'Q15617994'}], ['Q18148936', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q18148936 property:P17 ?c } UNION { resource:Q34404 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
Babino, Haiti New Orleans
action filter_type
action union
action find
entity New Orleans
relation country
action find
entity Babino, Haiti
relation country
type designation for an administrative territorial entity
{'OR': [['New Orleans', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Babino, Haiti', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Babino,_Haiti property:country ?c } UNION { resource:New_Orleans property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q790
SYSTEM
United States of America, Haiti
Q30 Q790
OR((Q34404,P17,c(Q15617994)), (Q18148936,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q34404
relation P17
action find
entity Q18148936
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q34404', 'P17', {'concept': 'Q15617994'}], ['Q18148936', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q18148936 property:P17 ?c } UNION { resource:Q34404 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
United States of America Haiti
United States of America Haiti
action filter_type
action union
action find
entity New Orleans
relation country
action find
entity Babino, Haiti
relation country
type designation for an administrative territorial entity
{'OR': [['New Orleans', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Babino, Haiti', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Babino,_Haiti property:country ?c } UNION { resource:New_Orleans property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5248210
P27
Q502895
USER
Are Deborah Coddington a citizen of those administrative territories ?
(Q5248210,P27,Q30) (Q5248210,P27,Q790)
action is_in
entity prev_answer
action find
entity Q5248210
relation P27
['Q5248210', 'P27', 'Q30'] ['Q5248210', 'P27', 'Q790']
ASK WHERE { resource:Q5248210 property:P27 ?f . VALUES ( ?f ) { ( resource:Q30 ) ( resource:Q790 ) } }
Deborah Coddington
action is_in
entity prev_answer
action find
entity Deborah Coddington
relation country of citizenship
['Deborah Coddington', 'country of citizenship', 'United States of America'] ['Deborah Coddington', 'country of citizenship', 'Haiti']
ASK WHERE { resource:Deborah_Coddington property:country_of_citizenship ?f . VALUES ( ?f ) { ( resource:United_States_of_America ) ( resource:Haiti ) } }
[]
common name
SYSTEM
NO
(Q5248210,P27,Q30) (Q5248210,P27,Q790)
action is_in
entity prev_answer
action find
entity Q5248210
relation P27
[ANSWER]
['Q5248210', 'P27', 'Q30'] ['Q5248210', 'P27', 'Q790']
ASK WHERE { resource:Q5248210 property:P27 ?f . VALUES ( ?f ) { ( resource:Q30 ) ( resource:Q790 ) } }
No
action is_in
entity prev_answer
action find
entity Deborah Coddington
relation country of citizenship
['Deborah Coddington', 'country of citizenship', 'United States of America'] ['Deborah Coddington', 'country of citizenship', 'Haiti']
ASK WHERE { resource:Deborah_Coddington property:country_of_citizenship ?f . VALUES ( ?f ) { ( resource:United_States_of_America ) ( resource:Haiti ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5248210
P172
Q2472587
USER
Which people does that person have as ethnic origin ?
action filter_type
action find
entity Q5248210
relation P172
type Q2472587
SELECT DISTINCT ?m WHERE { resource:Q5248210 property:P172 ?m . ?m rdf:type ontology:Q2472587 }
Deborah Coddington
action filter_type
action find
entity Deborah Coddington
relation ethnic group
type people
SELECT DISTINCT ?m WHERE { resource:Deborah_Coddington property:ethnic_group ?m . ?m rdf:type ontology:people }
[]
people
Q7015349
SYSTEM
New Zealand European
Q7015349
action filter_type
action find
entity Q5248210
relation P172
type Q2472587
That person has as ethnic origin in [ANSWER]
SELECT DISTINCT ?m WHERE { resource:Q5248210 property:P172 ?m . ?m rdf:type ontology:Q2472587 }
New Zealand European
That person has as ethnic origin in New Zealand European
New Zealand European
action filter_type
action find
entity Deborah Coddington
relation ethnic group
type people
SELECT DISTINCT ?m WHERE { resource:Deborah_Coddington property:ethnic_group ?m . ?m rdf:type ontology:people }
[]