Simple Question (Direct)
Simple Question
Q88364
P20
Q56061
USER
Which administrative territory is the place of death of Charlotte Eisler ?
(Q88364,P20,c(Q56061))
action filter_type
action find
entity Q88364
relation P20
type Q56061
['Q88364', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q88364 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Charlotte Eisler
action filter_type
action find
entity Charlotte Eisler
relation place of death
type administrative territorial entity
['Charlotte Eisler', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Charlotte_Eisler property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q88364,P20,c(Q56061))
action filter_type
action find
entity Q88364
relation P20
type Q56061
[ANSWER] is the place of death of Charlotte Eisler
['Q88364', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q88364 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Vienna
Vienna is the place of death of Charlotte Eisler
Vienna
action filter_type
action find
entity Charlotte Eisler
relation place of death
type administrative territorial entity
['Charlotte Eisler', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Charlotte_Eisler property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1741
P1001
Q12737077
USER
Which occupation applies to jurisdiction over that administrative territory ?
(c(Q12737077),P1001,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q1741']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . ?c property:P1001 resource:Q1741 }
Vienna
action filter_type
action find_reverse
entity Vienna
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Vienna']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . ?c property:applies_to_jurisdiction resource:Vienna }
[]
occupation
Q23711521
SYSTEM
Member of the regional parliament of Vienna
Q23711521
(c(Q12737077),P1001,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P1001
type Q12737077
[ANSWER] applies to jurisdiction over that administrative territory
[{'concept': 'Q12737077'}, 'P1001', 'Q1741']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . ?c property:P1001 resource:Q1741 }
Member of the regional parliament of Vienna
Member of the regional parliament of Vienna applies to jurisdiction over that administrative territory
Member of the regional parliament of Vienna
action filter_type
action find_reverse
entity Vienna
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Vienna']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . ?c property:applies_to_jurisdiction resource:Vienna }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23711521
P361
Q320501
USER
What is that occupation a component of ?
(Q23711521,P361,c(Q320501))
action filter_type
action find
entity Q23711521
relation P361
type Q320501
['Q23711521', 'P361', {'concept': 'Q320501'}]
SELECT DISTINCT ?r WHERE { resource:Q23711521 property:P361 ?r . ?r rdf:type ontology:Q320501 }
Member of the regional parliament of Vienna
action filter_type
action find
entity Member of the regional parliament of Vienna
relation part of
type Landtag
['Member of the regional parliament of Vienna', 'part of', {'concept': 'Landtag'}]
SELECT DISTINCT ?r WHERE { resource:Member_of_the_regional_parliament_of_Vienna property:part_of ?r . ?r rdf:type ontology:Landtag }
[]
Landtag
Q1796480
SYSTEM
Landtag and City Council of Vienna
Q1796480
(Q23711521,P361,c(Q320501))
action filter_type
action find
entity Q23711521
relation P361
type Q320501
That occupation a component of is the [ANSWER]
['Q23711521', 'P361', {'concept': 'Q320501'}]
SELECT DISTINCT ?r WHERE { resource:Q23711521 property:P361 ?r . ?r rdf:type ontology:Q320501 }
Landtag and City Council of Vienna
That occupation a component of is the Landtag and City Council of Vienna
Landtag and City Council of Vienna
action filter_type
action find
entity Member of the regional parliament of Vienna
relation part of
type Landtag
['Member of the regional parliament of Vienna', 'part of', {'concept': 'Landtag'}]
SELECT DISTINCT ?r WHERE { resource:Member_of_the_regional_parliament_of_Vienna property:part_of ?r . ?r rdf:type ontology:Landtag }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1796480 Q736535
P194
Q56061
USER
Does Colan, Cornwall have that Landtag as its legislative body ?
(Q736535,P194,Q1796480)
action is_in
entity Q736535
action find
entity Q1796480
relation P194
['Q736535', 'P194', 'Q1796480']
ASK WHERE { resource:Q1796480 property:P194 resource:Q736535 }
Landtag and City Council of Vienna Colan, Cornwall
action is_in
entity Colan, Cornwall
action find
entity Landtag and City Council of Vienna
relation legislative body
['Colan, Cornwall', 'legislative body', 'Landtag and City Council of Vienna']
ASK WHERE { resource:Landtag_and_City_Council_of_Vienna property:legislative_body resource:Colan,_Cornwall }
[]
administrative territorial entity
SYSTEM
NO
(Q736535,P194,Q1796480)
action is_in
entity Q736535
action find
entity Q1796480
relation P194
[ANSWER]
['Q736535', 'P194', 'Q1796480']
ASK WHERE { resource:Q1796480 property:P194 resource:Q736535 }
No
action is_in
entity Colan, Cornwall
action find
entity Landtag and City Council of Vienna
relation legislative body
['Colan, Cornwall', 'legislative body', 'Landtag and City Council of Vienna']
ASK WHERE { resource:Landtag_and_City_Council_of_Vienna property:legislative_body resource:Colan,_Cornwall }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q23711521 Q9279 Q1741
P1001
Q56061
USER
Does Member of the regional parliament of Vienna have jurisdiction over Bandar Seri Begawan and Vienna ?
(Q23711521,P1001,Q9279) (Q23711521,P1001,Q1741)
action is_in
entity Q23711521
action intersection
action find_reverse
entity Q9279
relation P1001
action find_reverse
entity Q1741
relation P1001
['Q23711521', 'P1001', 'Q9279'] ['Q23711521', 'P1001', 'Q1741']
ASK WHERE { resource:Q23711521 property:P1001 resource:Q9279 . resource:Q23711521 property:P1001 resource:Q1741 }
Member of the regional parliament of Vienna Bandar Seri Begawan Vienna
action is_in
entity Member of the regional parliament of Vienna
action intersection
action find_reverse
entity Bandar Seri Begawan
relation applies to jurisdiction
action find_reverse
entity Vienna
relation applies to jurisdiction
['Member of the regional parliament of Vienna', 'applies to jurisdiction', 'Bandar Seri Begawan'] ['Member of the regional parliament of Vienna', 'applies to jurisdiction', 'Vienna']
ASK WHERE { resource:Member_of_the_regional_parliament_of_Vienna property:applies_to_jurisdiction resource:Bandar_Seri_Begawan . resource:Member_of_the_regional_parliament_of_Vienna property:applies_to_jurisdiction resource:Vienna }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q23711521,P1001,Q9279) (Q23711521,P1001,Q1741)
action is_in
entity Q23711521
action intersection
action find_reverse
entity Q9279
relation P1001
action find_reverse
entity Q1741
relation P1001
[ANSWER]
['Q23711521', 'P1001', 'Q9279'] ['Q23711521', 'P1001', 'Q1741']
ASK WHERE { resource:Q23711521 property:P1001 resource:Q9279 . resource:Q23711521 property:P1001 resource:Q1741 }
NO and YES respectively
action is_in
entity Member of the regional parliament of Vienna
action intersection
action find_reverse
entity Bandar Seri Begawan
relation applies to jurisdiction
action find_reverse
entity Vienna
relation applies to jurisdiction
['Member of the regional parliament of Vienna', 'applies to jurisdiction', 'Bandar Seri Begawan'] ['Member of the regional parliament of Vienna', 'applies to jurisdiction', 'Vienna']
ASK WHERE { resource:Member_of_the_regional_parliament_of_Vienna property:applies_to_jurisdiction resource:Bandar_Seri_Begawan . resource:Member_of_the_regional_parliament_of_Vienna property:applies_to_jurisdiction resource:Vienna }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q9402
P921
Q12737077 Q191067 Q386724
USER
How many occupations were the main subjects in the work less number of articles or works than ninja ?
(c(Q191067)|c(Q386724),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q9402
relation P921
type Q191067
type Q386724
[[{'concept': 'Q191067'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?v ) WHERE { { ?g rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q191067 . ?h property:P921 ?g } UNION { ?h property:P921 ?g . ?h rdf:type ontology:Q386724 . ?g rdf:type ontology:Q12737077 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:P921 resource:Q9402 . { ?d rdf:type ?p . VALUES ( ?p ) { ( ontology:Q386724 ) ( ontology:Q191067 ) } } } } . FILTER ( ?v < ?r ) }
ninja
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity ninja
relation main subject
type article
type work
[[{'concept': 'article'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?v ) WHERE { { ?g rdf:type ontology:occupation . ?h rdf:type ontology:article . ?h property:main_subject ?g } UNION { ?h property:main_subject ?g . ?h rdf:type ontology:work . ?g rdf:type ontology:occupation } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:main_subject resource:ninja . { ?d rdf:type ?p . VALUES ( ?p ) { ( ontology:work ) ( ontology:article ) } } } } . FILTER ( ?v < ?r ) }
[]
occupation article work
SYSTEM
92
Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q2259532 Q1674312 Q361593 Q1856798 Q16707842
(c(Q191067)|c(Q386724),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q9402
relation P921
type Q191067
type Q386724
[ANSWER]
[[{'concept': 'Q191067'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?v ) WHERE { { ?g rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q191067 . ?h property:P921 ?g } UNION { ?h property:P921 ?g . ?h rdf:type ontology:Q386724 . ?g rdf:type ontology:Q12737077 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:P921 resource:Q9402 . { ?d rdf:type ?p . VALUES ( ?p ) { ( ontology:Q386724 ) ( ontology:Q191067 ) } } } } . FILTER ( ?v < ?r ) }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist actor writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar double agent member of the Lok Sabha soldier bishop member of parliament violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil rugby league player artist cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian photographer peasant missionary United States federal judge musician poet medical examiner police officer aviator statesman political scientist cleric rag-and-bone man police officer baseball umpire Member of Parliament in the United Kingdom
92
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity ninja
relation main subject
type article
type work
[[{'concept': 'article'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?v ) WHERE { { ?g rdf:type ontology:occupation . ?h rdf:type ontology:article . ?h property:main_subject ?g } UNION { ?h property:main_subject ?g . ?h rdf:type ontology:work . ?g rdf:type ontology:occupation } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:main_subject resource:ninja . { ?d rdf:type ?p . VALUES ( ?p ) { ( ontology:work ) ( ontology:article ) } } } } . FILTER ( ?v < ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741
P190
Q515
USER
Which cities are the sister cities of Vienna ?
(Q1741,P190,c(Q515))
action filter_type
action find
entity Q1741
relation P190
type Q515
['Q1741', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q1741 property:P190 ?d . ?d rdf:type ontology:Q515 }
Vienna
action filter_type
action find
entity Vienna
relation sister city
type city
['Vienna', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Vienna property:sister_city ?d . ?d rdf:type ontology:city }
[]
city
Q1899 Q14960 Q3572
SYSTEM
Kyiv, Brno, Tunis
Q3572 Q1844 Q1899 Q14960
(Q1741,P190,c(Q515))
action filter_type
action find
entity Q1741
relation P190
type Q515
[ANSWERS] are the sister cities of Vienna
['Q1741', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q1741 property:P190 ?d . ?d rdf:type ontology:Q515 }
Tunis Vaduz Kyiv Brno
Kyiv, Brno and Tunis are the sister cities of Vienna
Kyiv Brno Tunis
action filter_type
action find
entity Vienna
relation sister city
type city
['Vienna', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Vienna property:sister_city ?d . ?d rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1899 Q14960 Q3572
P190
Q515
USER
Which cities are twin towns of Kyiv, Brno and Tunis ?
(Q1899,P190,c(Q515)) (Q14960,P190,c(Q515)) (Q3572,P190,c(Q515))
action union
action filter_type
action find
entity Q1899
relation P190
type Q515
action filter_type
action find
entity Q14960
relation P190
type Q515
action filter_type
action find
entity Q3572
relation P190
type Q515
['Q1899', 'P190', {'concept': 'Q515'}] ['Q14960', 'P190', {'concept': 'Q515'}] ['Q3572', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { ?i property:P190 ?l . VALUES ( ?i ) { ( resource:Q1899 ) ( resource:Q14960 ) } }
Kyiv Brno Tunis
action union
action filter_type
action find
entity Kyiv
relation sister city
type city
action filter_type
action find
entity Brno
relation sister city
type city
action filter_type
action find
entity Tunis
relation sister city
type city
['Kyiv', 'sister city', {'concept': 'city'}] ['Brno', 'sister city', {'concept': 'city'}] ['Tunis', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { ?i property:sister_city ?l . VALUES ( ?i ) { ( resource:Kyiv ) ( resource:Brno ) } }
[]
city
Q1486 Q1773 Q23482
SYSTEM
Buenos Aires, Riga, Marseille
Q1773 Q42622 Q2079 Q19689 Q1486 Q2887 Q1953 Q3926 Q2079 Q23482 Q3861 Q2887
(Q1899,P190,c(Q515)) (Q14960,P190,c(Q515)) (Q3572,P190,c(Q515))
action union
action filter_type
action find
entity Q1899
relation P190
type Q515
action filter_type
action find
entity Q14960
relation P190
type Q515
action filter_type
action find
entity Q3572
relation P190
type Q515
[ANSWERS] are twin towns of Kyiv, Brno and Tunis
['Q1899', 'P190', {'concept': 'Q515'}] ['Q14960', 'P190', {'concept': 'Q515'}] ['Q3572', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { ?i property:P190 ?l . VALUES ( ?i ) { ( resource:Q1899 ) ( resource:Q14960 ) } }
Riga Suzhou Leipzig Tirana Buenos Aires Santiago Yerevan Pretoria Leipzig Marseille Doha Santiago
Buenos Aires, Riga and Marseille are twin towns of Kyiv, Brno and Tunis
Buenos Aires Riga Marseille
action union
action filter_type
action find
entity Kyiv
relation sister city
type city
action filter_type
action find
entity Brno
relation sister city
type city
action filter_type
action find
entity Tunis
relation sister city
type city
['Kyiv', 'sister city', {'concept': 'city'}] ['Brno', 'sister city', {'concept': 'city'}] ['Tunis', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { ?i property:sister_city ?l . VALUES ( ?i ) { ( resource:Kyiv ) ( resource:Brno ) } }
[]