Simple Question (Direct)
Simple Question
Q1468187
P21
Q290
USER
Which sex does Siegfried Melchinger have ?
(Q1468187,P21,c(Q290))
action filter_type
action find
entity Q1468187
relation P21
type Q290
['Q1468187', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q1468187 property:P21 ?o }
Siegfried Melchinger
action filter_type
action find
entity Siegfried Melchinger
relation gender
type sex
['Siegfried Melchinger', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Siegfried_Melchinger property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1468187,P21,c(Q290))
action filter_type
action find
entity Q1468187
relation P21
type Q290
Siegfried Melchinger has a [ANSWER]
['Q1468187', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q1468187 property:P21 ?o }
male
Siegfried Melchinger has a male
male
action filter_type
action find
entity Siegfried Melchinger
relation gender
type sex
['Siegfried Melchinger', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Siegfried_Melchinger property:gender ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1468187
P27
Q1048835
USER
Which political territory does Siegfried Melchinger belong to ?
(Q1468187,P27,c(Q1048835))
action filter_type
action find
entity Q1468187
relation P27
type Q1048835
['Q1468187', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q1468187 property:P27 ?i . ?i rdf:type ontology:Q1048835 }
Siegfried Melchinger
action filter_type
action find
entity Siegfried Melchinger
relation country of citizenship
type political territorial entity
['Siegfried Melchinger', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Siegfried_Melchinger property:country_of_citizenship ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1468187,P27,c(Q1048835))
action filter_type
action find
entity Q1468187
relation P27
type Q1048835
Siegfried Melchinger belongs to [ANSWER]
['Q1468187', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q1468187 property:P27 ?i . ?i rdf:type ontology:Q1048835 }
Germany
Siegfried Melchinger belongs to Germany
Germany
action filter_type
action find
entity Siegfried Melchinger
relation country of citizenship
type political territorial entity
['Siegfried Melchinger', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Siegfried_Melchinger property:country_of_citizenship ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1468187
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q183,P106,c(Q12737077))
action filter_type
action find
entity Q1468187
relation P106
type Q12737077
['Q183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1468187 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Siegfried Melchinger
action filter_type
action find
entity Siegfried Melchinger
relation occupation
type occupation
['Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Siegfried_Melchinger property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q1930187 Q1622272
SYSTEM
journalist, university teacher
Q1930187 Q1622272
(Q183,P106,c(Q12737077))
action filter_type
action find
entity Q1468187
relation P106
type Q12737077
The [ANSWERS] have that person as his/her 's career
['Q183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1468187 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
journalist university teacher
The journalist and university teacher have that person as his/her 's career
journalist university teacher
action filter_type
action find
entity Siegfried Melchinger
relation occupation
type occupation
['Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Siegfried_Melchinger property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1468187 Q18233
P1412
Q34770
USER
How many languages do Siegfried Melchinger or ABBA speak in ?
(Q1468187,P1412,c(Q34770)) (Q18233,P1412,c(Q34770))
action count
action union
action filter_type
action find
entity Q1468187
relation P1412
type Q34770
action filter_type
action find
entity Q18233
relation P1412
type Q34770
['Q1468187', 'P1412', {'concept': 'Q34770'}] ['Q18233', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { resource:Q18233 property:P1412 ?t . ?t rdf:type ontology:Q34770 } UNION { resource:Q1468187 property:P1412 ?t . ?t rdf:type ontology:Q34770 } }
Siegfried Melchinger ABBA
action count
action union
action filter_type
action find
entity Siegfried Melchinger
relation languages spoken, written or signed
type language
action filter_type
action find
entity ABBA
relation languages spoken, written or signed
type language
['Siegfried Melchinger', 'languages spoken, written or signed', {'concept': 'language'}] ['ABBA', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { resource:ABBA property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language } UNION { resource:Siegfried_Melchinger property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language } }
[]
language
SYSTEM
2
Q1860 Q1321
(Q1468187,P1412,c(Q34770)) (Q18233,P1412,c(Q34770))
action count
action union
action filter_type
action find
entity Q1468187
relation P1412
type Q34770
action filter_type
action find
entity Q18233
relation P1412
type Q34770
[ANSWER]
['Q1468187', 'P1412', {'concept': 'Q34770'}] ['Q18233', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { resource:Q18233 property:P1412 ?t . ?t rdf:type ontology:Q34770 } UNION { resource:Q1468187 property:P1412 ?t . ?t rdf:type ontology:Q34770 } }
English Spanish
2
action count
action union
action filter_type
action find
entity Siegfried Melchinger
relation languages spoken, written or signed
type language
action filter_type
action find
entity ABBA
relation languages spoken, written or signed
type language
['Siegfried Melchinger', 'languages spoken, written or signed', {'concept': 'language'}] ['ABBA', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { resource:ABBA property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language } UNION { resource:Siegfried_Melchinger property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1468187
P19
Q56061
USER
Where was that person born ?
action filter_type
action find
entity Q1468187
relation P19
type Q56061
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q1468187 property:P19 ?i }
Siegfried Melchinger
action filter_type
action find
entity Siegfried Melchinger
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Siegfried_Melchinger property:place_of_birth ?i }
[]
administrative territorial entity
Q1022
SYSTEM
Stuttgart
Q1022
action filter_type
action find
entity Q1468187
relation P19
type Q56061
That person was born in [ANSWER]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q1468187 property:P19 ?i }
Stuttgart
That person was born in Stuttgart
Stuttgart
action filter_type
action find
entity Siegfried Melchinger
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Siegfried_Melchinger property:place_of_birth ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1022
P190
Q56061
USER
Which administrative territories are the sister cities of that one ?
(Q1022,P190,c(Q56061))
action filter_type
action find
entity Q1022
relation P190
type Q56061
['Q1022', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1022 property:P190 ?h . ?h rdf:type ontology:Q56061 }
Stuttgart
action filter_type
action find
entity Stuttgart
relation sister city
type administrative territorial entity
['Stuttgart', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Stuttgart property:sister_city ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1489 Q85 Q580
SYSTEM
Mexico City, Cairo, Łódź
Q1156 Q580 Q27435 Q153647 Q1489 Q85 Q894 Q10690 Q38022 Q571191
(Q1022,P190,c(Q56061))
action filter_type
action find
entity Q1022
relation P190
type Q56061
[ANSWERS] are the sister cities of that one
['Q1022', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1022 property:P190 ?h . ?h rdf:type ontology:Q56061 }
Mumbai Łódź Menzel Bourguiba St Helens Mexico City Cairo Samara Cardiff St. Louis Shavei Tzion
Mexico City, Cairo and Łódź are the sister cities of that one
Mexico City Cairo Łódź
action filter_type
action find
entity Stuttgart
relation sister city
type administrative territorial entity
['Stuttgart', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Stuttgart property:sister_city ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q12737077 Q2342494 Q838948
USER
Which occupations were discussed in max number of collectables or works of art ?
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) ?l WHERE { VALUES ( ?x ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?v rdf:type ?x } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?j WHERE { { ?f property:P921 ?j . ?j rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q2342494 } UNION { ?f property:P921 ?j . ?j rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q838948 } } GROUP BY ?j } . FILTER ( ?h = ?z ) }
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) ?l WHERE { VALUES ( ?x ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?v rdf:type ?x } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?j WHERE { { ?f property:main_subject ?j . ?j rdf:type ontology:occupation . ?f rdf:type ontology:collectable } UNION { ?f property:main_subject ?j . ?j rdf:type ontology:occupation . ?f rdf:type ontology:work_of_art } } GROUP BY ?j } . FILTER ( ?h = ?z ) }
[]
occupation collectable work of art
Q9402
SYSTEM
ninja
Q9402
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
[ANSWER] was discussed in max number of collectables or works of art
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) ?l WHERE { VALUES ( ?x ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?v rdf:type ?x } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?j WHERE { { ?f property:P921 ?j . ?j rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q2342494 } UNION { ?f property:P921 ?j . ?j rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q838948 } } GROUP BY ?j } . FILTER ( ?h = ?z ) }
ninja
Ninja was discussed in max number of collectables or works of art
ninja
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) ?l WHERE { VALUES ( ?x ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?v rdf:type ?x } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?j WHERE { { ?f property:main_subject ?j . ?j rdf:type ontology:occupation . ?f rdf:type ontology:collectable } UNION { ?f property:main_subject ?j . ?j rdf:type ontology:occupation . ?f rdf:type ontology:work_of_art } } GROUP BY ?j } . FILTER ( ?h = ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1489
P937
Q502895
USER
Which people have Mexico City as work location ?
(c(Q502895),P937,Q1489)
action filter_type
action find_reverse
entity Q1489
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q1489']
SELECT DISTINCT ?t WHERE { ?t property:P937 resource:Q1489 . ?t rdf:type ontology:Q502895 }
Mexico City
action filter_type
action find_reverse
entity Mexico City
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Mexico City']
SELECT DISTINCT ?t WHERE { ?t property:work_location resource:Mexico_City . ?t rdf:type ontology:common_name }
[]
common name
Q993250 Q98283 Q15456399
SYSTEM
Bruno Frei, Paul Westheim, Jennifer Clement
Q1707090 Q15445532 Q993250 Q518792 Q1248834 Q98283 Q15456399 Q15449810 Q1406722 Q113878 Q1578386 Q5427852 Q18221495
(c(Q502895),P937,Q1489)
action filter_type
action find_reverse
entity Q1489
relation P937
type Q502895
[ANSWERS] have Mexico City as work location
[{'concept': 'Q502895'}, 'P937', 'Q1489']
SELECT DISTINCT ?t WHERE { ?t property:P937 resource:Q1489 . ?t rdf:type ontology:Q502895 }
René Defossez Bernd Hausberger Bruno Frei Alondra de la Parra Elvira Gascón Paul Westheim Jennifer Clement Valeria Luiselli Fernando Leal Audirac Leo Katz Hans-Wolfgang Herwarth von Bittenfeld Fabio Morábito Daniel Brody
Bruno Frei, Paul Westheim and Jennifer Clement have Mexico City as work location
Bruno Frei Paul Westheim Jennifer Clement
action filter_type
action find_reverse
entity Mexico City
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Mexico City']
SELECT DISTINCT ?t WHERE { ?t property:work_location resource:Mexico_City . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q993250 Q98283 Q15456399
P106
Q12737077
USER
What do Bruno Frei, Paul Westheim and Jennifer Clement do for a living ?
(Q993250,P106,c(Q12737077)) (Q98283,P106,c(Q12737077)) (Q15456399,P106,c(Q12737077))
action union
action filter_type
action find
entity Q993250
relation P106
type Q12737077
action filter_type
action find
entity Q98283
relation P106
type Q12737077
action filter_type
action find
entity Q15456399
relation P106
type Q12737077
['Q993250', 'P106', {'concept': 'Q12737077'}] ['Q98283', 'P106', {'concept': 'Q12737077'}] ['Q15456399', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?v ) { ( resource:Q993250 ) ( resource:Q98283 ) } . ?v property:P106 ?a }
Bruno Frei Paul Westheim Jennifer Clement
action union
action filter_type
action find
entity Bruno Frei
relation occupation
type occupation
action filter_type
action find
entity Paul Westheim
relation occupation
type occupation
action filter_type
action find
entity Jennifer Clement
relation occupation
type occupation
['Bruno Frei', 'occupation', {'concept': 'occupation'}] ['Paul Westheim', 'occupation', {'concept': 'occupation'}] ['Jennifer Clement', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?v ) { ( resource:Bruno_Frei ) ( resource:Paul_Westheim ) } . ?v property:occupation ?a }
[]
occupation
Q1930187 Q16287483 Q36180
SYSTEM
journalist, opinion journalist, writer
Q1930187 Q16287483 Q36180 Q36180
(Q993250,P106,c(Q12737077)) (Q98283,P106,c(Q12737077)) (Q15456399,P106,c(Q12737077))
action union
action filter_type
action find
entity Q993250
relation P106
type Q12737077
action filter_type
action find
entity Q98283
relation P106
type Q12737077
action filter_type
action find
entity Q15456399
relation P106
type Q12737077
Bruno Frei , Paul Westheim and Jennifer Clement do for a living as [ANSWERS]
['Q993250', 'P106', {'concept': 'Q12737077'}] ['Q98283', 'P106', {'concept': 'Q12737077'}] ['Q15456399', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?v ) { ( resource:Q993250 ) ( resource:Q98283 ) } . ?v property:P106 ?a }
journalist opinion journalist writer writer
Bruno Frei , Paul Westheim and Jennifer Clement do for a living as journalist, opinion journalist and writer
journalist opinion journalist writer
action union
action filter_type
action find
entity Bruno Frei
relation occupation
type occupation
action filter_type
action find
entity Paul Westheim
relation occupation
type occupation
action filter_type
action find
entity Jennifer Clement
relation occupation
type occupation
['Bruno Frei', 'occupation', {'concept': 'occupation'}] ['Paul Westheim', 'occupation', {'concept': 'occupation'}] ['Jennifer Clement', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?v ) { ( resource:Bruno_Frei ) ( resource:Paul_Westheim ) } . ?v property:occupation ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q993250
P20
Q56061
USER
Which administrative territory is the place of death of Bruno Frei ?
(Q993250,P20,c(Q56061))
action filter_type
action find
entity Q993250
relation P20
type Q56061
['Q993250', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q993250 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Bruno Frei
action filter_type
action find
entity Bruno Frei
relation place of death
type administrative territorial entity
['Bruno Frei', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Bruno_Frei property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q487522
SYSTEM
Klosterneuburg
Q487522
(Q993250,P20,c(Q56061))
action filter_type
action find
entity Q993250
relation P20
type Q56061
[ANSWER] is the place of death of Bruno Frei
['Q993250', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q993250 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Klosterneuburg
Klosterneuburg is the place of death of Bruno Frei
Klosterneuburg
action filter_type
action find
entity Bruno Frei
relation place of death
type administrative territorial entity
['Bruno Frei', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Bruno_Frei property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q487522
P36
Q871419
USER
Which district of Austria has that administrative territory as its capital ?
(c(Q871419),P36,Q487522)
action filter_type
action find_reverse
entity Q487522
relation P36
type Q871419
[{'concept': 'Q871419'}, 'P36', 'Q487522']
SELECT DISTINCT ?j WHERE { ?j property:P36 resource:Q487522 . ?j rdf:type ontology:Q871419 }
Klosterneuburg
action filter_type
action find_reverse
entity Klosterneuburg
relation capital
type district of Austria
[{'concept': 'district of Austria'}, 'capital', 'Klosterneuburg']
SELECT DISTINCT ?j WHERE { ?j property:capital resource:Klosterneuburg . ?j rdf:type ontology:district_of_Austria }
[]
district of Austria
Q521869
SYSTEM
Wien-Umgebung District
Q521869
(c(Q871419),P36,Q487522)
action filter_type
action find_reverse
entity Q487522
relation P36
type Q871419
[ANSWER] has that administrative territory as its capital
[{'concept': 'Q871419'}, 'P36', 'Q487522']
SELECT DISTINCT ?j WHERE { ?j property:P36 resource:Q487522 . ?j rdf:type ontology:Q871419 }
Wien-Umgebung District
Wien-Umgebung District has that administrative territory as its capital
Wien-Umgebung District
action filter_type
action find_reverse
entity Klosterneuburg
relation capital
type district of Austria
[{'concept': 'district of Austria'}, 'capital', 'Klosterneuburg']
SELECT DISTINCT ?j WHERE { ?j property:capital resource:Klosterneuburg . ?j rdf:type ontology:district_of_Austria }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q56061
USER
How many administrative territories share border with that district of Austria ?
(c(Q56061),P47,Q521869)
action count
action filter_type
action find_reverse
entity Q521869
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q521869']
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f property:P47 resource:Q521869 . ?f rdf:type ontology:Q56061 }
action count
action filter_type
action find_reverse
entity Wien-Umgebung District
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Wien-Umgebung District']
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f property:shares_border_with resource:Wien-Umgebung_District . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1741
(c(Q56061),P47,Q521869)
action count
action filter_type
action find_reverse
entity Q521869
relation P47
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P47', 'Q521869']
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f property:P47 resource:Q521869 . ?f rdf:type ontology:Q56061 }
Vienna
1
action count
action filter_type
action find_reverse
entity Wien-Umgebung District
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Wien-Umgebung District']
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f property:shares_border_with resource:Wien-Umgebung_District . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q487522
P17
Q1048835
USER
Which political territory is Klosterneuburg present in ?
(Q487522,P17,c(Q1048835))
action filter_type
action find
entity Q487522
relation P17
type Q1048835
['Q487522', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q487522 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Klosterneuburg
action filter_type
action find
entity Klosterneuburg
relation country
type political territorial entity
['Klosterneuburg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Klosterneuburg property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q487522,P17,c(Q1048835))
action filter_type
action find
entity Q487522
relation P17
type Q1048835
Klosterneuburg is an [ANSWER]
['Q487522', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q487522 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Austria
Klosterneuburg is an Austria
Austria
action filter_type
action find
entity Klosterneuburg
relation country
type political territorial entity
['Klosterneuburg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Klosterneuburg property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6800054
Q1048835
USER
And what about McBride Secondary School?
(Q6800054,P17,c(Q1048835))
action filter_type
action find
entity Q6800054
relation P17
type Q1048835
['Q6800054', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q6800054 property:P17 ?x . ?x rdf:type ontology:Q1048835 }
McBride Secondary School
action filter_type
action find
entity McBride Secondary School
relation country
type political territorial entity
['McBride Secondary School', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:McBride_Secondary_School property:country ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q6800054,P17,c(Q1048835))
action filter_type
action find
entity Q6800054
relation P17
type Q1048835
[ANSWER]
['Q6800054', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q6800054 property:P17 ?x . ?x rdf:type ontology:Q1048835 }
Canada
Canada
action filter_type
action find
entity McBride Secondary School
relation country
type political territorial entity
['McBride Secondary School', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:McBride_Secondary_School property:country ?x . ?x rdf:type ontology:political_territorial_entity }
[]