Simple Question (Direct)
Simple Question
Q6417436
P69
Q3914
USER
What is the school where Kit Hesketh-Harvey was educated ?
(Q6417436,P69,c(Q3914))
action filter_type
action find
entity Q6417436
relation P69
type Q3914
['Q6417436', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?f WHERE { resource:Q6417436 property:P69 ?f . ?f rdf:type ontology:Q3914 }
Kit Hesketh-Harvey
action filter_type
action find
entity Kit Hesketh-Harvey
relation educated at
type school
['Kit Hesketh-Harvey', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?f WHERE { resource:Kit_Hesketh-Harvey property:educated_at ?f . ?f rdf:type ontology:school }
[]
school
Q3531508
SYSTEM
Tonbridge School
Q3531508
(Q6417436,P69,c(Q3914))
action filter_type
action find
entity Q6417436
relation P69
type Q3914
The school Kit Hesketh-Harvey was educated is at [ANSWER]
['Q6417436', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?f WHERE { resource:Q6417436 property:P69 ?f . ?f rdf:type ontology:Q3914 }
Tonbridge School
The school Kit Hesketh-Harvey was educated is at Tonbridge School
Tonbridge School
action filter_type
action find
entity Kit Hesketh-Harvey
relation educated at
type school
['Kit Hesketh-Harvey', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?f WHERE { resource:Kit_Hesketh-Harvey property:educated_at ?f . ?f rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3531508
P17
Q15617994
USER
Which administrative territory is that school located in ?
(Q3531508,P17,c(Q15617994))
action filter_type
action find
entity Q3531508
relation P17
type Q15617994
['Q3531508', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q3531508 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Tonbridge School
action filter_type
action find
entity Tonbridge School
relation country
type designation for an administrative territorial entity
['Tonbridge School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Tonbridge_School property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q3531508,P17,c(Q15617994))
action filter_type
action find
entity Q3531508
relation P17
type Q15617994
That school is located in [ANSWER]
['Q3531508', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q3531508 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
United Kingdom
That school is located in United Kingdom
United Kingdom
action filter_type
action find
entity Tonbridge School
relation country
type designation for an administrative territorial entity
['Tonbridge School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Tonbridge_School property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P37
Q34770
USER
What is considered to be the official language of that administrative territory ?
(Q145,P37,c(Q34770))
action filter_type
action find
entity Q145
relation P37
type Q34770
['Q145', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q34770 . resource:Q145 property:P37 ?s }
United Kingdom
action filter_type
action find
entity United Kingdom
relation official language
type language
['United Kingdom', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:language . resource:United_Kingdom property:official_language ?s }
[]
language
Q1860
SYSTEM
English
Q1860
(Q145,P37,c(Q34770))
action filter_type
action find
entity Q145
relation P37
type Q34770
[ANSWER] is considered to be the official language of that administrative territory
['Q145', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q34770 . resource:Q145 property:P37 ?s }
English
English is considered to be the official language of that administrative territory
English
action filter_type
action find
entity United Kingdom
relation official language
type language
['United Kingdom', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:language . resource:United_Kingdom property:official_language ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6417436
P58
Q838948
USER
What is Kit Hesketh-Harvey a screwriter of ?
(c(Q838948),P58,Q6417436)
action filter_type
action find_reverse
entity Q6417436
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q6417436']
SELECT DISTINCT ?d WHERE { ?d property:P58 resource:Q6417436 . ?d rdf:type ontology:Q838948 }
Kit Hesketh-Harvey
action filter_type
action find_reverse
entity Kit Hesketh-Harvey
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Kit Hesketh-Harvey']
SELECT DISTINCT ?d WHERE { ?d property:screenwriter resource:Kit_Hesketh-Harvey . ?d rdf:type ontology:work_of_art }
[]
work of art
Q432088
SYSTEM
Maurice
Q432088
(c(Q838948),P58,Q6417436)
action filter_type
action find_reverse
entity Q6417436
relation P58
type Q838948
Kit Hesketh-Harvey a screwriter of is [ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q6417436']
SELECT DISTINCT ?d WHERE { ?d property:P58 resource:Q6417436 . ?d rdf:type ontology:Q838948 }
Maurice
Kit Hesketh-Harvey a screwriter of is Maurice
Maurice
action filter_type
action find_reverse
entity Kit Hesketh-Harvey
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Kit Hesketh-Harvey']
SELECT DISTINCT ?d WHERE { ?d property:screenwriter resource:Kit_Hesketh-Harvey . ?d rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q432088
P344
Q502895
USER
Who is the cinematographer of that work of art ?
(Q432088,P344,c(Q502895))
action filter_type
action find
entity Q432088
relation P344
type Q502895
['Q432088', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q432088 property:P344 ?x }
Maurice
action filter_type
action find
entity Maurice
relation director of photography
type common name
['Maurice', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Maurice property:director_of_photography ?x }
[]
common name
Q932305
SYSTEM
Pierre Lhomme
Q932305
(Q432088,P344,c(Q502895))
action filter_type
action find
entity Q432088
relation P344
type Q502895
The cinematographer of that work of art is the [ANSWER]
['Q432088', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q432088 property:P344 ?x }
Pierre Lhomme
The cinematographer of that work of art is the Pierre Lhomme
Pierre Lhomme
action filter_type
action find
entity Maurice
relation director of photography
type common name
['Maurice', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Maurice property:director_of_photography ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P36
Q56061
USER
Which administrative territory is known as the capital of United Kingdom ?
(Q145,P36,c(Q56061))
action filter_type
action find
entity Q145
relation P36
type Q56061
['Q145', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q145 property:P36 ?z }
United Kingdom
action filter_type
action find
entity United Kingdom
relation capital
type administrative territorial entity
['United Kingdom', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:United_Kingdom property:capital ?z }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q145,P36,c(Q56061))
action filter_type
action find
entity Q145
relation P36
type Q56061
[ANSWER] is known as the capital of United Kingdom
['Q145', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q145 property:P36 ?z }
London
London is known as the capital of United Kingdom
London
action filter_type
action find
entity United Kingdom
relation capital
type administrative territorial entity
['United Kingdom', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:United_Kingdom property:capital ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P421
Q317623
USER
What is the timezone where that administrative territory is located in ?
(Q84,P421,c(Q317623))
action filter_type
action find
entity Q145
relation P421
type Q317623
['Q84', 'P421', {'concept': 'Q317623'}]
SELECT DISTINCT ?o WHERE { resource:Q145 property:P421 ?o . ?o rdf:type ontology:Q317623 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation located in time zone
type technical standard
['London', 'located in time zone', {'concept': 'technical standard'}]
SELECT DISTINCT ?o WHERE { resource:United_Kingdom property:located_in_time_zone ?o . ?o rdf:type ontology:technical_standard }
[]
technical standard
Q30192
SYSTEM
Greenwich Mean Time
Q30192
(Q84,P421,c(Q317623))
action filter_type
action find
entity Q145
relation P421
type Q317623
The timezone that administrative territory is located in is the [ANSWER]
['Q84', 'P421', {'concept': 'Q317623'}]
SELECT DISTINCT ?o WHERE { resource:Q145 property:P421 ?o . ?o rdf:type ontology:Q317623 }
Greenwich Mean Time
The timezone that administrative territory is located in is the Greenwich Mean Time
Greenwich Mean Time
action filter_type
action find
entity United Kingdom
relation located in time zone
type technical standard
['London', 'located in time zone', {'concept': 'technical standard'}]
SELECT DISTINCT ?o WHERE { resource:United_Kingdom property:located_in_time_zone ?o . ?o rdf:type ontology:technical_standard }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2860
Q317623 Q49848
USER
How many documents cites exactly 1 technical standard ?
(c(Q49848),P2860,c(Q317623))
action count
action equal
action find_tuple_counts
relation P2860
type Q49848
type Q317623
value 1
[{'concept': 'Q49848'}, 'P2860', {'concept': 'Q317623'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?k ) WHERE { ?u property:P2860 ?g . ?u rdf:type ontology:Q49848 . ?g rdf:type ontology:Q317623 } GROUP BY ?u } . FILTER ( ?k = 1 ) }
action count
action equal
action find_tuple_counts
relation cites
type document
type technical standard
value 1
[{'concept': 'document'}, 'cites', {'concept': 'technical standard'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?k ) WHERE { ?u property:cites ?g . ?u rdf:type ontology:document . ?g rdf:type ontology:technical_standard } GROUP BY ?u } . FILTER ( ?k = 1 ) }
[]
technical standard document
SYSTEM
1
Q26250405
(c(Q49848),P2860,c(Q317623))
action count
action equal
action find_tuple_counts
relation P2860
type Q49848
type Q317623
value 1
[ANSWER]
[{'concept': 'Q49848'}, 'P2860', {'concept': 'Q317623'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?k ) WHERE { ?u property:P2860 ?g . ?u rdf:type ontology:Q49848 . ?g rdf:type ontology:Q317623 } GROUP BY ?u } . FILTER ( ?k = 1 ) }
Data Encoding Specification for IC Full Service Directory Schema, version 2
1
action count
action equal
action find_tuple_counts
relation cites
type document
type technical standard
value 1
[{'concept': 'document'}, 'cites', {'concept': 'technical standard'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?k ) WHERE { ?u property:cites ?g . ?u rdf:type ontology:document . ?g rdf:type ontology:technical_standard } GROUP BY ?u } . FILTER ( ?k = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q932305
P495 P344
Q838948
USER
Which works of art are Pierre Lhomme assigned to as the director of photography and originate at United States of America ?
AND((c(Q838948),P344,Q932305), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q932305
relation P344
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P344', 'Q932305'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?h WHERE { ?h property:P495 resource:Q30 . ?h property:P344 resource:Q932305 . ?h rdf:type ontology:Q838948 }
United States of America Pierre Lhomme
action filter_type
action intersection
action find_reverse
entity Pierre Lhomme
relation director of photography
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'director of photography', 'Pierre Lhomme'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?h WHERE { ?h property:country_of_origin resource:United_States_of_America . ?h property:director_of_photography resource:Pierre_Lhomme . ?h rdf:type ontology:work_of_art }
[]
work of art
Q1306265 Q1643330 Q642166
SYSTEM
Le Divorce, Jefferson in Paris, My Little Girl
Q1306265 Q1643330 Q642166
AND((c(Q838948),P344,Q932305), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q932305
relation P344
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWERS] are Pierre Lhomme assigned to as the director of photography and originate at United States of America
{'AND': [[{'concept': 'Q838948'}, 'P344', 'Q932305'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?h WHERE { ?h property:P495 resource:Q30 . ?h property:P344 resource:Q932305 . ?h rdf:type ontology:Q838948 }
Le Divorce Jefferson in Paris My Little Girl
Le Divorce, Jefferson in Paris and My Little Girl are Pierre Lhomme assigned to as the director of photography and originate at United States of America
Le Divorce Jefferson in Paris My Little Girl
action filter_type
action intersection
action find_reverse
entity Pierre Lhomme
relation director of photography
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'director of photography', 'Pierre Lhomme'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?h WHERE { ?h property:country_of_origin resource:United_States_of_America . ?h property:director_of_photography resource:Pierre_Lhomme . ?h rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1306265 Q1643330 Q642166
P86
Q502895
USER
Who were Le Divorce, Jefferson in Paris and My Little Girl composed by ?
(Q1306265,P86,c(Q502895)) (Q1643330,P86,c(Q502895)) (Q642166,P86,c(Q502895))
action union
action filter_type
action find
entity Q1306265
relation P86
type Q502895
action filter_type
action find
entity Q1643330
relation P86
type Q502895
action filter_type
action find
entity Q642166
relation P86
type Q502895
['Q1306265', 'P86', {'concept': 'Q502895'}] ['Q1643330', 'P86', {'concept': 'Q502895'}] ['Q642166', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?h ) { ( resource:Q1306265 ) ( resource:Q1643330 ) } . ?h property:P86 ?w }
Le Divorce Jefferson in Paris My Little Girl
action union
action filter_type
action find
entity Le Divorce
relation composer
type common name
action filter_type
action find
entity Jefferson in Paris
relation composer
type common name
action filter_type
action find
entity My Little Girl
relation composer
type common name
['Le Divorce', 'composer', {'concept': 'common name'}] ['Jefferson in Paris', 'composer', {'concept': 'common name'}] ['My Little Girl', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?h ) { ( resource:Le_Divorce ) ( resource:Jefferson_in_Paris ) } . ?h property:composer ?w }
[]
common name
Q707132 Q707132 Q707132
SYSTEM
Richard Robbins
Q707132 Q707132 Q707132
(Q1306265,P86,c(Q502895)) (Q1643330,P86,c(Q502895)) (Q642166,P86,c(Q502895))
action union
action filter_type
action find
entity Q1306265
relation P86
type Q502895
action filter_type
action find
entity Q1643330
relation P86
type Q502895
action filter_type
action find
entity Q642166
relation P86
type Q502895
Le Divorce , Jefferson in Paris and My Little Girl composed were by [ANSWER], [ANSWER] and [ANSWER]
['Q1306265', 'P86', {'concept': 'Q502895'}] ['Q1643330', 'P86', {'concept': 'Q502895'}] ['Q642166', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?h ) { ( resource:Q1306265 ) ( resource:Q1643330 ) } . ?h property:P86 ?w }
Richard Robbins Richard Robbins Richard Robbins
Le Divorce , Jefferson in Paris and My Little Girl composed were by Richard Robbins, Richard Robbins and Richard Robbins
Richard Robbins Richard Robbins Richard Robbins
action union
action filter_type
action find
entity Le Divorce
relation composer
type common name
action filter_type
action find
entity Jefferson in Paris
relation composer
type common name
action filter_type
action find
entity My Little Girl
relation composer
type common name
['Le Divorce', 'composer', {'concept': 'common name'}] ['Jefferson in Paris', 'composer', {'concept': 'common name'}] ['My Little Girl', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?h ) { ( resource:Le_Divorce ) ( resource:Jefferson_in_Paris ) } . ?h property:composer ?w }
[]