Simple Question (Direct)
Simple Question
Q7044320
P641
Q349
USER
Which sport did No Jong-Gun participate in ?
(Q7044320,P641,c(Q349))
action filter_type
action find
entity Q7044320
relation P641
type Q349
['Q7044320', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q7044320 property:P641 ?e . ?e rdf:type ontology:Q349 }
No Jong-Gun
action filter_type
action find
entity No Jong-Gun
relation sport
type sport
['No Jong-Gun', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:No_Jong-Gun property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7044320,P641,c(Q349))
action filter_type
action find
entity Q7044320
relation P641
type Q349
No Jong-Gun participated in [ANSWER]
['Q7044320', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q7044320 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
No Jong-Gun participated in association football
association football
action filter_type
action find
entity No Jong-Gun
relation sport
type sport
['No Jong-Gun', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:No_Jong-Gun property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7044320
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q7044320
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q7044320 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
No Jong-Gun
action filter_type
action find
entity No Jong-Gun
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:No_Jong-Gun property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q7044320
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q7044320 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
South Korea
South Korea is that person an inhabitant of
South Korea
action filter_type
action find
entity No Jong-Gun
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:No_Jong-Gun property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1001
Q15617994 Q192350 Q820655
USER
Which administrative territories are judicially linked to max number of ministries and statutes ?
(c(Q192350)|c(Q820655),P1001,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
[[{'concept': 'Q192350'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?z WHERE { { ?s property:P1001 ?z . ?z rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q192350 } UNION { ?s property:P1001 ?z . ?z rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q820655 } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?m WHERE { VALUES ( ?q ) { ( ontology:Q192350 ) ( ontology:Q820655 ) } . ?v rdf:type ?q } GROUP BY ?m } . FILTER ( ?w = ?y ) }
action argmax
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
[[{'concept': 'ministry'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?z WHERE { { ?s property:applies_to_jurisdiction ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:ministry } UNION { ?s property:applies_to_jurisdiction ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:statute } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?m WHERE { VALUES ( ?q ) { ( ontology:ministry ) ( ontology:statute ) } . ?v rdf:type ?q } GROUP BY ?m } . FILTER ( ?w = ?y ) }
[]
designation for an administrative territorial entity ministry statute
Q20
SYSTEM
Norway
Q20
(c(Q192350)|c(Q820655),P1001,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
[ANSWER] is judicially linked to max number of ministries and statutes
[[{'concept': 'Q192350'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?z WHERE { { ?s property:P1001 ?z . ?z rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q192350 } UNION { ?s property:P1001 ?z . ?z rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q820655 } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?m WHERE { VALUES ( ?q ) { ( ontology:Q192350 ) ( ontology:Q820655 ) } . ?v rdf:type ?q } GROUP BY ?m } . FILTER ( ?w = ?y ) }
Norway
Norway is judicially linked to max number of ministries and statutes
Norway
action argmax
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
[[{'concept': 'ministry'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?z WHERE { { ?s property:applies_to_jurisdiction ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:ministry } UNION { ?s property:applies_to_jurisdiction ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:statute } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?m WHERE { VALUES ( ?q ) { ( ontology:ministry ) ( ontology:statute ) } . ?v rdf:type ?q } GROUP BY ?m } . FILTER ( ?w = ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q884
P610
Q14524493
USER
Which is the highest point of South Korea ?
(Q884,P610,c(Q14524493))
action filter_type
action find
entity Q884
relation P610
type Q14524493
['Q884', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q14524493 . resource:Q884 property:P610 ?r }
South Korea
action filter_type
action find
entity South Korea
relation highest point
type terrain
['South Korea', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:terrain . resource:South_Korea property:highest_point ?r }
[]
terrain
Q494645
SYSTEM
Hallasan
Q494645
(Q884,P610,c(Q14524493))
action filter_type
action find
entity Q884
relation P610
type Q14524493
The highest point of South Korea is the [ANSWER]
['Q884', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q14524493 . resource:Q884 property:P610 ?r }
Hallasan
The highest point of South Korea is the Hallasan
Hallasan
action filter_type
action find
entity South Korea
relation highest point
type terrain
['South Korea', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:terrain . resource:South_Korea property:highest_point ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1259245
Q14524493
USER
And also tell me about San Emigdio Mountains?
(Q1259245,P610,c(Q14524493))
action filter_type
action find
entity Q1259245
relation P610
type Q14524493
['Q1259245', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q14524493 . resource:Q1259245 property:P610 ?u }
San Emigdio Mountains
action filter_type
action find
entity San Emigdio Mountains
relation highest point
type terrain
['San Emigdio Mountains', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:terrain . resource:San_Emigdio_Mountains property:highest_point ?u }
[]
terrain
Q7413805
SYSTEM
San Emigdio Mountain
Q7413805
(Q1259245,P610,c(Q14524493))
action filter_type
action find
entity Q1259245
relation P610
type Q14524493
[ANSWER]
['Q1259245', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q14524493 . resource:Q1259245 property:P610 ?u }
San Emigdio Mountain
San Emigdio Mountain
action filter_type
action find
entity San Emigdio Mountains
relation highest point
type terrain
['San Emigdio Mountains', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:terrain . resource:San_Emigdio_Mountains property:highest_point ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q884 Q16
P530
Q1048835
USER
How many political territories have a diplomatic relationship with South Korea and Canada ?
(Q884,P530,c(Q1048835)) (Q16,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q884
relation P530
type Q1048835
action filter_type
action find
entity Q16
relation P530
type Q1048835
['Q884', 'P530', {'concept': 'Q1048835'}] ['Q16', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q16 property:P530 ?x . ?x rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q1048835 . resource:Q884 property:P530 ?x }
South Korea Canada
action count
action intersection
action filter_type
action find
entity South Korea
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
['South Korea', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Canada', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Canada property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:political_territorial_entity . resource:South_Korea property:diplomatic_relation ?x }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(Q884,P530,c(Q1048835)) (Q16,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q884
relation P530
type Q1048835
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWER]
['Q884', 'P530', {'concept': 'Q1048835'}] ['Q16', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q16 property:P530 ?x . ?x rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q1048835 . resource:Q884 property:P530 ?x }
Australia Germany
2
action count
action intersection
action filter_type
action find
entity South Korea
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
['South Korea', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Canada', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Canada property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:political_territorial_entity . resource:South_Korea property:diplomatic_relation ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P463
Q874405
USER
What social groups were Norway a member of ?
(Q20,P463,c(Q874405))
action filter_type
action find
entity Q20
relation P463
type Q874405
['Q20', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { resource:Q20 property:P463 ?g . ?g rdf:type ontology:Q874405 }
Norway
action filter_type
action find
entity Norway
relation member of
type social group
['Norway', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { resource:Norway property:member_of ?g . ?g rdf:type ontology:social_group }
[]
social group
Q8908 Q1128401 Q782942
SYSTEM
Council of Europe, CGIAR, Australia Group
Q782942 Q1128401 Q8908 Q8932
(Q20,P463,c(Q874405))
action filter_type
action find
entity Q20
relation P463
type Q874405
Norway were the [ANSWERS]
['Q20', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { resource:Q20 property:P463 ?g . ?g rdf:type ontology:Q874405 }
Australia Group CGIAR Council of Europe European Economic Area
Norway were the Council of Europe, CGIAR and Australia Group
Council of Europe CGIAR Australia Group
action filter_type
action find
entity Norway
relation member of
type social group
['Norway', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { resource:Norway property:member_of ?g . ?g rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q884
P1346
Q16510064
USER
Where was South Korea decalred as a victor ?
(c(Q16510064),P1346,Q884)
action filter_type
action find_reverse
entity Q884
relation P1346
type Q16510064
[{'concept': 'Q16510064'}, 'P1346', 'Q884']
SELECT DISTINCT ?s WHERE { ?s property:P1346 resource:Q884 . ?s rdf:type ontology:Q16510064 }
South Korea
action filter_type
action find_reverse
entity South Korea
relation winner
type sporting event
[{'concept': 'sporting event'}, 'winner', 'South Korea']
SELECT DISTINCT ?s WHERE { ?s property:winner resource:South_Korea . ?s rdf:type ontology:sporting_event }
[]
sporting event
Q26208357
SYSTEM
Archery at the 2016 Summer Olympics – Men's team
Q26208357
(c(Q16510064),P1346,Q884)
action filter_type
action find_reverse
entity Q884
relation P1346
type Q16510064
[ANSWER] South Korea was decalred as a victor
[{'concept': 'Q16510064'}, 'P1346', 'Q884']
SELECT DISTINCT ?s WHERE { ?s property:P1346 resource:Q884 . ?s rdf:type ontology:Q16510064 }
Archery at the 2016 Summer Olympics – Men's team
Archery at the 2016 Summer Olympics – Men's team South Korea was decalred as a victor
Archery at the 2016 Summer Olympics – Men's team
action filter_type
action find_reverse
entity South Korea
relation winner
type sporting event
[{'concept': 'sporting event'}, 'winner', 'South Korea']
SELECT DISTINCT ?s WHERE { ?s property:winner resource:South_Korea . ?s rdf:type ontology:sporting_event }
[]