Simple Question (Direct)
Simple Question
Q5362928
P119
Q43229
USER
Which organization is the resting place of Elizabeth Harrower ?
(Q5362928,P119,c(Q43229))
action filter_type
action find
entity Q5362928
relation P119
type Q43229
['Q5362928', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . resource:Q5362928 property:P119 ?j }
Elizabeth Harrower
action filter_type
action find
entity Elizabeth Harrower
relation place of burial
type organization
['Elizabeth Harrower', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . resource:Elizabeth_Harrower property:place_of_burial ?j }
[]
organization
Q1437214
SYSTEM
Forest Lawn Memorial Park
Q1437214
(Q5362928,P119,c(Q43229))
action filter_type
action find
entity Q5362928
relation P119
type Q43229
The [ANSWER] is the resting place of Elizabeth Harrower
['Q5362928', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . resource:Q5362928 property:P119 ?j }
Forest Lawn Memorial Park
The Forest Lawn Memorial Park is the resting place of Elizabeth Harrower
Forest Lawn Memorial Park
action filter_type
action find
entity Elizabeth Harrower
relation place of burial
type organization
['Elizabeth Harrower', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . resource:Elizabeth_Harrower property:place_of_burial ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5362928
P106
Q28640
USER
What does Elizabeth Harrower do for a living ?
(Q5362928,P106,c(Q28640))
action filter_type
action find
entity Q5362928
relation P106
type Q28640
['Q5362928', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?n WHERE { resource:Q5362928 property:P106 ?n . ?n rdf:type ontology:Q28640 }
Elizabeth Harrower
action filter_type
action find
entity Elizabeth Harrower
relation occupation
type profession
['Elizabeth Harrower', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?n WHERE { resource:Elizabeth_Harrower property:occupation ?n . ?n rdf:type ontology:profession }
[]
profession
Q28389
SYSTEM
screenwriter
Q28389
(Q5362928,P106,c(Q28640))
action filter_type
action find
entity Q5362928
relation P106
type Q28640
Elizabeth Harrower does for a living as [ANSWER]
['Q5362928', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?n WHERE { resource:Q5362928 property:P106 ?n . ?n rdf:type ontology:Q28640 }
screenwriter
Elizabeth Harrower does for a living as screenwriter
screenwriter
action filter_type
action find
entity Elizabeth Harrower
relation occupation
type profession
['Elizabeth Harrower', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?n WHERE { resource:Elizabeth_Harrower property:occupation ?n . ?n rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5362928
P19
Q56061
USER
Which administrative territory is the birthplace of Elizabeth Harrower ?
(Q5362928,P19,c(Q56061))
action filter_type
action find
entity Q5362928
relation P19
type Q56061
['Q5362928', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q5362928 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Elizabeth Harrower
action filter_type
action find
entity Elizabeth Harrower
relation place of birth
type administrative territorial entity
['Elizabeth Harrower', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Elizabeth_Harrower property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490744
SYSTEM
Alameda
Q490744
(Q5362928,P19,c(Q56061))
action filter_type
action find
entity Q5362928
relation P19
type Q56061
Is [ANSWER] is the birthplace of Elizabeth Harrower
['Q5362928', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q5362928 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Alameda
Is Alameda is the birthplace of Elizabeth Harrower
Alameda
action filter_type
action find
entity Elizabeth Harrower
relation place of birth
type administrative territorial entity
['Elizabeth Harrower', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Elizabeth_Harrower property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1599194
Q56061
USER
And also tell me about Heinrich Weingartner?
(Q1599194,P19,c(Q56061))
action filter_type
action find
entity Q1599194
relation P19
type Q56061
['Q1599194', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1599194 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Heinrich Weingartner
action filter_type
action find
entity Heinrich Weingartner
relation place of birth
type administrative territorial entity
['Heinrich Weingartner', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Heinrich_Weingartner property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q1599194,P19,c(Q56061))
action filter_type
action find
entity Q1599194
relation P19
type Q56061
[ANSWER]
['Q1599194', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1599194 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Vienna
Vienna
action filter_type
action find
entity Heinrich Weingartner
relation place of birth
type administrative territorial entity
['Heinrich Weingartner', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Heinrich_Weingartner property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1599194
P106
Q12737077 Q151885
USER
How many occupations or concepts are the job of Heinrich Weingartner ?
(Q1599194,P106,c(Q12737077)) (Q1599194,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q1599194
relation P106
type Q12737077
action filter_type
action find
entity Q1599194
relation P106
type Q151885
['Q1599194', 'P106', {'concept': 'Q12737077'}] ['Q1599194', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { resource:Q1599194 property:P106 ?y . ?y rdf:type ontology:Q12737077 } UNION { resource:Q1599194 property:P106 ?y . ?y rdf:type ontology:Q151885 } }
Heinrich Weingartner
action count
action union
action filter_type
action find
entity Heinrich Weingartner
relation occupation
type occupation
action filter_type
action find
entity Heinrich Weingartner
relation occupation
type concept
['Heinrich Weingartner', 'occupation', {'concept': 'occupation'}] ['Heinrich Weingartner', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { resource:Heinrich_Weingartner property:occupation ?y . ?y rdf:type ontology:occupation } UNION { resource:Heinrich_Weingartner property:occupation ?y . ?y rdf:type ontology:concept } }
[]
occupation concept
SYSTEM
3
Q482980 Q2516866 Q36180
(Q1599194,P106,c(Q12737077)) (Q1599194,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q1599194
relation P106
type Q12737077
action filter_type
action find
entity Q1599194
relation P106
type Q151885
[ANSWER]
['Q1599194', 'P106', {'concept': 'Q12737077'}] ['Q1599194', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { resource:Q1599194 property:P106 ?y . ?y rdf:type ontology:Q12737077 } UNION { resource:Q1599194 property:P106 ?y . ?y rdf:type ontology:Q151885 } }
author publisher writer
3
action count
action union
action filter_type
action find
entity Heinrich Weingartner
relation occupation
type occupation
action filter_type
action find
entity Heinrich Weingartner
relation occupation
type concept
['Heinrich Weingartner', 'occupation', {'concept': 'occupation'}] ['Heinrich Weingartner', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { resource:Heinrich_Weingartner property:occupation ?y . ?y rdf:type ontology:occupation } UNION { resource:Heinrich_Weingartner property:occupation ?y . ?y rdf:type ontology:concept } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q23935687
P532
Q56061 Q2235308
USER
Which ship types are the registry port of greater number of administrative territories than Elizabeth Ann ?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q23935687
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?s ) WHERE { ?a property:P532 ?c . ?a rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 } GROUP BY ?a } . FILTER ( ?s > ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { resource:Q23935687 property:P532 ?q . ?q rdf:type ontology:Q2235308 } } }
Elizabeth Ann
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Elizabeth Ann
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?s ) WHERE { ?a property:port_of_registry ?c . ?a rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?s > ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { resource:Elizabeth_Ann property:port_of_registry ?q . ?q rdf:type ontology:ship_type } } }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q23935687
relation P532
type Q2235308
[ANSWERS] are the registry port of greater number of administrative territories than Elizabeth Ann
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?s ) WHERE { ?a property:P532 ?c . ?a rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 } GROUP BY ?a } . FILTER ( ?s > ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { resource:Q23935687 property:P532 ?q . ?q rdf:type ontology:Q2235308 } } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura, SS Maxim Gorkiy and RMS Aquitania are the registry port of greater number of administrative territories than Elizabeth Ann
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Elizabeth Ann
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?s ) WHERE { ?a property:port_of_registry ?c . ?a rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?s > ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { resource:Elizabeth_Ann property:port_of_registry ?q . ?q rdf:type ontology:ship_type } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q24027328
P532
Q56061 Q2235308
USER
And what about Sarah Phillips?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027328
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?h ) WHERE { ?j property:P532 ?a . ?j rdf:type ontology:Q2235308 . ?a rdf:type ontology:Q56061 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Q24027328 property:P532 ?e . ?e rdf:type ontology:Q2235308 } } . FILTER ( ?h > ?f ) }
Sarah Phillips
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Sarah Phillips
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?h ) WHERE { ?j property:port_of_registry ?a . ?j rdf:type ontology:ship_type . ?a rdf:type ontology:administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Sarah_Phillips property:port_of_registry ?e . ?e rdf:type ontology:ship_type } } . FILTER ( ?h > ?f ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027328
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?h ) WHERE { ?j property:P532 ?a . ?j rdf:type ontology:Q2235308 . ?a rdf:type ontology:Q56061 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Q24027328 property:P532 ?e . ?e rdf:type ontology:Q2235308 } } . FILTER ( ?h > ?f ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Sarah Phillips
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?h ) WHERE { ?j property:port_of_registry ?a . ?j rdf:type ontology:ship_type . ?a rdf:type ontology:administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Sarah_Phillips property:port_of_registry ?e . ?e rdf:type ontology:ship_type } } . FILTER ( ?h > ?f ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q555913 Q468026
P47 P17
Q1048835
USER
Which political territories are SS Maxim Gorkiy present in or have a shared border with Castril ?
OR((Q468026,P17,c(Q1048835)), (Q555913,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q468026
relation P17
action find
entity Q555913
relation P47
type Q1048835
{'OR': [['Q468026', 'P17', {'concept': 'Q1048835'}], ['Q555913', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q468026 property:P17 ?a } UNION { resource:Q555913 property:P47 ?a } } . ?a rdf:type ontology:Q1048835 }
Castril SS Maxim Gorkiy
action filter_type
action union
action find
entity SS Maxim Gorkiy
relation country
action find
entity Castril
relation shares border with
type political territorial entity
{'OR': [['SS Maxim Gorkiy', 'country', {'concept': 'political territorial entity'}], ['Castril', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:SS_Maxim_Gorkiy property:country ?a } UNION { resource:Castril property:shares_border_with ?a } } . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1645091 Q557947 Q518339 Q1632828 Q183 Q575709 Q555918 Q554238
SYSTEM
Santiago-Pontones, Cortes de Baza, Cazorla, Peal de Becerro, Germany, Huéscar, Castilléjar, Benamaurel
Q1645091 Q557947 Q518339 Q1632828 Q183 Q575709 Q555918 Q554238
OR((Q468026,P17,c(Q1048835)), (Q555913,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q468026
relation P17
action find
entity Q555913
relation P47
type Q1048835
[ANSWERS] are SS Maxim Gorkiy present in or have a shared border with Castril
{'OR': [['Q468026', 'P17', {'concept': 'Q1048835'}], ['Q555913', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q468026 property:P17 ?a } UNION { resource:Q555913 property:P47 ?a } } . ?a rdf:type ontology:Q1048835 }
Santiago-Pontones Cortes de Baza Cazorla Peal de Becerro Germany Huéscar Castilléjar Benamaurel
Santiago-Pontones, Cortes de Baza, Cazorla, Peal de Becerro, Germany, Huéscar, Castilléjar and Benamaurel are SS Maxim Gorkiy present in or have a shared border with Castril
Santiago-Pontones Cortes de Baza Cazorla Peal de Becerro Germany Huéscar Castilléjar Benamaurel
action filter_type
action union
action find
entity SS Maxim Gorkiy
relation country
action find
entity Castril
relation shares border with
type political territorial entity
{'OR': [['SS Maxim Gorkiy', 'country', {'concept': 'political territorial entity'}], ['Castril', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:SS_Maxim_Gorkiy property:country ?a } UNION { resource:Castril property:shares_border_with ?a } } . ?a rdf:type ontology:political_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q557947
P1001
Q12737077
USER
Which occupation has jurisdiction over that political territory ?
(c(Q12737077),P1001,Q557947)
action filter_type
action find_reverse
entity Q557947
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q557947']
SELECT DISTINCT ?b WHERE { ?b property:P1001 resource:Q557947 . ?b rdf:type ontology:Q12737077 }
Cortes de Baza
action filter_type
action find_reverse
entity Cortes de Baza
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Cortes de Baza']
SELECT DISTINCT ?b WHERE { ?b property:applies_to_jurisdiction resource:Cortes_de_Baza . ?b rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q1632828
SYSTEM
Did you mean Peal de Becerro ?
Q1645091 Q557947 Q518339 Q1632828 Q183 Q575709 Q555918 Q554238
(c(Q12737077),P1001,Q1645091) (c(Q12737077),P1001,Q557947) (c(Q12737077),P1001,Q518339) (c(Q12737077),P1001,Q1632828) (c(Q12737077),P1001,Q183) (c(Q12737077),P1001,Q575709) (c(Q12737077),P1001,Q555918) (c(Q12737077),P1001,Q554238)
[ANSWER]
[{'concept': 'Q12737077'}, 'P1001', 'Q1645091'] [{'concept': 'Q12737077'}, 'P1001', 'Q557947'] [{'concept': 'Q12737077'}, 'P1001', 'Q518339'] [{'concept': 'Q12737077'}, 'P1001', 'Q1632828'] [{'concept': 'Q12737077'}, 'P1001', 'Q183'] [{'concept': 'Q12737077'}, 'P1001', 'Q575709'] [{'concept': 'Q12737077'}, 'P1001', 'Q555918'] [{'concept': 'Q12737077'}, 'P1001', 'Q554238']
SELECT DISTINCT ?b WHERE { ?b property:P1001 resource:Q557947 . ?b rdf:type ontology:Q12737077 }
Santiago-Pontones Cortes de Baza Cazorla Peal de Becerro Germany Huéscar Castilléjar Benamaurel
Did you mean Peal de Becerro ?
Peal de Becerro
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Santiago-Pontones'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Cortes de Baza'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Cazorla'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Peal de Becerro'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Huéscar'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Castilléjar'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Benamaurel']
SELECT DISTINCT ?b WHERE { ?b property:applies_to_jurisdiction resource:Cortes_de_Baza . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Cortes de Baza. Could you tell me the answer for that?
(c(Q12737077),P1001,Q557947)
Q557947
[{'concept': 'Q12737077'}, 'P1001', 'Q557947']
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Cortes de Baza']
[]
Q26698626
SYSTEM
mayor of Cortes de Baza
Q26698626
(c(Q12737077),P1001,Q557947)
action filter_type
action find_reverse
entity Q557947
relation P1001
type Q12737077
The [ANSWER] has jurisdiction over that political territory
[{'concept': 'Q12737077'}, 'P1001', 'Q557947']
SELECT DISTINCT ?b WHERE { ?b property:P1001 resource:Q557947 . ?b rdf:type ontology:Q12737077 }
mayor of Cortes de Baza
The mayor of Cortes de Baza has jurisdiction over that political territory
mayor of Cortes de Baza
action filter_type
action find_reverse
entity Cortes de Baza
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Cortes de Baza']
SELECT DISTINCT ?b WHERE { ?b property:applies_to_jurisdiction resource:Cortes_de_Baza . ?b rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q26698626 Q29
P17
Q15617994
USER
Is that occupation present in Spain ?
(Q26698626,P17,Q29)
action is_in
entity Q29
action find
entity Q26698626
relation P17
['Q26698626', 'P17', 'Q29']
ASK WHERE { resource:Q26698626 property:P17 resource:Q29 }
mayor of Cortes de Baza Spain
action is_in
entity Spain
action find
entity mayor of Cortes de Baza
relation country
['mayor of Cortes de Baza', 'country', 'Spain']
ASK WHERE { resource:mayor_of_Cortes_de_Baza property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q26698626,P17,Q29)
action is_in
entity Q29
action find
entity Q26698626
relation P17
[ANSWER]
['Q26698626', 'P17', 'Q29']
ASK WHERE { resource:Q26698626 property:P17 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity mayor of Cortes de Baza
relation country
['mayor of Cortes de Baza', 'country', 'Spain']
ASK WHERE { resource:mayor_of_Cortes_de_Baza property:country resource:Spain }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2596850 Q14713606 Q370553
P793
Q2245405
USER
Is ship launch and ship naming ceremony a key event of MS Azura ?
(Q2596850,P793,Q14713606) (Q2596850,P793,Q370553)
action is_in
entity Q2596850
action intersection
action find_reverse
entity Q14713606
relation P793
action find_reverse
entity Q370553
relation P793
['Q2596850', 'P793', 'Q14713606'] ['Q2596850', 'P793', 'Q370553']
ASK WHERE { resource:Q2596850 property:P793 resource:Q370553 . resource:Q2596850 property:P793 resource:Q14713606 }
MS Azura ship launch ship naming ceremony
action is_in
entity MS Azura
action intersection
action find_reverse
entity ship launch
relation significant event
action find_reverse
entity ship naming ceremony
relation significant event
['MS Azura', 'significant event', 'ship launch'] ['MS Azura', 'significant event', 'ship naming ceremony']
ASK WHERE { resource:MS_Azura property:significant_event resource:ship_naming_ceremony . resource:MS_Azura property:significant_event resource:ship_launch }
[]
key event
SYSTEM
YES
(Q2596850,P793,Q14713606) (Q2596850,P793,Q370553)
action is_in
entity Q2596850
action intersection
action find_reverse
entity Q14713606
relation P793
action find_reverse
entity Q370553
relation P793
[ANSWER]
['Q2596850', 'P793', 'Q14713606'] ['Q2596850', 'P793', 'Q370553']
ASK WHERE { resource:Q2596850 property:P793 resource:Q370553 . resource:Q2596850 property:P793 resource:Q14713606 }
Yes
action is_in
entity MS Azura
action intersection
action find_reverse
entity ship launch
relation significant event
action find_reverse
entity ship naming ceremony
relation significant event
['MS Azura', 'significant event', 'ship launch'] ['MS Azura', 'significant event', 'ship naming ceremony']
ASK WHERE { resource:MS_Azura property:significant_event resource:ship_naming_ceremony . resource:MS_Azura property:significant_event resource:ship_launch }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1741 Q270 Q7114789
P190
Q56061
USER
Is Vienna twin town of Warsaw and Owghlan ?
(Q1741,P190,Q270) (Q1741,P190,Q7114789)
action is_in
entity Q1741
action intersection
action find_reverse
entity Q270
relation P190
action find_reverse
entity Q7114789
relation P190
['Q1741', 'P190', 'Q270'] ['Q1741', 'P190', 'Q7114789']
ASK WHERE { resource:Q1741 property:P190 resource:Q270 . resource:Q1741 property:P190 resource:Q7114789 }
Vienna Warsaw Owghlan
action is_in
entity Vienna
action intersection
action find_reverse
entity Warsaw
relation sister city
action find_reverse
entity Owghlan
relation sister city
['Vienna', 'sister city', 'Warsaw'] ['Vienna', 'sister city', 'Owghlan']
ASK WHERE { resource:Vienna property:sister_city resource:Warsaw . resource:Vienna property:sister_city resource:Owghlan }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q1741,P190,Q270) (Q1741,P190,Q7114789)
action is_in
entity Q1741
action intersection
action find_reverse
entity Q270
relation P190
action find_reverse
entity Q7114789
relation P190
[ANSWER]
['Q1741', 'P190', 'Q270'] ['Q1741', 'P190', 'Q7114789']
ASK WHERE { resource:Q1741 property:P190 resource:Q270 . resource:Q1741 property:P190 resource:Q7114789 }
YES and NO respectively
action is_in
entity Vienna
action intersection
action find_reverse
entity Warsaw
relation sister city
action find_reverse
entity Owghlan
relation sister city
['Vienna', 'sister city', 'Warsaw'] ['Vienna', 'sister city', 'Owghlan']
ASK WHERE { resource:Vienna property:sister_city resource:Warsaw . resource:Vienna property:sister_city resource:Owghlan }
[]