Simple Question (Direct)
Simple Question
Q3174753
P19
Q56061
USER
Which administrative territory was Jean Témerson born in ?
(Q3174753,P19,c(Q56061))
action filter_type
action find
entity Q3174753
relation P19
type Q56061
['Q3174753', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q3174753 property:P19 ?c }
Jean Témerson
action filter_type
action find
entity Jean Témerson
relation place of birth
type administrative territorial entity
['Jean Témerson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Jean_Témerson property:place_of_birth ?c }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3174753,P19,c(Q56061))
action filter_type
action find
entity Q3174753
relation P19
type Q56061
Jean Témerson was born in [ANSWER]
['Q3174753', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q3174753 property:P19 ?c }
Paris
Jean Témerson was born in Paris
Paris
action filter_type
action find
entity Jean Témerson
relation place of birth
type administrative territorial entity
['Jean Témerson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Jean_Témerson property:place_of_birth ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P1001
Q4164871
USER
Which position has jurisdiction over that administrative territory ?
(c(Q4164871),P1001,Q90)
action filter_type
action find_reverse
entity Q90
relation P1001
type Q4164871
[{'concept': 'Q4164871'}, 'P1001', 'Q90']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q4164871 . ?a property:P1001 resource:Q90 }
Paris
action filter_type
action find_reverse
entity Paris
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Paris']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:position . ?a property:applies_to_jurisdiction resource:Paris }
[]
position
Q16773102
SYSTEM
Prefect of Police of Paris
Q16773102
(c(Q4164871),P1001,Q90)
action filter_type
action find_reverse
entity Q90
relation P1001
type Q4164871
[ANSWER] has jurisdiction over that administrative territory
[{'concept': 'Q4164871'}, 'P1001', 'Q90']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q4164871 . ?a property:P1001 resource:Q90 }
Prefect of Police of Paris
Prefect of Police of Paris has jurisdiction over that administrative territory
Prefect of Police of Paris
action filter_type
action find_reverse
entity Paris
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Paris']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:position . ?a property:applies_to_jurisdiction resource:Paris }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P1408
Q4830453
USER
Which business enterprises have license to broadcast to Paris ?
(c(Q4830453),P1408,Q90)
action filter_type
action find_reverse
entity Q90
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q90']
SELECT DISTINCT ?b WHERE { ?b property:P1408 resource:Q90 . ?b rdf:type ontology:Q4830453 }
Paris
action filter_type
action find_reverse
entity Paris
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Paris']
SELECT DISTINCT ?b WHERE { ?b property:licensed_to_broadcast_to resource:Paris . ?b rdf:type ontology:business_enterprise }
[]
business enterprise
Q314407 Q19904 Q1351173
SYSTEM
Europe 1, France Info, RTL
Q314407 Q1351173 Q1961361 Q19904 Q3359248
(c(Q4830453),P1408,Q90)
action filter_type
action find_reverse
entity Q90
relation P1408
type Q4830453
[ANSWERS] have license to broadcast to Paris
[{'concept': 'Q4830453'}, 'P1408', 'Q90']
SELECT DISTINCT ?b WHERE { ?b property:P1408 resource:Q90 . ?b rdf:type ontology:Q4830453 }
Europe 1 RTL NRJ France Info Ouï FM
Europe 1, France Info and RTL have license to broadcast to Paris
Europe 1 France Info RTL
action filter_type
action find_reverse
entity Paris
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Paris']
SELECT DISTINCT ?b WHERE { ?b property:licensed_to_broadcast_to resource:Paris . ?b rdf:type ontology:business_enterprise }
[]
Clarification
Simple Question|Single Entity|Indirect
Q314407
P17
Q15617994
USER
Which administrative territory is that business enterprise present in ?
(Q314407,P17,c(Q15617994))
action filter_type
action find
entity Q314407
relation P17
type Q15617994
['Q314407', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q314407 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Europe 1
action filter_type
action find
entity Europe 1
relation country
type designation for an administrative territorial entity
['Europe 1', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Europe_1 property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1351173
SYSTEM
Did you mean RTL ?
Q314407 Q19904 Q1351173
(Q314407,P17,c(Q15617994)) (Q19904,P17,c(Q15617994)) (Q1351173,P17,c(Q15617994))
[ANSWER]
['Q314407', 'P17', {'concept': 'Q15617994'}] ['Q19904', 'P17', {'concept': 'Q15617994'}] ['Q1351173', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q314407 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Europe 1 France Info RTL
Did you mean RTL ?
RTL
['Europe 1', 'country', {'concept': 'designation for an administrative territorial entity'}] ['France Info', 'country', {'concept': 'designation for an administrative territorial entity'}] ['RTL', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Europe_1 property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Europe 1. Could you tell me the answer for that?
(Q314407,P17,c(Q15617994))
Q314407
['Q314407', 'P17', {'concept': 'Q15617994'}]
['Europe 1', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q314407,P17,c(Q15617994))
action filter_type
action find
entity Q314407
relation P17
type Q15617994
That business enterprise is in [ANSWER]
['Q314407', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q314407 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
France
That business enterprise is in France
France
action filter_type
action find
entity Europe 1
relation country
type designation for an administrative territorial entity
['Europe 1', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Europe_1 property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q778
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic associations with around the same number of administrative territories as The Bahamas ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?i ) WHERE { ?o rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 . ?o property:P530 ?k } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:Q1048835 . resource:Q778 property:P530 ?w } } . FILTER ( ?i = ?g ) }
The Bahamas
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?i ) WHERE { ?o rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?k } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:political_territorial_entity . resource:The_Bahamas property:diplomatic_relation ?w } } . FILTER ( ?i = ?g ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?i ) WHERE { ?o rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 . ?o property:P530 ?k } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:Q1048835 . resource:Q778 property:P530 ?w } } . FILTER ( ?i = ?g ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?i ) WHERE { ?o rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?k } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:political_territorial_entity . resource:The_Bahamas property:diplomatic_relation ?w } } . FILTER ( ?i = ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q40
P530
Q15617994 Q1048835
USER
And how about Austria?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?s ) WHERE { ?m property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?m } . FILTER ( ?s = ?u ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { resource:Q40 property:P530 ?h . ?h rdf:type ontology:Q1048835 } } }
Austria
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?s ) WHERE { ?m property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?m } . FILTER ( ?s = ?u ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { resource:Austria property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?s ) WHERE { ?m property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?m } . FILTER ( ?s = ?u ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { resource:Q40 property:P530 ?h . ?h rdf:type ontology:Q1048835 } } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?s ) WHERE { ?m property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?m } . FILTER ( ?s = ?u ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { resource:Austria property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P610
Q14524493
USER
Which is the highest point of France ?
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?f WHERE { resource:Q142 property:P610 ?f . ?f rdf:type ontology:Q14524493 }
France
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?f WHERE { resource:France property:highest_point ?f . ?f rdf:type ontology:terrain }
[]
terrain
Q583
SYSTEM
Mont Blanc
Q583
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
The highest point of France is the [ANSWER]
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?f WHERE { resource:Q142 property:P610 ?f . ?f rdf:type ontology:Q14524493 }
Mont Blanc
The highest point of France is the Mont Blanc
Mont Blanc
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?f WHERE { resource:France property:highest_point ?f . ?f rdf:type ontology:terrain }
[]