Simple Question (Direct)
Simple Question
Q3127733
P54
Q12973014
USER
What is Harri Ilvonen a member of ?
(Q3127733,P54,c(Q12973014))
action filter_type
action find
entity Q3127733
relation P54
type Q12973014
['Q3127733', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12973014 . resource:Q3127733 property:P54 ?u }
Harri Ilvonen
action filter_type
action find
entity Harri Ilvonen
relation member of sports team
type sports team
['Harri Ilvonen', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sports_team . resource:Harri_Ilvonen property:member_of_sports_team ?u }
[]
sports team
Q1419127
SYSTEM
Tappara
Q1419127
(Q3127733,P54,c(Q12973014))
action filter_type
action find
entity Q3127733
relation P54
type Q12973014
Harri Ilvonen a member of is [ANSWER]
['Q3127733', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12973014 . resource:Q3127733 property:P54 ?u }
Tappara
Harri Ilvonen a member of is Tappara
Tappara
action filter_type
action find
entity Harri Ilvonen
relation member of sports team
type sports team
['Harri Ilvonen', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sports_team . resource:Harri_Ilvonen property:member_of_sports_team ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1419127
P466
Q811430
USER
Which constructions are occupied by that sports team ?
(c(Q811430),P466,Q1419127)
action filter_type
action find_reverse
entity Q1419127
relation P466
type Q811430
[{'concept': 'Q811430'}, 'P466', 'Q1419127']
SELECT DISTINCT ?a WHERE { ?a property:P466 resource:Q1419127 . ?a rdf:type ontology:Q811430 }
Tappara
action filter_type
action find_reverse
entity Tappara
relation occupant
type construction
[{'concept': 'construction'}, 'occupant', 'Tappara']
SELECT DISTINCT ?a WHERE { ?a property:occupant resource:Tappara . ?a rdf:type ontology:construction }
[]
construction
Q7681773 Q765643
SYSTEM
Tampereen monitoimiareena, Tampere Ice Stadium
Q7681773 Q765643
(c(Q811430),P466,Q1419127)
action filter_type
action find_reverse
entity Q1419127
relation P466
type Q811430
[ANSWERS] are occupied by that sports team
[{'concept': 'Q811430'}, 'P466', 'Q1419127']
SELECT DISTINCT ?a WHERE { ?a property:P466 resource:Q1419127 . ?a rdf:type ontology:Q811430 }
Tampereen monitoimiareena Tampere Ice Stadium
Tampereen monitoimiareena and Tampere Ice Stadium are occupied by that sports team
Tampereen monitoimiareena Tampere Ice Stadium
action filter_type
action find_reverse
entity Tappara
relation occupant
type construction
[{'concept': 'construction'}, 'occupant', 'Tappara']
SELECT DISTINCT ?a WHERE { ?a property:occupant resource:Tappara . ?a rdf:type ontology:construction }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2607961 Q1419127
P17
Q15617994
USER
Which administrative territories are Tappara or Ikh-Uul situated in ?
OR((Q1419127,P17,c(Q15617994)), (Q2607961,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1419127
relation P17
action find
entity Q2607961
relation P17
type Q15617994
{'OR': [['Q1419127', 'P17', {'concept': 'Q15617994'}], ['Q2607961', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1419127 property:P17 ?w } UNION { resource:Q2607961 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Ikh-Uul Tappara
action filter_type
action union
action find
entity Tappara
relation country
action find
entity Ikh-Uul
relation country
type designation for an administrative territorial entity
{'OR': [['Tappara', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ikh-Uul', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Tappara property:country ?w } UNION { resource:Ikh-Uul property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q711
SYSTEM
Finland, Mongolia
Q33 Q711
OR((Q1419127,P17,c(Q15617994)), (Q2607961,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1419127
relation P17
action find
entity Q2607961
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q1419127', 'P17', {'concept': 'Q15617994'}], ['Q2607961', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1419127 property:P17 ?w } UNION { resource:Q2607961 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Finland Mongolia
Which administrative territories are Tappara or Ikh-Uul situated in
Finland Mongolia
action filter_type
action union
action find
entity Tappara
relation country
action find
entity Ikh-Uul
relation country
type designation for an administrative territorial entity
{'OR': [['Tappara', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ikh-Uul', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Tappara property:country ?w } UNION { resource:Ikh-Uul property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q811430 Q2342494 Q838948
USER
Which constructions are expressed in exactly 1 collectables or works of art ?
(c(Q2342494)|c(Q838948),P180,c(Q811430))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q811430
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q811430
type Q838948
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q811430'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) ?p WHERE { { ?p rdf:type ontology:Q811430 . ?d rdf:type ontology:Q2342494 . ?d property:P180 ?p } UNION { ?d rdf:type ontology:Q838948 . ?p rdf:type ontology:Q811430 . ?d property:P180 ?p } } GROUP BY ?p } . FILTER ( ?t = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type construction
type collectable
action find_reverse_tuple_counts
relation depicts
type construction
type work of art
value 1
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'depicts', {'concept': 'construction'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) ?p WHERE { { ?p rdf:type ontology:construction . ?d rdf:type ontology:collectable . ?d property:depicts ?p } UNION { ?d rdf:type ontology:work_of_art . ?p rdf:type ontology:construction . ?d property:depicts ?p } } GROUP BY ?p } . FILTER ( ?t = 1 ) }
[]
construction collectable work of art
Q154504 Q4989906 Q35509
SYSTEM
Siegfried Line, monument, cave
Q4989906 Q154504 Q35509 Q12280 Q7550889 Q48963
(c(Q2342494)|c(Q838948),P180,c(Q811430))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q811430
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q811430
type Q838948
value 1
[ANSWERS] are expressed in exactly 1 collectables or works of art
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q811430'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) ?p WHERE { { ?p rdf:type ontology:Q811430 . ?d rdf:type ontology:Q2342494 . ?d property:P180 ?p } UNION { ?d rdf:type ontology:Q838948 . ?p rdf:type ontology:Q811430 . ?d property:P180 ?p } } GROUP BY ?p } . FILTER ( ?t = 1 ) }
monument Siegfried Line cave bridge combat vehicle Labyrinth
Siegfried Line, monument and cave are expressed in exactly 1 collectables or works of art
Siegfried Line monument cave
action equal
action union
action find_reverse_tuple_counts
relation depicts
type construction
type collectable
action find_reverse_tuple_counts
relation depicts
type construction
type work of art
value 1
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'depicts', {'concept': 'construction'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) ?p WHERE { { ?p rdf:type ontology:construction . ?d rdf:type ontology:collectable . ?d property:depicts ?p } UNION { ?d rdf:type ontology:work_of_art . ?p rdf:type ontology:construction . ?d property:depicts ?p } } GROUP BY ?p } . FILTER ( ?t = 1 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P366
Q811430 Q3947
USER
How many constructions are considered to be the main utilization of around the same number of houses as that construction ?
(c(Q3947),P366,c(Q811430))
[{'concept': 'Q3947'}, 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q21263333 ?y . ?z rdf:type ontology:Q20019676 . ?y rdf:type ontology:Q385378 }
[{'concept': 'house'}, 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:use ?y . ?z rdf:type ontology:house . ?y rdf:type ontology:construction }
[]
construction house
Comparative|Count over More/Less|Single entity type|Clarification
Q4989906
SYSTEM
Did you mean monument ?
(c(Q3947),P366,c(Q811430))
[ANSWER]
[{'concept': 'Q3947'}, 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q21263333 ?y . ?z rdf:type ontology:Q20019676 . ?y rdf:type ontology:Q385378 }
Did you mean monument ?
monument
[{'concept': 'house'}, 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:use ?y . ?z rdf:type ontology:house . ?y rdf:type ontology:construction }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q3947),P366,c(Q811430))
[{'concept': 'Q3947'}, 'P366', {'concept': 'Q811430'}]
[{'concept': 'house'}, 'use', {'concept': 'construction'}]
[]
SYSTEM
15
Q12280 Q4989906 Q11707 Q494829 Q1362225 Q12518 Q1370598 Q174782 Q148319 Q190157 Q641226 Q18674739 Q55488 Q39715 Q335261
(c(Q3947),P366,c(Q811430))
[ANSWER]
[{'concept': 'Q3947'}, 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q21263333 ?y . ?z rdf:type ontology:Q20019676 . ?y rdf:type ontology:Q385378 }
bridge monument restaurant bus station warehouse tower place of worship square planetarium transmitter arena event venue railway station lighthouse ornament
15
[{'concept': 'house'}, 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:use ?y . ?z rdf:type ontology:house . ?y rdf:type ontology:construction }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q302
P20
Q8502
USER
Where did Jesus Christ expire ?
(Q302,P20,c(Q8502))
action filter_type
action find
entity Q302
relation P20
type Q8502
['Q302', 'P20', {'concept': 'Q8502'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q8502 . resource:Q302 property:P20 ?z }
Jesus Christ
action filter_type
action find
entity Jesus Christ
relation place of death
type mountain
['Jesus Christ', 'place of death', {'concept': 'mountain'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:mountain . resource:Jesus_Christ property:place_of_death ?z }
[]
mountain
Q170516
SYSTEM
Calvary
Q170516
(Q302,P20,c(Q8502))
action filter_type
action find
entity Q302
relation P20
type Q8502
Jesus Christ expired [ANSWER]
['Q302', 'P20', {'concept': 'Q8502'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q8502 . resource:Q302 property:P20 ?z }
Calvary
Jesus Christ expired Calvary
Calvary
action filter_type
action find
entity Jesus Christ
relation place of death
type mountain
['Jesus Christ', 'place of death', {'concept': 'mountain'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:mountain . resource:Jesus_Christ property:place_of_death ?z }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q170516 Q6880679
P138
Q838948
USER
Does Mit Jayenge Mitane Wale have that mountain as its namesake ?
(Q6880679,P138,Q170516)
action is_in
entity Q6880679
action find
entity Q170516
relation P138
['Q6880679', 'P138', 'Q170516']
ASK WHERE { resource:Q170516 property:P138 resource:Q6880679 }
Calvary Mit Jayenge Mitane Wale
action is_in
entity Mit Jayenge Mitane Wale
action find
entity Calvary
relation named after
['Mit Jayenge Mitane Wale', 'named after', 'Calvary']
ASK WHERE { resource:Calvary property:named_after resource:Mit_Jayenge_Mitane_Wale }
[]
work of art
SYSTEM
NO
(Q6880679,P138,Q170516)
action is_in
entity Q6880679
action find
entity Q170516
relation P138
[ANSWER]
['Q6880679', 'P138', 'Q170516']
ASK WHERE { resource:Q170516 property:P138 resource:Q6880679 }
No
action is_in
entity Mit Jayenge Mitane Wale
action find
entity Calvary
relation named after
['Mit Jayenge Mitane Wale', 'named after', 'Calvary']
ASK WHERE { resource:Calvary property:named_after resource:Mit_Jayenge_Mitane_Wale }
[]