Simple Question (Direct)
Simple Question
Q3649285
P21
Q290
USER
What is the sex of Gulverd Tomashvili ?
(Q3649285,P21,c(Q290))
action filter_type
action find
entity Q3649285
relation P21
type Q290
['Q3649285', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q3649285 property:P21 ?q . ?q rdf:type ontology:Q290 }
Gulverd Tomashvili
action filter_type
action find
entity Gulverd Tomashvili
relation gender
type sex
['Gulverd Tomashvili', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Gulverd_Tomashvili property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3649285,P21,c(Q290))
action filter_type
action find
entity Q3649285
relation P21
type Q290
The sex of Gulverd Tomashvili is a [ANSWER]
['Q3649285', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q3649285 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of Gulverd Tomashvili is a male
male
action filter_type
action find
entity Gulverd Tomashvili
relation gender
type sex
['Gulverd Tomashvili', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Gulverd_Tomashvili property:gender ?q . ?q rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6226609 Q3649285
P19
Q56061
USER
Which administrative territories were Gulverd Tomashvili or John Cole born ?
OR((Q3649285,P19,c(Q56061)), (Q6226609,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3649285
relation P19
action find
entity Q6226609
relation P19
type Q56061
{'OR': [['Q3649285', 'P19', {'concept': 'Q56061'}], ['Q6226609', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q3649285 property:P19 ?k } UNION { resource:Q6226609 property:P19 ?k } } . ?k rdf:type ontology:Q56061 }
John Cole Gulverd Tomashvili
action filter_type
action union
action find
entity Gulverd Tomashvili
relation place of birth
action find
entity John Cole
relation place of birth
type administrative territorial entity
{'OR': [['Gulverd Tomashvili', 'place of birth', {'concept': 'administrative territorial entity'}], ['John Cole', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Gulverd_Tomashvili property:place_of_birth ?k } UNION { resource:John_Cole property:place_of_birth ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q994 Q3130
SYSTEM
Tbilisi, Sydney
Q994 Q3130
OR((Q3649285,P19,c(Q56061)), (Q6226609,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3649285
relation P19
action find
entity Q6226609
relation P19
type Q56061
[ANSWERS] were Gulverd Tomashvili or John Cole born
{'OR': [['Q3649285', 'P19', {'concept': 'Q56061'}], ['Q6226609', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q3649285 property:P19 ?k } UNION { resource:Q6226609 property:P19 ?k } } . ?k rdf:type ontology:Q56061 }
Tbilisi Sydney
Tbilisi and Sydney were Gulverd Tomashvili or John Cole born
Tbilisi Sydney
action filter_type
action union
action find
entity Gulverd Tomashvili
relation place of birth
action find
entity John Cole
relation place of birth
type administrative territorial entity
{'OR': [['Gulverd Tomashvili', 'place of birth', {'concept': 'administrative territorial entity'}], ['John Cole', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Gulverd_Tomashvili property:place_of_birth ?k } UNION { resource:John_Cole property:place_of_birth ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6226609
P106
Q12737077
USER
Which occupation has John Cole as his/her as a career ?
(Q994,P106,c(Q12737077)) (Q3130,P106,c(Q12737077))
action filter_type
action find
entity Q6226609
relation P106
type Q12737077
['Q994', 'P106', {'concept': 'Q12737077'}] ['Q3130', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q6226609 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
John Cole
action filter_type
action find
entity John Cole
relation occupation
type occupation
['Tbilisi', 'occupation', {'concept': 'occupation'}] ['Sydney', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:John_Cole property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q901402
SYSTEM
geographer
Q901402
(Q994,P106,c(Q12737077)) (Q3130,P106,c(Q12737077))
action filter_type
action find
entity Q6226609
relation P106
type Q12737077
The [ANSWER] has John Cole as his/her as a career
['Q994', 'P106', {'concept': 'Q12737077'}] ['Q3130', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q6226609 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
geographer
The geographer has John Cole as his/her as a career
geographer
action filter_type
action find
entity John Cole
relation occupation
type occupation
['Tbilisi', 'occupation', {'concept': 'occupation'}] ['Sydney', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:John_Cole property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q994
P17
Q7275
USER
Which states are Tbilisi situated in ?
(Q994,P17,c(Q7275))
action filter_type
action find
entity Q994
relation P17
type Q7275
['Q994', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { resource:Q994 property:P17 ?t . ?t rdf:type ontology:Q7275 }
Tbilisi
action filter_type
action find
entity Tbilisi
relation country
type state
['Tbilisi', 'country', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { resource:Tbilisi property:country ?t . ?t rdf:type ontology:state }
[]
state
Q15180 Q139319 Q545205
SYSTEM
Soviet Union, Russian Republic, Transcaucasian Socialist Federative Soviet Republic
Q245160 Q139319 Q282475 Q15180 Q545205 Q154667
(Q994,P17,c(Q7275))
action filter_type
action find
entity Q994
relation P17
type Q7275
[ANSWERS]
['Q994', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { resource:Q994 property:P17 ?t . ?t rdf:type ontology:Q7275 }
Democratic Republic of Georgia Russian Republic Kingdom of Kartli-Kakheti Soviet Union Transcaucasian Socialist Federative Soviet Republic Kingdom of Georgia
Which states are Tbilisi situated in
Soviet Union Russian Republic Transcaucasian Socialist Federative Soviet Republic
action filter_type
action find
entity Tbilisi
relation country
type state
['Tbilisi', 'country', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { resource:Tbilisi property:country ?t . ?t rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q872672
Q7275
USER
And how about chetniks?
(Q872672,P17,c(Q7275))
action filter_type
action find
entity Q872672
relation P17
type Q7275
['Q872672', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7275 . resource:Q872672 property:P17 ?b }
chetniks
action filter_type
action find
entity chetniks
relation country
type state
['chetniks', 'country', {'concept': 'state'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:state . resource:chetniks property:country ?b }
[]
state
Q191077
SYSTEM
Kingdom of Yugoslavia
Q191077
(Q872672,P17,c(Q7275))
action filter_type
action find
entity Q872672
relation P17
type Q7275
[ANSWER]
['Q872672', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7275 . resource:Q872672 property:P17 ?b }
Kingdom of Yugoslavia
Kingdom of Yugoslavia
action filter_type
action find
entity chetniks
relation country
type state
['chetniks', 'country', {'concept': 'state'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:state . resource:chetniks property:country ?b }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q37539 Q3130
P17
Q1048835
USER
Which political territories do Sydney or .ag belong to ?
OR((Q3130,P17,c(Q1048835)), (Q37539,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q3130
relation P17
action find
entity Q37539
relation P17
type Q1048835
{'OR': [['Q3130', 'P17', {'concept': 'Q1048835'}], ['Q37539', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q3130 property:P17 ?u } UNION { resource:Q37539 property:P17 ?u } } . ?u rdf:type ontology:Q1048835 }
.ag Sydney
action filter_type
action union
action find
entity Sydney
relation country
action find
entity .ag
relation country
type political territorial entity
{'OR': [['Sydney', 'country', {'concept': 'political territorial entity'}], ['.ag', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Sydney property:country ?u } UNION { resource:.ag property:country ?u } } . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q781 Q408
SYSTEM
Antigua and Barbuda, Australia
Q781 Q408
OR((Q3130,P17,c(Q1048835)), (Q37539,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q3130
relation P17
action find
entity Q37539
relation P17
type Q1048835
Sydney or . ag belong to the [ANSWERS]
{'OR': [['Q3130', 'P17', {'concept': 'Q1048835'}], ['Q37539', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q3130 property:P17 ?u } UNION { resource:Q37539 property:P17 ?u } } . ?u rdf:type ontology:Q1048835 }
Antigua and Barbuda Australia
Sydney or . ag belong to the Antigua and Barbuda and Australia
Antigua and Barbuda Australia
action filter_type
action union
action find
entity Sydney
relation country
action find
entity .ag
relation country
type political territorial entity
{'OR': [['Sydney', 'country', {'concept': 'political territorial entity'}], ['.ag', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Sydney property:country ?u } UNION { resource:.ag property:country ?u } } . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q191077
P85
Q484692
USER
Which is the national anthem of Kingdom of Yugoslavia ?
(Q191077,P85,c(Q484692))
action filter_type
action find
entity Q191077
relation P85
type Q484692
['Q191077', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?s WHERE { resource:Q191077 property:P85 ?s . ?s rdf:type ontology:Q484692 }
Kingdom of Yugoslavia
action filter_type
action find
entity Kingdom of Yugoslavia
relation anthem
type hymn
['Kingdom of Yugoslavia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?s WHERE { resource:Kingdom_of_Yugoslavia property:anthem ?s . ?s rdf:type ontology:hymn }
[]
hymn
Q1317821
SYSTEM
National Anthem of the Kingdom of Yugoslavia
Q1317821
(Q191077,P85,c(Q484692))
action filter_type
action find
entity Q191077
relation P85
type Q484692
The national anthem of Kingdom of Yugoslavia is the [ANSWER]
['Q191077', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?s WHERE { resource:Q191077 property:P85 ?s . ?s rdf:type ontology:Q484692 }
National Anthem of the Kingdom of Yugoslavia
The national anthem of Kingdom of Yugoslavia is the National Anthem of the Kingdom of Yugoslavia
National Anthem of the Kingdom of Yugoslavia
action filter_type
action find
entity Kingdom of Yugoslavia
relation anthem
type hymn
['Kingdom of Yugoslavia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?s WHERE { resource:Kingdom_of_Yugoslavia property:anthem ?s . ?s rdf:type ontology:hymn }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q191077
P36
Q56061
USER
Which administrative territory is known as the capital of that state ?
(Q1317821,P36,c(Q56061))
action filter_type
action find
entity Q191077
relation P36
type Q56061
['Q1317821', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q191077 property:P36 ?q . ?q rdf:type ontology:Q56061 }
Kingdom of Yugoslavia
action filter_type
action find
entity Kingdom of Yugoslavia
relation capital
type administrative territorial entity
['National Anthem of the Kingdom of Yugoslavia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Kingdom_of_Yugoslavia property:capital ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3711
SYSTEM
Belgrade
Q3711
(Q1317821,P36,c(Q56061))
action filter_type
action find
entity Q191077
relation P36
type Q56061
[ANSWER] is known as the capital of that state
['Q1317821', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q191077 property:P36 ?q . ?q rdf:type ontology:Q56061 }
Belgrade
Belgrade is known as the capital of that state
Belgrade
action filter_type
action find
entity Kingdom of Yugoslavia
relation capital
type administrative territorial entity
['National Anthem of the Kingdom of Yugoslavia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Kingdom_of_Yugoslavia property:capital ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q14705332 Q3711
P206 P177
Q355304
USER
Which watercourses are situated close to Belgrade or are ranged over/under Haverhill-Bath Covered Bridge ?
OR((Q3711,P206,c(Q355304)), (Q14705332,P177,c(Q355304)))
action filter_type
action union
action find
entity Q3711
relation P206
action find
entity Q14705332
relation P177
type Q355304
{'OR': [['Q3711', 'P206', {'concept': 'Q355304'}], ['Q14705332', 'P177', {'concept': 'Q355304'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q355304 . { { resource:Q3711 property:P206 ?m } UNION { resource:Q14705332 property:P177 ?m } } }
Haverhill-Bath Covered Bridge Belgrade
action filter_type
action union
action find
entity Belgrade
relation located next to body of water
action find
entity Haverhill-Bath Covered Bridge
relation crosses
type watercourse
{'OR': [['Belgrade', 'located next to body of water', {'concept': 'watercourse'}], ['Haverhill-Bath Covered Bridge', 'crosses', {'concept': 'watercourse'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:watercourse . { { resource:Belgrade property:located_next_to_body_of_water ?m } UNION { resource:Haverhill-Bath_Covered_Bridge property:crosses ?m } } }
[]
watercourse
Q14383 Q1653 Q4747312
SYSTEM
Sava, Danube, Ammonoosuc River
Q14383 Q1653 Q4747312
OR((Q3711,P206,c(Q355304)), (Q14705332,P177,c(Q355304)))
action filter_type
action union
action find
entity Q3711
relation P206
action find
entity Q14705332
relation P177
type Q355304
[ANSWERS] are situated close to Belgrade or are ranged over/under Haverhill-Bath Covered Bridge
{'OR': [['Q3711', 'P206', {'concept': 'Q355304'}], ['Q14705332', 'P177', {'concept': 'Q355304'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q355304 . { { resource:Q3711 property:P206 ?m } UNION { resource:Q14705332 property:P177 ?m } } }
Sava Danube Ammonoosuc River
Sava, Danube and Ammonoosuc River are situated close to Belgrade or are ranged over/under Haverhill-Bath Covered Bridge
Sava Danube Ammonoosuc River
action filter_type
action union
action find
entity Belgrade
relation located next to body of water
action find
entity Haverhill-Bath Covered Bridge
relation crosses
type watercourse
{'OR': [['Belgrade', 'located next to body of water', {'concept': 'watercourse'}], ['Haverhill-Bath Covered Bridge', 'crosses', {'concept': 'watercourse'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:watercourse . { { resource:Belgrade property:located_next_to_body_of_water ?m } UNION { resource:Haverhill-Bath_Covered_Bridge property:crosses ?m } } }
[]