Simple Question (Direct)
Simple Question
Q785231
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Harry Dent ?
(Q785231,P27,c(Q15617994))
action filter_type
action find
entity Q785231
relation P27
type Q15617994
['Q785231', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q785231 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Harry Dent
action filter_type
action find
entity Harry Dent
relation country of citizenship
type designation for an administrative territorial entity
['Harry Dent', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Harry_Dent property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q785231,P27,c(Q15617994))
action filter_type
action find
entity Q785231
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Harry Dent
['Q785231', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q785231 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of citizenship of Harry Dent
United States of America
action filter_type
action find
entity Harry Dent
relation country of citizenship
type designation for an administrative territorial entity
['Harry Dent', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Harry_Dent property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q785231
P69
Q163740
USER
Which nonprofit organization was that person educated at ?
(Q30,P69,c(Q163740))
action filter_type
action find
entity Q785231
relation P69
type Q163740
['Q30', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?j WHERE { resource:Q785231 property:P69 ?j . ?j rdf:type ontology:Q163740 }
Harry Dent
action filter_type
action find
entity Harry Dent
relation educated at
type nonprofit organization
['United States of America', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?j WHERE { resource:Harry_Dent property:educated_at ?j . ?j rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
(Q30,P69,c(Q163740))
action filter_type
action find
entity Q785231
relation P69
type Q163740
That person was educated at [ANSWER]
['Q30', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?j WHERE { resource:Q785231 property:P69 ?j . ?j rdf:type ontology:Q163740 }
Harvard University
That person was educated at Harvard University
Harvard University
action filter_type
action find
entity Harry Dent
relation educated at
type nonprofit organization
['United States of America', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?j WHERE { resource:Harry_Dent property:educated_at ?j . ?j rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q785231
P19
Q5119
USER
Which capital was that person born in ?
(Q13371,P19,c(Q5119))
action filter_type
action find
entity Q785231
relation P19
type Q5119
['Q13371', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?u WHERE { resource:Q785231 property:P19 ?u . ?u rdf:type ontology:Q5119 }
Harry Dent
action filter_type
action find
entity Harry Dent
relation place of birth
type capital
['Harvard University', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?u WHERE { resource:Harry_Dent property:place_of_birth ?u . ?u rdf:type ontology:capital }
[]
capital
Q38453
SYSTEM
Columbia
Q38453
(Q13371,P19,c(Q5119))
action filter_type
action find
entity Q785231
relation P19
type Q5119
That person was born in [ANSWER]
['Q13371', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?u WHERE { resource:Q785231 property:P19 ?u . ?u rdf:type ontology:Q5119 }
Columbia
That person was born in Columbia
Columbia
action filter_type
action find
entity Harry Dent
relation place of birth
type capital
['Harvard University', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?u WHERE { resource:Harry_Dent property:place_of_birth ?u . ?u rdf:type ontology:capital }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q785231
P21
Q290
USER
What is the sex of that person ?
(Q38453,P21,c(Q290))
action filter_type
action find
entity Q785231
relation P21
type Q290
['Q38453', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q785231 property:P21 ?j . ?j rdf:type ontology:Q290 }
Harry Dent
action filter_type
action find
entity Harry Dent
relation gender
type sex
['Columbia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Harry_Dent property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q38453,P21,c(Q290))
action filter_type
action find
entity Q785231
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q38453', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q785231 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Harry Dent
relation gender
type sex
['Columbia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Harry_Dent property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38453
P190
Q56061
USER
Which administrative territories are twin towns of Columbia ?
(Q38453,P190,c(Q56061))
action filter_type
action find
entity Q38453
relation P190
type Q56061
['Q38453', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q38453 property:P190 ?p . ?p rdf:type ontology:Q56061 }
Columbia
action filter_type
action find
entity Columbia
relation sister city
type administrative territorial entity
['Columbia', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Columbia property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q906 Q3761 Q459
SYSTEM
Chelyabinsk, Accra, Plovdiv
Q906 Q3761 Q459
(Q38453,P190,c(Q56061))
action filter_type
action find
entity Q38453
relation P190
type Q56061
[ANSWERS] are twin towns of Columbia
['Q38453', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q38453 property:P190 ?p . ?p rdf:type ontology:Q56061 }
Chelyabinsk Accra Plovdiv
Chelyabinsk, Accra and Plovdiv are twin towns of Columbia
Chelyabinsk Accra Plovdiv
action filter_type
action find
entity Columbia
relation sister city
type administrative territorial entity
['Columbia', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Columbia property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q38453
Q15617994
USER
And which administrative territory?
(Q38453,P190,c(Q15617994))
action filter_type
action find
entity Q38453
relation P190
type Q15617994
['Q38453', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q38453 property:P190 ?j . ?j rdf:type ontology:Q15617994 }
Columbia
action filter_type
action find
entity Columbia
relation sister city
type designation for an administrative territorial entity
['Columbia', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Columbia property:sister_city ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q3758
SYSTEM
Kaiserslautern
Q3758
(Q38453,P190,c(Q15617994))
action filter_type
action find
entity Q38453
relation P190
type Q15617994
[ANSWER]
['Q38453', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q38453 property:P190 ?j . ?j rdf:type ontology:Q15617994 }
Kaiserslautern
Kaiserslautern
action filter_type
action find
entity Columbia
relation sister city
type designation for an administrative territorial entity
['Columbia', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Columbia property:sister_city ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3758
P6
Q502895
USER
Which person is that administrative territory the head of goverment of ?
(Q3758,P6,c(Q502895))
action filter_type
action find
entity Q3758
relation P6
type Q502895
['Q3758', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3758 property:P6 ?r . ?r rdf:type ontology:Q502895 }
Kaiserslautern
action filter_type
action find
entity Kaiserslautern
relation head of government
type common name
['Kaiserslautern', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Kaiserslautern property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
common name
Q1738842
SYSTEM
Klaus Weichel
Q1738842
(Q3758,P6,c(Q502895))
action filter_type
action find
entity Q3758
relation P6
type Q502895
[ANSWER] is that administrative territory the head of goverment of
['Q3758', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3758 property:P6 ?r . ?r rdf:type ontology:Q502895 }
Klaus Weichel
Klaus Weichel is that administrative territory the head of goverment of
Klaus Weichel
action filter_type
action find
entity Kaiserslautern
relation head of government
type common name
['Kaiserslautern', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Kaiserslautern property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P609
Q56061 Q12280 Q83620
USER
Which administrative territories are the destination of max number of bridges and thoroughfares ?
(c(Q12280)|c(Q83620),P609,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
[[{'concept': 'Q12280'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) ?c WHERE { { ?w property:P609 ?c . ?c rdf:type ontology:Q56061 . ?w rdf:type ontology:Q83620 } UNION { ?w property:P609 ?c . ?c rdf:type ontology:Q56061 . ?w rdf:type ontology:Q12280 } } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?f WHERE { VALUES ( ?n ) { ( ontology:Q83620 ) ( ontology:Q12280 ) } . ?z rdf:type ?n } GROUP BY ?f } . FILTER ( ?r = ?a ) }
action argmax
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
[[{'concept': 'bridge'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) ?c WHERE { { ?w property:terminus_location ?c . ?c rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:thoroughfare } UNION { ?w property:terminus_location ?c . ?c rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:bridge } } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?f WHERE { VALUES ( ?n ) { ( ontology:thoroughfare ) ( ontology:bridge ) } . ?z rdf:type ?n } GROUP BY ?f } . FILTER ( ?r = ?a ) }
[]
administrative territorial entity bridge thoroughfare
Q740149
SYSTEM
Södermalm
Q740149
(c(Q12280)|c(Q83620),P609,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
[ANSWER] is the destination of max number of bridges and thoroughfares
[[{'concept': 'Q12280'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) ?c WHERE { { ?w property:P609 ?c . ?c rdf:type ontology:Q56061 . ?w rdf:type ontology:Q83620 } UNION { ?w property:P609 ?c . ?c rdf:type ontology:Q56061 . ?w rdf:type ontology:Q12280 } } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?f WHERE { VALUES ( ?n ) { ( ontology:Q83620 ) ( ontology:Q12280 ) } . ?z rdf:type ?n } GROUP BY ?f } . FILTER ( ?r = ?a ) }
Södermalm
Södermalm is the destination of max number of bridges and thoroughfares
Södermalm
action argmax
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
[[{'concept': 'bridge'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) ?c WHERE { { ?w property:terminus_location ?c . ?c rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:thoroughfare } UNION { ?w property:terminus_location ?c . ?c rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:bridge } } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?f WHERE { VALUES ( ?n ) { ( ontology:thoroughfare ) ( ontology:bridge ) } . ?z rdf:type ?n } GROUP BY ?f } . FILTER ( ?r = ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1622773
P47
Q515
USER
Which cities have a shared border with Hodětín ?
(Q1622773,P47,c(Q515))
action filter_type
action find
entity Q1622773
relation P47
type Q515
['Q1622773', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q1622773 property:P47 ?x . ?x rdf:type ontology:Q515 }
Hodětín
action filter_type
action find
entity Hodětín
relation shares border with
type city
['Hodětín', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Hodětín property:shares_border_with ?x . ?x rdf:type ontology:city }
[]
city
Q1501040 Q1019970
SYSTEM
Hartmanice, Březnice
Q1501040 Q1019970
(Q1622773,P47,c(Q515))
action filter_type
action find
entity Q1622773
relation P47
type Q515
[ANSWERS] have a shared border with Hodětín
['Q1622773', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q1622773 property:P47 ?x . ?x rdf:type ontology:Q515 }
Hartmanice Březnice
Hartmanice and Březnice have a shared border with Hodětín
Hartmanice Březnice
action filter_type
action find
entity Hodětín
relation shares border with
type city
['Hodětín', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Hodětín property:shares_border_with ?x . ?x rdf:type ontology:city }
[]