Simple Question (Direct)
Simple Question
Q16576556
P39
Q12737077
USER
What was the position for which Hugo San Martín was appointed ?
(Q16576556,P39,c(Q12737077))
action filter_type
action find
entity Q16576556
relation P39
type Q12737077
['Q16576556', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q16576556 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Hugo San Martín
action filter_type
action find
entity Hugo San Martín
relation position held
type occupation
['Hugo San Martín', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Hugo_San_Martín property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q20081432
SYSTEM
deputy of Bolivia
Q20081432
(Q16576556,P39,c(Q12737077))
action filter_type
action find
entity Q16576556
relation P39
type Q12737077
Bolivia [ANSWER]
['Q16576556', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q16576556 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
deputy of Bolivia
Bolivia deputy of Bolivia
deputy of Bolivia
action filter_type
action find
entity Hugo San Martín
relation position held
type occupation
['Hugo San Martín', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Hugo_San_Martín property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16576556
P21
Q290
USER
Which sex does Hugo San Martín possess ?
(Q16576556,P21,c(Q290))
action filter_type
action find
entity Q16576556
relation P21
type Q290
['Q16576556', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q16576556 property:P21 ?n . ?n rdf:type ontology:Q290 }
Hugo San Martín
action filter_type
action find
entity Hugo San Martín
relation gender
type sex
['Hugo San Martín', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Hugo_San_Martín property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16576556,P21,c(Q290))
action filter_type
action find
entity Q16576556
relation P21
type Q290
Hugo San Martín possesses un [ANSWER]
['Q16576556', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q16576556 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Hugo San Martín possesses un male
male
action filter_type
action find
entity Hugo San Martín
relation gender
type sex
['Hugo San Martín', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Hugo_San_Martín property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q739548
Q290
USER
And how about Roman Kosecki?
(Q739548,P21,c(Q290))
action filter_type
action find
entity Q739548
relation P21
type Q290
['Q739548', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q739548 property:P21 ?a . ?a rdf:type ontology:Q290 }
Roman Kosecki
action filter_type
action find
entity Roman Kosecki
relation gender
type sex
['Roman Kosecki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Roman_Kosecki property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q739548,P21,c(Q290))
action filter_type
action find
entity Q739548
relation P21
type Q290
[ANSWER]
['Q739548', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q739548 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Roman Kosecki
relation gender
type sex
['Roman Kosecki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Roman_Kosecki property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20081432
P1001
Q15617994
USER
Which administrative territory comes under the jurisdiction of deputy of Bolivia ?
(Q20081432,P1001,c(Q15617994))
action filter_type
action find
entity Q20081432
relation P1001
type Q15617994
['Q20081432', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q20081432 property:P1001 ?n . ?n rdf:type ontology:Q15617994 }
deputy of Bolivia
action filter_type
action find
entity deputy of Bolivia
relation applies to jurisdiction
type designation for an administrative territorial entity
['deputy of Bolivia', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:deputy_of_Bolivia property:applies_to_jurisdiction ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q750
SYSTEM
Bolivia
Q750
(Q20081432,P1001,c(Q15617994))
action filter_type
action find
entity Q20081432
relation P1001
type Q15617994
[ANSWER] comes under the jurisdiction of deputy of [ANSWER]
['Q20081432', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q20081432 property:P1001 ?n . ?n rdf:type ontology:Q15617994 }
Bolivia
Bolivia comes under the jurisdiction of deputy of Bolivia
Bolivia
action filter_type
action find
entity deputy of Bolivia
relation applies to jurisdiction
type designation for an administrative territorial entity
['deputy of Bolivia', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:deputy_of_Bolivia property:applies_to_jurisdiction ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q750
P361
Q2221906
USER
What is that administrative territory a component of ?
(Q750,P361,c(Q2221906))
action filter_type
action find
entity Q750
relation P361
type Q2221906
['Q750', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?s WHERE { resource:Q750 property:P361 ?s . ?s rdf:type ontology:Q2221906 }
Bolivia
action filter_type
action find
entity Bolivia
relation part of
type geographic location
['Bolivia', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?s WHERE { resource:Bolivia property:part_of ?s . ?s rdf:type ontology:geographic_location }
[]
geographic location
Q12585
SYSTEM
Latin America
Q12585
(Q750,P361,c(Q2221906))
action filter_type
action find
entity Q750
relation P361
type Q2221906
That administrative territory a component of is from [ANSWER]
['Q750', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?s WHERE { resource:Q750 property:P361 ?s . ?s rdf:type ontology:Q2221906 }
Latin America
That administrative territory a component of is from Latin America
Latin America
action filter_type
action find
entity Bolivia
relation part of
type geographic location
['Bolivia', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?s WHERE { resource:Bolivia property:part_of ?s . ?s rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q750
P30
Q2221906
USER
Which geographic location is Bolivia located in ?
(Q750,P30,c(Q2221906))
action filter_type
action find
entity Q750
relation P30
type Q2221906
['Q750', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { resource:Q750 property:P30 ?p . ?p rdf:type ontology:Q2221906 }
Bolivia
action filter_type
action find
entity Bolivia
relation continent
type geographic location
['Bolivia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { resource:Bolivia property:continent ?p . ?p rdf:type ontology:geographic_location }
[]
geographic location
Q18
SYSTEM
South America
Q18
(Q750,P30,c(Q2221906))
action filter_type
action find
entity Q750
relation P30
type Q2221906
Bolivia is located in [ANSWER]
['Q750', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { resource:Q750 property:P30 ?p . ?p rdf:type ontology:Q2221906 }
South America
Bolivia is located in South America
South America
action filter_type
action find
entity Bolivia
relation continent
type geographic location
['Bolivia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { resource:Bolivia property:continent ?p . ?p rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q750
P610
Q14524493
USER
Which is the highest point of Bolivia ?
(Q750,P610,c(Q14524493))
action filter_type
action find
entity Q750
relation P610
type Q14524493
['Q750', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?r WHERE { resource:Q750 property:P610 ?r . ?r rdf:type ontology:Q14524493 }
Bolivia
action filter_type
action find
entity Bolivia
relation highest point
type terrain
['Bolivia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?r WHERE { resource:Bolivia property:highest_point ?r . ?r rdf:type ontology:terrain }
[]
terrain
Q272593
SYSTEM
Nevado Sajama
Q272593
(Q750,P610,c(Q14524493))
action filter_type
action find
entity Q750
relation P610
type Q14524493
The highest point of Bolivia is the [ANSWER]
['Q750', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?r WHERE { resource:Q750 property:P610 ?r . ?r rdf:type ontology:Q14524493 }
Nevado Sajama
The highest point of Bolivia is the Nevado Sajama
Nevado Sajama
action filter_type
action find
entity Bolivia
relation highest point
type terrain
['Bolivia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?r WHERE { resource:Bolivia property:highest_point ?r . ?r rdf:type ontology:terrain }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q166142 Q2342494
USER
Which administrative territories are exactly 2 applications and collectables set in ?
(c(Q166142)|c(Q2342494),P840,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 2
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?o WHERE { { ?a property:P840 ?o . ?o rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q166142 } UNION { ?a property:P840 ?o . ?o rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q2342494 } } GROUP BY ?o } . FILTER ( ?k = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 2
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?o WHERE { { ?a property:narrative_location ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:application } UNION { ?a property:narrative_location ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:collectable } } GROUP BY ?o } . FILTER ( ?k = 2 ) }
[]
designation for an administrative territorial entity application collectable
Q145 Q212 Q851
SYSTEM
United Kingdom, Ukraine, Saudi Arabia
Q20837 Q1948 Q145 Q712 Q739 Q424 Q851 Q854 Q1045 Q2009 Q2007 Q212 Q817
(c(Q166142)|c(Q2342494),P840,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 2
Exactly 2 applications and collectables are set in the [ANSWERS]
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?o WHERE { { ?a property:P840 ?o . ?o rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q166142 } UNION { ?a property:P840 ?o . ?o rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q2342494 } } GROUP BY ?o } . FILTER ( ?k = 2 ) }
Fanø Manitoba United Kingdom Fiji Colombia Cambodia Saudi Arabia Sri Lanka Somalia Yukon Northwest Territories Ukraine Kuwait
Exactly 2 applications and collectables are set in the United Kingdom, Ukraine and Saudi Arabia
United Kingdom Ukraine Saudi Arabia
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 2
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?o WHERE { { ?a property:narrative_location ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:application } UNION { ?a property:narrative_location ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:collectable } } GROUP BY ?o } . FILTER ( ?k = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q3516658 Q2342494
USER
Which occupations are depicted in max number of heraldic symbols and collectables ?
(c(Q3516658)|c(Q2342494),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
[[{'concept': 'Q3516658'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?o ) { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?l ) WHERE { ?t rdf:type ?s . VALUES ( ?s ) { ( ontology:Q3516658 ) ( ontology:Q2342494 ) } } GROUP BY ?f } } . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?q ) WHERE { { ?b property:P180 ?i . ?i rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q3516658 } UNION { ?i rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q2342494 . ?b property:P180 ?i } } GROUP BY ?i } . FILTER ( ?q = ?o ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
[[{'concept': 'heraldic symbol'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?o ) { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?l ) WHERE { ?t rdf:type ?s . VALUES ( ?s ) { ( ontology:heraldic_symbol ) ( ontology:collectable ) } } GROUP BY ?f } } . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?q ) WHERE { { ?b property:depicts ?i . ?i rdf:type ontology:occupation . ?b rdf:type ontology:heraldic_symbol } UNION { ?i rdf:type ontology:occupation . ?b rdf:type ontology:collectable . ?b property:depicts ?i } } GROUP BY ?i } . FILTER ( ?q = ?o ) }
[]
occupation heraldic symbol collectable
Q170779 Q1250916 Q11900058
SYSTEM
Kassandra, warrior, explorer
Q1250916 Q11900058 Q843281 Q170779
(c(Q3516658)|c(Q2342494),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
[ANSWERS] are depicted in max number of heraldic symbols and collectables
[[{'concept': 'Q3516658'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?o ) { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?l ) WHERE { ?t rdf:type ?s . VALUES ( ?s ) { ( ontology:Q3516658 ) ( ontology:Q2342494 ) } } GROUP BY ?f } } . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?q ) WHERE { { ?b property:P180 ?i . ?i rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q3516658 } UNION { ?i rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q2342494 . ?b property:P180 ?i } } GROUP BY ?i } . FILTER ( ?q = ?o ) }
warrior explorer hobo Kassandra
Kassandra, warrior and explorer are depicted in max number of heraldic symbols and collectables
Kassandra warrior explorer
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
[[{'concept': 'heraldic symbol'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?o ) { SELECT DISTINCT ?f ( COUNT ( ?t ) AS ?l ) WHERE { ?t rdf:type ?s . VALUES ( ?s ) { ( ontology:heraldic_symbol ) ( ontology:collectable ) } } GROUP BY ?f } } . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?q ) WHERE { { ?b property:depicts ?i . ?i rdf:type ontology:occupation . ?b rdf:type ontology:heraldic_symbol } UNION { ?i rdf:type ontology:occupation . ?b rdf:type ontology:collectable . ?b property:depicts ?i } } GROUP BY ?i } . FILTER ( ?q = ?o ) }
[]