Simple Question (Direct)
Simple Question
Q489368
P19
Q515
USER
Where was Byun Chun-Sa born ?
(Q489368,P19,c(Q515))
action filter_type
action find
entity Q489368
relation P19
type Q515
['Q489368', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { resource:Q489368 property:P19 ?b . ?b rdf:type ontology:Q515 }
Byun Chun-Sa
action filter_type
action find
entity Byun Chun-Sa
relation place of birth
type city
['Byun Chun-Sa', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { resource:Byun_Chun-Sa property:place_of_birth ?b . ?b rdf:type ontology:city }
[]
city
Q8684
SYSTEM
Seoul
Q8684
(Q489368,P19,c(Q515))
action filter_type
action find
entity Q489368
relation P19
type Q515
Byun Chun-Sa was born in [ANSWER]
['Q489368', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { resource:Q489368 property:P19 ?b . ?b rdf:type ontology:Q515 }
Seoul
Byun Chun-Sa was born in Seoul
Seoul
action filter_type
action find
entity Byun Chun-Sa
relation place of birth
type city
['Byun Chun-Sa', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { resource:Byun_Chun-Sa property:place_of_birth ?b . ?b rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8684
P937
Q502895
USER
Which people have that city as work location ?
(c(Q502895),P937,Q8684)
action filter_type
action find_reverse
entity Q8684
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q8684']
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q8684 . ?l rdf:type ontology:Q502895 }
Seoul
action filter_type
action find_reverse
entity Seoul
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Seoul']
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:Seoul . ?l rdf:type ontology:common_name }
[]
common name
Q1905307 Q12625844
SYSTEM
Martin Zenker, Hwang Sun-mi
Q1905307 Q12625844
(c(Q502895),P937,Q8684)
action filter_type
action find_reverse
entity Q8684
relation P937
type Q502895
[ANSWERS] have that city as work location
[{'concept': 'Q502895'}, 'P937', 'Q8684']
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q8684 . ?l rdf:type ontology:Q502895 }
Martin Zenker Hwang Sun-mi
Martin Zenker and Hwang Sun-mi have that city as work location
Martin Zenker Hwang Sun-mi
action filter_type
action find_reverse
entity Seoul
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Seoul']
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:Seoul . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8684
P1313
Q12737077
USER
Which occupation is fulfilled by that city ?
(Q1905307,P1313,c(Q12737077)) (Q12625844,P1313,c(Q12737077))
action filter_type
action find
entity Q8684
relation P1313
type Q12737077
['Q1905307', 'P1313', {'concept': 'Q12737077'}] ['Q12625844', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q8684 property:P1313 ?z . ?z rdf:type ontology:Q12737077 }
Seoul
action filter_type
action find
entity Seoul
relation office held by head of government
type occupation
['Martin Zenker', 'office held by head of government', {'concept': 'occupation'}] ['Hwang Sun-mi', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Seoul property:office_held_by_head_of_government ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q488289
SYSTEM
Mayor of Seoul
Q488289
(Q1905307,P1313,c(Q12737077)) (Q12625844,P1313,c(Q12737077))
action filter_type
action find
entity Q8684
relation P1313
type Q12737077
The [ANSWER] is fulfilled by that city
['Q1905307', 'P1313', {'concept': 'Q12737077'}] ['Q12625844', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q8684 property:P1313 ?z . ?z rdf:type ontology:Q12737077 }
Mayor of Seoul
The Mayor of Seoul is fulfilled by that city
Mayor of Seoul
action filter_type
action find
entity Seoul
relation office held by head of government
type occupation
['Martin Zenker', 'office held by head of government', {'concept': 'occupation'}] ['Hwang Sun-mi', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Seoul property:office_held_by_head_of_government ?z . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q502895 Q7725634 Q2342494
USER
Which people are around 1 literary works or collectables a fork of ?
(c(Q7725634)|c(Q2342494),P144,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P144
type Q502895
type Q2342494
value 1
[[{'concept': 'Q7725634'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?z WHERE { { ?h property:P144 ?z . ?z rdf:type ontology:Q502895 . ?h rdf:type ontology:Q7725634 } UNION { ?h property:P144 ?z . ?z rdf:type ontology:Q502895 . ?h rdf:type ontology:Q2342494 } } GROUP BY ?z } . FILTER ( ?l = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation based on
type common name
type literary work
action find_reverse_tuple_counts
relation based on
type common name
type collectable
value 1
[[{'concept': 'literary work'}, {'concept': 'collectable'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?z WHERE { { ?h property:based_on ?z . ?z rdf:type ontology:common_name . ?h rdf:type ontology:literary_work } UNION { ?h property:based_on ?z . ?z rdf:type ontology:common_name . ?h rdf:type ontology:collectable } } GROUP BY ?z } . FILTER ( ?l = 1 ) }
[]
common name literary work collectable
Q1394 Q334993 Q125970
SYSTEM
Vladimir Lenin, Eugene V. Debs, Keigo Higashino
Q125970 Q45260 Q334993 Q22088567 Q1394 Q26267872 Q508218 Q176819 Q13378842
(c(Q7725634)|c(Q2342494),P144,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P144
type Q502895
type Q2342494
value 1
[ANSWERS] are around 1 literary works or collectables a fork of
[[{'concept': 'Q7725634'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?z WHERE { { ?h property:P144 ?z . ?z rdf:type ontology:Q502895 . ?h rdf:type ontology:Q7725634 } UNION { ?h property:P144 ?z . ?z rdf:type ontology:Q502895 . ?h rdf:type ontology:Q2342494 } } GROUP BY ?z } . FILTER ( ?l = 1 ) }
Keigo Higashino Hans Kohlhase Eugene V. Debs Philip Hamilton Vladimir Lenin Marianne Ihlen Nisio Isin Thomas W. Sneddon, Jr. George Lutz
Vladimir Lenin, Eugene V. Debs and Keigo Higashino are around 1 literary works or collectables a fork of
Vladimir Lenin Eugene V. Debs Keigo Higashino
action approx
action union
action find_reverse_tuple_counts
relation based on
type common name
type literary work
action find_reverse_tuple_counts
relation based on
type common name
type collectable
value 1
[[{'concept': 'literary work'}, {'concept': 'collectable'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?z WHERE { { ?h property:based_on ?z . ?z rdf:type ontology:common_name . ?h rdf:type ontology:literary_work } UNION { ?h property:based_on ?z . ?z rdf:type ontology:common_name . ?h rdf:type ontology:collectable } } GROUP BY ?z } . FILTER ( ?l = 1 ) }
[]