Simple Question (Direct)
Simple Question
Q555003
P140
Q879146
USER
What is the religious affiliation of Paul Gregory Bootkoski ?
(Q555003,P140,c(Q879146))
action filter_type
action find
entity Q555003
relation P140
type Q879146
['Q555003', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?c WHERE { resource:Q555003 property:P140 ?c . ?c rdf:type ontology:Q879146 }
Paul Gregory Bootkoski
action filter_type
action find
entity Paul Gregory Bootkoski
relation religion
type Christian denomination
['Paul Gregory Bootkoski', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?c WHERE { resource:Paul_Gregory_Bootkoski property:religion ?c . ?c rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q555003,P140,c(Q879146))
action filter_type
action find
entity Q555003
relation P140
type Q879146
The religious affiliation of Paul Gregory Bootkoski is a [ANSWER]
['Q555003', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?c WHERE { resource:Q555003 property:P140 ?c . ?c rdf:type ontology:Q879146 }
Roman Catholic Church
The religious affiliation of Paul Gregory Bootkoski is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Paul Gregory Bootkoski
relation religion
type Christian denomination
['Paul Gregory Bootkoski', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?c WHERE { resource:Paul_Gregory_Bootkoski property:religion ?c . ?c rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q555003
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q9592,P39,c(Q12737077))
action filter_type
action find
entity Q555003
relation P39
type Q12737077
['Q9592', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q555003 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
Paul Gregory Bootkoski
action filter_type
action find
entity Paul Gregory Bootkoski
relation position held
type occupation
['Roman Catholic Church', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Paul_Gregory_Bootkoski property:position_held ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q29182
SYSTEM
bishop
Q29182
(Q9592,P39,c(Q12737077))
action filter_type
action find
entity Q555003
relation P39
type Q12737077
[ANSWER]
['Q9592', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q555003 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
bishop
Bishop
bishop
action filter_type
action find
entity Paul Gregory Bootkoski
relation position held
type occupation
['Roman Catholic Church', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Paul_Gregory_Bootkoski property:position_held ?j . ?j rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q382558 Q29182
P361 P136
Q151885
USER
Which concepts are bishop a component of or can be considered as genre of Roscoe ?
OR((Q29182,P361,c(Q151885)), (Q382558,P136,c(Q151885)))
action filter_type
action union
action find
entity Q29182
relation P361
action find
entity Q382558
relation P136
type Q151885
{'OR': [['Q29182', 'P361', {'concept': 'Q151885'}], ['Q382558', 'P136', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q29182 property:P361 ?g } UNION { resource:Q382558 property:P136 ?g } } . ?g rdf:type ontology:Q151885 }
Roscoe bishop
action filter_type
action union
action find
entity bishop
relation part of
action find
entity Roscoe
relation genre
type concept
{'OR': [['bishop', 'part of', {'concept': 'concept'}], ['Roscoe', 'genre', {'concept': 'concept'}]]}
SELECT DISTINCT ?g WHERE { { { resource:bishop property:part_of ?g } UNION { resource:Roscoe property:genre ?g } } . ?g rdf:type ontology:concept }
[]
concept
Q177826 Q11401
SYSTEM
clergy, hip hop
Q177826 Q11401
OR((Q29182,P361,c(Q151885)), (Q382558,P136,c(Q151885)))
action filter_type
action union
action find
entity Q29182
relation P361
action find
entity Q382558
relation P136
type Q151885
[ANSWERS] are bishop a component of or can be considered as genre of Roscoe
{'OR': [['Q29182', 'P361', {'concept': 'Q151885'}], ['Q382558', 'P136', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q29182 property:P361 ?g } UNION { resource:Q382558 property:P136 ?g } } . ?g rdf:type ontology:Q151885 }
clergy hip hop
Clergy and hip hop are bishop a component of or can be considered as genre of Roscoe
clergy hip hop
action filter_type
action union
action find
entity bishop
relation part of
action find
entity Roscoe
relation genre
type concept
{'OR': [['bishop', 'part of', {'concept': 'concept'}], ['Roscoe', 'genre', {'concept': 'concept'}]]}
SELECT DISTINCT ?g WHERE { { { resource:bishop property:part_of ?g } UNION { resource:Roscoe property:genre ?g } } . ?g rdf:type ontology:concept }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q27051514 Q29182
P140 P1462
Q874405
USER
Which social groups do bishop correspond to or take care of standardising Recommendation X.223 (11/1988): Use of X.25 to provide the OSI connection-mode network service for CCITT applications ?
OR((Q29182,P140,c(Q874405)), (Q27051514,P1462,c(Q874405)))
action filter_type
action union
action find
entity Q29182
relation P140
action find
entity Q27051514
relation P1462
type Q874405
{'OR': [['Q29182', 'P140', {'concept': 'Q874405'}], ['Q27051514', 'P1462', {'concept': 'Q874405'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q29182 property:P140 ?k } UNION { resource:Q27051514 property:P1462 ?k } } . ?k rdf:type ontology:Q874405 }
Recommendation X.223 (11/1988): Use of X.25 to provide the OSI connection-mode network service for CCITT applications bishop
action filter_type
action union
action find
entity bishop
relation religion
action find
entity Recommendation X.223 (11/1988): Use of X.25 to provide the OSI connection-mode network service for CCITT applications
relation standards body
type social group
{'OR': [['bishop', 'religion', {'concept': 'social group'}], ['Recommendation X.223 (11/1988): Use of X.25 to provide the OSI connection-mode network service for CCITT applications', 'standards body', {'concept': 'social group'}]]}
SELECT DISTINCT ?k WHERE { { { resource:bishop property:religion ?k } UNION { resource:Recommendation_X.223_(11/1988):_Use_of_X.25_to_provide_the_OSI_connection-mode_network_service_for_CCITT_applications property:standards_body ?k } } . ?k rdf:type ontology:social_group }
[]
social group
Q5043 Q376150
SYSTEM
Christianity, International Telecommunication Union
Q5043 Q376150
OR((Q29182,P140,c(Q874405)), (Q27051514,P1462,c(Q874405)))
action filter_type
action union
action find
entity Q29182
relation P140
action find
entity Q27051514
relation P1462
type Q874405
Bishop correspond to the [ANSWERS] :
{'OR': [['Q29182', 'P140', {'concept': 'Q874405'}], ['Q27051514', 'P1462', {'concept': 'Q874405'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q29182 property:P140 ?k } UNION { resource:Q27051514 property:P1462 ?k } } . ?k rdf:type ontology:Q874405 }
Christianity International Telecommunication Union
Bishop correspond to the Christianity and International Telecommunication Union :
Christianity International Telecommunication Union
action filter_type
action union
action find
entity bishop
relation religion
action find
entity Recommendation X.223 (11/1988): Use of X.25 to provide the OSI connection-mode network service for CCITT applications
relation standards body
type social group
{'OR': [['bishop', 'religion', {'concept': 'social group'}], ['Recommendation X.223 (11/1988): Use of X.25 to provide the OSI connection-mode network service for CCITT applications', 'standards body', {'concept': 'social group'}]]}
SELECT DISTINCT ?k WHERE { { { resource:bishop property:religion ?k } UNION { resource:Recommendation_X.223_(11/1988):_Use_of_X.25_to_provide_the_OSI_connection-mode_network_service_for_CCITT_applications property:standards_body ?k } } . ?k rdf:type ontology:social_group }
[]
Clarification
Simple Question|Single Entity|Indirect
Q376150
P463
Q15617994
USER
Which administrative territories are members of that social group ?
(c(Q15617994),P463,Q376150)
action filter_type
action find_reverse
entity Q376150
relation P463
type Q15617994
[{'concept': 'Q15617994'}, 'P463', 'Q376150']
SELECT DISTINCT ?r WHERE { ?r property:P463 resource:Q376150 . ?r rdf:type ontology:Q15617994 }
International Telecommunication Union
action filter_type
action find_reverse
entity International Telecommunication Union
relation member of
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'member of', 'International Telecommunication Union']
SELECT DISTINCT ?r WHERE { ?r property:member_of resource:International_Telecommunication_Union . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q5043
SYSTEM
Did you mean Christianity ?
Q5043 Q376150
(c(Q15617994),P463,Q5043) (c(Q15617994),P463,Q376150)
[ANSWER]
[{'concept': 'Q15617994'}, 'P463', 'Q5043'] [{'concept': 'Q15617994'}, 'P463', 'Q376150']
SELECT DISTINCT ?r WHERE { ?r property:P463 resource:Q376150 . ?r rdf:type ontology:Q15617994 }
Christianity International Telecommunication Union
Did you mean Christianity ?
Christianity
[{'concept': 'designation for an administrative territorial entity'}, 'member of', 'Christianity'] [{'concept': 'designation for an administrative territorial entity'}, 'member of', 'International Telecommunication Union']
SELECT DISTINCT ?r WHERE { ?r property:member_of resource:International_Telecommunication_Union . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant International Telecommunication Union. Could you tell me the answer for that?
(c(Q15617994),P463,Q376150)
Q376150
[{'concept': 'Q15617994'}, 'P463', 'Q376150']
[{'concept': 'designation for an administrative territorial entity'}, 'member of', 'International Telecommunication Union']
[]
Q38 Q55 Q36
SYSTEM
Italy, Netherlands, Poland
Q423 Q55 Q1011 Q347 Q36 Q38
(c(Q15617994),P463,Q376150)
action filter_type
action find_reverse
entity Q376150
relation P463
type Q15617994
[ANSWERS] are members of that social group
[{'concept': 'Q15617994'}, 'P463', 'Q376150']
SELECT DISTINCT ?r WHERE { ?r property:P463 resource:Q376150 . ?r rdf:type ontology:Q15617994 }
North Korea Netherlands Cape Verde Liechtenstein Poland Italy
Italy, Netherlands and Poland are members of that social group
Italy Netherlands Poland
action filter_type
action find_reverse
entity International Telecommunication Union
relation member of
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'member of', 'International Telecommunication Union']
SELECT DISTINCT ?r WHERE { ?r property:member_of resource:International_Telecommunication_Union . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q38
P1532
Q1194951 Q502895
USER
How many national sports teams or people represent Italy ?
(c(Q1194951),P1532,Q38) (c(Q502895),P1532,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P1532
type Q1194951
action filter_type
action find_reverse
entity Q38
relation P1532
type Q502895
[{'concept': 'Q1194951'}, 'P1532', 'Q38'] [{'concept': 'Q502895'}, 'P1532', 'Q38']
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { VALUES ( ?i ) { ( ontology:Q1194951 ) ( ontology:Q502895 ) } . ?t rdf:type ?i }
Italy
action count
action union
action filter_type
action find_reverse
entity Italy
relation country for sport
type national sports team
action filter_type
action find_reverse
entity Italy
relation country for sport
type common name
[{'concept': 'national sports team'}, 'country for sport', 'Italy'] [{'concept': 'common name'}, 'country for sport', 'Italy']
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { VALUES ( ?i ) { ( ontology:national_sports_team ) ( ontology:common_name ) } . ?t rdf:type ?i }
[]
national sports team common name
SYSTEM
28
Q22703869 Q22246777 Q9345554 Q22137004 Q23036908 Q25820084 Q21034233 Q25336604 Q20016855 Q22136991 Q21600834 Q24287413 Q5041564 Q22988707 Q22137011 Q3878312 Q22949274 Q22137017 Q25201549 Q676899 Q22137023 Q21855004 Q22137020 Q3110622 Q3873616 Q2026418 Q22911603 Q1045901
(c(Q1194951),P1532,Q38) (c(Q502895),P1532,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P1532
type Q1194951
action filter_type
action find_reverse
entity Q38
relation P1532
type Q502895
[ANSWER]
[{'concept': 'Q1194951'}, 'P1532', 'Q38'] [{'concept': 'Q502895'}, 'P1532', 'Q38']
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { VALUES ( ?i ) { ( ontology:Q1194951 ) ( ontology:Q502895 ) } . ?t rdf:type ?i }
Dries van Schalkwyk Elisa Rea Stefano Braga Johanelis Herrera Abreu Daniele Corsa Yusneysi Santiusti Enrico Casella Filippo Tortu Stefanie Horn Virginia Troiani Héctor De Marco Luca Pizzini Carlo Occhiena Giuseppe Leonardi Eugenio Meloni Norbert Bonvecchio Osama Zoghlami Federica Putti Livio Sciandra Italy national football team Alice Mangione Federica Curiazzi Martina Lorenzetto Gonzalo Garcia Italy B national football team Dario Cerrato Sergio Chiesa Carter Trevisani
28
action count
action union
action filter_type
action find_reverse
entity Italy
relation country for sport
type national sports team
action filter_type
action find_reverse
entity Italy
relation country for sport
type common name
[{'concept': 'national sports team'}, 'country for sport', 'Italy'] [{'concept': 'common name'}, 'country for sport', 'Italy']
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { VALUES ( ?i ) { ( ontology:national_sports_team ) ( ontology:common_name ) } . ?t rdf:type ?i }
[]