Simple Question (Direct)
Simple Question
Q4890298
P19
Q1048835
USER
Which political territory is the birthplace of Manuel de Larramendi ?
(Q4890298,P19,c(Q1048835))
action filter_type
action find
entity Q4890298
relation P19
type Q1048835
['Q4890298', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q4890298 property:P19 ?c . ?c rdf:type ontology:Q1048835 }
Manuel de Larramendi
action filter_type
action find
entity Manuel de Larramendi
relation place of birth
type political territorial entity
['Manuel de Larramendi', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Manuel_de_Larramendi property:place_of_birth ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1598976
SYSTEM
Andoain
Q1598976
(Q4890298,P19,c(Q1048835))
action filter_type
action find
entity Q4890298
relation P19
type Q1048835
[ANSWER] is the birthplace of Manuel de Larramendi
['Q4890298', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q4890298 property:P19 ?c . ?c rdf:type ontology:Q1048835 }
Andoain
Andoain is the birthplace of Manuel de Larramendi
Andoain
action filter_type
action find
entity Manuel de Larramendi
relation place of birth
type political territorial entity
['Manuel de Larramendi', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Manuel_de_Larramendi property:place_of_birth ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4890298
P1412
Q34770
USER
What languages do that person speak in ?
(Q1598976,P1412,c(Q34770))
action filter_type
action find
entity Q4890298
relation P1412
type Q34770
['Q1598976', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q34770 . resource:Q4890298 property:P1412 ?l }
Manuel de Larramendi
action filter_type
action find
entity Manuel de Larramendi
relation languages spoken, written or signed
type language
['Andoain', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:language . resource:Manuel_de_Larramendi property:languages_spoken,_written_or_signed ?l }
[]
language
Q8752 Q1321
SYSTEM
Basque, Spanish
Q8752 Q1321
(Q1598976,P1412,c(Q34770))
action filter_type
action find
entity Q4890298
relation P1412
type Q34770
That person speak Spanish [ANSWERS]
['Q1598976', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q34770 . resource:Q4890298 property:P1412 ?l }
Basque Spanish
That person speak Spanish Basque and Spanish
Basque Spanish
action filter_type
action find
entity Manuel de Larramendi
relation languages spoken, written or signed
type language
['Andoain', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:language . resource:Manuel_de_Larramendi property:languages_spoken,_written_or_signed ?l }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q752854
P282
Q2001982 Q34770
USER
How many notations are the writing systems used for greater number of languages than Sui script ?
(c(Q34770),P282,c(Q2001982))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q752854
relation P282
type Q2001982
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ontology:Q2001982 . resource:Q752854 property:P282 ?u } } . FILTER ( ?j > ?y ) . { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?j ) WHERE { ?n property:P282 ?d . ?d rdf:type ontology:Q2001982 . ?n rdf:type ontology:Q34770 } GROUP BY ?d } }
Sui script
action count
action greater
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Sui script
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ontology:notation . resource:Sui_script property:writing_system ?u } } . FILTER ( ?j > ?y ) . { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?j ) WHERE { ?n property:writing_system ?d . ?d rdf:type ontology:notation . ?n rdf:type ontology:language } GROUP BY ?d } }
[]
notation language
SYSTEM
6
Q82772 Q8216 Q1771716 Q3322653 Q790681 Q401
(c(Q34770),P282,c(Q2001982))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q752854
relation P282
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ontology:Q2001982 . resource:Q752854 property:P282 ?u } } . FILTER ( ?j > ?y ) . { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?j ) WHERE { ?n property:P282 ?d . ?d rdf:type ontology:Q2001982 . ?n rdf:type ontology:Q34770 } GROUP BY ?d } }
kanji Greek alphabet Pahlavi scripts Southwest Paleohispanic script Avestan alphabet cuneiform
6
action count
action greater
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Sui script
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u rdf:type ontology:notation . resource:Sui_script property:writing_system ?u } } . FILTER ( ?j > ?y ) . { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?j ) WHERE { ?n property:writing_system ?d . ?d rdf:type ontology:notation . ?n rdf:type ontology:language } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q187659
P282
Q2001982 Q34770
USER
And what about kana?
(c(Q34770),P282,c(Q2001982))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q187659
relation P282
type Q2001982
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Q187659 property:P282 ?s . ?s rdf:type ontology:Q2001982 } } . FILTER ( ?n > ?r ) . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?n ) WHERE { ?j property:P282 ?b . ?b rdf:type ontology:Q2001982 . ?j rdf:type ontology:Q34770 } GROUP BY ?b } }
kana
action count
action greater
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity kana
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:kana property:writing_system ?s . ?s rdf:type ontology:notation } } . FILTER ( ?n > ?r ) . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?n ) WHERE { ?j property:writing_system ?b . ?b rdf:type ontology:notation . ?j rdf:type ontology:language } GROUP BY ?b } }
[]
notation language
SYSTEM
6
Q82772 Q8216 Q1771716 Q3322653 Q790681 Q401
(c(Q34770),P282,c(Q2001982))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q187659
relation P282
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Q187659 property:P282 ?s . ?s rdf:type ontology:Q2001982 } } . FILTER ( ?n > ?r ) . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?n ) WHERE { ?j property:P282 ?b . ?b rdf:type ontology:Q2001982 . ?j rdf:type ontology:Q34770 } GROUP BY ?b } }
kanji Greek alphabet Pahlavi scripts Southwest Paleohispanic script Avestan alphabet cuneiform
6
action count
action greater
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity kana
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:kana property:writing_system ?s . ?s rdf:type ontology:notation } } . FILTER ( ?n > ?r ) . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?n ) WHERE { ?j property:writing_system ?b . ?b rdf:type ontology:notation . ?j rdf:type ontology:language } GROUP BY ?b } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3322653
P282
Q2001982 Q34770
USER
How many notations are utilized as the script for approximately the same number of languages as Southwest Paleohispanic script ?
(c(Q34770),P282,c(Q2001982))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q3322653
relation P282
type Q2001982
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P282 ?s . ?s rdf:type ontology:Q2001982 . ?d rdf:type ontology:Q34770 } GROUP BY ?s } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q3322653 property:P282 ?p . ?p rdf:type ontology:Q2001982 } } }
Southwest Paleohispanic script
action count
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Southwest Paleohispanic script
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:writing_system ?s . ?s rdf:type ontology:notation . ?d rdf:type ontology:language } GROUP BY ?s } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Southwest_Paleohispanic_script property:writing_system ?p . ?p rdf:type ontology:notation } } }
[]
notation language
SYSTEM
4
Q82772 Q1771716 Q3322653 Q790681
(c(Q34770),P282,c(Q2001982))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q3322653
relation P282
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P282 ?s . ?s rdf:type ontology:Q2001982 . ?d rdf:type ontology:Q34770 } GROUP BY ?s } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q3322653 property:P282 ?p . ?p rdf:type ontology:Q2001982 } } }
kanji Pahlavi scripts Southwest Paleohispanic script Avestan alphabet
4
action count
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Southwest Paleohispanic script
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:writing_system ?s . ?s rdf:type ontology:notation . ?d rdf:type ontology:language } GROUP BY ?s } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Southwest_Paleohispanic_script property:writing_system ?p . ?p rdf:type ontology:notation } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q82772
P282
Q2001982 Q34770
USER
And what about kanji?
(c(Q34770),P282,c(Q2001982))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q82772
relation P282
type Q2001982
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?z ) WHERE { ?o rdf:type ontology:Q2001982 . ?w rdf:type ontology:Q34770 . ?w property:P282 ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q82772 property:P282 ?f . ?f rdf:type ontology:Q2001982 } } . FILTER ( ?z = ?r ) }
kanji
action count
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity kanji
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?z ) WHERE { ?o rdf:type ontology:notation . ?w rdf:type ontology:language . ?w property:writing_system ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:kanji property:writing_system ?f . ?f rdf:type ontology:notation } } . FILTER ( ?z = ?r ) }
[]
notation language
SYSTEM
4
Q82772 Q1771716 Q3322653 Q790681
(c(Q34770),P282,c(Q2001982))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q82772
relation P282
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?z ) WHERE { ?o rdf:type ontology:Q2001982 . ?w rdf:type ontology:Q34770 . ?w property:P282 ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q82772 property:P282 ?f . ?f rdf:type ontology:Q2001982 } } . FILTER ( ?z = ?r ) }
kanji Pahlavi scripts Southwest Paleohispanic script Avestan alphabet
4
action count
action approx
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity kanji
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?z ) WHERE { ?o rdf:type ontology:notation . ?w rdf:type ontology:language . ?w property:writing_system ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:kanji property:writing_system ?f . ?f rdf:type ontology:notation } } . FILTER ( ?z = ?r ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P530
Q1048835 Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with min number of political territories or administrative territories ?
(c(Q1048835),P530,c(Q1048835)|c(Q15617994))
action argmin
action union
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?g WHERE { ?m rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?x WHERE { VALUES ( ?o ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?p rdf:type ?o } GROUP BY ?x } . FILTER ( ?e = ?k ) }
action argmin
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?g WHERE { ?m rdf:type ?t . VALUES ( ?t ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?x WHERE { VALUES ( ?o ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?p rdf:type ?o } GROUP BY ?x } . FILTER ( ?e = ?k ) }
[]
political territorial entity designation for an administrative territorial entity political territorial entity
Q1000 Q769 Q691
SYSTEM
Gabon, Grenada, Papua New Guinea
Q1000 Q781 Q778 Q769 Q685 Q691
(c(Q1048835),P530,c(Q1048835)|c(Q15617994))
action argmin
action union
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] are known to have diplomatic connections with min number of political territories or administrative territories
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?g WHERE { ?m rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?x WHERE { VALUES ( ?o ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?p rdf:type ?o } GROUP BY ?x } . FILTER ( ?e = ?k ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea
Gabon, Grenada and Papua New Guinea are known to have diplomatic connections with min number of political territories or administrative territories
Gabon Grenada Papua New Guinea
action argmin
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?g WHERE { ?m rdf:type ?t . VALUES ( ?t ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?x WHERE { VALUES ( ?o ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?p rdf:type ?o } GROUP BY ?x } . FILTER ( ?e = ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1000
P20
Q502895
USER
Which person has Gabon as place of death ?
(c(Q502895),P20,Q1000)
action filter_type
action find_reverse
entity Q1000
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q1000']
SELECT DISTINCT ?b WHERE { ?b property:P20 resource:Q1000 . ?b rdf:type ontology:Q502895 }
Gabon
action filter_type
action find_reverse
entity Gabon
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Gabon']
SELECT DISTINCT ?b WHERE { ?b property:place_of_death resource:Gabon . ?b rdf:type ontology:common_name }
[]
common name
Q313430
SYSTEM
Bartholomew Roberts
Q313430
(c(Q502895),P20,Q1000)
action filter_type
action find_reverse
entity Q1000
relation P20
type Q502895
[ANSWER] has Gabon as place of death
[{'concept': 'Q502895'}, 'P20', 'Q1000']
SELECT DISTINCT ?b WHERE { ?b property:P20 resource:Q1000 . ?b rdf:type ontology:Q502895 }
Bartholomew Roberts
Bartholomew Roberts has Gabon as place of death
Bartholomew Roberts
action filter_type
action find_reverse
entity Gabon
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Gabon']
SELECT DISTINCT ?b WHERE { ?b property:place_of_death resource:Gabon . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q313430
P921
Q191067
USER
Which article has that person as its main topic ?
(c(Q191067),P921,Q313430)
action filter_type
action find_reverse
entity Q313430
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q313430']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q191067 . ?c property:P921 resource:Q313430 }
Bartholomew Roberts
action filter_type
action find_reverse
entity Bartholomew Roberts
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Bartholomew Roberts']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:article . ?c property:main_subject resource:Bartholomew_Roberts }
[]
article
Q19099792
SYSTEM
Roberts, Bartholomew (DNB00)
Q19099792
(c(Q191067),P921,Q313430)
action filter_type
action find_reverse
entity Q313430
relation P921
type Q191067
[ANSWER] has that person as its main topic
[{'concept': 'Q191067'}, 'P921', 'Q313430']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q191067 . ?c property:P921 resource:Q313430 }
Roberts, Bartholomew (DNB00)
Roberts, Bartholomew (DNB00) has that person as its main topic
Roberts, Bartholomew (DNB00)
action filter_type
action find_reverse
entity Bartholomew Roberts
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Bartholomew Roberts']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:article . ?c property:main_subject resource:Bartholomew_Roberts }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q19099792 Q2781341
P921
Q502895
USER
Was Robin Steegman the main subject in the work Roberts, Bartholomew (DNB00) ?
(Q19099792,P921,Q2781341)
action is_in
entity Q2781341
action find
entity Q19099792
relation P921
['Q19099792', 'P921', 'Q2781341']
ASK WHERE { resource:Q19099792 property:P921 resource:Q2781341 }
Roberts, Bartholomew (DNB00) Robin Steegman
action is_in
entity Robin Steegman
action find
entity Roberts, Bartholomew (DNB00)
relation main subject
['Roberts, Bartholomew (DNB00)', 'main subject', 'Robin Steegman']
ASK WHERE { resource:Roberts,_Bartholomew_(DNB00) property:main_subject resource:Robin_Steegman }
[]
common name
SYSTEM
NO
(Q19099792,P921,Q2781341)
action is_in
entity Q2781341
action find
entity Q19099792
relation P921
[ANSWER]
['Q19099792', 'P921', 'Q2781341']
ASK WHERE { resource:Q19099792 property:P921 resource:Q2781341 }
No
action is_in
entity Robin Steegman
action find
entity Roberts, Bartholomew (DNB00)
relation main subject
['Roberts, Bartholomew (DNB00)', 'main subject', 'Robin Steegman']
ASK WHERE { resource:Roberts,_Bartholomew_(DNB00) property:main_subject resource:Robin_Steegman }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q571 Q191067
USER
Which books are atleast 21 articles a part of ?
(c(Q191067),P361,c(Q571))
action atleast
action find_reverse_tuple_counts
relation P361
type Q571
type Q191067
value 21
[{'concept': 'Q191067'}, 'P361', {'concept': 'Q571'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P361 ?z . ?z rdf:type ontology:Q571 . ?m rdf:type ontology:Q191067 } GROUP BY ?z } . FILTER ( ?w >= 21 ) }
action atleast
action find_reverse_tuple_counts
relation part of
type book
type article
value 21
[{'concept': 'article'}, 'part of', {'concept': 'book'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:part_of ?z . ?z rdf:type ontology:book . ?m rdf:type ontology:article } GROUP BY ?z } . FILTER ( ?w >= 21 ) }
[]
book article
Q20096917 Q867541
SYSTEM
Encyclopædia Britannica Ninth Edition, 1911 Encyclopædia Britannica
Q20096917 Q867541
(c(Q191067),P361,c(Q571))
action atleast
action find_reverse_tuple_counts
relation P361
type Q571
type Q191067
value 21
[ANSWERS] are atleast 21 articles a part of
[{'concept': 'Q191067'}, 'P361', {'concept': 'Q571'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P361 ?z . ?z rdf:type ontology:Q571 . ?m rdf:type ontology:Q191067 } GROUP BY ?z } . FILTER ( ?w >= 21 ) }
Encyclopædia Britannica Ninth Edition 1911 Encyclopædia Britannica
Encyclopædia Britannica Ninth Edition and 1911 Encyclopædia Britannica are atleast 21 articles a part of
Encyclopædia Britannica Ninth Edition 1911 Encyclopædia Britannica
action atleast
action find_reverse_tuple_counts
relation part of
type book
type article
value 21
[{'concept': 'article'}, 'part of', {'concept': 'book'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:part_of ?z . ?z rdf:type ontology:book . ?m rdf:type ontology:article } GROUP BY ?z } . FILTER ( ?w >= 21 ) }
[]