Simple Question (Direct)
Simple Question
Q7608436
P106
Q12737077
USER
Which occupations have Stephanie Wurmbrand-Stuppach as his/her 's career ?
(Q7608436,P106,c(Q12737077))
action filter_type
action find
entity Q7608436
relation P106
type Q12737077
['Q7608436', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q7608436 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Stephanie Wurmbrand-Stuppach
action filter_type
action find
entity Stephanie Wurmbrand-Stuppach
relation occupation
type occupation
['Stephanie Wurmbrand-Stuppach', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Stephanie_Wurmbrand-Stuppach property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q36834 Q486748
SYSTEM
composer, pianist
Q36834 Q486748
(Q7608436,P106,c(Q12737077))
action filter_type
action find
entity Q7608436
relation P106
type Q12737077
The [ANSWERS] have Stephanie Wurmbrand-Stuppach as his/her 's career
['Q7608436', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q7608436 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
composer pianist
The composer and pianist have Stephanie Wurmbrand-Stuppach as his/her 's career
composer pianist
action filter_type
action find
entity Stephanie Wurmbrand-Stuppach
relation occupation
type occupation
['Stephanie Wurmbrand-Stuppach', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Stephanie_Wurmbrand-Stuppach property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7608436
P21
Q290
USER
Which sex does Stephanie Wurmbrand-Stuppach possess ?
(Q7608436,P21,c(Q290))
action filter_type
action find
entity Q7608436
relation P21
type Q290
['Q7608436', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q7608436 property:P21 ?f . ?f rdf:type ontology:Q290 }
Stephanie Wurmbrand-Stuppach
action filter_type
action find
entity Stephanie Wurmbrand-Stuppach
relation gender
type sex
['Stephanie Wurmbrand-Stuppach', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Stephanie_Wurmbrand-Stuppach property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q7608436,P21,c(Q290))
action filter_type
action find
entity Q7608436
relation P21
type Q290
Stephanie Wurmbrand-Stuppach possesses a [ANSWER]
['Q7608436', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q7608436 property:P21 ?f . ?f rdf:type ontology:Q290 }
female
Stephanie Wurmbrand-Stuppach possesses a female
female
action filter_type
action find
entity Stephanie Wurmbrand-Stuppach
relation gender
type sex
['Stephanie Wurmbrand-Stuppach', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Stephanie_Wurmbrand-Stuppach property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3769643
Q290
USER
And how about Giulio Ferrarini?
(Q3769643,P21,c(Q290))
action filter_type
action find
entity Q3769643
relation P21
type Q290
['Q3769643', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3769643 property:P21 ?u . ?u rdf:type ontology:Q290 }
Giulio Ferrarini
action filter_type
action find
entity Giulio Ferrarini
relation gender
type sex
['Giulio Ferrarini', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Giulio_Ferrarini property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3769643,P21,c(Q290))
action filter_type
action find
entity Q3769643
relation P21
type Q290
[ANSWER]
['Q3769643', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3769643 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Giulio Ferrarini
relation gender
type sex
['Giulio Ferrarini', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Giulio_Ferrarini property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3769643
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q3769643
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3769643 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Giulio Ferrarini
action filter_type
action find
entity Giulio Ferrarini
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Giulio_Ferrarini property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2683
SYSTEM
Parma
Q2683
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q3769643
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3769643 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Parma
Parma is the birthplace of that person
Parma
action filter_type
action find
entity Giulio Ferrarini
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Giulio_Ferrarini property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2683
P190
Q56061
USER
Which administrative territories are the sister cities of that one ?
(Q2683,P190,c(Q56061))
action filter_type
action find
entity Q2683
relation P190
type Q56061
['Q2683', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q2683 property:P190 ?d }
Parma
action filter_type
action find
entity Parma
relation sister city
type administrative territorial entity
['Parma', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Parma property:sister_city ?d }
[]
administrative territorial entity
Q1780 Q437 Q81581
SYSTEM
Bratislava, Ljubljana, Szeged
Q437 Q81581 Q1780 Q49240 Q11953
(Q2683,P190,c(Q56061))
action filter_type
action find
entity Q2683
relation P190
type Q56061
[ANSWERS] are the sister cities of that one
['Q2683', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q2683 property:P190 ?d }
Ljubljana Szeged Bratislava Stockton Guadalajara
Bratislava, Ljubljana and Szeged are the sister cities of that one
Bratislava Ljubljana Szeged
action filter_type
action find
entity Parma
relation sister city
type administrative territorial entity
['Parma', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Parma property:sister_city ?d }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1780 Q437 Q81581
P17
Q15617994
USER
Which administrative territories are Bratislava, Ljubljana and Szeged present in ?
(Q1780,P17,c(Q15617994)) (Q437,P17,c(Q15617994)) (Q81581,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1780
relation P17
type Q15617994
action filter_type
action find
entity Q437
relation P17
type Q15617994
action filter_type
action find
entity Q81581
relation P17
type Q15617994
['Q1780', 'P17', {'concept': 'Q15617994'}] ['Q437', 'P17', {'concept': 'Q15617994'}] ['Q81581', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { ?y rdf:type ontology:Q15617994 . resource:Q1780 property:P17 ?y } UNION { resource:Q437 property:P17 ?y . ?y rdf:type ontology:Q15617994 } }
Bratislava Ljubljana Szeged
action union
action filter_type
action find
entity Bratislava
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ljubljana
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Szeged
relation country
type designation for an administrative territorial entity
['Bratislava', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ljubljana', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Szeged', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bratislava property:country ?y } UNION { resource:Ljubljana property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q214 Q28 Q215
SYSTEM
Slovakia, Hungary, Slovenia
Q214 Q153136 Q193152 Q215 Q28
(Q1780,P17,c(Q15617994)) (Q437,P17,c(Q15617994)) (Q81581,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1780
relation P17
type Q15617994
action filter_type
action find
entity Q437
relation P17
type Q15617994
action filter_type
action find
entity Q81581
relation P17
type Q15617994
[ANSWERS]
['Q1780', 'P17', {'concept': 'Q15617994'}] ['Q437', 'P17', {'concept': 'Q15617994'}] ['Q81581', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { ?y rdf:type ontology:Q15617994 . resource:Q1780 property:P17 ?y } UNION { resource:Q437 property:P17 ?y . ?y rdf:type ontology:Q15617994 } }
Slovakia Habsburg Empire Great Moravia Slovenia Hungary
Which administrative territories are Bratislava, Ljubljana and Szeged present in
Slovakia Hungary Slovenia
action union
action filter_type
action find
entity Bratislava
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ljubljana
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Szeged
relation country
type designation for an administrative territorial entity
['Bratislava', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ljubljana', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Szeged', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bratislava property:country ?y } UNION { resource:Ljubljana property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q214 Q28 Q215
P530
Q1048835
USER
Which political territories have diplomatic relations with Slovakia, Hungary and Slovenia ?
(Q214,P530,c(Q1048835)) (Q28,P530,c(Q1048835)) (Q215,P530,c(Q1048835))
action union
action filter_type
action find
entity Q214
relation P530
type Q1048835
action filter_type
action find
entity Q28
relation P530
type Q1048835
action filter_type
action find
entity Q215
relation P530
type Q1048835
['Q214', 'P530', {'concept': 'Q1048835'}] ['Q28', 'P530', {'concept': 'Q1048835'}] ['Q215', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { ?g property:P530 ?r . VALUES ( ?g ) { ( resource:Q214 ) ( resource:Q28 ) } }
Slovakia Hungary Slovenia
action union
action filter_type
action find
entity Slovakia
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Hungary
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Slovenia
relation diplomatic relation
type political territorial entity
['Slovakia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Hungary', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Slovenia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { ?g property:diplomatic_relation ?r . VALUES ( ?g ) { ( resource:Slovakia ) ( resource:Hungary ) } }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q183 Q183 Q408 Q183
(Q214,P530,c(Q1048835)) (Q28,P530,c(Q1048835)) (Q215,P530,c(Q1048835))
action union
action filter_type
action find
entity Q214
relation P530
type Q1048835
action filter_type
action find
entity Q28
relation P530
type Q1048835
action filter_type
action find
entity Q215
relation P530
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] have diplomatic relations with Slovakia, Hungary and Slovenia
['Q214', 'P530', {'concept': 'Q1048835'}] ['Q28', 'P530', {'concept': 'Q1048835'}] ['Q215', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { ?g property:P530 ?r . VALUES ( ?g ) { ( resource:Q214 ) ( resource:Q28 ) } }
Germany Germany Australia Germany
Germany, Germany and Germany have diplomatic relations with Slovakia, Hungary and Slovenia
Germany Germany Germany
action union
action filter_type
action find
entity Slovakia
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Hungary
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Slovenia
relation diplomatic relation
type political territorial entity
['Slovakia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Hungary', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Slovenia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { ?g property:diplomatic_relation ?r . VALUES ( ?g ) { ( resource:Slovakia ) ( resource:Hungary ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28
P159
Q1400264
USER
Which artist collective has headquarters located at Hungary ?
(c(Q1400264),P159,Q28)
action filter_type
action find_reverse
entity Q28
relation P159
type Q1400264
[{'concept': 'Q1400264'}, 'P159', 'Q28']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1400264 . ?w property:P159 resource:Q28 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation headquarters location
type artist collective
[{'concept': 'artist collective'}, 'headquarters location', 'Hungary']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:artist_collective . ?w property:headquarters_location resource:Hungary }
[]
artist collective
Q383522
SYSTEM
Conspiracy
Q383522
(c(Q1400264),P159,Q28)
action filter_type
action find_reverse
entity Q28
relation P159
type Q1400264
[ANSWER] has headquarters located at Hungary
[{'concept': 'Q1400264'}, 'P159', 'Q28']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1400264 . ?w property:P159 resource:Q28 }
Conspiracy
Conspiracy has headquarters located at Hungary
Conspiracy
action filter_type
action find_reverse
entity Hungary
relation headquarters location
type artist collective
[{'concept': 'artist collective'}, 'headquarters location', 'Hungary']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:artist_collective . ?w property:headquarters_location resource:Hungary }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5337333 Q1780
P19 P190
Q56061
USER
Which administrative territories are twin towns of Bratislava or are the birthplace of Edgar L. McCoubrey ?
OR((Q1780,P190,c(Q56061)), (Q5337333,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1780
relation P190
action find
entity Q5337333
relation P19
type Q56061
{'OR': [['Q1780', 'P190', {'concept': 'Q56061'}], ['Q5337333', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q1780 property:P190 ?j } UNION { resource:Q5337333 property:P19 ?j } } . ?j rdf:type ontology:Q56061 }
Edgar L. McCoubrey Bratislava
action filter_type
action union
action find
entity Bratislava
relation sister city
action find
entity Edgar L. McCoubrey
relation place of birth
type administrative territorial entity
{'OR': [['Bratislava', 'sister city', {'concept': 'administrative territorial entity'}], ['Edgar L. McCoubrey', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Bratislava property:sister_city ?j } UNION { resource:Edgar_L._McCoubrey property:place_of_birth ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2082 Q1085 Q134121 Q216 Q160173 Q437 Q3437 Q34370 Q1010 Q17151
SYSTEM
Some of them are St. John's, Prague, Namur, Vilnius, Ruse, Ljubljana, Perugia, Rotterdam, Maribor, Thessaloniki
Q437 Q2683 Q649 Q472 Q171882 Q3012 Q37320 Q160173 Q1741 Q38511 Q1010 Q17151 Q134121 Q130212 Q87 Q34370 Q216 Q6106 Q2082 Q1218 Q1085 Q3437
OR((Q1780,P190,c(Q56061)), (Q5337333,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1780
relation P190
action find
entity Q5337333
relation P19
type Q56061
[ANSWERS] are twin towns of Bratislava or are the birthplace of Edgar L. McCoubrey
{'OR': [['Q1780', 'P190', {'concept': 'Q56061'}], ['Q5337333', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q1780 property:P190 ?j } UNION { resource:Q5337333 property:P19 ?j } } . ?j rdf:type ontology:Q56061 }
Ljubljana Parma Moscow Sofia Larnaca Ulm Cleveland Ruse Vienna Turku Maribor Thessaloniki Namur Székesfehérvár Alexandria Rotterdam Vilnius Portland St. John's Jerusalem Prague Perugia
St. John's, Prague, Namur, Vilnius, Ruse, Ljubljana, Perugia, Rotterdam, Maribor and Thessaloniki are twin towns of Bratislava or are the birthplace of Edgar L. McCoubrey
St. John's Prague Namur Vilnius Ruse Ljubljana Perugia Rotterdam Maribor Thessaloniki
action filter_type
action union
action find
entity Bratislava
relation sister city
action find
entity Edgar L. McCoubrey
relation place of birth
type administrative territorial entity
{'OR': [['Bratislava', 'sister city', {'concept': 'administrative territorial entity'}], ['Edgar L. McCoubrey', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Bratislava property:sister_city ?j } UNION { resource:Edgar_L._McCoubrey property:place_of_birth ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q437
P931
Q62447
USER
Which city does Ljubljana serve ?
(c(Q62447),P931,Q437)
action filter_type
action find_reverse
entity Q437
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q437']
SELECT DISTINCT ?i WHERE { ?i property:P931 resource:Q437 . ?i rdf:type ontology:Q62447 }
Ljubljana
action filter_type
action find_reverse
entity Ljubljana
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Ljubljana']
SELECT DISTINCT ?i WHERE { ?i property:place_served_by_airport resource:Ljubljana . ?i rdf:type ontology:aerodrome }
[]
aerodrome
Q1109558
SYSTEM
Ljubljana Jože Pučnik Airport
Q1109558
(c(Q62447),P931,Q437)
action filter_type
action find_reverse
entity Q437
relation P931
type Q62447
Ljubljana serves [ANSWER]
[{'concept': 'Q62447'}, 'P931', 'Q437']
SELECT DISTINCT ?i WHERE { ?i property:P931 resource:Q437 . ?i rdf:type ontology:Q62447 }
Ljubljana Jože Pučnik Airport
Ljubljana serves Ljubljana Jože Pučnik Airport
Ljubljana Jože Pučnik Airport
action filter_type
action find_reverse
entity Ljubljana
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Ljubljana']
SELECT DISTINCT ?i WHERE { ?i property:place_served_by_airport resource:Ljubljana . ?i rdf:type ontology:aerodrome }
[]