Simple Question (Direct)
Simple Question
Q116742
P47
Q15617994
USER
Which administrative territories have a shared border with Colle San Magno ?
(Q116742,P47,c(Q15617994))
action filter_type
action find
entity Q116742
relation P47
type Q15617994
['Q116742', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q116742 property:P47 ?n }
Colle San Magno
action filter_type
action find
entity Colle San Magno
relation shares border with
type designation for an administrative territorial entity
['Colle San Magno', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Colle_San_Magno property:shares_border_with ?n }
[]
designation for an administrative territorial entity
Q117211 Q116573 Q117404
SYSTEM
Roccasecca, Casalattico, Terelle
Q117211 Q116698 Q117342 Q116573 Q117404 Q117119
(Q116742,P47,c(Q15617994))
action filter_type
action find
entity Q116742
relation P47
type Q15617994
[ANSWERS] have a shared border with Colle San Magno
['Q116742', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q116742 property:P47 ?n }
Roccasecca Castrocielo Santopadre Casalattico Terelle Piedimonte San Germano
Roccasecca, Casalattico and Terelle have a shared border with Colle San Magno
Roccasecca Casalattico Terelle
action filter_type
action find
entity Colle San Magno
relation shares border with
type designation for an administrative territorial entity
['Colle San Magno', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Colle_San_Magno property:shares_border_with ?n }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q117211 Q116573 Q117404
P47
Q15617994
USER
Which administrative territories share border with Roccasecca, Casalattico and Terelle ?
(c(Q15617994),P47,Q117211) (c(Q15617994),P47,Q116573) (c(Q15617994),P47,Q117404)
action union
action filter_type
action find
entity Q117211
relation P47
type Q15617994
action filter_type
action find
entity Q116573
relation P47
type Q15617994
action filter_type
action find
entity Q117404
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q117211'] [{'concept': 'Q15617994'}, 'P47', 'Q116573'] [{'concept': 'Q15617994'}, 'P47', 'Q117404']
SELECT DISTINCT ?o WHERE { { resource:Q116573 property:P47 ?o . ?o rdf:type ontology:Q15617994 } UNION { resource:Q117211 property:P47 ?o . ?o rdf:type ontology:Q15617994 } }
Roccasecca Casalattico Terelle
action union
action filter_type
action find
entity Roccasecca
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Casalattico
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Terelle
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Roccasecca'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Casalattico'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Terelle']
SELECT DISTINCT ?o WHERE { { resource:Casalattico property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Roccasecca property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q116592 Q117333 Q117242
SYSTEM
Cassino, Sant'Elia Fiumerapido, San Giovanni Incarico
Q117204 Q117242 Q117342 Q117186 Q116731 Q116742 Q116698 Q116584 Q117342 Q117404 Q116742 Q116531 Q116545 Q117119 Q116573 Q117602 Q116592 Q117333 Q116742 Q116531
(c(Q15617994),P47,Q117211) (c(Q15617994),P47,Q116573) (c(Q15617994),P47,Q117404)
action union
action filter_type
action find
entity Q117211
relation P47
type Q15617994
action filter_type
action find
entity Q116573
relation P47
type Q15617994
action filter_type
action find
entity Q117404
relation P47
type Q15617994
[ANSWERS] share border with Roccasecca, Casalattico and Terelle
[{'concept': 'Q15617994'}, 'P47', 'Q117211'] [{'concept': 'Q15617994'}, 'P47', 'Q116573'] [{'concept': 'Q15617994'}, 'P47', 'Q117404']
SELECT DISTINCT ?o WHERE { { resource:Q116573 property:P47 ?o . ?o rdf:type ontology:Q15617994 } UNION { resource:Q117211 property:P47 ?o . ?o rdf:type ontology:Q15617994 } }
Rocca d'Arce San Giovanni Incarico Santopadre Pontecorvo Colfelice Colle San Magno Castrocielo Casalvieri Santopadre Terelle Colle San Magno Atina, Lazio Belmonte Castello Piedimonte San Germano Casalattico Villa Santa Lucia Cassino Sant'Elia Fiumerapido Colle San Magno Atina, Lazio
Cassino, Sant'Elia Fiumerapido and San Giovanni Incarico share border with Roccasecca, Casalattico and Terelle
Cassino Sant'Elia Fiumerapido San Giovanni Incarico
action union
action filter_type
action find
entity Roccasecca
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Casalattico
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Terelle
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Roccasecca'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Casalattico'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Terelle']
SELECT DISTINCT ?o WHERE { { resource:Casalattico property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Roccasecca property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q117211
P190
Q15617994
USER
Which administrative territories are twin city of Roccasecca ?
(c(Q15617994),P190,Q117211)
action filter_type
action find
entity Q117211
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q117211']
SELECT DISTINCT ?t WHERE { resource:Q117211 property:P190 ?t . ?t rdf:type ontology:Q15617994 }
Roccasecca
action filter_type
action find
entity Roccasecca
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Roccasecca']
SELECT DISTINCT ?t WHERE { resource:Roccasecca property:sister_city ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q128139 Q53496
SYSTEM
Priverno, Belcastro
Q128139 Q53496
(c(Q15617994),P190,Q117211)
action filter_type
action find
entity Q117211
relation P190
type Q15617994
[ANSWERS] are twin city of Roccasecca
[{'concept': 'Q15617994'}, 'P190', 'Q117211']
SELECT DISTINCT ?t WHERE { resource:Q117211 property:P190 ?t . ?t rdf:type ontology:Q15617994 }
Priverno Belcastro
Priverno and Belcastro are twin city of Roccasecca
Priverno Belcastro
action filter_type
action find
entity Roccasecca
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Roccasecca']
SELECT DISTINCT ?t WHERE { resource:Roccasecca property:sister_city ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q53496
P17
Q15617994
USER
Which administrative territory is that one a part of ?
(Q53496,P17,c(Q15617994))
action filter_type
action find
entity Q53496
relation P17
type Q15617994
['Q53496', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q53496 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Belcastro
action filter_type
action find
entity Belcastro
relation country
type designation for an administrative territorial entity
['Belcastro', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Belcastro property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q128139
SYSTEM
Did you mean Priverno ?
Q128139 Q53496
(Q128139,P17,c(Q15617994)) (Q53496,P17,c(Q15617994))
[ANSWER]
['Q128139', 'P17', {'concept': 'Q15617994'}] ['Q53496', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q53496 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Priverno Belcastro
Did you mean Priverno ?
Priverno
['Priverno', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Belcastro', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Belcastro property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Belcastro. Could you tell me the answer for that?
(Q53496,P17,c(Q15617994))
Q53496
['Q53496', 'P17', {'concept': 'Q15617994'}]
['Belcastro', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38
SYSTEM
Italy
Q38
(Q53496,P17,c(Q15617994))
action filter_type
action find
entity Q53496
relation P17
type Q15617994
The [ANSWER] is that one a part of
['Q53496', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q53496 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Italy
The Italy is that one a part of
Italy
action filter_type
action find
entity Belcastro
relation country
type designation for an administrative territorial entity
['Belcastro', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Belcastro property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q38 Q219
P530
Q15617994
USER
Does Bulgaria have diplomatic relations with Italy ?
(Q38,P530,Q219)
action is_in
entity Q219
action find
entity Q38
relation P530
['Q38', 'P530', 'Q219']
ASK WHERE { resource:Q38 property:P530 resource:Q219 }
Italy Bulgaria
action is_in
entity Bulgaria
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Bulgaria']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Bulgaria }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q219)
action is_in
entity Q219
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q219']
ASK WHERE { resource:Q38 property:P530 resource:Q219 }
Yes
action is_in
entity Bulgaria
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Bulgaria']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Bulgaria }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q53496
P417
Q502895
USER
What is the name of the patron saint of Belcastro ?
(Q53496,P417,c(Q502895))
action filter_type
action find
entity Q53496
relation P417
type Q502895
['Q53496', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q53496 property:P417 ?l . ?l rdf:type ontology:Q502895 }
Belcastro
action filter_type
action find
entity Belcastro
relation patron saint
type common name
['Belcastro', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Belcastro property:patron_saint ?l . ?l rdf:type ontology:common_name }
[]
common name
Q9438
SYSTEM
Thomas Aquinas
Q9438
(Q53496,P417,c(Q502895))
action filter_type
action find
entity Q53496
relation P417
type Q502895
The name of the patron saint of Belcastro is Saint [ANSWER]
['Q53496', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q53496 property:P417 ?l . ?l rdf:type ontology:Q502895 }
Thomas Aquinas
The name of the patron saint of Belcastro is Saint Thomas Aquinas
Thomas Aquinas
action filter_type
action find
entity Belcastro
relation patron saint
type common name
['Belcastro', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Belcastro property:patron_saint ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q736884
Q502895
USER
And how about Saint Andrew Church. Süttör, Fertőd?
(Q736884,P417,c(Q502895))
action filter_type
action find
entity Q736884
relation P417
type Q502895
['Q736884', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q736884 property:P417 ?w . ?w rdf:type ontology:Q502895 }
Saint Andrew Church. Süttör, Fertőd
action filter_type
action find
entity Saint Andrew Church. Süttör, Fertőd
relation patron saint
type common name
['Saint Andrew Church. Süttör, Fertőd', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Saint_Andrew_Church._Süttör,_Fertőd property:patron_saint ?w . ?w rdf:type ontology:common_name }
[]
common name
Q43399
SYSTEM
Andrew
Q43399
(Q736884,P417,c(Q502895))
action filter_type
action find
entity Q736884
relation P417
type Q502895
[ANSWER]
['Q736884', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q736884 property:P417 ?w . ?w rdf:type ontology:Q502895 }
Andrew
Andrew
action filter_type
action find
entity Saint Andrew Church. Süttör, Fertőd
relation patron saint
type common name
['Saint Andrew Church. Süttör, Fertőd', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Saint_Andrew_Church._Süttör,_Fertőd property:patron_saint ?w . ?w rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q34981 Q9438
P50 P674
Q223393
USER
Which literary genres are Thomas Aquinas a character of or have Isaac Asimov as their author ?
OR((c(Q223393),P674,Q9438), (c(Q223393),P50,Q34981))
action filter_type
action union
action find_reverse
entity Q9438
relation P674
action find_reverse
entity Q34981
relation P50
type Q223393
{'OR': [[{'concept': 'Q223393'}, 'P674', 'Q9438'], [{'concept': 'Q223393'}, 'P50', 'Q34981']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P50 resource:Q34981 } UNION { ?i property:P674 resource:Q9438 } } . ?i rdf:type ontology:Q223393 }
Isaac Asimov Thomas Aquinas
action filter_type
action union
action find_reverse
entity Thomas Aquinas
relation characters
action find_reverse
entity Isaac Asimov
relation author
type literary genre
{'OR': [[{'concept': 'literary genre'}, 'characters', 'Thomas Aquinas'], [{'concept': 'literary genre'}, 'author', 'Isaac Asimov']]}
SELECT DISTINCT ?i WHERE { { { ?i property:author resource:Isaac_Asimov } UNION { ?i property:characters resource:Thomas_Aquinas } } . ?i rdf:type ontology:literary_genre }
[]
literary genre
Q7749581 Q467818 Q2908425 Q737630 Q385420 Q2872379 Q1005917 Q831556 Q3392605 Q785983
SYSTEM
Some of them are The Magnificent Possession, Risk, Hostess, Reason, Silly Asses, Author! Author!, Mother Earth, Mirror Image, Rain, Rain, Go Away, The Hazing
Q3345927 Q692374 Q3513596 Q784262 Q785983 Q831807 Q5643194 Q3870482 Q2872379 Q5306605 Q7773752 Q7731254 Q5459105 Q7771769 Q6011352 Q16386428 Q7759915 Q2891075 Q4631777 Q7763085 Q7746137 Q3549678 Q7074987 Q2079836 Q2855170 Q3927752 Q737630 Q3511886 Q3222595 Q3524680 Q775223 Q7756390 Q3153721 Q1704114 Q4925104 Q3061953 Q979311 Q5018114 Q5324885 Q5706466 Q603705 Q3190256 Q831556 Q4000825 Q5562739 Q928354 Q4009001 Q3225414 Q3145079 Q5578532 Q2962693 Q783443 Q465801 Q3392605 Q3793685 Q6486201 Q6404541 Q3213661 Q4657902 Q7990883 Q6517003 Q5977709 Q555208 Q3549417 Q7738024 Q5582966 Q5242969 Q3549799 Q2864287 Q7045959 Q3206789 Q1708598 Q15526607 Q5641557 Q831493 Q2493831 Q778683 Q3618113 Q3686475 Q2647714 Q969352 Q7677898 Q7044060 Q583366 Q498727 Q897392 Q831504 Q572480 Q7334699 Q7731286 Q7752038 Q7749581 Q3504045 Q15526685 Q7773994 Q17460823 Q1005917 Q832020 Q7764406 Q3234925 Q735328 Q661438 Q16386665 Q2944947 Q7461270 Q4920795 Q3055501 Q7757806 Q468132 Q7736127 Q2827384 Q7751133 Q3845815 Q385420 Q465158 Q7712271 Q5003079 Q3873373 Q3222902 Q6659282 Q831586 Q3962149 Q831520 Q3024207 Q7838296 Q7310537 Q467818 Q7768045 Q651225 Q5226064 Q7264578 Q5416949 Q17036573 Q7991587 Q5890989 Q2051614 Q937643 Q832023 Q5467012 Q2909857 Q2908425 Q786237 Q18209773 Q1704456 Q40185
OR((c(Q223393),P674,Q9438), (c(Q223393),P50,Q34981))
action filter_type
action union
action find_reverse
entity Q9438
relation P674
action find_reverse
entity Q34981
relation P50
type Q223393
[ANSWERS]
{'OR': [[{'concept': 'Q223393'}, 'P674', 'Q9438'], [{'concept': 'Q223393'}, 'P50', 'Q34981']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P50 resource:Q34981 } UNION { ?i property:P674 resource:Q9438 } } . ?i rdf:type ontology:Q223393 }
Christmas on Ganymede Galley Slave Green Patches First Law The Hazing The Tercentenary Incident Hallucination Birth of a Notion Author! Author! Dreaming Is a Private Thing The Watery Place The Dust of Death Flies The Up-To-Date Sorcerer In a Good Cause— It's Such a Beautiful Day The Red Queen's Race The Martian Way 2430 A.D. The Secret Sense The Last Trump History Obituary Franchise Breeds There a Man...? Question Reason Blind Alley Key Item Thiotimoline to the Stars The Evitable Conflict The Pause Insert Knob A In Hole B Eyes Do More Than See Blank! Exile to Hell The Last Question Cal Each an Explorer Hell-Fire . . . That Thou Art Mindful of Him Unto the Fourth Generation Mirror Image All the Troubles of the World Gimmicks Three Liar! Waterclap The Little Man on the Subway Heredity Gold Buy Jupiter Robot AL-76 Goes Astray Light Verse Rain, Rain, Go Away The Dead Past The Immortal Bard Kid Stuff The Life and Times of Multivac A Loint of Paw What's in a Name? Left to Right I Just Make Them Up, See! Victory Unintentional The Imaginary The Greatest Asset Good Taste Day of the Hunters A Statue for Father Death Sentence Nobody Here But— The Billiard Ball Lest We Remember Big Game Half-Breed True Love Jokester Evidence Anniversary C-Chute Spell My Name with an S The Feeling of Power Take a Match No Connection Robot Dreams Lenny Sally Let's Get Together Someday Ring Around the Sun The Dying Night The Monkey's Finger The Magnificent Possession Super-Neutron The Weapon The Weapon Too Dreadful to Use The Key Mother Earth Point of View The Singing Bell The Deep Time Pussy The Winnowing Let's Not The Last Answer Shah Guido G. Black Friar of the Flame The Proper Study The Portable Star The Bicentennial Man The Gentle Vultures Youth The Message Marching In Silly Asses Segregationist The Acquisitive Chuckle Button, Button Marooned off Vesta Founding Father Living Space Feminine Intuition Old-fashioned Stranger in Paradise Half-Breeds on Venus Trends Rejection Slips Risk The Talking Stone A Boy's Best Friend Darwinian Pool Room Pâté de Foie Gras Everest What If— What is This Thing Called Love? Homo Sol The Machine that Won the War Strikebreaker Think! For the Birds Legal Rites Hostess I'm in Marsport Without Hilda Star Light Does a Bee Care? The Divine Comedy
The Magnificent Possession, Risk, Hostess, Reason, Silly Asses, Author! Author!, Mother Earth, Mirror Image, Rain, Go Away and The Hazing are Thomas Aquinas a character of or have Isaac Asimov as their author
The Magnificent Possession Risk Hostess Reason Silly Asses Author! Author! Mother Earth Mirror Image Rain, Rain, Go Away The Hazing
action filter_type
action union
action find_reverse
entity Thomas Aquinas
relation characters
action find_reverse
entity Isaac Asimov
relation author
type literary genre
{'OR': [[{'concept': 'literary genre'}, 'characters', 'Thomas Aquinas'], [{'concept': 'literary genre'}, 'author', 'Isaac Asimov']]}
SELECT DISTINCT ?i WHERE { { { ?i property:author resource:Isaac_Asimov } UNION { ?i property:characters resource:Thomas_Aquinas } } . ?i rdf:type ontology:literary_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q9438 Q21550167
P21
Q290
USER
How many sexes do Thomas Aquinas or Samford Bulldogs women's basketball belong to ?
(Q9438,P21,c(Q290)) (Q21550167,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q9438
relation P21
type Q290
action filter_type
action find
entity Q21550167
relation P21
type Q290
['Q9438', 'P21', {'concept': 'Q290'}] ['Q21550167', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { VALUES ( ?s ) { ( resource:Q9438 ) ( resource:Q21550167 ) } . ?s property:P21 ?i }
Thomas Aquinas Samford Bulldogs women's basketball
action count
action union
action filter_type
action find
entity Thomas Aquinas
relation gender
type sex
action filter_type
action find
entity Samford Bulldogs women's basketball
relation gender
type sex
['Thomas Aquinas', 'gender', {'concept': 'sex'}] ["Samford Bulldogs women's basketball", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { VALUES ( ?s ) { ( resource:Thomas_Aquinas ) ( resource:Samford_Bulldogs_women's_basketball ) } . ?s property:gender ?i }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q9438,P21,c(Q290)) (Q21550167,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q9438
relation P21
type Q290
action filter_type
action find
entity Q21550167
relation P21
type Q290
[ANSWER]
['Q9438', 'P21', {'concept': 'Q290'}] ['Q21550167', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { VALUES ( ?s ) { ( resource:Q9438 ) ( resource:Q21550167 ) } . ?s property:P21 ?i }
male female
2
action count
action union
action filter_type
action find
entity Thomas Aquinas
relation gender
type sex
action filter_type
action find
entity Samford Bulldogs women's basketball
relation gender
type sex
['Thomas Aquinas', 'gender', {'concept': 'sex'}] ["Samford Bulldogs women's basketball", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { VALUES ( ?s ) { ( resource:Thomas_Aquinas ) ( resource:Samford_Bulldogs_women's_basketball ) } . ?s property:gender ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43399
P2348
Q3024240
USER
Which former country did Andrew belong to ?
(Q43399,P2348,c(Q3024240))
action filter_type
action find
entity Q43399
relation P2348
type Q3024240
['Q43399', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ?d WHERE { resource:Q43399 property:P2348 ?d . ?d rdf:type ontology:Q3024240 }
Andrew
action filter_type
action find
entity Andrew
relation period
type former country
['Andrew', 'period', {'concept': 'former country'}]
SELECT DISTINCT ?d WHERE { resource:Andrew property:period ?d . ?d rdf:type ontology:former_country }
[]
former country
Q2277
SYSTEM
Roman Empire
Q2277
(Q43399,P2348,c(Q3024240))
action filter_type
action find
entity Q43399
relation P2348
type Q3024240
Andrew belonged to [ANSWER]
['Q43399', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ?d WHERE { resource:Q43399 property:P2348 ?d . ?d rdf:type ontology:Q3024240 }
Roman Empire
Andrew belonged to Roman Empire
Roman Empire
action filter_type
action find
entity Andrew
relation period
type former country
['Andrew', 'period', {'concept': 'former country'}]
SELECT DISTINCT ?d WHERE { resource:Andrew property:period ?d . ?d rdf:type ontology:former_country }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q831556
P136
Q483394
USER
What can be considered as category for Mirror Image ?
(Q831556,P136,c(Q483394))
action filter_type
action find
entity Q831556
relation P136
type Q483394
['Q831556', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q483394 . resource:Q831556 property:P136 ?u }
Mirror Image
action filter_type
action find
entity Mirror Image
relation genre
type genre
['Mirror Image', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:genre . resource:Mirror_Image property:genre ?u }
[]
genre
Q49084
SYSTEM
short story
Q49084
(Q831556,P136,c(Q483394))
action filter_type
action find
entity Q831556
relation P136
type Q483394
The [ANSWER] can be considered as category for Mirror Image
['Q831556', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q483394 . resource:Q831556 property:P136 ?u }
short story
The short story can be considered as category for Mirror Image
short story
action filter_type
action find
entity Mirror Image
relation genre
type genre
['Mirror Image', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:genre . resource:Mirror_Image property:genre ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q831556
P921
Q1047113
USER
What topic was discussed in Mirror Image ?
(Q831556,P921,c(Q1047113))
action filter_type
action find
entity Q831556
relation P921
type Q1047113
['Q831556', 'P921', {'concept': 'Q1047113'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1047113 . resource:Q831556 property:P921 ?p }
Mirror Image
action filter_type
action find
entity Mirror Image
relation main subject
type special field
['Mirror Image', 'main subject', {'concept': 'special field'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:special_field . resource:Mirror_Image property:main_subject ?p }
[]
special field
Q170978
SYSTEM
robotics
Q170978
(Q831556,P921,c(Q1047113))
action filter_type
action find
entity Q831556
relation P921
type Q1047113
The [ANSWER] was discussed in Mirror Image
['Q831556', 'P921', {'concept': 'Q1047113'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1047113 . resource:Q831556 property:P921 ?p }
robotics
The robotics was discussed in Mirror Image
robotics
action filter_type
action find
entity Mirror Image
relation main subject
type special field
['Mirror Image', 'main subject', {'concept': 'special field'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:special_field . resource:Mirror_Image property:main_subject ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24803689
Q1047113
USER
And how about Creation of non-human primate neurogenetic disease models by gene targeting and nuclear transfer?
(Q24803689,P921,c(Q1047113))
action filter_type
action find
entity Q24803689
relation P921
type Q1047113
['Q24803689', 'P921', {'concept': 'Q1047113'}]
SELECT DISTINCT ?h WHERE { resource:Q24803689 property:P921 ?h . ?h rdf:type ontology:Q1047113 }
Creation of non-human primate neurogenetic disease models by gene targeting and nuclear transfer
action filter_type
action find
entity Creation of non-human primate neurogenetic disease models by gene targeting and nuclear transfer
relation main subject
type special field
['Creation of non-human primate neurogenetic disease models by gene targeting and nuclear transfer', 'main subject', {'concept': 'special field'}]
SELECT DISTINCT ?h WHERE { resource:Creation_of_non-human_primate_neurogenetic_disease_models_by_gene_targeting_and_nuclear_transfer property:main_subject ?h . ?h rdf:type ontology:special_field }
[]
special field
Q351870
SYSTEM
reproductive medicine
Q351870
(Q24803689,P921,c(Q1047113))
action filter_type
action find
entity Q24803689
relation P921
type Q1047113
[ANSWER]
['Q24803689', 'P921', {'concept': 'Q1047113'}]
SELECT DISTINCT ?h WHERE { resource:Q24803689 property:P921 ?h . ?h rdf:type ontology:Q1047113 }
reproductive medicine
reproductive medicine
action filter_type
action find
entity Creation of non-human primate neurogenetic disease models by gene targeting and nuclear transfer
relation main subject
type special field
['Creation of non-human primate neurogenetic disease models by gene targeting and nuclear transfer', 'main subject', {'concept': 'special field'}]
SELECT DISTINCT ?h WHERE { resource:Creation_of_non-human_primate_neurogenetic_disease_models_by_gene_targeting_and_nuclear_transfer property:main_subject ?h . ?h rdf:type ontology:special_field }
[]