Simple Question (Direct)
Simple Question
Q585351
P21
Q290
USER
Which sex does William Kirby belong to ?
(Q585351,P21,c(Q290))
action filter_type
action find
entity Q585351
relation P21
type Q290
['Q585351', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q585351 property:P21 ?u . ?u rdf:type ontology:Q290 }
William Kirby
action filter_type
action find
entity William Kirby
relation gender
type sex
['William Kirby', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:William_Kirby property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q585351,P21,c(Q290))
action filter_type
action find
entity Q585351
relation P21
type Q290
William Kirby belongs to [ANSWER]
['Q585351', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q585351 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
William Kirby belongs to male
male
action filter_type
action find
entity William Kirby
relation gender
type sex
['William Kirby', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:William_Kirby property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q585351
P800
Q2342494
USER
Which collectable is notable work of that person ?
(Q6581097,P800,c(Q2342494))
action filter_type
action find
entity Q585351
relation P800
type Q2342494
['Q6581097', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2342494 . resource:Q585351 property:P800 ?i }
William Kirby
action filter_type
action find
entity William Kirby
relation notable work
type collectable
['male', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:collectable . resource:William_Kirby property:notable_work ?i }
[]
collectable
Q7737024
SYSTEM
The Golden Dog
Q7737024
(Q6581097,P800,c(Q2342494))
action filter_type
action find
entity Q585351
relation P800
type Q2342494
[ANSWER] is notable work of that person
['Q6581097', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2342494 . resource:Q585351 property:P800 ?i }
The Golden Dog
The Golden Dog is notable work of that person
The Golden Dog
action filter_type
action find
entity William Kirby
relation notable work
type collectable
['male', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:collectable . resource:William_Kirby property:notable_work ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q585351
P50
Q2342494
USER
What is the collectable written by William Kirby ?
(c(Q2342494),P50,Q585351)
action filter_type
action find_reverse
entity Q585351
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q585351']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2342494 . ?z property:P50 resource:Q585351 }
William Kirby
action filter_type
action find_reverse
entity William Kirby
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'William Kirby']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:collectable . ?z property:author resource:William_Kirby }
[]
collectable
Q7737024
SYSTEM
The Golden Dog
Q7737024
(c(Q2342494),P50,Q585351)
action filter_type
action find_reverse
entity Q585351
relation P50
type Q2342494
The collectable written by William Kirby is [ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q585351']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2342494 . ?z property:P50 resource:Q585351 }
The Golden Dog
The collectable written by William Kirby is The Golden Dog
The Golden Dog
action filter_type
action find_reverse
entity William Kirby
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'William Kirby']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:collectable . ?z property:author resource:William_Kirby }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7737024
P655
Q502895
USER
Which person translated that collectable ?
(Q7737024,P655,c(Q502895))
action filter_type
action find
entity Q7737024
relation P655
type Q502895
['Q7737024', 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q7737024 property:P655 ?s . ?s rdf:type ontology:Q502895 }
The Golden Dog
action filter_type
action find
entity The Golden Dog
relation translator
type common name
['The Golden Dog', 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Golden_Dog property:translator ?s . ?s rdf:type ontology:common_name }
[]
common name
Q3361811
SYSTEM
Pamphile LeMay
Q3361811
(Q7737024,P655,c(Q502895))
action filter_type
action find
entity Q7737024
relation P655
type Q502895
[ANSWER] translated that collectable
['Q7737024', 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q7737024 property:P655 ?s . ?s rdf:type ontology:Q502895 }
Pamphile LeMay
Pamphile LeMay translated that collectable
Pamphile LeMay
action filter_type
action find
entity The Golden Dog
relation translator
type common name
['The Golden Dog', 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Golden_Dog property:translator ?s . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can around 3344 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3344
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?r ) WHERE { ?w rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?w } GROUP BY ?w } . FILTER ( ?r = 3344 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3344
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?r ) WHERE { ?w rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?w } GROUP BY ?w } . FILTER ( ?r = 3344 ) }
[]
musical instrument common name
Q8355 Q1444 Q128309
SYSTEM
violin, organ, drum kit
Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3344
[ANSWERS] can around 3344 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?r ) WHERE { ?w rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?w } GROUP BY ?w } . FILTER ( ?r = 3344 ) }
violin organ drum kit
Violin, organ and drum kit can around 3344 people perform with
violin organ drum kit
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3344
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?r ) WHERE { ?w rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?w } GROUP BY ?w } . FILTER ( ?r = 3344 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3361811
P735
Q82799
USER
Which name is Pamphile LeMay known by ?
(Q3361811,P735,c(Q82799))
action filter_type
action find
entity Q3361811
relation P735
type Q82799
['Q3361811', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q3361811 property:P735 ?i . ?i rdf:type ontology:Q82799 }
Pamphile LeMay
action filter_type
action find
entity Pamphile LeMay
relation given name
type name
['Pamphile LeMay', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Pamphile_LeMay property:given_name ?i . ?i rdf:type ontology:name }
[]
name
Q21416481
SYSTEM
Pamphile
Q21416481
(Q3361811,P735,c(Q82799))
action filter_type
action find
entity Q3361811
relation P735
type Q82799
[ANSWER] LeMay is known as [ANSWER]
['Q3361811', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q3361811 property:P735 ?i . ?i rdf:type ontology:Q82799 }
Pamphile
Pamphile LeMay is known as Pamphile
Pamphile
action filter_type
action find
entity Pamphile LeMay
relation given name
type name
['Pamphile LeMay', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Pamphile_LeMay property:given_name ?i . ?i rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3361811
P27
Q1048835
USER
Which political territory is that person an inhabitant of ?
(Q21416481,P27,c(Q1048835))
action filter_type
action find
entity Q3361811
relation P27
type Q1048835
['Q21416481', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . resource:Q3361811 property:P27 ?v }
Pamphile LeMay
action filter_type
action find
entity Pamphile LeMay
relation country of citizenship
type political territorial entity
['Pamphile', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Pamphile_LeMay property:country_of_citizenship ?v }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q21416481,P27,c(Q1048835))
action filter_type
action find
entity Q3361811
relation P27
type Q1048835
[ANSWER] is that person an inhabitant of
['Q21416481', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . resource:Q3361811 property:P27 ?v }
Canada
Canada is that person an inhabitant of
Canada
action filter_type
action find
entity Pamphile LeMay
relation country of citizenship
type political territorial entity
['Pamphile', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Pamphile_LeMay property:country_of_citizenship ?v }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q1048835 Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with atmost 102 political territories and administrative territories ?
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action atmost
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
value 102
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?y <= 102 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) ?r WHERE { { ?x property:P530 ?r . ?x rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 } UNION { ?r rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q1048835 . ?x property:P530 ?r } } GROUP BY ?r } }
action atmost
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 102
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?y <= 102 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) ?r WHERE { { ?x property:diplomatic_relation ?r . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity } UNION { ?r rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:political_territorial_entity . ?x property:diplomatic_relation ?r } } GROUP BY ?r } }
[]
political territorial entity political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action atmost
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
value 102
[ANSWERS] have a diplomatic relationship with atmost 102 political territories and administrative territories
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?y <= 102 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) ?r WHERE { { ?x property:P530 ?r . ?x rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 } UNION { ?r rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q1048835 . ?x property:P530 ?r } } GROUP BY ?r } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have a diplomatic relationship with atmost 102 political territories and administrative territories
Denmark Canada Austria
action atmost
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 102
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?y <= 102 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) ?r WHERE { { ?x property:diplomatic_relation ?r . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity } UNION { ?r rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:political_territorial_entity . ?x property:diplomatic_relation ?r } } GROUP BY ?r } }
[]