Simple Question (Direct)
Simple Question
Q4025853
P641
Q349
USER
What was the sport that Park Chul was a part of ?
(Q4025853,P641,c(Q349))
action filter_type
action find
entity Q4025853
relation P641
type Q349
['Q4025853', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q4025853 property:P641 ?e . ?e rdf:type ontology:Q349 }
Park Chul
action filter_type
action find
entity Park Chul
relation sport
type sport
['Park Chul', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Park_Chul property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4025853,P641,c(Q349))
action filter_type
action find
entity Q4025853
relation P641
type Q349
The sport that Park Chul was a part of was the [ANSWER]
['Q4025853', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q4025853 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
The sport that Park Chul was a part of was the association football
association football
action filter_type
action find
entity Park Chul
relation sport
type sport
['Park Chul', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Park_Chul property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4025853
P21
Q290
USER
What is the sex of that person ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q4025853
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q4025853 property:P21 ?q . ?q rdf:type ontology:Q290 }
Park Chul
action filter_type
action find
entity Park Chul
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Park_Chul property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q4025853
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q4025853 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Park Chul
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Park_Chul property:gender ?q . ?q rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q22938826 Q4025853
P19 P17
Q15617994
USER
Which administrative territories are the places of birth of Park Chul or do Nyakatojo Nursery School belong to ?
OR((Q4025853,P19,c(Q15617994)), (Q22938826,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4025853
relation P19
action find
entity Q22938826
relation P17
type Q15617994
{'OR': [['Q4025853', 'P19', {'concept': 'Q15617994'}], ['Q22938826', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q4025853 property:P19 ?p } UNION { resource:Q22938826 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Nyakatojo Nursery School Park Chul
action filter_type
action union
action find
entity Park Chul
relation place of birth
action find
entity Nyakatojo Nursery School
relation country
type designation for an administrative territorial entity
{'OR': [['Park Chul', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Nyakatojo Nursery School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Park_Chul property:place_of_birth ?p } UNION { resource:Nyakatojo_Nursery_School property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1036 Q884
SYSTEM
Uganda, South Korea
Q1036 Q884
OR((Q4025853,P19,c(Q15617994)), (Q22938826,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4025853
relation P19
action find
entity Q22938826
relation P17
type Q15617994
[ANSWERS] are the places of birth of Park Chul or do Nyakatojo Nursery School belong to
{'OR': [['Q4025853', 'P19', {'concept': 'Q15617994'}], ['Q22938826', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q4025853 property:P19 ?p } UNION { resource:Q22938826 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Uganda South Korea
Uganda and South Korea are the places of birth of Park Chul or do Nyakatojo Nursery School belong to
Uganda South Korea
action filter_type
action union
action find
entity Park Chul
relation place of birth
action find
entity Nyakatojo Nursery School
relation country
type designation for an administrative territorial entity
{'OR': [['Park Chul', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Nyakatojo Nursery School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Park_Chul property:place_of_birth ?p } UNION { resource:Nyakatojo_Nursery_School property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q111519
P530
Q1048835
USER
Do Rio de Moinhos (Sátão) have diplomatic relations with those administrative territories ?
(Q111519,P530,Q1036) (Q111519,P530,Q884)
action is_in
entity prev_answer
action find
entity Q111519
relation P530
['Q111519', 'P530', 'Q1036'] ['Q111519', 'P530', 'Q884']
ASK WHERE { resource:Q111519 property:P530 ?f . VALUES ( ?f ) { ( resource:Q1036 ) ( resource:Q884 ) } }
Rio de Moinhos (Sátão)
action is_in
entity prev_answer
action find
entity Rio de Moinhos (Sátão)
relation diplomatic relation
['Rio de Moinhos (Sátão)', 'diplomatic relation', 'Uganda'] ['Rio de Moinhos (Sátão)', 'diplomatic relation', 'South Korea']
ASK WHERE { resource:Rio_de_Moinhos_(Sátão) property:diplomatic_relation ?f . VALUES ( ?f ) { ( resource:Uganda ) ( resource:South_Korea ) } }
[]
political territorial entity
SYSTEM
NO
(Q111519,P530,Q1036) (Q111519,P530,Q884)
action is_in
entity prev_answer
action find
entity Q111519
relation P530
[ANSWER]
['Q111519', 'P530', 'Q1036'] ['Q111519', 'P530', 'Q884']
ASK WHERE { resource:Q111519 property:P530 ?f . VALUES ( ?f ) { ( resource:Q1036 ) ( resource:Q884 ) } }
No
action is_in
entity prev_answer
action find
entity Rio de Moinhos (Sátão)
relation diplomatic relation
['Rio de Moinhos (Sátão)', 'diplomatic relation', 'Uganda'] ['Rio de Moinhos (Sátão)', 'diplomatic relation', 'South Korea']
ASK WHERE { resource:Rio_de_Moinhos_(Sátão) property:diplomatic_relation ?f . VALUES ( ?f ) { ( resource:Uganda ) ( resource:South_Korea ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q237871
P841
Q186081 Q573 Q502895
USER
How many people have less number of time intervals or days as principal feast day than Catherine of Vadstena ?
(c(Q502895),P841,c(Q186081)|c(Q573))
action count
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
action count
action filter_multi_types
action find
entity Q237871
relation P841
type Q186081
type Q573
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { VALUES ( ?g ) { ( ontology:Q186081 ) ( ontology:Q573 ) } . ?y rdf:type ?g } . resource:Q237871 property:P841 ?y } } . FILTER ( ?q < ?u ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?v WHERE { VALUES ( ?b ) { ( ontology:Q573 ) ( ontology:Q186081 ) } . ?e rdf:type ?b } GROUP BY ?v } }
Catherine of Vadstena
action count
action less
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
action count
action filter_multi_types
action find
entity Catherine of Vadstena
relation feast day
type time interval
type day
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { VALUES ( ?g ) { ( ontology:time_interval ) ( ontology:day ) } . ?y rdf:type ?g } . resource:Catherine_of_Vadstena property:feast_day ?y } } . FILTER ( ?q < ?u ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?v WHERE { VALUES ( ?b ) { ( ontology:day ) ( ontology:time_interval ) } . ?e rdf:type ?b } GROUP BY ?v } }
[]
time interval day common name
SYSTEM
11
Q384117 Q365797 Q3483257 Q679784 Q3483161 Q3483259 Q3483263 Q167477 Q3047912 Q269889 Q2701365
(c(Q502895),P841,c(Q186081)|c(Q573))
action count
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
action count
action filter_multi_types
action find
entity Q237871
relation P841
type Q186081
type Q573
[ANSWER]
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { VALUES ( ?g ) { ( ontology:Q186081 ) ( ontology:Q573 ) } . ?y rdf:type ?g } . resource:Q237871 property:P841 ?y } } . FILTER ( ?q < ?u ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?v WHERE { VALUES ( ?b ) { ( ontology:Q573 ) ( ontology:Q186081 ) } . ?e rdf:type ?b } GROUP BY ?v } }
Aignan of Orleans Ahmad al-Tijani Sidi M'hamed Bou Qobrine Pier Giorgio Frassati Sidi Abder Rahman El Thaelebi Sidi M'hand Oumalek Sidi Mansour Anthony of Padua Seraphina Sforza Joanna, wife of Chuza Thomas Percy, 7th Earl of Northumberland
11
action count
action less
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
action count
action filter_multi_types
action find
entity Catherine of Vadstena
relation feast day
type time interval
type day
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { VALUES ( ?g ) { ( ontology:time_interval ) ( ontology:day ) } . ?y rdf:type ?g } . resource:Catherine_of_Vadstena property:feast_day ?y } } . FILTER ( ?q < ?u ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?v WHERE { VALUES ( ?b ) { ( ontology:day ) ( ontology:time_interval ) } . ?e rdf:type ?b } GROUP BY ?v } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q266756
P841
Q186081 Q573 Q502895
USER
And how about Adela?
(c(Q502895),P841,c(Q186081)|c(Q573))
action count
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
action count
action filter_multi_types
action find
entity Q266756
relation P841
type Q186081
type Q573
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) ?x WHERE { { ?x property:P841 ?q . ?x rdf:type ontology:Q502895 . ?q rdf:type ontology:Q186081 } UNION { ?x property:P841 ?q . ?q rdf:type ontology:Q573 . ?x rdf:type ontology:Q502895 } } GROUP BY ?x } . FILTER ( ?l < ?o ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Q266756 property:P841 ?f . { { ?f rdf:type ontology:Q186081 } UNION { ?f rdf:type ontology:Q573 } } } } }
Adela
action count
action less
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
action count
action filter_multi_types
action find
entity Adela
relation feast day
type time interval
type day
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) ?x WHERE { { ?x property:feast_day ?q . ?x rdf:type ontology:common_name . ?q rdf:type ontology:time_interval } UNION { ?x property:feast_day ?q . ?q rdf:type ontology:day . ?x rdf:type ontology:common_name } } GROUP BY ?x } . FILTER ( ?l < ?o ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Adela property:feast_day ?f . { { ?f rdf:type ontology:time_interval } UNION { ?f rdf:type ontology:day } } } } }
[]
time interval day common name
SYSTEM
11
Q384117 Q365797 Q3483257 Q679784 Q3483161 Q3483259 Q3483263 Q167477 Q3047912 Q269889 Q2701365
(c(Q502895),P841,c(Q186081)|c(Q573))
action count
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
action count
action filter_multi_types
action find
entity Q266756
relation P841
type Q186081
type Q573
[ANSWER]
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) ?x WHERE { { ?x property:P841 ?q . ?x rdf:type ontology:Q502895 . ?q rdf:type ontology:Q186081 } UNION { ?x property:P841 ?q . ?q rdf:type ontology:Q573 . ?x rdf:type ontology:Q502895 } } GROUP BY ?x } . FILTER ( ?l < ?o ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Q266756 property:P841 ?f . { { ?f rdf:type ontology:Q186081 } UNION { ?f rdf:type ontology:Q573 } } } } }
Aignan of Orleans Ahmad al-Tijani Sidi M'hamed Bou Qobrine Pier Giorgio Frassati Sidi Abder Rahman El Thaelebi Sidi M'hand Oumalek Sidi Mansour Anthony of Padua Seraphina Sforza Joanna, wife of Chuza Thomas Percy, 7th Earl of Northumberland
11
action count
action less
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
action count
action filter_multi_types
action find
entity Adela
relation feast day
type time interval
type day
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) ?x WHERE { { ?x property:feast_day ?q . ?x rdf:type ontology:common_name . ?q rdf:type ontology:time_interval } UNION { ?x property:feast_day ?q . ?q rdf:type ontology:day . ?x rdf:type ontology:common_name } } GROUP BY ?x } . FILTER ( ?l < ?o ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Adela property:feast_day ?f . { { ?f rdf:type ontology:time_interval } UNION { ?f rdf:type ontology:day } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have tactful political relations with atmost 50 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 50
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?l ) WHERE { ?e property:P530 ?g . ?e rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?e } . FILTER ( ?l <= 50 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 50
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?l ) WHERE { ?e property:diplomatic_relation ?g . ?e rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?l <= 50 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 50
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?l ) WHERE { ?e property:P530 ?g . ?e rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?e } . FILTER ( ?l <= 50 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 50
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?l ) WHERE { ?e property:diplomatic_relation ?g . ?e rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?l <= 50 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q884
P361
Q14911880
USER
What is a component of South Korea ?
(c(Q14911880),P361,Q884)
action filter_type
action find_reverse
entity Q884
relation P361
type Q14911880
[{'concept': 'Q14911880'}, 'P361', 'Q884']
SELECT DISTINCT ?y WHERE { ?y property:P361 resource:Q884 . ?y rdf:type ontology:Q14911880 }
South Korea
action filter_type
action find_reverse
entity South Korea
relation part of
type Catholic seminary
[{'concept': 'Catholic seminary'}, 'part of', 'South Korea']
SELECT DISTINCT ?y WHERE { ?y property:part_of resource:South_Korea . ?y rdf:type ontology:Catholic_seminary }
[]
Catholic seminary
Q16098986
SYSTEM
Honam Theological University and Seminary
Q16098986
(c(Q14911880),P361,Q884)
action filter_type
action find_reverse
entity Q884
relation P361
type Q14911880
A component of South Korea is the [ANSWER]
[{'concept': 'Q14911880'}, 'P361', 'Q884']
SELECT DISTINCT ?y WHERE { ?y property:P361 resource:Q884 . ?y rdf:type ontology:Q14911880 }
Honam Theological University and Seminary
A component of South Korea is the Honam Theological University and Seminary
Honam Theological University and Seminary
action filter_type
action find_reverse
entity South Korea
relation part of
type Catholic seminary
[{'concept': 'Catholic seminary'}, 'part of', 'South Korea']
SELECT DISTINCT ?y WHERE { ?y property:part_of resource:South_Korea . ?y rdf:type ontology:Catholic_seminary }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16098986
P30
Q2221906
USER
Which geographic location is that Catholic seminary located in ?
(Q16098986,P30,c(Q2221906))
action filter_type
action find
entity Q16098986
relation P30
type Q2221906
['Q16098986', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?u WHERE { resource:Q16098986 property:P30 ?u . ?u rdf:type ontology:Q2221906 }
Honam Theological University and Seminary
action filter_type
action find
entity Honam Theological University and Seminary
relation continent
type geographic location
['Honam Theological University and Seminary', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?u WHERE { resource:Honam_Theological_University_and_Seminary property:continent ?u . ?u rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q16098986,P30,c(Q2221906))
action filter_type
action find
entity Q16098986
relation P30
type Q2221906
That Catholic seminary is located in [ANSWER]
['Q16098986', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?u WHERE { resource:Q16098986 property:P30 ?u . ?u rdf:type ontology:Q2221906 }
Asia
That Catholic seminary is located in Asia
Asia
action filter_type
action find
entity Honam Theological University and Seminary
relation continent
type geographic location
['Honam Theological University and Seminary', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?u WHERE { resource:Honam_Theological_University_and_Seminary property:continent ?u . ?u rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q48
P180
Q340169 Q3305213
USER
How many medias and paintings depict Asia ?
(c(Q340169),P180,Q48) (c(Q3305213),P180,Q48)
action count
action union
action filter_type
action find_reverse
entity Q48
relation P180
type Q340169
action filter_type
action find_reverse
entity Q48
relation P180
type Q3305213
[{'concept': 'Q340169'}, 'P180', 'Q48'] [{'concept': 'Q3305213'}, 'P180', 'Q48']
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { ?f property:P180 resource:Q48 . ?f rdf:type ontology:Q340169 } UNION { ?f property:P180 resource:Q48 . ?f rdf:type ontology:Q3305213 } }
Asia
action count
action union
action filter_type
action find_reverse
entity Asia
relation depicts
type media
action filter_type
action find_reverse
entity Asia
relation depicts
type painting
[{'concept': 'media'}, 'depicts', 'Asia'] [{'concept': 'painting'}, 'depicts', 'Asia']
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { ?f property:depicts resource:Asia . ?f rdf:type ontology:media } UNION { ?f property:depicts resource:Asia . ?f rdf:type ontology:painting } }
[]
media painting
SYSTEM
1 medias and 1 paintings
Q976734 Q195801
(c(Q340169),P180,Q48) (c(Q3305213),P180,Q48)
action count
action union
action filter_type
action find_reverse
entity Q48
relation P180
type Q340169
action filter_type
action find_reverse
entity Q48
relation P180
type Q3305213
[ANSWER]
[{'concept': 'Q340169'}, 'P180', 'Q48'] [{'concept': 'Q3305213'}, 'P180', 'Q48']
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { ?f property:P180 resource:Q48 . ?f rdf:type ontology:Q340169 } UNION { ?f property:P180 resource:Q48 . ?f rdf:type ontology:Q3305213 } }
Ceiling fresco in the staircase of the Würzburg Residence Waldseemüller map
1 medias and 1 paintings
action count
action union
action filter_type
action find_reverse
entity Asia
relation depicts
type media
action filter_type
action find_reverse
entity Asia
relation depicts
type painting
[{'concept': 'media'}, 'depicts', 'Asia'] [{'concept': 'painting'}, 'depicts', 'Asia']
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { ?f property:depicts resource:Asia . ?f rdf:type ontology:media } UNION { ?f property:depicts resource:Asia . ?f rdf:type ontology:painting } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1787344 Q48
P361
Q2221906
USER
Which geographic locations are Asia or Sacred Mount Calvary of Domodossola a part of ?
OR((Q48,P361,c(Q2221906)), (Q1787344,P361,c(Q2221906)))
action filter_type
action union
action find
entity Q48
relation P361
action find
entity Q1787344
relation P361
type Q2221906
{'OR': [['Q48', 'P361', {'concept': 'Q2221906'}], ['Q1787344', 'P361', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?h ) { ( resource:Q48 ) ( resource:Q1787344 ) } . ?h property:P361 ?z } . ?z rdf:type ontology:Q2221906 }
Sacred Mount Calvary of Domodossola Asia
action filter_type
action union
action find
entity Asia
relation part of
action find
entity Sacred Mount Calvary of Domodossola
relation part of
type geographic location
{'OR': [['Asia', 'part of', {'concept': 'geographic location'}], ['Sacred Mount Calvary of Domodossola', 'part of', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?h ) { ( resource:Asia ) ( resource:Sacred_Mount_Calvary_of_Domodossola ) } . ?h property:part_of ?z } . ?z rdf:type ontology:geographic_location }
[]
geographic location
Q2035462 Q5401 Q753162
SYSTEM
Ostfeste, Eurasia, Sacri Monti of Piedmont and Lombardy
Q2035462 Q5401 Q753162
OR((Q48,P361,c(Q2221906)), (Q1787344,P361,c(Q2221906)))
action filter_type
action union
action find
entity Q48
relation P361
action find
entity Q1787344
relation P361
type Q2221906
Are Asia or Sacred Mount Calvary of Domodossola a part of the [ANSWERS]
{'OR': [['Q48', 'P361', {'concept': 'Q2221906'}], ['Q1787344', 'P361', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?h ) { ( resource:Q48 ) ( resource:Q1787344 ) } . ?h property:P361 ?z } . ?z rdf:type ontology:Q2221906 }
Ostfeste Eurasia Sacri Monti of Piedmont and Lombardy
Are Asia or Sacred Mount Calvary of Domodossola a part of the Ostfeste, Eurasia and Sacri Monti of Piedmont and Lombardy
Ostfeste Eurasia Sacri Monti of Piedmont and Lombardy
action filter_type
action union
action find
entity Asia
relation part of
action find
entity Sacred Mount Calvary of Domodossola
relation part of
type geographic location
{'OR': [['Asia', 'part of', {'concept': 'geographic location'}], ['Sacred Mount Calvary of Domodossola', 'part of', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?h ) { ( resource:Asia ) ( resource:Sacred_Mount_Calvary_of_Domodossola ) } . ?h property:part_of ?z } . ?z rdf:type ontology:geographic_location }
[]
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 ?d WHERE { ?d property:P1346 resource:Q884 . ?d 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 ?d WHERE { ?d property:winner resource:South_Korea . ?d 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 ?d WHERE { ?d property:P1346 resource:Q884 . ?d 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 ?d WHERE { ?d property:winner resource:South_Korea . ?d rdf:type ontology:sporting_event }
[]