Simple Question (Direct)
Simple Question
Q562523
P1344
Q18608583
USER
What did Lee Chul-seung participate in ?
(Q562523,P1344,c(Q18608583))
action filter_type
action find
entity Q562523
relation P1344
type Q18608583
['Q562523', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q18608583 . resource:Q562523 property:P1344 ?s }
Lee Chul-seung
action filter_type
action find
entity Lee Chul-seung
relation participant of
type recurring sporting event
['Lee Chul-seung', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:recurring_sporting_event . resource:Lee_Chul-seung property:participant_of ?s }
[]
recurring sporting event
Q494906
SYSTEM
2002 Asian Games
Q494906
(Q562523,P1344,c(Q18608583))
action filter_type
action find
entity Q562523
relation P1344
type Q18608583
Lee Chul-seung participated in [ANSWER]
['Q562523', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q18608583 . resource:Q562523 property:P1344 ?s }
2002 Asian Games
Lee Chul-seung participated in 2002 Asian Games
2002 Asian Games
action filter_type
action find
entity Lee Chul-seung
relation participant of
type recurring sporting event
['Lee Chul-seung', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:recurring_sporting_event . resource:Lee_Chul-seung property:participant_of ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q562523
P19
Q56061
USER
Which administrative territory is the birthplace of Lee Chul-seung ?
(Q562523,P19,c(Q56061))
action filter_type
action find
entity Q562523
relation P19
type Q56061
['Q562523', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q562523 property:P19 ?y }
Lee Chul-seung
action filter_type
action find
entity Lee Chul-seung
relation place of birth
type administrative territorial entity
['Lee Chul-seung', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Lee_Chul-seung property:place_of_birth ?y }
[]
administrative territorial entity
Q42078
SYSTEM
Gimcheon
Q42078
(Q562523,P19,c(Q56061))
action filter_type
action find
entity Q562523
relation P19
type Q56061
[ANSWER] is the birthplace of Lee Chul-seung
['Q562523', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q562523 property:P19 ?y }
Gimcheon
Gimcheon is the birthplace of Lee Chul-seung
Gimcheon
action filter_type
action find
entity Lee Chul-seung
relation place of birth
type administrative territorial entity
['Lee Chul-seung', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Lee_Chul-seung property:place_of_birth ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42078
P17
Q15617994
USER
Which administrative territory is that administrative territory located in ?
(Q42078,P17,c(Q15617994))
action filter_type
action find
entity Q42078
relation P17
type Q15617994
['Q42078', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q42078 property:P17 ?j }
Gimcheon
action filter_type
action find
entity Gimcheon
relation country
type designation for an administrative territorial entity
['Gimcheon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gimcheon property:country ?j }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q42078,P17,c(Q15617994))
action filter_type
action find
entity Q42078
relation P17
type Q15617994
That administrative territory is located in [ANSWER]
['Q42078', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q42078 property:P17 ?j }
South Korea
That administrative territory is located in South Korea
South Korea
action filter_type
action find
entity Gimcheon
relation country
type designation for an administrative territorial entity
['Gimcheon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gimcheon property:country ?j }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q884 Q539862
P530
Q15617994
USER
Does Teningen have diplomatic relations with South Korea ?
(Q884,P530,Q539862)
action is_in
entity Q539862
action find
entity Q884
relation P530
['Q884', 'P530', 'Q539862']
ASK WHERE { resource:Q884 property:P530 resource:Q539862 }
South Korea Teningen
action is_in
entity Teningen
action find
entity South Korea
relation diplomatic relation
['South Korea', 'diplomatic relation', 'Teningen']
ASK WHERE { resource:South_Korea property:diplomatic_relation resource:Teningen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q884,P530,Q539862)
action is_in
entity Q539862
action find
entity Q884
relation P530
[ANSWER]
['Q884', 'P530', 'Q539862']
ASK WHERE { resource:Q884 property:P530 resource:Q539862 }
No
action is_in
entity Teningen
action find
entity South Korea
relation diplomatic relation
['South Korea', 'diplomatic relation', 'Teningen']
ASK WHERE { resource:South_Korea property:diplomatic_relation resource:Teningen }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q884
P85
Q484692
USER
What is the national anthem of South Korea ?
(Q884,P85,c(Q484692))
action filter_type
action find
entity Q884
relation P85
type Q484692
['Q884', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q484692 . resource:Q884 property:P85 ?x }
South Korea
action filter_type
action find
entity South Korea
relation anthem
type hymn
['South Korea', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:hymn . resource:South_Korea property:anthem ?x }
[]
hymn
Q193233
SYSTEM
Aegukga
Q193233
(Q884,P85,c(Q484692))
action filter_type
action find
entity Q884
relation P85
type Q484692
The national anthem of South Korea is the [ANSWER]
['Q884', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q484692 . resource:Q884 property:P85 ?x }
Aegukga
The national anthem of South Korea is the Aegukga
Aegukga
action filter_type
action find
entity South Korea
relation anthem
type hymn
['South Korea', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:hymn . resource:South_Korea property:anthem ?x }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q224
Q484692
USER
And how about Croatia?
(Q224,P85,c(Q484692))
action filter_type
action find
entity Q224
relation P85
type Q484692
['Q224', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?s WHERE { resource:Q224 property:P85 ?s . ?s rdf:type ontology:Q484692 }
Croatia
action filter_type
action find
entity Croatia
relation anthem
type hymn
['Croatia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?s WHERE { resource:Croatia property:anthem ?s . ?s rdf:type ontology:hymn }
[]
hymn
Q146502
SYSTEM
Lijepa naša domovino
Q146502
(Q224,P85,c(Q484692))
action filter_type
action find
entity Q224
relation P85
type Q484692
[ANSWER]
['Q224', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?s WHERE { resource:Q224 property:P85 ?s . ?s rdf:type ontology:Q484692 }
Lijepa naša domovino
Lijepa naša domovino
action filter_type
action find
entity Croatia
relation anthem
type hymn
['Croatia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?s WHERE { resource:Croatia property:anthem ?s . ?s rdf:type ontology:hymn }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q146502 Q224 Q555609
P17
Q15617994
USER
Is that hymn present in Croatia and Magdala ?
(Q146502,P17,Q224) (Q146502,P17,Q555609)
action is_in
entity Q146502
action intersection
action find_reverse
entity Q224
relation P17
action find_reverse
entity Q555609
relation P17
['Q146502', 'P17', 'Q224'] ['Q146502', 'P17', 'Q555609']
ASK WHERE { resource:Q146502 property:P17 resource:Q555609 . resource:Q146502 property:P17 resource:Q224 }
Lijepa naša domovino Croatia Magdala
action is_in
entity Lijepa naša domovino
action intersection
action find_reverse
entity Croatia
relation country
action find_reverse
entity Magdala
relation country
['Lijepa naša domovino', 'country', 'Croatia'] ['Lijepa naša domovino', 'country', 'Magdala']
ASK WHERE { resource:Lijepa_naša_domovino property:country resource:Magdala . resource:Lijepa_naša_domovino property:country resource:Croatia }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q146502,P17,Q224) (Q146502,P17,Q555609)
action is_in
entity Q146502
action intersection
action find_reverse
entity Q224
relation P17
action find_reverse
entity Q555609
relation P17
[ANSWER]
['Q146502', 'P17', 'Q224'] ['Q146502', 'P17', 'Q555609']
ASK WHERE { resource:Q146502 property:P17 resource:Q555609 . resource:Q146502 property:P17 resource:Q224 }
YES and NO respectively
action is_in
entity Lijepa naša domovino
action intersection
action find_reverse
entity Croatia
relation country
action find_reverse
entity Magdala
relation country
['Lijepa naša domovino', 'country', 'Croatia'] ['Lijepa naša domovino', 'country', 'Magdala']
ASK WHERE { resource:Lijepa_naša_domovino property:country resource:Magdala . resource:Lijepa_naša_domovino property:country resource:Croatia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q193233 Q192111
P676
Q502895
USER
Did Yun Chi-ho pen the lyrics for Aegukga ?
(Q193233,P676,Q192111)
action is_in
entity Q192111
action find
entity Q193233
relation P676
['Q193233', 'P676', 'Q192111']
ASK WHERE { resource:Q193233 property:P676 resource:Q192111 }
Aegukga Yun Chi-ho
action is_in
entity Yun Chi-ho
action find
entity Aegukga
relation lyrics by
['Aegukga', 'lyrics by', 'Yun Chi-ho']
ASK WHERE { resource:Aegukga property:lyrics_by resource:Yun_Chi-ho }
[]
common name
SYSTEM
YES
(Q193233,P676,Q192111)
action is_in
entity Q192111
action find
entity Q193233
relation P676
[ANSWER]
['Q193233', 'P676', 'Q192111']
ASK WHERE { resource:Q193233 property:P676 resource:Q192111 }
Yes
action is_in
entity Yun Chi-ho
action find
entity Aegukga
relation lyrics by
['Aegukga', 'lyrics by', 'Yun Chi-ho']
ASK WHERE { resource:Aegukga property:lyrics_by resource:Yun_Chi-ho }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P85
Q484692 Q7275 Q271669
USER
How many hymns are the anthems for around 3 states or landforms ?
(c(Q7275)|c(Q271669),P85,c(Q484692))
action count
action approx
action union
action find_reverse_tuple_counts
relation P85
type Q484692
type Q7275
action find_reverse_tuple_counts
relation P85
type Q484692
type Q271669
value 3
[[{'concept': 'Q7275'}, {'concept': 'Q271669'}], 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { FILTER ( ?b = 3 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) ?a WHERE { { ?f property:P85 ?a . ?a rdf:type ontology:Q484692 . ?f rdf:type ontology:Q7275 } UNION { ?f property:P85 ?a . ?a rdf:type ontology:Q484692 . ?f rdf:type ontology:Q271669 } } GROUP BY ?a } }
action count
action approx
action union
action find_reverse_tuple_counts
relation anthem
type hymn
type state
action find_reverse_tuple_counts
relation anthem
type hymn
type landform
value 3
[[{'concept': 'state'}, {'concept': 'landform'}], 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { FILTER ( ?b = 3 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) ?a WHERE { { ?f property:anthem ?a . ?a rdf:type ontology:hymn . ?f rdf:type ontology:state } UNION { ?f property:anthem ?a . ?a rdf:type ontology:hymn . ?f rdf:type ontology:landform } } GROUP BY ?a } }
[]
hymn state landform
SYSTEM
5
Q147367 Q146502 Q131713 Q483590 Q30562
(c(Q7275)|c(Q271669),P85,c(Q484692))
action count
action approx
action union
action find_reverse_tuple_counts
relation P85
type Q484692
type Q7275
action find_reverse_tuple_counts
relation P85
type Q484692
type Q271669
value 3
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q271669'}], 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { FILTER ( ?b = 3 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) ?a WHERE { { ?f property:P85 ?a . ?a rdf:type ontology:Q484692 . ?f rdf:type ontology:Q7275 } UNION { ?f property:P85 ?a . ?a rdf:type ontology:Q484692 . ?f rdf:type ontology:Q271669 } } GROUP BY ?a } }
Hey, Slavs Lijepa naša domovino Wilhelmus Kde domov můj? Gott erhalte Franz den Kaiser
5
action count
action approx
action union
action find_reverse_tuple_counts
relation anthem
type hymn
type state
action find_reverse_tuple_counts
relation anthem
type hymn
type landform
value 3
[[{'concept': 'state'}, {'concept': 'landform'}], 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { FILTER ( ?b = 3 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) ?a WHERE { { ?f property:anthem ?a . ?a rdf:type ontology:hymn . ?f rdf:type ontology:state } UNION { ?f property:anthem ?a . ?a rdf:type ontology:hymn . ?f rdf:type ontology:landform } } GROUP BY ?a } }
[]