Simple Question (Direct)
Simple Question
Q1289682
P27
Q15617994
USER
Which administrative territory is the native country of Joakim Sjöhage ?
(Q1289682,P27,c(Q15617994))
action filter_type
action find
entity Q1289682
relation P27
type Q15617994
['Q1289682', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q1289682 property:P27 ?n }
Joakim Sjöhage
action filter_type
action find
entity Joakim Sjöhage
relation country of citizenship
type designation for an administrative territorial entity
['Joakim Sjöhage', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Joakim_Sjöhage property:country_of_citizenship ?n }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q1289682,P27,c(Q15617994))
action filter_type
action find
entity Q1289682
relation P27
type Q15617994
[ANSWER] is the native country of Joakim Sjöhage
['Q1289682', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q1289682 property:P27 ?n }
Sweden
Sweden is the native country of Joakim Sjöhage
Sweden
action filter_type
action find
entity Joakim Sjöhage
relation country of citizenship
type designation for an administrative territorial entity
['Joakim Sjöhage', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Joakim_Sjöhage property:country_of_citizenship ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1289682
P641
Q349
USER
Which sport was that person a part of ?
(Q34,P641,c(Q349))
action filter_type
action find
entity Q1289682
relation P641
type Q349
['Q34', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q1289682 property:P641 ?g . ?g rdf:type ontology:Q349 }
Joakim Sjöhage
action filter_type
action find
entity Joakim Sjöhage
relation sport
type sport
['Sweden', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Joakim_Sjöhage property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q34,P641,c(Q349))
action filter_type
action find
entity Q1289682
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q34', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q1289682 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Joakim Sjöhage
relation sport
type sport
['Sweden', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Joakim_Sjöhage property:sport ?g . ?g rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories have tactful political relations with exactly 25 administrative territories and political territories ?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action equal
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 25
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?g WHERE { FILTER ( ?s = 25 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?g WHERE { { ?g property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } UNION { ?g property:P530 ?e . ?e rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } } GROUP BY ?g } }
action equal
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 25
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?g WHERE { FILTER ( ?s = 25 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?g WHERE { { ?g property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?g } }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q953
SYSTEM
Zambia
Q953
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action equal
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 25
[ANSWER] have tactful political relations with exactly 25 administrative territories and political territories
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?g WHERE { FILTER ( ?s = 25 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?g WHERE { { ?g property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } UNION { ?g property:P530 ?e . ?e rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } } GROUP BY ?g } }
Zambia
Zambia have tactful political relations with exactly 25 administrative territories and political territories
Zambia
action equal
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 25
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?g WHERE { FILTER ( ?s = 25 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?g WHERE { { ?g property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?g } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q953 Q504316
P530
Q15617994
USER
Does Leuchtenberg have diplomatic relationships with that one ?
(Q953,P530,Q504316)
action is_in
entity Q504316
action find
entity Q953
relation P530
['Q953', 'P530', 'Q504316']
ASK WHERE { resource:Q953 property:P530 resource:Q504316 }
Zambia Leuchtenberg
action is_in
entity Leuchtenberg
action find
entity Zambia
relation diplomatic relation
['Zambia', 'diplomatic relation', 'Leuchtenberg']
ASK WHERE { resource:Zambia property:diplomatic_relation resource:Leuchtenberg }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q953,P530,Q504316)
action is_in
entity Q504316
action find
entity Q953
relation P530
[ANSWER]
['Q953', 'P530', 'Q504316']
ASK WHERE { resource:Q953 property:P530 resource:Q504316 }
No
action is_in
entity Leuchtenberg
action find
entity Zambia
relation diplomatic relation
['Zambia', 'diplomatic relation', 'Leuchtenberg']
ASK WHERE { resource:Zambia property:diplomatic_relation resource:Leuchtenberg }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q743077 Q504316
P19
Q502895
USER
Which people have place of birth as Leuchtenberg or Chikkamagaluru district ?
OR((c(Q502895),P19,Q504316), (c(Q502895),P19,Q743077))
action filter_type
action union
action find_reverse
entity Q504316
relation P19
action find_reverse
entity Q743077
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q504316'], [{'concept': 'Q502895'}, 'P19', 'Q743077']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P19 resource:Q504316 } UNION { ?w property:P19 resource:Q743077 } } . ?w rdf:type ontology:Q502895 }
Chikkamagaluru district Leuchtenberg
action filter_type
action union
action find_reverse
entity Leuchtenberg
relation place of birth
action find_reverse
entity Chikkamagaluru district
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Leuchtenberg'], [{'concept': 'common name'}, 'place of birth', 'Chikkamagaluru district']]}
SELECT DISTINCT ?w WHERE { { { ?w property:place_of_birth resource:Leuchtenberg } UNION { ?w property:place_of_birth resource:Chikkamagaluru_district } } . ?w rdf:type ontology:common_name }
[]
common name
Q1927693 Q20685253 Q7648975 Q23883894 Q1692614 Q3351108
SYSTEM
Michael Hardt, Ranya Rao, Sushma K. Rao, Gurunandan, Johann Baptist Walter, Kuvempu
Q1927693 Q20685253 Q7648975 Q23883894 Q1692614 Q3351108
OR((c(Q502895),P19,Q504316), (c(Q502895),P19,Q743077))
action filter_type
action union
action find_reverse
entity Q504316
relation P19
action find_reverse
entity Q743077
relation P19
type Q502895
[ANSWERS] have place of birth as Leuchtenberg or Chikkamagaluru district
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q504316'], [{'concept': 'Q502895'}, 'P19', 'Q743077']]}
SELECT DISTINCT ?w WHERE { { { ?w property:P19 resource:Q504316 } UNION { ?w property:P19 resource:Q743077 } } . ?w rdf:type ontology:Q502895 }
Michael Hardt Ranya Rao Sushma K. Rao Gurunandan Johann Baptist Walter Kuvempu
Michael Hardt, Ranya Rao, Sushma K. Rao, Gurunandan, Johann Baptist Walter and Kuvempu have place of birth as Leuchtenberg or Chikkamagaluru district
Michael Hardt Ranya Rao Sushma K. Rao Gurunandan Johann Baptist Walter Kuvempu
action filter_type
action union
action find_reverse
entity Leuchtenberg
relation place of birth
action find_reverse
entity Chikkamagaluru district
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Leuchtenberg'], [{'concept': 'common name'}, 'place of birth', 'Chikkamagaluru district']]}
SELECT DISTINCT ?w WHERE { { { ?w property:place_of_birth resource:Leuchtenberg } UNION { ?w property:place_of_birth resource:Chikkamagaluru_district } } . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1927693 Q20685253 Q7648975 Q23883894 Q1692614 Q3351108
P21
Q290
USER
Which sexes do those people belong to ?
(Q1927693,P21,c(Q290)) (Q20685253,P21,c(Q290)) (Q7648975,P21,c(Q290)) (Q23883894,P21,c(Q290)) (Q1692614,P21,c(Q290)) (Q3351108,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q1927693', 'P21', {'concept': 'Q290'}] ['Q20685253', 'P21', {'concept': 'Q290'}] ['Q7648975', 'P21', {'concept': 'Q290'}] ['Q23883894', 'P21', {'concept': 'Q290'}] ['Q1692614', 'P21', {'concept': 'Q290'}] ['Q3351108', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . VALUES ( ?b ) { ( resource:Q1927693 ) ( resource:Q20685253 ) ( resource:Q7648975 ) } . ?b property:P21 ?z }
Michael Hardt Ranya Rao Sushma K. Rao Gurunandan Johann Baptist Walter Kuvempu
action filter_type
action find
entity prev_answer
relation gender
type sex
['Michael Hardt', 'gender', {'concept': 'sex'}] ['Ranya Rao', 'gender', {'concept': 'sex'}] ['Sushma K. Rao', 'gender', {'concept': 'sex'}] ['Gurunandan', 'gender', {'concept': 'sex'}] ['Johann Baptist Walter', 'gender', {'concept': 'sex'}] ['Kuvempu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . VALUES ( ?b ) { ( resource:Michael_Hardt ) ( resource:Ranya_Rao ) ( resource:Sushma_K._Rao ) } . ?b property:gender ?z }
[]
sex
Q6581097 Q6581072 Q6581072
SYSTEM
male for 1st, female for 2nd, 3rd
Q6581097 Q6581072 Q6581072 Q6581097 Q6581097 Q6581097
(Q1927693,P21,c(Q290)) (Q20685253,P21,c(Q290)) (Q7648975,P21,c(Q290)) (Q23883894,P21,c(Q290)) (Q1692614,P21,c(Q290)) (Q3351108,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q1927693', 'P21', {'concept': 'Q290'}] ['Q20685253', 'P21', {'concept': 'Q290'}] ['Q7648975', 'P21', {'concept': 'Q290'}] ['Q23883894', 'P21', {'concept': 'Q290'}] ['Q1692614', 'P21', {'concept': 'Q290'}] ['Q3351108', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . VALUES ( ?b ) { ( resource:Q1927693 ) ( resource:Q20685253 ) ( resource:Q7648975 ) } . ?b property:P21 ?z }
male female female male male male
Those people belong to male, female and female
male female female
action filter_type
action find
entity prev_answer
relation gender
type sex
['Michael Hardt', 'gender', {'concept': 'sex'}] ['Ranya Rao', 'gender', {'concept': 'sex'}] ['Sushma K. Rao', 'gender', {'concept': 'sex'}] ['Gurunandan', 'gender', {'concept': 'sex'}] ['Johann Baptist Walter', 'gender', {'concept': 'sex'}] ['Kuvempu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . VALUES ( ?b ) { ( resource:Michael_Hardt ) ( resource:Ranya_Rao ) ( resource:Sushma_K._Rao ) } . ?b property:gender ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P85
Q484692
USER
What is the anthem for Sweden ?
(Q34,P85,c(Q484692))
action filter_type
action find
entity Q34
relation P85
type Q484692
['Q34', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?x WHERE { resource:Q34 property:P85 ?x . ?x rdf:type ontology:Q484692 }
Sweden
action filter_type
action find
entity Sweden
relation anthem
type hymn
['Sweden', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?x WHERE { resource:Sweden property:anthem ?x . ?x rdf:type ontology:hymn }
[]
hymn
Q133261
SYSTEM
Du gamla, du fria
Q133261
(Q34,P85,c(Q484692))
action filter_type
action find
entity Q34
relation P85
type Q484692
The anthem for Sweden is sang [ANSWER]
['Q34', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?x WHERE { resource:Q34 property:P85 ?x . ?x rdf:type ontology:Q484692 }
Du gamla, du fria
The anthem for Sweden is sang Du gamla, du fria
Du gamla, du fria
action filter_type
action find
entity Sweden
relation anthem
type hymn
['Sweden', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?x WHERE { resource:Sweden property:anthem ?x . ?x rdf:type ontology:hymn }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P138
Q34442
USER
Which roads are named after Sweden ?
(c(Q34442),P138,Q34)
action filter_type
action find_reverse
entity Q34
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q34']
SELECT DISTINCT ?n WHERE { ?n property:P138 resource:Q34 . ?n rdf:type ontology:Q34442 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation named after
type road
[{'concept': 'road'}, 'named after', 'Sweden']
SELECT DISTINCT ?n WHERE { ?n property:named_after resource:Sweden . ?n rdf:type ontology:road }
[]
road
Q874951 Q18961190 Q18961183
SYSTEM
Schwedenplatz, Zweedsestraat, Zweedsestraat
Q874951 Q18961190 Q18961183
(c(Q34442),P138,Q34)
action filter_type
action find_reverse
entity Q34
relation P138
type Q34442
In [ANSWERS] are named after Sweden
[{'concept': 'Q34442'}, 'P138', 'Q34']
SELECT DISTINCT ?n WHERE { ?n property:P138 resource:Q34 . ?n rdf:type ontology:Q34442 }
Schwedenplatz Zweedsestraat Zweedsestraat
In Schwedenplatz, Zweedsestraat and Zweedsestraat are named after Sweden
Schwedenplatz Zweedsestraat Zweedsestraat
action filter_type
action find_reverse
entity Sweden
relation named after
type road
[{'concept': 'road'}, 'named after', 'Sweden']
SELECT DISTINCT ?n WHERE { ?n property:named_after resource:Sweden . ?n rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q874951 Q18961190 Q18961183
P138
Q15617994
USER
Which administrative territories are the origin of Schwedenplatz, Zweedsestraat and Zweedsestraat ?
(Q874951,P138,c(Q15617994)) (Q18961190,P138,c(Q15617994)) (Q18961183,P138,c(Q15617994))
action union
action filter_type
action find
entity Q874951
relation P138
type Q15617994
action filter_type
action find
entity Q18961190
relation P138
type Q15617994
action filter_type
action find
entity Q18961183
relation P138
type Q15617994
['Q874951', 'P138', {'concept': 'Q15617994'}] ['Q18961190', 'P138', {'concept': 'Q15617994'}] ['Q18961183', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?g property:P138 ?r . VALUES ( ?g ) { ( resource:Q874951 ) ( resource:Q18961190 ) } }
Schwedenplatz Zweedsestraat Zweedsestraat
action union
action filter_type
action find
entity Schwedenplatz
relation named after
type designation for an administrative territorial entity
action filter_type
action find
entity Zweedsestraat
relation named after
type designation for an administrative territorial entity
action filter_type
action find
entity Zweedsestraat
relation named after
type designation for an administrative territorial entity
['Schwedenplatz', 'named after', {'concept': 'designation for an administrative territorial entity'}] ['Zweedsestraat', 'named after', {'concept': 'designation for an administrative territorial entity'}] ['Zweedsestraat', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?g property:named_after ?r . VALUES ( ?g ) { ( resource:Schwedenplatz ) ( resource:Zweedsestraat ) } }
[]
designation for an administrative territorial entity
Q34 Q34 Q34
SYSTEM
Sweden
Q34 Q34 Q34
(Q874951,P138,c(Q15617994)) (Q18961190,P138,c(Q15617994)) (Q18961183,P138,c(Q15617994))
action union
action filter_type
action find
entity Q874951
relation P138
type Q15617994
action filter_type
action find
entity Q18961190
relation P138
type Q15617994
action filter_type
action find
entity Q18961183
relation P138
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the origin of Schwedenplatz, Zweedsestraat and Zweedsestraat
['Q874951', 'P138', {'concept': 'Q15617994'}] ['Q18961190', 'P138', {'concept': 'Q15617994'}] ['Q18961183', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?g property:P138 ?r . VALUES ( ?g ) { ( resource:Q874951 ) ( resource:Q18961190 ) } }
Sweden Sweden Sweden
Sweden, Sweden and Sweden are the origin of Schwedenplatz, Zweedsestraat and Zweedsestraat
Sweden Sweden Sweden
action union
action filter_type
action find
entity Schwedenplatz
relation named after
type designation for an administrative territorial entity
action filter_type
action find
entity Zweedsestraat
relation named after
type designation for an administrative territorial entity
action filter_type
action find
entity Zweedsestraat
relation named after
type designation for an administrative territorial entity
['Schwedenplatz', 'named after', {'concept': 'designation for an administrative territorial entity'}] ['Zweedsestraat', 'named after', {'concept': 'designation for an administrative territorial entity'}] ['Zweedsestraat', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?g property:named_after ?r . VALUES ( ?g ) { ( resource:Schwedenplatz ) ( resource:Zweedsestraat ) } }
[]