Simple Question (Direct)
Simple Question
Q125073
P27
Q15617994
USER
Which administrative territories are Egon Karter a civilian of ?
(Q125073,P27,c(Q15617994))
action filter_type
action find
entity Q125073
relation P27
type Q15617994
['Q125073', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q125073 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Egon Karter
action filter_type
action find
entity Egon Karter
relation country of citizenship
type designation for an administrative territorial entity
['Egon Karter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Egon_Karter property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q39
SYSTEM
Czech Republic, Switzerland
Q213 Q39
(Q125073,P27,c(Q15617994))
action filter_type
action find
entity Q125073
relation P27
type Q15617994
[ANSWERS] are Egon Karter a civilian of
['Q125073', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q125073 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Czech Republic Switzerland
Czech Republic and Switzerland are Egon Karter a civilian of
Czech Republic Switzerland
action filter_type
action find
entity Egon Karter
relation country of citizenship
type designation for an administrative territorial entity
['Egon Karter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Egon_Karter property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q213 Q39
P37
Q34770
USER
What are the official languages of those administrative territories ?
(Q213,P37,c(Q34770)) (Q39,P37,c(Q34770))
action filter_type
action find
entity prev_answer
relation P37
type Q34770
['Q213', 'P37', {'concept': 'Q34770'}] ['Q39', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?p ) { ( resource:Q213 ) ( resource:Q39 ) } . ?p property:P37 ?o . ?o rdf:type ontology:Q34770 }
Czech Republic Switzerland
action filter_type
action find
entity prev_answer
relation official language
type language
['Czech Republic', 'official language', {'concept': 'language'}] ['Switzerland', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?p ) { ( resource:Czech_Republic ) ( resource:Switzerland ) } . ?p property:official_language ?o . ?o rdf:type ontology:language }
[]
language
Q9056 Q652
SYSTEM
Czech, Italian
Q9056 Q652
(Q213,P37,c(Q34770)) (Q39,P37,c(Q34770))
action filter_type
action find
entity prev_answer
relation P37
type Q34770
The official languages of those administrative territories are [ANSWERS]
['Q213', 'P37', {'concept': 'Q34770'}] ['Q39', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?p ) { ( resource:Q213 ) ( resource:Q39 ) } . ?p property:P37 ?o . ?o rdf:type ontology:Q34770 }
Czech Italian
The official languages of those administrative territories are Czech and Italian
Czech Italian
action filter_type
action find
entity prev_answer
relation official language
type language
['Czech Republic', 'official language', {'concept': 'language'}] ['Switzerland', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?p ) { ( resource:Czech_Republic ) ( resource:Switzerland ) } . ?p property:official_language ?o . ?o rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213
P163
Q14660
USER
Which flag is associated with Czech Republic ?
(Q213,P163,c(Q14660))
action filter_type
action find
entity Q213
relation P163
type Q14660
['Q213', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q14660 . resource:Q213 property:P163 ?d }
Czech Republic
action filter_type
action find
entity Czech Republic
relation flag
type flag
['Czech Republic', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:flag . resource:Czech_Republic property:flag ?d }
[]
flag
Q127155
SYSTEM
flag of the Czech Republic
Q127155
(Q213,P163,c(Q14660))
action filter_type
action find
entity Q213
relation P163
type Q14660
Republic [ANSWER] is associated with Czech Republic
['Q213', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q14660 . resource:Q213 property:P163 ?d }
flag of the Czech Republic
Republic flag of the Czech Republic is associated with Czech Republic
flag of the Czech Republic
action filter_type
action find
entity Czech Republic
relation flag
type flag
['Czech Republic', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:flag . resource:Czech_Republic property:flag ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q125073
P106
Q12737077
USER
What do Egon Karter do for a living ?
(Q125073,P106,c(Q12737077))
action filter_type
action find
entity Q125073
relation P106
type Q12737077
['Q125073', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q125073 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Egon Karter
action filter_type
action find
entity Egon Karter
relation occupation
type occupation
['Egon Karter', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Egon_Karter property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q177220 Q33999 Q2259451
SYSTEM
singer, actor, stage actor
Q177220 Q33999 Q2259451
(Q125073,P106,c(Q12737077))
action filter_type
action find
entity Q125073
relation P106
type Q12737077
[ANSWERS] Egon Karter do for a living
['Q125073', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q125073 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
singer actor stage actor
Singer, actor and stage actor Egon Karter do for a living
singer actor stage actor
action filter_type
action find
entity Egon Karter
relation occupation
type occupation
['Egon Karter', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Egon_Karter property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q125073
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q177220,P20,c(Q56061)) (Q33999,P20,c(Q56061)) (Q2259451,P20,c(Q56061))
action filter_type
action find
entity Q125073
relation P20
type Q56061
['Q177220', 'P20', {'concept': 'Q56061'}] ['Q33999', 'P20', {'concept': 'Q56061'}] ['Q2259451', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q125073 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Egon Karter
action filter_type
action find
entity Egon Karter
relation place of death
type administrative territorial entity
['singer', 'place of death', {'concept': 'administrative territorial entity'}] ['actor', 'place of death', {'concept': 'administrative territorial entity'}] ['stage actor', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Egon_Karter property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q78
SYSTEM
Basel
Q78
(Q177220,P20,c(Q56061)) (Q33999,P20,c(Q56061)) (Q2259451,P20,c(Q56061))
action filter_type
action find
entity Q125073
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q177220', 'P20', {'concept': 'Q56061'}] ['Q33999', 'P20', {'concept': 'Q56061'}] ['Q2259451', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q125073 property:P20 ?e . ?e rdf:type ontology:Q56061 }
Basel
Basel is the place of death of that person
Basel
action filter_type
action find
entity Egon Karter
relation place of death
type administrative territorial entity
['singer', 'place of death', {'concept': 'administrative territorial entity'}] ['actor', 'place of death', {'concept': 'administrative territorial entity'}] ['stage actor', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Egon_Karter property:place_of_death ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q78 Q8686 Q6556984
P190
Q56061
USER
Is that administrative territory twin city of Shanghai and Tepsicik ?
(Q78,P190,Q8686) (Q78,P190,Q6556984)
action is_in
entity Q78
action intersection
action find_reverse
entity Q8686
relation P190
action find_reverse
entity Q6556984
relation P190
['Q78', 'P190', 'Q8686'] ['Q78', 'P190', 'Q6556984']
ASK WHERE { resource:Q78 property:P190 resource:Q8686 . resource:Q78 property:P190 resource:Q6556984 }
Basel Shanghai Tepsicik
action is_in
entity Basel
action intersection
action find_reverse
entity Shanghai
relation sister city
action find_reverse
entity Tepsicik
relation sister city
['Basel', 'sister city', 'Shanghai'] ['Basel', 'sister city', 'Tepsicik']
ASK WHERE { resource:Basel property:sister_city resource:Shanghai . resource:Basel property:sister_city resource:Tepsicik }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q78,P190,Q8686) (Q78,P190,Q6556984)
action is_in
entity Q78
action intersection
action find_reverse
entity Q8686
relation P190
action find_reverse
entity Q6556984
relation P190
[ANSWER]
['Q78', 'P190', 'Q8686'] ['Q78', 'P190', 'Q6556984']
ASK WHERE { resource:Q78 property:P190 resource:Q8686 . resource:Q78 property:P190 resource:Q6556984 }
YES and NO respectively
action is_in
entity Basel
action intersection
action find_reverse
entity Shanghai
relation sister city
action find_reverse
entity Tepsicik
relation sister city
['Basel', 'sister city', 'Shanghai'] ['Basel', 'sister city', 'Tepsicik']
ASK WHERE { resource:Basel property:sister_city resource:Shanghai . resource:Basel property:sister_city resource:Tepsicik }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q16521 Q391414 Q14660
USER
How many flags express atleast 1 taxons and architectural elements ?
(c(Q14660),P180,c(Q16521)|c(Q391414))
action count
action atleast
action union
action find_tuple_counts
relation P180
type Q14660
type Q16521
action find_tuple_counts
relation P180
type Q14660
type Q391414
value 1
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q16521'}, {'concept': 'Q391414'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?t ) WHERE { { ?w rdf:type ontology:Q14660 . ?a rdf:type ontology:Q16521 . ?w property:P180 ?a } UNION { ?w property:P180 ?a . ?w rdf:type ontology:Q14660 . ?a rdf:type ontology:Q391414 } } GROUP BY ?w } }
action count
action atleast
action union
action find_tuple_counts
relation depicts
type flag
type taxon
action find_tuple_counts
relation depicts
type flag
type architectural element
value 1
[{'concept': 'flag'}, 'depicts', [{'concept': 'taxon'}, {'concept': 'architectural element'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?t ) WHERE { { ?w rdf:type ontology:flag . ?a rdf:type ontology:taxon . ?w property:depicts ?a } UNION { ?w property:depicts ?a . ?w rdf:type ontology:flag . ?a rdf:type ontology:architectural_element } } GROUP BY ?w } }
[]
taxon architectural element flag
SYSTEM
15
Q185285 Q1091279 Q266618 Q599323 Q330517 Q693558 Q103037 Q36005 Q19427 Q19373 Q1418784 Q185271 Q284396 Q170814 Q165641
(c(Q14660),P180,c(Q16521)|c(Q391414))
action count
action atleast
action union
action find_tuple_counts
relation P180
type Q14660
type Q16521
action find_tuple_counts
relation P180
type Q14660
type Q391414
value 1
[ANSWER]
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q16521'}, {'concept': 'Q391414'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?t ) WHERE { { ?w rdf:type ontology:Q14660 . ?a rdf:type ontology:Q16521 . ?w property:P180 ?a } UNION { ?w property:P180 ?a . ?w rdf:type ontology:Q14660 . ?a rdf:type ontology:Q391414 } } GROUP BY ?w } }
Flag of Vanuatu flag of Western Australia Flag of Prince Edward Island flag of the Northern Territory Flag of California flag of Saskatchewan Flag of Uganda flag of Lebanon flag of Oregon Flag of South Carolina Flag of New Brunswick Flag of Papua New Guinea Flag of Kansas Flag of Zambia flag of Kyrgyzstan
15
action count
action atleast
action union
action find_tuple_counts
relation depicts
type flag
type taxon
action find_tuple_counts
relation depicts
type flag
type architectural element
value 1
[{'concept': 'flag'}, 'depicts', [{'concept': 'taxon'}, {'concept': 'architectural element'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?t ) WHERE { { ?w rdf:type ontology:flag . ?a rdf:type ontology:taxon . ?w property:depicts ?a } UNION { ?w property:depicts ?a . ?w rdf:type ontology:flag . ?a rdf:type ontology:architectural_element } } GROUP BY ?w } }
[]