Simple Question (Direct)
Simple Question
Q1655724
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Bohuslav Sedláček ?
(Q1655724,P27,c(Q15617994))
action filter_type
action find
entity Q1655724
relation P27
type Q15617994
['Q1655724', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1655724 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Bohuslav Sedláček
action filter_type
action find
entity Bohuslav Sedláček
relation country of citizenship
type designation for an administrative territorial entity
['Bohuslav Sedláček', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Bohuslav_Sedláček property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q1655724,P27,c(Q15617994))
action filter_type
action find
entity Q1655724
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Bohuslav Sedláček
['Q1655724', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1655724 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Czech Republic
Czech Republic is the country of citizenship of Bohuslav Sedláček
Czech Republic
action filter_type
action find
entity Bohuslav Sedláček
relation country of citizenship
type designation for an administrative territorial entity
['Bohuslav Sedláček', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Bohuslav_Sedláček property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213
P47
Q15617994
USER
Which administrative territories are adjacent to that one ?
(Q213,P47,c(Q15617994))
action filter_type
action find
entity Q213
relation P47
type Q15617994
['Q213', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q213 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Czech Republic
action filter_type
action find
entity Czech Republic
relation shares border with
type designation for an administrative territorial entity
['Czech Republic', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Czech_Republic property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q214
SYSTEM
Poland, Slovakia
Q36 Q214
(Q213,P47,c(Q15617994))
action filter_type
action find
entity Q213
relation P47
type Q15617994
[ANSWERS] are adjacent to that one
['Q213', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q213 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Poland Slovakia
Poland and Slovakia are adjacent to that one
Poland Slovakia
action filter_type
action find
entity Czech Republic
relation shares border with
type designation for an administrative territorial entity
['Czech Republic', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Czech_Republic property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q36 Q214
P463
Q874405
USER
Which social groups were Poland and Slovakia a member of ?
(Q36,P463,c(Q874405)) (Q214,P463,c(Q874405))
action union
action filter_type
action find
entity Q36
relation P463
type Q874405
action filter_type
action find
entity Q214
relation P463
type Q874405
['Q36', 'P463', {'concept': 'Q874405'}] ['Q214', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?c WHERE { { resource:Q36 property:P463 ?c . ?c rdf:type ontology:Q874405 } UNION { resource:Q214 property:P463 ?c . ?c rdf:type ontology:Q874405 } }
Poland Slovakia
action union
action filter_type
action find
entity Poland
relation member of
type social group
action filter_type
action find
entity Slovakia
relation member of
type social group
['Poland', 'member of', {'concept': 'social group'}] ['Slovakia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?c WHERE { { resource:Poland property:member_of ?c . ?c rdf:type ontology:social_group } UNION { resource:Slovakia property:member_of ?c . ?c rdf:type ontology:social_group } }
[]
social group
Q7817 Q8908 Q376150
SYSTEM
World Health Organization, Council of Europe, International Telecommunication Union
Q8908 Q782942 Q376150 Q7817 Q782942
(Q36,P463,c(Q874405)) (Q214,P463,c(Q874405))
action union
action filter_type
action find
entity Q36
relation P463
type Q874405
action filter_type
action find
entity Q214
relation P463
type Q874405
The [ANSWERS] were Poland and Slovakia a member of
['Q36', 'P463', {'concept': 'Q874405'}] ['Q214', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?c WHERE { { resource:Q36 property:P463 ?c . ?c rdf:type ontology:Q874405 } UNION { resource:Q214 property:P463 ?c . ?c rdf:type ontology:Q874405 } }
Council of Europe Australia Group International Telecommunication Union World Health Organization Australia Group
The World Health Organization, Council of Europe and International Telecommunication Union were Poland and Slovakia a member of
World Health Organization Council of Europe International Telecommunication Union
action union
action filter_type
action find
entity Poland
relation member of
type social group
action filter_type
action find
entity Slovakia
relation member of
type social group
['Poland', 'member of', {'concept': 'social group'}] ['Slovakia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?c WHERE { { resource:Poland property:member_of ?c . ?c rdf:type ontology:social_group } UNION { resource:Slovakia property:member_of ?c . ?c rdf:type ontology:social_group } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7817
P37
Q34770
USER
What are the official languages of that social group ?
(Q7817,P37,c(Q34770))
action filter_type
action find
entity Q7817
relation P37
type Q34770
['Q7817', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q7817 property:P37 ?h . ?h rdf:type ontology:Q34770 }
World Health Organization
action filter_type
action find
entity World Health Organization
relation official language
type language
['World Health Organization', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:World_Health_Organization property:official_language ?h . ?h rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q7817
SYSTEM
Did you mean World Health Organization ?
Q7817 Q8908 Q376150
(Q7817,P37,c(Q34770)) (Q8908,P37,c(Q34770)) (Q376150,P37,c(Q34770))
[ANSWER]
['Q7817', 'P37', {'concept': 'Q34770'}] ['Q8908', 'P37', {'concept': 'Q34770'}] ['Q376150', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q7817 property:P37 ?h . ?h rdf:type ontology:Q34770 }
World Health Organization Council of Europe International Telecommunication Union
Did you mean World Health Organization ?
World Health Organization
['World Health Organization', 'official language', {'concept': 'language'}] ['Council of Europe', 'official language', {'concept': 'language'}] ['International Telecommunication Union', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:World_Health_Organization property:official_language ?h . ?h rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
Yes
(Q7817,P37,c(Q34770))
['Q7817', 'P37', {'concept': 'Q34770'}]
['World Health Organization', 'official language', {'concept': 'language'}]
[]
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
(Q7817,P37,c(Q34770))
action filter_type
action find
entity Q7817
relation P37
type Q34770
The official languages of that social group are [ANSWERS]
['Q7817', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q7817 property:P37 ?h . ?h rdf:type ontology:Q34770 }
English Spanish
The official languages of that social group are English and Spanish
English Spanish
action filter_type
action find
entity World Health Organization
relation official language
type language
['World Health Organization', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:World_Health_Organization property:official_language ?h . ?h rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7817
P112
Q2558684
USER
Which world day was established by World Health Organization ?
(c(Q2558684),P112,Q7817)
action filter_type
action find_reverse
entity Q7817
relation P112
type Q2558684
[{'concept': 'Q2558684'}, 'P112', 'Q7817']
SELECT DISTINCT ?x WHERE { ?x property:P112 resource:Q7817 . ?x rdf:type ontology:Q2558684 }
World Health Organization
action filter_type
action find_reverse
entity World Health Organization
relation founder
type world day
[{'concept': 'world day'}, 'founder', 'World Health Organization']
SELECT DISTINCT ?x WHERE { ?x property:founder resource:World_Health_Organization . ?x rdf:type ontology:world_day }
[]
world day
Q192373
SYSTEM
World AIDS Day
Q192373
(c(Q2558684),P112,Q7817)
action filter_type
action find_reverse
entity Q7817
relation P112
type Q2558684
The [ANSWER] was established by World Health Organization
[{'concept': 'Q2558684'}, 'P112', 'Q7817']
SELECT DISTINCT ?x WHERE { ?x property:P112 resource:Q7817 . ?x rdf:type ontology:Q2558684 }
World AIDS Day
The World AIDS Day was established by World Health Organization
World AIDS Day
action filter_type
action find_reverse
entity World Health Organization
relation founder
type world day
[{'concept': 'world day'}, 'founder', 'World Health Organization']
SELECT DISTINCT ?x WHERE { ?x property:founder resource:World_Health_Organization . ?x rdf:type ontology:world_day }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q192373
P837
Q186081
USER
Which time interval denotes occurance of that world day ?
(Q192373,P837,c(Q186081))
action filter_type
action find
entity Q192373
relation P837
type Q186081
['Q192373', 'P837', {'concept': 'Q186081'}]
SELECT DISTINCT ?u WHERE { resource:Q192373 property:P837 ?u . ?u rdf:type ontology:Q186081 }
World AIDS Day
action filter_type
action find
entity World AIDS Day
relation day in year for periodic occurrence
type time interval
['World AIDS Day', 'day in year for periodic occurrence', {'concept': 'time interval'}]
SELECT DISTINCT ?u WHERE { resource:World_AIDS_Day property:day_in_year_for_periodic_occurrence ?u . ?u rdf:type ontology:time_interval }
[]
time interval
Q2297
SYSTEM
December 1
Q2297
(Q192373,P837,c(Q186081))
action filter_type
action find
entity Q192373
relation P837
type Q186081
[ANSWER] denotes occurance of that world day
['Q192373', 'P837', {'concept': 'Q186081'}]
SELECT DISTINCT ?u WHERE { resource:Q192373 property:P837 ?u . ?u rdf:type ontology:Q186081 }
December 1
December 1 denotes occurance of that world day
December 1
action filter_type
action find
entity World AIDS Day
relation day in year for periodic occurrence
type time interval
['World AIDS Day', 'day in year for periodic occurrence', {'concept': 'time interval'}]
SELECT DISTINCT ?u WHERE { resource:World_AIDS_Day property:day_in_year_for_periodic_occurrence ?u . ?u rdf:type ontology:time_interval }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192373
P138
Q2057971
USER
What is World AIDS Day named after ?
(Q192373,P138,c(Q2057971))
action filter_type
action find
entity Q192373
relation P138
type Q2057971
['Q192373', 'P138', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { resource:Q192373 property:P138 ?d . ?d rdf:type ontology:Q2057971 }
World AIDS Day
action filter_type
action find
entity World AIDS Day
relation named after
type health problem
['World AIDS Day', 'named after', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { resource:World_AIDS_Day property:named_after ?d . ?d rdf:type ontology:health_problem }
[]
health problem
Q12199
SYSTEM
acquired immunodeficiency syndrome
Q12199
(Q192373,P138,c(Q2057971))
action filter_type
action find
entity Q192373
relation P138
type Q2057971
World AIDS Day is named for [ANSWER]
['Q192373', 'P138', {'concept': 'Q2057971'}]
SELECT DISTINCT ?d WHERE { resource:Q192373 property:P138 ?d . ?d rdf:type ontology:Q2057971 }
acquired immunodeficiency syndrome
World AIDS Day is named for acquired immunodeficiency syndrome
acquired immunodeficiency syndrome
action filter_type
action find
entity World AIDS Day
relation named after
type health problem
['World AIDS Day', 'named after', {'concept': 'health problem'}]
SELECT DISTINCT ?d WHERE { resource:World_AIDS_Day property:named_after ?d . ?d rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q9779 Q34770
USER
How many languages utilizes atleast 2 notations and alphabets as the writing system ?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action count
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?y ) WHERE { { ?b property:P282 ?u . ?b rdf:type ontology:Q34770 . ?u rdf:type ontology:Q2001982 } UNION { ?b property:P282 ?u . ?b rdf:type ontology:Q34770 . ?u rdf:type ontology:Q9779 } } GROUP BY ?b } . FILTER ( ?y >= 2 ) }
action count
action atleast
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?y ) WHERE { { ?b property:writing_system ?u . ?b rdf:type ontology:language . ?u rdf:type ontology:notation } UNION { ?b property:writing_system ?u . ?b rdf:type ontology:language . ?u rdf:type ontology:alphabet } } GROUP BY ?b } . FILTER ( ?y >= 2 ) }
[]
notation alphabet language
SYSTEM
1
Q29572
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action count
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
value 2
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?y ) WHERE { { ?b property:P282 ?u . ?b rdf:type ontology:Q34770 . ?u rdf:type ontology:Q2001982 } UNION { ?b property:P282 ?u . ?b rdf:type ontology:Q34770 . ?u rdf:type ontology:Q9779 } } GROUP BY ?b } . FILTER ( ?y >= 2 ) }
Avestan
1
action count
action atleast
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?y ) WHERE { { ?b property:writing_system ?u . ?b rdf:type ontology:language . ?u rdf:type ontology:notation } UNION { ?b property:writing_system ?u . ?b rdf:type ontology:language . ?u rdf:type ontology:alphabet } } GROUP BY ?b } . FILTER ( ?y >= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P828
Q181394 Q2057971
USER
Which nutrients are the causes of atmost 1 health problem ?
(c(Q2057971),P828,c(Q181394))
action atmost
action find_reverse_tuple_counts
relation P828
type Q181394
type Q2057971
value 1
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q181394'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?r <= 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:P828 ?t . ?t rdf:type ontology:Q181394 . ?d rdf:type ontology:Q2057971 } GROUP BY ?t } }
action atmost
action find_reverse_tuple_counts
relation has cause
type nutrient
type health problem
value 1
[{'concept': 'health problem'}, 'has cause', {'concept': 'nutrient'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?r <= 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:has_cause ?t . ?t rdf:type ontology:nutrient . ?d rdf:type ontology:health_problem } GROUP BY ?t } }
[]
nutrient health problem
Q419507 Q412310 Q408668
SYSTEM
Microtubule-associated protein tau, von Willebrand factor, ricin
Q412310 Q408668 Q188251 Q47051 Q419507
(c(Q2057971),P828,c(Q181394))
action atmost
action find_reverse_tuple_counts
relation P828
type Q181394
type Q2057971
value 1
[ANSWERS] are the causes of atmost 1 health problem
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q181394'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?r <= 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:P828 ?t . ?t rdf:type ontology:Q181394 . ?d rdf:type ontology:Q2057971 } GROUP BY ?t } }
von Willebrand factor ricin gluten prion Microtubule-associated protein tau
Microtubule-associated protein tau, von Willebrand factor and ricin are the causes of atmost 1 health problem
Microtubule-associated protein tau von Willebrand factor ricin
action atmost
action find_reverse_tuple_counts
relation has cause
type nutrient
type health problem
value 1
[{'concept': 'health problem'}, 'has cause', {'concept': 'nutrient'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?r <= 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?r ) WHERE { ?d property:has_cause ?t . ?t rdf:type ontology:nutrient . ?d rdf:type ontology:health_problem } GROUP BY ?t } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q21984052 Q419507
P681
Q5058355
USER
Which cellular components are components of Microtubule-associated protein tau and Glycerol-3-phosphate dehydrogenase 1-like protein ?
AND((Q419507,P681,c(Q5058355)), (Q21984052,P681,c(Q5058355)))
action filter_type
action intersection
action find
entity Q419507
relation P681
action find
entity Q21984052
relation P681
type Q5058355
{'AND': [['Q419507', 'P681', {'concept': 'Q5058355'}], ['Q21984052', 'P681', {'concept': 'Q5058355'}]]}
SELECT DISTINCT ?o WHERE { resource:Q21984052 property:P681 ?o . resource:Q419507 property:P681 ?o . ?o rdf:type ontology:Q5058355 }
Glycerol-3-phosphate dehydrogenase 1-like protein Microtubule-associated protein tau
action filter_type
action intersection
action find
entity Microtubule-associated protein tau
relation cell component
action find
entity Glycerol-3-phosphate dehydrogenase 1-like protein
relation cell component
type cellular component
{'AND': [['Microtubule-associated protein tau', 'cell component', {'concept': 'cellular component'}], ['Glycerol-3-phosphate dehydrogenase 1-like protein', 'cell component', {'concept': 'cellular component'}]]}
SELECT DISTINCT ?o WHERE { resource:Glycerol-3-phosphate_dehydrogenase_1-like_protein property:cell_component ?o . resource:Microtubule-associated_protein_tau property:cell_component ?o . ?o rdf:type ontology:cellular_component }
[]
cellular component
Q29548
SYSTEM
plasma membrane
Q29548
AND((Q419507,P681,c(Q5058355)), (Q21984052,P681,c(Q5058355)))
action filter_type
action intersection
action find
entity Q419507
relation P681
action find
entity Q21984052
relation P681
type Q5058355
Membrane [ANSWER] is components of Microtubule-associated protein tau and Glycerol-3-phosphate dehydrogenase 1-like protein
{'AND': [['Q419507', 'P681', {'concept': 'Q5058355'}], ['Q21984052', 'P681', {'concept': 'Q5058355'}]]}
SELECT DISTINCT ?o WHERE { resource:Q21984052 property:P681 ?o . resource:Q419507 property:P681 ?o . ?o rdf:type ontology:Q5058355 }
plasma membrane
Membrane plasma membrane is components of Microtubule-associated protein tau and Glycerol-3-phosphate dehydrogenase 1-like protein
plasma membrane
action filter_type
action intersection
action find
entity Microtubule-associated protein tau
relation cell component
action find
entity Glycerol-3-phosphate dehydrogenase 1-like protein
relation cell component
type cellular component
{'AND': [['Microtubule-associated protein tau', 'cell component', {'concept': 'cellular component'}], ['Glycerol-3-phosphate dehydrogenase 1-like protein', 'cell component', {'concept': 'cellular component'}]]}
SELECT DISTINCT ?o WHERE { resource:Glycerol-3-phosphate_dehydrogenase_1-like_protein property:cell_component ?o . resource:Microtubule-associated_protein_tau property:cell_component ?o . ?o rdf:type ontology:cellular_component }
[]