Simple Question (Direct)
Simple Question
Q89251
P20
Q56061
USER
Where did the expiration of Otto Antonius occur ?
(Q89251,P20,c(Q56061))
action filter_type
action find
entity Q89251
relation P20
type Q56061
['Q89251', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q89251 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Otto Antonius
action filter_type
action find
entity Otto Antonius
relation place of death
type administrative territorial entity
['Otto Antonius', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Otto_Antonius property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q89251,P20,c(Q56061))
action filter_type
action find
entity Q89251
relation P20
type Q56061
The expiration of Otto Antonius occurred in [ANSWER]
['Q89251', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q89251 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Vienna
The expiration of Otto Antonius occurred in Vienna
Vienna
action filter_type
action find
entity Otto Antonius
relation place of death
type administrative territorial entity
['Otto Antonius', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Otto_Antonius property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q89251
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q1741,P27,c(Q1048835))
action filter_type
action find
entity Q89251
relation P27
type Q1048835
['Q1741', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q89251 property:P27 ?i . ?i rdf:type ontology:Q1048835 }
Otto Antonius
action filter_type
action find
entity Otto Antonius
relation country of citizenship
type political territorial entity
['Vienna', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Otto_Antonius property:country_of_citizenship ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q1741,P27,c(Q1048835))
action filter_type
action find
entity Q89251
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q1741', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q89251 property:P27 ?i . ?i rdf:type ontology:Q1048835 }
Austria
Austria is that person a civilian of
Austria
action filter_type
action find
entity Otto Antonius
relation country of citizenship
type political territorial entity
['Vienna', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Otto_Antonius property:country_of_citizenship ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q20712032 Q89251
P19 P20
Q56061
USER
Which administrative territories were Otto Antonius born at or did the expiration of Robert Aland occur ?
OR((Q89251,P19,c(Q56061)), (Q20712032,P20,c(Q56061)))
action filter_type
action union
action find
entity Q89251
relation P19
action find
entity Q20712032
relation P20
type Q56061
{'OR': [['Q89251', 'P19', {'concept': 'Q56061'}], ['Q20712032', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q89251 property:P19 ?n } UNION { resource:Q20712032 property:P20 ?n } } . ?n rdf:type ontology:Q56061 }
Robert Aland Otto Antonius
action filter_type
action union
action find
entity Otto Antonius
relation place of birth
action find
entity Robert Aland
relation place of death
type administrative territorial entity
{'OR': [['Otto Antonius', 'place of birth', {'concept': 'administrative territorial entity'}], ['Robert Aland', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Otto_Antonius property:place_of_birth ?n } UNION { resource:Robert_Aland property:place_of_death ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741 Q2118067
SYSTEM
Vienna, Warwick
Q1741 Q2118067
OR((Q89251,P19,c(Q56061)), (Q20712032,P20,c(Q56061)))
action filter_type
action union
action find
entity Q89251
relation P19
action find
entity Q20712032
relation P20
type Q56061
Otto Antonius were born at occur in [ANSWERS]
{'OR': [['Q89251', 'P19', {'concept': 'Q56061'}], ['Q20712032', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q89251 property:P19 ?n } UNION { resource:Q20712032 property:P20 ?n } } . ?n rdf:type ontology:Q56061 }
Vienna Warwick
Otto Antonius were born at occur in Vienna and Warwick
Vienna Warwick
action filter_type
action union
action find
entity Otto Antonius
relation place of birth
action find
entity Robert Aland
relation place of death
type administrative territorial entity
{'OR': [['Otto Antonius', 'place of birth', {'concept': 'administrative territorial entity'}], ['Robert Aland', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Otto_Antonius property:place_of_birth ?n } UNION { resource:Robert_Aland property:place_of_death ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q794 Q40
P27
Q502895
USER
Which people are a native of Austria and Iran ?
AND((c(Q502895),P27,Q40), (c(Q502895),P27,Q794))
action filter_type
action intersection
action find_reverse
entity Q40
relation P27
action find_reverse
entity Q794
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q40'], [{'concept': 'Q502895'}, 'P27', 'Q794']]}
SELECT DISTINCT ?x WHERE { ?x property:P27 resource:Q794 . ?x property:P27 resource:Q40 . ?x rdf:type ontology:Q502895 }
Iran Austria
action filter_type
action intersection
action find_reverse
entity Austria
relation country of citizenship
action find_reverse
entity Iran
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Austria'], [{'concept': 'common name'}, 'country of citizenship', 'Iran']]}
SELECT DISTINCT ?x WHERE { ?x property:country_of_citizenship resource:Iran . ?x property:country_of_citizenship resource:Austria . ?x rdf:type ontology:common_name }
[]
common name
Q113781
SYSTEM
Mina Ahadi
Q113781
AND((c(Q502895),P27,Q40), (c(Q502895),P27,Q794))
action filter_type
action intersection
action find_reverse
entity Q40
relation P27
action find_reverse
entity Q794
relation P27
type Q502895
[ANSWER] is a native of Austria and Iran
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q40'], [{'concept': 'Q502895'}, 'P27', 'Q794']]}
SELECT DISTINCT ?x WHERE { ?x property:P27 resource:Q794 . ?x property:P27 resource:Q40 . ?x rdf:type ontology:Q502895 }
Mina Ahadi
Mina Ahadi is a native of Austria and Iran
Mina Ahadi
action filter_type
action intersection
action find_reverse
entity Austria
relation country of citizenship
action find_reverse
entity Iran
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Austria'], [{'concept': 'common name'}, 'country of citizenship', 'Iran']]}
SELECT DISTINCT ?x WHERE { ?x property:country_of_citizenship resource:Iran . ?x property:country_of_citizenship resource:Austria . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q2342494
USER
How many collectables have been dubbed by approximately 2 people ?
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
value 2
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { FILTER ( ?b = 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?b ) WHERE { ?c property:P725 ?i . ?c rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q502895 } GROUP BY ?c } }
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
value 2
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { FILTER ( ?b = 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?b ) WHERE { ?c property:voice_actor ?i . ?c rdf:type ontology:collectable . ?i rdf:type ontology:common_name } GROUP BY ?c } }
[]
common name collectable
SYSTEM
14
Q50035 Q483263 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q5647726 Q2759489
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
value 2
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { FILTER ( ?b = 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?b ) WHERE { ?c property:P725 ?i . ?c rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q502895 } GROUP BY ?c } }
Nyaruko: Crawling with Love Baka and Test Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Handy Manny's Motorcycle Adventure Muv-Luv
14
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
value 2
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { FILTER ( ?b = 2 ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?b ) WHERE { ?c property:voice_actor ?i . ?c rdf:type ontology:collectable . ?i rdf:type ontology:common_name } GROUP BY ?c } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741
P1376
Q1048835
USER
Which political territory has Vienna has its center of administration ?
(Q1741,P1376,c(Q1048835))
action filter_type
action find
entity Q1741
relation P1376
type Q1048835
['Q1741', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1048835 . resource:Q1741 property:P1376 ?t }
Vienna
action filter_type
action find
entity Vienna
relation capital of
type political territorial entity
['Vienna', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_territorial_entity . resource:Vienna property:capital_of ?t }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q1741,P1376,c(Q1048835))
action filter_type
action find
entity Q1741
relation P1376
type Q1048835
The [ANSWER] has Vienna has its center of administration
['Q1741', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1048835 . resource:Q1741 property:P1376 ?t }
Austria
The Austria has Vienna has its center of administration
Austria
action filter_type
action find
entity Vienna
relation capital of
type political territorial entity
['Vienna', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_territorial_entity . resource:Vienna property:capital_of ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1741
P47
Q56061
USER
Which administrative territory has an adjacent border with that one ?
(c(Q56061),P47,Q40)
action filter_type
action find
entity Q1741
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q40']
SELECT DISTINCT ?r WHERE { resource:Q1741 property:P47 ?r . ?r rdf:type ontology:Q56061 }
Vienna
action filter_type
action find
entity Vienna
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Austria']
SELECT DISTINCT ?r WHERE { resource:Vienna property:shares_border_with ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q487522
SYSTEM
Klosterneuburg
Q487522
(c(Q56061),P47,Q40)
action filter_type
action find
entity Q1741
relation P47
type Q56061
[ANSWER] has an adjacent border with that one
[{'concept': 'Q56061'}, 'P47', 'Q40']
SELECT DISTINCT ?r WHERE { resource:Q1741 property:P47 ?r . ?r rdf:type ontology:Q56061 }
Klosterneuburg
Klosterneuburg has an adjacent border with that one
Klosterneuburg
action filter_type
action find
entity Vienna
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Austria']
SELECT DISTINCT ?r WHERE { resource:Vienna property:shares_border_with ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2078535 Q1741
P47
Q56061
USER
Or Chorley?
OR((c(Q56061),P47,Q1741), (c(Q56061),P47,Q2078535))
action filter_type
action union
action find_reverse
entity Q1741
relation P47
action find_reverse
entity Q2078535
relation P47
type Q56061
{'OR': [[{'concept': 'Q56061'}, 'P47', 'Q1741'], [{'concept': 'Q56061'}, 'P47', 'Q2078535']]}
SELECT DISTINCT ?p WHERE { { { ?p property:P47 resource:Q2078535 } UNION { ?p property:P47 resource:Q1741 } } . ?p rdf:type ontology:Q56061 }
Chorley Vienna
action filter_type
action union
action find_reverse
entity Vienna
relation shares border with
action find_reverse
entity Chorley
relation shares border with
type administrative territorial entity
{'OR': [[{'concept': 'administrative territorial entity'}, 'shares border with', 'Vienna'], [{'concept': 'administrative territorial entity'}, 'shares border with', 'Chorley']]}
SELECT DISTINCT ?p WHERE { { { ?p property:shares_border_with resource:Chorley } UNION { ?p property:shares_border_with resource:Vienna } } . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7598635 Q487522 Q4891745
SYSTEM
Standish, Greater Manchester, Klosterneuburg, Heath Charnock
Q7598635 Q487522 Q4891745
OR((c(Q56061),P47,Q1741), (c(Q56061),P47,Q2078535))
action filter_type
action union
action find_reverse
entity Q1741
relation P47
action find_reverse
entity Q2078535
relation P47
type Q56061
[ANSWERS]
{'OR': [[{'concept': 'Q56061'}, 'P47', 'Q1741'], [{'concept': 'Q56061'}, 'P47', 'Q2078535']]}
SELECT DISTINCT ?p WHERE { { { ?p property:P47 resource:Q2078535 } UNION { ?p property:P47 resource:Q1741 } } . ?p rdf:type ontology:Q56061 }
Standish, Greater Manchester Klosterneuburg Heath Charnock
Standish, Greater Manchester Klosterneuburg Heath Charnock
action filter_type
action union
action find_reverse
entity Vienna
relation shares border with
action find_reverse
entity Chorley
relation shares border with
type administrative territorial entity
{'OR': [[{'concept': 'administrative territorial entity'}, 'shares border with', 'Vienna'], [{'concept': 'administrative territorial entity'}, 'shares border with', 'Chorley']]}
SELECT DISTINCT ?p WHERE { { { ?p property:shares_border_with resource:Chorley } UNION { ?p property:shares_border_with resource:Vienna } } . ?p rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q487522
P190
Q15617994
USER
Which administrative territory is partner town of that administrative territory ?
(Q487522,P190,c(Q15617994))
action filter_type
action find
entity Q487522
relation P190
type Q15617994
['Q487522', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q487522 property:P190 ?l . ?l rdf:type ontology:Q15617994 }
Klosterneuburg
action filter_type
action find
entity Klosterneuburg
relation sister city
type designation for an administrative territorial entity
['Klosterneuburg', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Klosterneuburg property:sister_city ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q7598635
SYSTEM
Did you mean Standish, Greater Manchester ?
Q7598635 Q487522 Q4891745
(Q7598635,P190,c(Q15617994)) (Q487522,P190,c(Q15617994)) (Q4891745,P190,c(Q15617994))
[ANSWER]
['Q7598635', 'P190', {'concept': 'Q15617994'}] ['Q487522', 'P190', {'concept': 'Q15617994'}] ['Q4891745', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q487522 property:P190 ?l . ?l rdf:type ontology:Q15617994 }
Standish, Greater Manchester Klosterneuburg Heath Charnock
Did you mean Standish, Greater Manchester ?
Standish, Greater Manchester
['Standish, Greater Manchester', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Klosterneuburg', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Heath Charnock', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Klosterneuburg property:sister_city ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Klosterneuburg. Could you tell me the answer for that?
(Q487522,P190,c(Q15617994))
Q487522
['Q487522', 'P190', {'concept': 'Q15617994'}]
['Klosterneuburg', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
[]
Q4072
SYSTEM
Göppingen
Q4072
(Q487522,P190,c(Q15617994))
action filter_type
action find
entity Q487522
relation P190
type Q15617994
[ANSWER] is partner town of that administrative territory
['Q487522', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q487522 property:P190 ?l . ?l rdf:type ontology:Q15617994 }
Göppingen
Göppingen is partner town of that administrative territory
Göppingen
action filter_type
action find
entity Klosterneuburg
relation sister city
type designation for an administrative territorial entity
['Klosterneuburg', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Klosterneuburg property:sister_city ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]