Simple Question (Direct)
Simple Question
Q3572
P1376
Q161243
USER
Which dependent territory has Tunis as its county seat ?
(Q3572,P1376,c(Q161243))
action filter_type
action find
entity Q3572
relation P1376
type Q161243
['Q3572', 'P1376', {'concept': 'Q161243'}]
SELECT DISTINCT ?t WHERE { resource:Q3572 property:P1376 ?t . ?t rdf:type ontology:Q161243 }
Tunis
action filter_type
action find
entity Tunis
relation capital of
type dependent territory
['Tunis', 'capital of', {'concept': 'dependent territory'}]
SELECT DISTINCT ?t WHERE { resource:Tunis property:capital_of ?t . ?t rdf:type ontology:dependent_territory }
[]
dependent territory
Q2017684
SYSTEM
French protectorate of Tunisia
Q2017684
(Q3572,P1376,c(Q161243))
action filter_type
action find
entity Q3572
relation P1376
type Q161243
[ANSWER] has Tunis as its county seat
['Q3572', 'P1376', {'concept': 'Q161243'}]
SELECT DISTINCT ?t WHERE { resource:Q3572 property:P1376 ?t . ?t rdf:type ontology:Q161243 }
French protectorate of Tunisia
French protectorate of Tunisia has Tunis as its county seat
French protectorate of Tunisia
action filter_type
action find
entity Tunis
relation capital of
type dependent territory
['Tunis', 'capital of', {'concept': 'dependent territory'}]
SELECT DISTINCT ?t WHERE { resource:Tunis property:capital_of ?t . ?t rdf:type ontology:dependent_territory }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2017684
P710
Q1190554
USER
What event was that dependent territory a participant of ?
(c(Q1190554),P710,Q2017684)
action filter_type
action find_reverse
entity Q2017684
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q2017684']
SELECT DISTINCT ?y WHERE { ?y property:P710 resource:Q2017684 . ?y rdf:type ontology:Q1190554 }
French protectorate of Tunisia
action filter_type
action find_reverse
entity French protectorate of Tunisia
relation participant
type event
[{'concept': 'event'}, 'participant', 'French protectorate of Tunisia']
SELECT DISTINCT ?y WHERE { ?y property:participant resource:French_protectorate_of_Tunisia . ?y rdf:type ontology:event }
[]
event
Q218678
SYSTEM
North African Campaign
Q218678
(c(Q1190554),P710,Q2017684)
action filter_type
action find_reverse
entity Q2017684
relation P710
type Q1190554
That dependent territory was the [ANSWER]
[{'concept': 'Q1190554'}, 'P710', 'Q2017684']
SELECT DISTINCT ?y WHERE { ?y property:P710 resource:Q2017684 . ?y rdf:type ontology:Q1190554 }
North African Campaign
That dependent territory was the North African Campaign
North African Campaign
action filter_type
action find_reverse
entity French protectorate of Tunisia
relation participant
type event
[{'concept': 'event'}, 'participant', 'French protectorate of Tunisia']
SELECT DISTINCT ?y WHERE { ?y property:participant resource:French_protectorate_of_Tunisia . ?y rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2017684
P276
Q1190554
USER
What is located at French protectorate of Tunisia ?
(c(Q1190554),P276,Q2017684)
action filter_type
action find_reverse
entity Q2017684
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q2017684']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q2017684 . ?k rdf:type ontology:Q1190554 }
French protectorate of Tunisia
action filter_type
action find_reverse
entity French protectorate of Tunisia
relation location
type event
[{'concept': 'event'}, 'location', 'French protectorate of Tunisia']
SELECT DISTINCT ?k WHERE { ?k property:location resource:French_protectorate_of_Tunisia . ?k rdf:type ontology:event }
[]
event
Q218678
SYSTEM
North African Campaign
Q218678
(c(Q1190554),P276,Q2017684)
action filter_type
action find_reverse
entity Q2017684
relation P276
type Q1190554
[ANSWER] is located at French protectorate of Tunisia
[{'concept': 'Q1190554'}, 'P276', 'Q2017684']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q2017684 . ?k rdf:type ontology:Q1190554 }
North African Campaign
North African Campaign is located at French protectorate of Tunisia
North African Campaign
action filter_type
action find_reverse
entity French protectorate of Tunisia
relation location
type event
[{'concept': 'event'}, 'location', 'French protectorate of Tunisia']
SELECT DISTINCT ?k WHERE { ?k property:location resource:French_protectorate_of_Tunisia . ?k rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3572
P291
Q2342494
USER
Which collectable has Tunis as its publication place ?
(c(Q2342494),P291,Q3572)
action filter_type
action find_reverse
entity Q3572
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q3572']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2342494 . ?p property:P291 resource:Q3572 }
Tunis
action filter_type
action find_reverse
entity Tunis
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Tunis']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:collectable . ?p property:place_of_publication resource:Tunis }
[]
collectable
Q27276676
SYSTEM
Liber de majori fine intellectus, amoris et honoris
Q27276676
(c(Q2342494),P291,Q3572)
action filter_type
action find_reverse
entity Q3572
relation P291
type Q2342494
[ANSWER] has Tunis as its publication place
[{'concept': 'Q2342494'}, 'P291', 'Q3572']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2342494 . ?p property:P291 resource:Q3572 }
Liber de majori fine intellectus, amoris et honoris
Liber de majori fine intellectus, amoris et honoris has Tunis as its publication place
Liber de majori fine intellectus, amoris et honoris
action filter_type
action find_reverse
entity Tunis
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Tunis']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:collectable . ?p property:place_of_publication resource:Tunis }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3572
P937
Q502895
USER
Who works at Tunis ?
(c(Q502895),P937,Q3572)
action filter_type
action find_reverse
entity Q3572
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q3572']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P937 resource:Q3572 }
Tunis
action filter_type
action find_reverse
entity Tunis
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Tunis']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:work_location resource:Tunis }
[]
common name
Q468864
SYSTEM
Lina Ben Mhenni
Q468864
(c(Q502895),P937,Q3572)
action filter_type
action find_reverse
entity Q3572
relation P937
type Q502895
[ANSWER] works at Tunis
[{'concept': 'Q502895'}, 'P937', 'Q3572']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P937 resource:Q3572 }
Lina Ben Mhenni
Lina Ben Mhenni works at Tunis
Lina Ben Mhenni
action filter_type
action find_reverse
entity Tunis
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Tunis']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:work_location resource:Tunis }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3572
P206
Q23397
USER
Which lake is located next to Tunis ?
(Q3572,P206,c(Q23397))
action filter_type
action find
entity Q3572
relation P206
type Q23397
['Q3572', 'P206', {'concept': 'Q23397'}]
SELECT DISTINCT ?j WHERE { resource:Q3572 property:P206 ?j . ?j rdf:type ontology:Q23397 }
Tunis
action filter_type
action find
entity Tunis
relation located next to body of water
type lake
['Tunis', 'located next to body of water', {'concept': 'lake'}]
SELECT DISTINCT ?j WHERE { resource:Tunis property:located_next_to_body_of_water ?j . ?j rdf:type ontology:lake }
[]
lake
Q576856
SYSTEM
Lake of Tunis
Q576856
(Q3572,P206,c(Q23397))
action filter_type
action find
entity Q3572
relation P206
type Q23397
Tunis [ANSWER] is located next to Tunis
['Q3572', 'P206', {'concept': 'Q23397'}]
SELECT DISTINCT ?j WHERE { resource:Q3572 property:P206 ?j . ?j rdf:type ontology:Q23397 }
Lake of Tunis
Tunis Lake of Tunis is located next to Tunis
Lake of Tunis
action filter_type
action find
entity Tunis
relation located next to body of water
type lake
['Tunis', 'located next to body of water', {'concept': 'lake'}]
SELECT DISTINCT ?j WHERE { resource:Tunis property:located_next_to_body_of_water ?j . ?j rdf:type ontology:lake }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2639395
Q23397
USER
And how about Chechen Island?
(Q2639395,P206,c(Q23397))
action filter_type
action find
entity Q2639395
relation P206
type Q23397
['Q2639395', 'P206', {'concept': 'Q23397'}]
SELECT DISTINCT ?y WHERE { resource:Q2639395 property:P206 ?y . ?y rdf:type ontology:Q23397 }
Chechen Island
action filter_type
action find
entity Chechen Island
relation located next to body of water
type lake
['Chechen Island', 'located next to body of water', {'concept': 'lake'}]
SELECT DISTINCT ?y WHERE { resource:Chechen_Island property:located_next_to_body_of_water ?y . ?y rdf:type ontology:lake }
[]
lake
Q5484
SYSTEM
Caspian Sea
Q5484
(Q2639395,P206,c(Q23397))
action filter_type
action find
entity Q2639395
relation P206
type Q23397
[ANSWER]
['Q2639395', 'P206', {'concept': 'Q23397'}]
SELECT DISTINCT ?y WHERE { resource:Q2639395 property:P206 ?y . ?y rdf:type ontology:Q23397 }
Caspian Sea
Caspian Sea
action filter_type
action find
entity Chechen Island
relation located next to body of water
type lake
['Chechen Island', 'located next to body of water', {'concept': 'lake'}]
SELECT DISTINCT ?y WHERE { resource:Chechen_Island property:located_next_to_body_of_water ?y . ?y rdf:type ontology:lake }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P469
Q23397 Q355304
USER
How many watercourses flows through exactly 3 lakes ?
(c(Q355304),P469,c(Q23397))
action count
action equal
action find_tuple_counts
relation P469
type Q355304
type Q23397
value 3
[{'concept': 'Q355304'}, 'P469', {'concept': 'Q23397'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?n ) WHERE { ?v property:P469 ?t . ?v rdf:type ontology:Q355304 . ?t rdf:type ontology:Q23397 } GROUP BY ?v } . FILTER ( ?n = 3 ) }
action count
action equal
action find_tuple_counts
relation lakes on river
type watercourse
type lake
value 3
[{'concept': 'watercourse'}, 'lakes on river', {'concept': 'lake'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?n ) WHERE { ?v property:lakes_on_river ?t . ?v rdf:type ontology:watercourse . ?t rdf:type ontology:lake } GROUP BY ?v } . FILTER ( ?n = 3 ) }
[]
lake watercourse
SYSTEM
1
Q1497
(c(Q355304),P469,c(Q23397))
action count
action equal
action find_tuple_counts
relation P469
type Q355304
type Q23397
value 3
[ANSWER]
[{'concept': 'Q355304'}, 'P469', {'concept': 'Q23397'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?n ) WHERE { ?v property:P469 ?t . ?v rdf:type ontology:Q355304 . ?t rdf:type ontology:Q23397 } GROUP BY ?v } . FILTER ( ?n = 3 ) }
Mississippi River
1
action count
action equal
action find_tuple_counts
relation lakes on river
type watercourse
type lake
value 3
[{'concept': 'watercourse'}, 'lakes on river', {'concept': 'lake'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?n ) WHERE { ?v property:lakes_on_river ?t . ?v rdf:type ontology:watercourse . ?t rdf:type ontology:lake } GROUP BY ?v } . FILTER ( ?n = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2639395
P17
Q15617994
USER
Which administrative territory does Chechen Island belong to ?
(Q2639395,P17,c(Q15617994))
action filter_type
action find
entity Q2639395
relation P17
type Q15617994
['Q2639395', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2639395 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Chechen Island
action filter_type
action find
entity Chechen Island
relation country
type designation for an administrative territorial entity
['Chechen Island', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Chechen_Island property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q2639395,P17,c(Q15617994))
action filter_type
action find
entity Q2639395
relation P17
type Q15617994
Chechen Island belongs to [ANSWER]
['Q2639395', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2639395 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Russia
Chechen Island belongs to Russia
Russia
action filter_type
action find
entity Chechen Island
relation country
type designation for an administrative territorial entity
['Chechen Island', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Chechen_Island property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17076638
Q15617994
USER
And what about Mowtowr-e Alam Beyk?
(Q17076638,P17,c(Q15617994))
action filter_type
action find
entity Q17076638
relation P17
type Q15617994
['Q17076638', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q17076638 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Mowtowr-e Alam Beyk
action filter_type
action find
entity Mowtowr-e Alam Beyk
relation country
type designation for an administrative territorial entity
['Mowtowr-e Alam Beyk', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Mowtowr-e_Alam_Beyk property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q17076638,P17,c(Q15617994))
action filter_type
action find
entity Q17076638
relation P17
type Q15617994
[ANSWER]
['Q17076638', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q17076638 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Iran
Iran
action filter_type
action find
entity Mowtowr-e Alam Beyk
relation country
type designation for an administrative territorial entity
['Mowtowr-e Alam Beyk', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Mowtowr-e_Alam_Beyk property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q794
P740
Q2472587
USER
What was formed at that administrative territory ?
(c(Q2472587),P740,Q794)
action filter_type
action find_reverse
entity Q794
relation P740
type Q2472587
[{'concept': 'Q2472587'}, 'P740', 'Q794']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2472587 . ?b property:P740 resource:Q794 }
Iran
action filter_type
action find_reverse
entity Iran
relation location of formation
type people
[{'concept': 'people'}, 'location of formation', 'Iran']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:people . ?b property:location_of_formation resource:Iran }
[]
people
Q142897
SYSTEM
Zaza people
Q142897
(c(Q2472587),P740,Q794)
action filter_type
action find_reverse
entity Q794
relation P740
type Q2472587
[ANSWER] was formed at that administrative territory
[{'concept': 'Q2472587'}, 'P740', 'Q794']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2472587 . ?b property:P740 resource:Q794 }
Zaza people
Zaza people was formed at that administrative territory
Zaza people
action filter_type
action find_reverse
entity Iran
relation location of formation
type people
[{'concept': 'people'}, 'location of formation', 'Iran']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:people . ?b property:location_of_formation resource:Iran }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q794 Q205218
P840
Q2342494
USER
How many collectables have a setting location of Iran or Dalarna ?
(c(Q2342494),P840,Q794) (c(Q2342494),P840,Q205218)
action count
action union
action filter_type
action find_reverse
entity Q794
relation P840
type Q2342494
action filter_type
action find_reverse
entity Q205218
relation P840
type Q2342494
[{'concept': 'Q2342494'}, 'P840', 'Q794'] [{'concept': 'Q2342494'}, 'P840', 'Q205218']
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { ?y property:P840 resource:Q794 . ?y rdf:type ontology:Q2342494 } UNION { ?y rdf:type ontology:Q2342494 . ?y property:P840 resource:Q205218 } }
Iran Dalarna
action count
action union
action filter_type
action find_reverse
entity Iran
relation narrative location
type collectable
action filter_type
action find_reverse
entity Dalarna
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Iran'] [{'concept': 'collectable'}, 'narrative location', 'Dalarna']
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { ?y property:narrative_location resource:Iran . ?y rdf:type ontology:collectable } UNION { ?y rdf:type ontology:collectable . ?y property:narrative_location resource:Dalarna } }
[]
collectable
SYSTEM
16
Q7366163 Q7730236 Q7736005 Q3119212 Q2359195 Q4170646 Q7428461 Q6878389 Q746583 Q7763336 Q8069036 Q3209140 Q3113136 Q6968393 Q3210568 Q7555643
(c(Q2342494),P840,Q794) (c(Q2342494),P840,Q205218)
action count
action union
action filter_type
action find_reverse
entity Q794
relation P840
type Q2342494
action filter_type
action find_reverse
entity Q205218
relation P840
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P840', 'Q794'] [{'concept': 'Q2342494'}, 'P840', 'Q205218']
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { ?y property:P840 resource:Q794 . ?y rdf:type ontology:Q2342494 } UNION { ?y rdf:type ontology:Q2342494 . ?y property:P840 resource:Q205218 } }
Rooftops of Tehran The Diplomat The Gaze of the Gazelle My Uncle Napoleon The House of the Mosque Foggy Tabriz Savushun Missing Soluch Histories The Septembers of Shiraz Zendegi A Fórmula de Deus Kelidar Natani A Dangerous Fortune Solacers
16
action count
action union
action filter_type
action find_reverse
entity Iran
relation narrative location
type collectable
action filter_type
action find_reverse
entity Dalarna
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Iran'] [{'concept': 'collectable'}, 'narrative location', 'Dalarna']
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { ?y property:narrative_location resource:Iran . ?y rdf:type ontology:collectable } UNION { ?y rdf:type ontology:collectable . ?y property:narrative_location resource:Dalarna } }
[]