Simple Question (Direct)
Simple Question
Q7812837
P54
Q847017
USER
What is the team that Todor Simov is a member of ?
(Q7812837,P54,c(Q847017))
action filter_type
action find
entity Q7812837
relation P54
type Q847017
['Q7812837', 'P54', {'concept': 'Q847017'}]
SELECT DISTINCT ?k WHERE { resource:Q7812837 property:P54 ?k . ?k rdf:type ontology:Q847017 }
Todor Simov
action filter_type
action find
entity Todor Simov
relation member of sports team
type sports club
['Todor Simov', 'member of sports team', {'concept': 'sports club'}]
SELECT DISTINCT ?k WHERE { resource:Todor_Simov property:member_of_sports_team ?k . ?k rdf:type ontology:sports_club }
[]
sports club
Q22249769
SYSTEM
FC Sevlievo
Q22249769
(Q7812837,P54,c(Q847017))
action filter_type
action find
entity Q7812837
relation P54
type Q847017
The team that Todor Simov is a member of is the [ANSWER]
['Q7812837', 'P54', {'concept': 'Q847017'}]
SELECT DISTINCT ?k WHERE { resource:Q7812837 property:P54 ?k . ?k rdf:type ontology:Q847017 }
FC Sevlievo
The team that Todor Simov is a member of is the FC Sevlievo
FC Sevlievo
action filter_type
action find
entity Todor Simov
relation member of sports team
type sports club
['Todor Simov', 'member of sports team', {'concept': 'sports club'}]
SELECT DISTINCT ?k WHERE { resource:Todor_Simov property:member_of_sports_team ?k . ?k rdf:type ontology:sports_club }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7812837
P21
Q290
USER
What is the sex of Todor Simov ?
(Q7812837,P21,c(Q290))
action filter_type
action find
entity Q7812837
relation P21
type Q290
['Q7812837', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q7812837 property:P21 ?n . ?n rdf:type ontology:Q290 }
Todor Simov
action filter_type
action find
entity Todor Simov
relation gender
type sex
['Todor Simov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Todor_Simov property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7812837,P21,c(Q290))
action filter_type
action find
entity Q7812837
relation P21
type Q290
The sex of Todor Simov is the [ANSWER]
['Q7812837', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q7812837 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
The sex of Todor Simov is the male
male
action filter_type
action find
entity Todor Simov
relation gender
type sex
['Todor Simov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Todor_Simov property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22249769
P159
Q56061
USER
Which administrative territory is the head office of FC Sevlievo ?
(Q22249769,P159,c(Q56061))
action filter_type
action find
entity Q22249769
relation P159
type Q56061
['Q22249769', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q22249769 property:P159 ?y . ?y rdf:type ontology:Q56061 }
FC Sevlievo
action filter_type
action find
entity FC Sevlievo
relation headquarters location
type administrative territorial entity
['FC Sevlievo', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:FC_Sevlievo property:headquarters_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q326312
SYSTEM
Sevlievo
Q326312
(Q22249769,P159,c(Q56061))
action filter_type
action find
entity Q22249769
relation P159
type Q56061
Town [ANSWER] is the head office of FC [ANSWER]
['Q22249769', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q22249769 property:P159 ?y . ?y rdf:type ontology:Q56061 }
Sevlievo
Town Sevlievo is the head office of FC Sevlievo
Sevlievo
action filter_type
action find
entity FC Sevlievo
relation headquarters location
type administrative territorial entity
['FC Sevlievo', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:FC_Sevlievo property:headquarters_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q326312
P190
Q56061
USER
Which administrative territory is the sister city of that one ?
(Q326312,P190,c(Q56061))
action filter_type
action find
entity Q326312
relation P190
type Q56061
['Q326312', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q326312 property:P190 ?r . ?r rdf:type ontology:Q56061 }
Sevlievo
action filter_type
action find
entity Sevlievo
relation sister city
type administrative territorial entity
['Sevlievo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Sevlievo property:sister_city ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q157061
SYSTEM
Gevgelija
Q157061
(Q326312,P190,c(Q56061))
action filter_type
action find
entity Q326312
relation P190
type Q56061
[ANSWER] is the sister city of that one
['Q326312', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q326312 property:P190 ?r . ?r rdf:type ontology:Q56061 }
Gevgelija
Gevgelija is the sister city of that one
Gevgelija
action filter_type
action find
entity Sevlievo
relation sister city
type administrative territorial entity
['Sevlievo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Sevlievo property:sister_city ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q2736 Q157061
P19 P641
Q502895
USER
Which people were born at Gevgelija and are not linked with association football ?
AND((c(Q502895),P19,Q157061), NOT((c(Q502895),P641,Q2736)))
action filter_type
action difference
action find_reverse
entity Q157061
relation P19
action find_reverse
entity Q2736
relation P641
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q157061'], {'NOT': [[{'concept': 'Q502895'}, 'P641', 'Q2736']]}]}
SELECT DISTINCT ?b WHERE { ?b property:P19 resource:Q157061 . MINUS { ?b property:P641 resource:Q2736 } . ?b rdf:type ontology:Q502895 }
association football Gevgelija
action filter_type
action difference
action find_reverse
entity Gevgelija
relation place of birth
action find_reverse
entity association football
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Gevgelija'], {'NOT': [[{'concept': 'common name'}, 'sport', 'association football']]}]}
SELECT DISTINCT ?b WHERE { ?b property:place_of_birth resource:Gevgelija . MINUS { ?b property:sport resource:association_football } . ?b rdf:type ontology:common_name }
[]
common name
Q1562512 Q822723 Q23760209 Q26205380 Q21621367 Q4716092 Q3403642
SYSTEM
Ljubomir Ćipranić, Vasil Tanev, Vladimir Ralev, Svetoslav Saev, Goran Glavčev, Alen Ilijic, Todor Petrov
Q1562512 Q822723 Q23760209 Q26205380 Q21621367 Q4716092 Q3403642
AND((c(Q502895),P19,Q157061), NOT((c(Q502895),P641,Q2736)))
action filter_type
action difference
action find_reverse
entity Q157061
relation P19
action find_reverse
entity Q2736
relation P641
type Q502895
[ANSWERS] were born at Gevgelija and are not linked with association football
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q157061'], {'NOT': [[{'concept': 'Q502895'}, 'P641', 'Q2736']]}]}
SELECT DISTINCT ?b WHERE { ?b property:P19 resource:Q157061 . MINUS { ?b property:P641 resource:Q2736 } . ?b rdf:type ontology:Q502895 }
Ljubomir Ćipranić Vasil Tanev Vladimir Ralev Svetoslav Saev Goran Glavčev Alen Ilijic Todor Petrov
Ljubomir Ćipranić, Vasil Tanev, Vladimir Ralev, Svetoslav Saev, Goran Glavčev, Alen Ilijic and Todor Petrov were born at Gevgelija and are not linked with association football
Ljubomir Ćipranić Vasil Tanev Vladimir Ralev Svetoslav Saev Goran Glavčev Alen Ilijic Todor Petrov
action filter_type
action difference
action find_reverse
entity Gevgelija
relation place of birth
action find_reverse
entity association football
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Gevgelija'], {'NOT': [[{'concept': 'common name'}, 'sport', 'association football']]}]}
SELECT DISTINCT ?b WHERE { ?b property:place_of_birth resource:Gevgelija . MINUS { ?b property:sport resource:association_football } . ?b rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1140257 Q7812837
P27 P915
Q15617994
USER
Which administrative territories are Todor Simov a civilian of or were The Messenger: The Story of Joan of Arc filmed at ?
OR((Q7812837,P27,c(Q15617994)), (Q1140257,P915,c(Q15617994)))
action filter_type
action union
action find
entity Q7812837
relation P27
action find
entity Q1140257
relation P915
type Q15617994
{'OR': [['Q7812837', 'P27', {'concept': 'Q15617994'}], ['Q1140257', 'P915', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q7812837 property:P27 ?q } UNION { resource:Q1140257 property:P915 ?q } } . ?q rdf:type ontology:Q15617994 }
The Messenger: The Story of Joan of Arc Todor Simov
action filter_type
action union
action find
entity Todor Simov
relation country of citizenship
action find
entity The Messenger: The Story of Joan of Arc
relation filming location
type designation for an administrative territorial entity
{'OR': [['Todor Simov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['The Messenger: The Story of Joan of Arc', 'filming location', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Todor_Simov property:country_of_citizenship ?q } UNION { resource:The_Messenger:_The_Story_of_Joan_of_Arc property:filming_location ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q219
SYSTEM
Czech Republic, Bulgaria
Q213 Q219
OR((Q7812837,P27,c(Q15617994)), (Q1140257,P915,c(Q15617994)))
action filter_type
action union
action find
entity Q7812837
relation P27
action find
entity Q1140257
relation P915
type Q15617994
[ANSWERS] are Todor Simov a civilian of or were The Messenger: The Story of Joan of Arc filmed at
{'OR': [['Q7812837', 'P27', {'concept': 'Q15617994'}], ['Q1140257', 'P915', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q7812837 property:P27 ?q } UNION { resource:Q1140257 property:P915 ?q } } . ?q rdf:type ontology:Q15617994 }
Czech Republic Bulgaria
Czech Republic and Bulgaria are Todor Simov a civilian of or were The Messenger: The Story of Joan of Arc filmed at
Czech Republic Bulgaria
action filter_type
action union
action find
entity Todor Simov
relation country of citizenship
action find
entity The Messenger: The Story of Joan of Arc
relation filming location
type designation for an administrative territorial entity
{'OR': [['Todor Simov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['The Messenger: The Story of Joan of Arc', 'filming location', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Todor_Simov property:country_of_citizenship ?q } UNION { resource:The_Messenger:_The_Story_of_Joan_of_Arc property:filming_location ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q13641379 Q7812837
P27 P17
Q15617994
USER
Which administrative territories are Todor Simov an inhabitant of or are Saedochō situated in ?
OR((Q7812837,P27,c(Q15617994)), (Q13641379,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7812837
relation P27
action find
entity Q13641379
relation P17
type Q15617994
{'OR': [['Q7812837', 'P27', {'concept': 'Q15617994'}], ['Q13641379', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q7812837 property:P27 ?w } UNION { resource:Q13641379 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Saedochō Todor Simov
action filter_type
action union
action find
entity Todor Simov
relation country of citizenship
action find
entity Saedochō
relation country
type designation for an administrative territorial entity
{'OR': [['Todor Simov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Saedochō', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Todor_Simov property:country_of_citizenship ?w } UNION { resource:Saedochō property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q219
SYSTEM
Japan, Bulgaria
Q17 Q219
OR((Q7812837,P27,c(Q15617994)), (Q13641379,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7812837
relation P27
action find
entity Q13641379
relation P17
type Q15617994
[ANSWERS] are Todor Simov an inhabitant of or are Saedochō situated in
{'OR': [['Q7812837', 'P27', {'concept': 'Q15617994'}], ['Q13641379', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q7812837 property:P27 ?w } UNION { resource:Q13641379 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Japan Bulgaria
Japan and Bulgaria are Todor Simov an inhabitant of or are Saedochō situated in
Japan Bulgaria
action filter_type
action union
action find
entity Todor Simov
relation country of citizenship
action find
entity Saedochō
relation country
type designation for an administrative territorial entity
{'OR': [['Todor Simov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Saedochō', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Todor_Simov property:country_of_citizenship ?w } UNION { resource:Saedochō property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q17 Q334
P530
Q1048835
USER
How many political territories have ambassadorial relations with Japan and Singapore ?
(c(Q1048835),P530,Q17) (c(Q1048835),P530,Q334)
action count
action intersection
action filter_type
action find_reverse
entity Q17
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q334
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q17'] [{'concept': 'Q1048835'}, 'P530', 'Q334']
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P530 resource:Q17 . ?s rdf:type ontology:Q1048835 . ?s property:P530 resource:Q334 . ?s rdf:type ontology:Q1048835 }
Japan Singapore
action count
action intersection
action filter_type
action find_reverse
entity Japan
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Singapore
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Japan'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Singapore']
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:diplomatic_relation resource:Japan . ?s rdf:type ontology:political_territorial_entity . ?s property:diplomatic_relation resource:Singapore . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q17) (c(Q1048835),P530,Q334)
action count
action intersection
action filter_type
action find_reverse
entity Q17
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q334
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q17'] [{'concept': 'Q1048835'}, 'P530', 'Q334']
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P530 resource:Q17 . ?s rdf:type ontology:Q1048835 . ?s property:P530 resource:Q334 . ?s rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Japan
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Singapore
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Japan'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Singapore']
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:diplomatic_relation resource:Japan . ?s rdf:type ontology:political_territorial_entity . ?s property:diplomatic_relation resource:Singapore . ?s rdf:type ontology:political_territorial_entity }
[]