Simple Question (Direct)
Simple Question
Q1688530
P106
Q12737077
USER
What is the job of Jetur R. Riggs ?
(Q1688530,P106,c(Q12737077))
action filter_type
action find
entity Q1688530
relation P106
type Q12737077
['Q1688530', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1688530 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Jetur R. Riggs
action filter_type
action find
entity Jetur R. Riggs
relation occupation
type occupation
['Jetur R. Riggs', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jetur_R._Riggs property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1688530,P106,c(Q12737077))
action filter_type
action find
entity Q1688530
relation P106
type Q12737077
The job of Jetur R. Riggs is a [ANSWER]
['Q1688530', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1688530 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
politician
The job of Jetur R. Riggs is a politician
politician
action filter_type
action find
entity Jetur R. Riggs
relation occupation
type occupation
['Jetur R. Riggs', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jetur_R._Riggs property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1688530
P20
Q56061
USER
Where did Jetur R. Riggs die ?
(Q1688530,P20,c(Q56061))
action filter_type
action find
entity Q1688530
relation P20
type Q56061
['Q1688530', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q1688530 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Jetur R. Riggs
action filter_type
action find
entity Jetur R. Riggs
relation place of death
type administrative territorial entity
['Jetur R. Riggs', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Jetur_R._Riggs property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q11106945
SYSTEM
Ledgewood
Q11106945
(Q1688530,P20,c(Q56061))
action filter_type
action find
entity Q1688530
relation P20
type Q56061
Jetur R. Riggs died in [ANSWER]
['Q1688530', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q1688530 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Ledgewood
Jetur R. Riggs died in Ledgewood
Ledgewood
action filter_type
action find
entity Jetur R. Riggs
relation place of death
type administrative territorial entity
['Jetur R. Riggs', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Jetur_R._Riggs property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1688530
P21
Q290
USER
What is the sex of that person ?
(Q11106945,P21,c(Q290))
action filter_type
action find
entity Q1688530
relation P21
type Q290
['Q11106945', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1688530 property:P21 ?s . ?s rdf:type ontology:Q290 }
Jetur R. Riggs
action filter_type
action find
entity Jetur R. Riggs
relation gender
type sex
['Ledgewood', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Jetur_R._Riggs property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11106945,P21,c(Q290))
action filter_type
action find
entity Q1688530
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q11106945', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1688530 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Jetur R. Riggs
relation gender
type sex
['Ledgewood', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Jetur_R._Riggs property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1688530
P1412
Q34770
USER
Which language is Jetur R. Riggs capable of writing ?
(Q1688530,P1412,c(Q34770))
action filter_type
action find
entity Q1688530
relation P1412
type Q34770
['Q1688530', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q1688530 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
Jetur R. Riggs
action filter_type
action find
entity Jetur R. Riggs
relation languages spoken, written or signed
type language
['Jetur R. Riggs', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Jetur_R._Riggs property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1688530,P1412,c(Q34770))
action filter_type
action find
entity Q1688530
relation P1412
type Q34770
[ANSWER] is Jetur R. Riggs capable of writing
['Q1688530', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { resource:Q1688530 property:P1412 ?d . ?d rdf:type ontology:Q34770 }
English
English is Jetur R. Riggs capable of writing
English
action filter_type
action find
entity Jetur R. Riggs
relation languages spoken, written or signed
type language
['Jetur R. Riggs', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { resource:Jetur_R._Riggs property:languages_spoken,_written_or_signed ?d . ?d rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1688530
P937
Q56061
USER
Which is the work location of that person ?
(Q1860,P937,c(Q56061))
action filter_type
action find
entity Q1688530
relation P937
type Q56061
['Q1860', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1688530 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Jetur R. Riggs
action filter_type
action find
entity Jetur R. Riggs
relation work location
type administrative territorial entity
['English', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Jetur_R._Riggs property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25330
SYSTEM
Trenton
Q25330
(Q1860,P937,c(Q56061))
action filter_type
action find
entity Q1688530
relation P937
type Q56061
The work location of that person is a [ANSWER]
['Q1860', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1688530 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Trenton
The work location of that person is a Trenton
Trenton
action filter_type
action find
entity Jetur R. Riggs
relation work location
type administrative territorial entity
['English', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Jetur_R._Riggs property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that administrative territory a part of ?
(Q25330,P17,c(Q15617994))
action count
action filter_type
action find
entity Q25330
relation P17
type Q15617994
['Q25330', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q25330 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Trenton
relation country
type designation for an administrative territorial entity
['Trenton', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Trenton property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q25330,P17,c(Q15617994))
action count
action filter_type
action find
entity Q25330
relation P17
type Q15617994
[ANSWER]
['Q25330', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q25330 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Trenton
relation country
type designation for an administrative territorial entity
['Trenton', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Trenton property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25330
P740
Q215380
USER
Which band originated at Trenton ?
(c(Q215380),P740,Q25330)
action filter_type
action find_reverse
entity Q25330
relation P740
type Q215380
[{'concept': 'Q215380'}, 'P740', 'Q25330']
SELECT DISTINCT ?p WHERE { ?p property:P740 resource:Q25330 . ?p rdf:type ontology:Q215380 }
Trenton
action filter_type
action find_reverse
entity Trenton
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Trenton']
SELECT DISTINCT ?p WHERE { ?p property:location_of_formation resource:Trenton . ?p rdf:type ontology:band }
[]
band
Q7193300
SYSTEM
Poor Righteous Teachers
Q7193300
(c(Q215380),P740,Q25330)
action filter_type
action find_reverse
entity Q25330
relation P740
type Q215380
[ANSWER] originated at Trenton
[{'concept': 'Q215380'}, 'P740', 'Q25330']
SELECT DISTINCT ?p WHERE { ?p property:P740 resource:Q25330 . ?p rdf:type ontology:Q215380 }
Poor Righteous Teachers
Poor Righteous Teachers originated at Trenton
Poor Righteous Teachers
action filter_type
action find_reverse
entity Trenton
relation location of formation
type band
[{'concept': 'band'}, 'location of formation', 'Trenton']
SELECT DISTINCT ?p WHERE { ?p property:location_of_formation resource:Trenton . ?p rdf:type ontology:band }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25330
P47
Q355304
USER
Which watercourse is bordered by Trenton ?
(Q25330,P47,c(Q355304))
action filter_type
action find
entity Q25330
relation P47
type Q355304
['Q25330', 'P47', {'concept': 'Q355304'}]
SELECT DISTINCT ?t WHERE { resource:Q25330 property:P47 ?t . ?t rdf:type ontology:Q355304 }
Trenton
action filter_type
action find
entity Trenton
relation shares border with
type watercourse
['Trenton', 'shares border with', {'concept': 'watercourse'}]
SELECT DISTINCT ?t WHERE { resource:Trenton property:shares_border_with ?t . ?t rdf:type ontology:watercourse }
[]
watercourse
Q143762
SYSTEM
Delaware River
Q143762
(Q25330,P47,c(Q355304))
action filter_type
action find
entity Q25330
relation P47
type Q355304
County [ANSWER] is bordered by Trenton
['Q25330', 'P47', {'concept': 'Q355304'}]
SELECT DISTINCT ?t WHERE { resource:Q25330 property:P47 ?t . ?t rdf:type ontology:Q355304 }
Delaware River
County Delaware River is bordered by Trenton
Delaware River
action filter_type
action find
entity Trenton
relation shares border with
type watercourse
['Trenton', 'shares border with', {'concept': 'watercourse'}]
SELECT DISTINCT ?t WHERE { resource:Trenton property:shares_border_with ?t . ?t rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25330
P915
Q838948
USER
Which work of art was filmed at Trenton ?
(c(Q838948),P915,Q25330)
action filter_type
action find_reverse
entity Q25330
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q25330']
SELECT DISTINCT ?r WHERE { ?r property:P915 resource:Q25330 . ?r rdf:type ontology:Q838948 }
Trenton
action filter_type
action find_reverse
entity Trenton
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Trenton']
SELECT DISTINCT ?r WHERE { ?r property:filming_location resource:Trenton . ?r rdf:type ontology:work_of_art }
[]
work of art
Q832732
SYSTEM
The Hurricane
Q832732
(c(Q838948),P915,Q25330)
action filter_type
action find_reverse
entity Q25330
relation P915
type Q838948
Dre [ANSWER] was filmed at Trenton
[{'concept': 'Q838948'}, 'P915', 'Q25330']
SELECT DISTINCT ?r WHERE { ?r property:P915 resource:Q25330 . ?r rdf:type ontology:Q838948 }
The Hurricane
Dre The Hurricane was filmed at Trenton
The Hurricane
action filter_type
action find_reverse
entity Trenton
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Trenton']
SELECT DISTINCT ?r WHERE { ?r property:filming_location resource:Trenton . ?r rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25330
P1376
Q852446
USER
Which US administrative territory has Trenton as its county seat ?
(Q25330,P1376,c(Q852446))
action filter_type
action find
entity Q25330
relation P1376
type Q852446
['Q25330', 'P1376', {'concept': 'Q852446'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q852446 . resource:Q25330 property:P1376 ?x }
Trenton
action filter_type
action find
entity Trenton
relation capital of
type administrative territorial entity of the United States
['Trenton', 'capital of', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Trenton property:capital_of ?x }
[]
administrative territorial entity of the United States
Q1408
SYSTEM
New Jersey
Q1408
(Q25330,P1376,c(Q852446))
action filter_type
action find
entity Q25330
relation P1376
type Q852446
In [ANSWER] has Trenton as its county seat
['Q25330', 'P1376', {'concept': 'Q852446'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q852446 . resource:Q25330 property:P1376 ?x }
New Jersey
In New Jersey has Trenton as its county seat
New Jersey
action filter_type
action find
entity Trenton
relation capital of
type administrative territorial entity of the United States
['Trenton', 'capital of', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Trenton property:capital_of ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7193300
P136
Q151885
USER
Which genre does Poor Righteous Teachers belong to ?
(Q7193300,P136,c(Q151885))
action filter_type
action find
entity Q7193300
relation P136
type Q151885
['Q7193300', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?e WHERE { resource:Q7193300 property:P136 ?e . ?e rdf:type ontology:Q151885 }
Poor Righteous Teachers
action filter_type
action find
entity Poor Righteous Teachers
relation genre
type concept
['Poor Righteous Teachers', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?e WHERE { resource:Poor_Righteous_Teachers property:genre ?e . ?e rdf:type ontology:concept }
[]
concept
Q11401
SYSTEM
hip hop
Q11401
(Q7193300,P136,c(Q151885))
action filter_type
action find
entity Q7193300
relation P136
type Q151885
Poor Righteous Teachers belongs to [ANSWER]
['Q7193300', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?e WHERE { resource:Q7193300 property:P136 ?e . ?e rdf:type ontology:Q151885 }
hip hop
Poor Righteous Teachers belongs to hip hop
hip hop
action filter_type
action find
entity Poor Righteous Teachers
relation genre
type concept
['Poor Righteous Teachers', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?e WHERE { resource:Poor_Righteous_Teachers property:genre ?e . ?e rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7193300
P175
Q2031291
USER
Who performed that band ?
(c(Q2031291),P175,Q11401)
action filter_type
action find_reverse
entity Q7193300
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q11401']
SELECT DISTINCT ?b WHERE { ?b property:P175 resource:Q7193300 . ?b rdf:type ontology:Q2031291 }
Poor Righteous Teachers
action filter_type
action find_reverse
entity Poor Righteous Teachers
relation performer
type release
[{'concept': 'release'}, 'performer', 'hip hop']
SELECT DISTINCT ?b WHERE { ?b property:performer resource:Poor_Righteous_Teachers . ?b rdf:type ontology:release }
[]
release
Q7261124 Q7753790 Q4920456
SYSTEM
Pure Poverty, The New World Order ( Poor Righteous Teachers), Black Business
Q7261124 Q7753790 Q4920456
(c(Q2031291),P175,Q11401)
action filter_type
action find_reverse
entity Q7193300
relation P175
type Q2031291
[ANSWERS] performed that band
[{'concept': 'Q2031291'}, 'P175', 'Q11401']
SELECT DISTINCT ?b WHERE { ?b property:P175 resource:Q7193300 . ?b rdf:type ontology:Q2031291 }
Pure Poverty The New World Order ( Poor Righteous Teachers) Black Business
Pure Poverty, The New World Order ( Poor Righteous Teachers) and Black Business performed that band
Pure Poverty The New World Order ( Poor Righteous Teachers) Black Business
action filter_type
action find_reverse
entity Poor Righteous Teachers
relation performer
type release
[{'concept': 'release'}, 'performer', 'hip hop']
SELECT DISTINCT ?b WHERE { ?b property:performer resource:Poor_Righteous_Teachers . ?b rdf:type ontology:release }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q712567
P138
Q39546 Q79529 Q56061
USER
Which administrative territories have greater number of tools and chemical substances as their namesake than Artigas ?
(c(Q56061),P138,c(Q39546)|c(Q79529))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q39546
action find_tuple_counts
relation P138
type Q56061
type Q79529
action count
action filter_multi_types
action find
entity Q712567
relation P138
type Q39546
type Q79529
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?w WHERE { { ?w property:P138 ?g . ?w rdf:type ontology:Q56061 . ?g rdf:type ontology:Q39546 } UNION { ?w rdf:type ontology:Q56061 . ?g rdf:type ontology:Q79529 . ?w property:P138 ?g } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q712567 property:P138 ?c . { { ?c rdf:type ontology:Q39546 } UNION { ?c rdf:type ontology:Q79529 } } } } . FILTER ( ?j > ?s ) }
Artigas
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action find_tuple_counts
relation named after
type administrative territorial entity
type chemical substance
action count
action filter_multi_types
action find
entity Artigas
relation named after
type tool
type chemical substance
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'tool'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?w WHERE { { ?w property:named_after ?g . ?w rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:tool } UNION { ?w rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:chemical_substance . ?w property:named_after ?g } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Artigas property:named_after ?c . { { ?c rdf:type ontology:tool } UNION { ?c rdf:type ontology:chemical_substance } } } } . FILTER ( ?j > ?s ) }
[]
tool chemical substance administrative territorial entity
Q3239732 Q194067 Q103661
SYSTEM
Sulphur, Serpukhov, Apatity
Q3239732 Q194067 Q103661
(c(Q56061),P138,c(Q39546)|c(Q79529))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q39546
action find_tuple_counts
relation P138
type Q56061
type Q79529
action count
action filter_multi_types
action find
entity Q712567
relation P138
type Q39546
type Q79529
[ANSWERS] have greater number of tools and chemical substances as their namesake than Artigas
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?w WHERE { { ?w property:P138 ?g . ?w rdf:type ontology:Q56061 . ?g rdf:type ontology:Q39546 } UNION { ?w rdf:type ontology:Q56061 . ?g rdf:type ontology:Q79529 . ?w property:P138 ?g } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q712567 property:P138 ?c . { { ?c rdf:type ontology:Q39546 } UNION { ?c rdf:type ontology:Q79529 } } } } . FILTER ( ?j > ?s ) }
Sulphur Serpukhov Apatity
Sulphur, Serpukhov and Apatity have greater number of tools and chemical substances as their namesake than Artigas
Sulphur Serpukhov Apatity
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action find_tuple_counts
relation named after
type administrative territorial entity
type chemical substance
action count
action filter_multi_types
action find
entity Artigas
relation named after
type tool
type chemical substance
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'tool'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?w WHERE { { ?w property:named_after ?g . ?w rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:tool } UNION { ?w rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:chemical_substance . ?w property:named_after ?g } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Artigas property:named_after ?c . { { ?c rdf:type ontology:tool } UNION { ?c rdf:type ontology:chemical_substance } } } } . FILTER ( ?j > ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q365
P138
Q39546 Q79529 Q56061
USER
And what about Cologne?
(c(Q56061),P138,c(Q39546)|c(Q79529))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q39546
action find_tuple_counts
relation P138
type Q56061
type Q79529
action count
action filter_multi_types
action find
entity Q365
relation P138
type Q39546
type Q79529
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Q365 property:P138 ?g . { { ?g rdf:type ontology:Q79529 } UNION { ?g rdf:type ontology:Q39546 } } } } . FILTER ( ?z > ?u ) . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?z ) WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:Q39546 ) ( ontology:Q79529 ) } } GROUP BY ?i } }
Cologne
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action find_tuple_counts
relation named after
type administrative territorial entity
type chemical substance
action count
action filter_multi_types
action find
entity Cologne
relation named after
type tool
type chemical substance
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'tool'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Cologne property:named_after ?g . { { ?g rdf:type ontology:chemical_substance } UNION { ?g rdf:type ontology:tool } } } } . FILTER ( ?z > ?u ) . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?z ) WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:tool ) ( ontology:chemical_substance ) } } GROUP BY ?i } }
[]
tool chemical substance administrative territorial entity
Q3239732 Q194067 Q103661
SYSTEM
Sulphur, Serpukhov, Apatity
Q3239732 Q194067 Q103661
(c(Q56061),P138,c(Q39546)|c(Q79529))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q39546
action find_tuple_counts
relation P138
type Q56061
type Q79529
action count
action filter_multi_types
action find
entity Q365
relation P138
type Q39546
type Q79529
[ANSWERS]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Q365 property:P138 ?g . { { ?g rdf:type ontology:Q79529 } UNION { ?g rdf:type ontology:Q39546 } } } } . FILTER ( ?z > ?u ) . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?z ) WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:Q39546 ) ( ontology:Q79529 ) } } GROUP BY ?i } }
Sulphur Serpukhov Apatity
Sulphur Serpukhov Apatity
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action find_tuple_counts
relation named after
type administrative territorial entity
type chemical substance
action count
action filter_multi_types
action find
entity Cologne
relation named after
type tool
type chemical substance
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'tool'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { resource:Cologne property:named_after ?g . { { ?g rdf:type ontology:chemical_substance } UNION { ?g rdf:type ontology:tool } } } } . FILTER ( ?z > ?u ) . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?z ) WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:tool ) ( ontology:chemical_substance ) } } GROUP BY ?i } }
[]