Simple Question (Direct)
Simple Question
Q19271247
P21
Q290
USER
What is the sex of Andrew Crooke ?
(Q19271247,P21,c(Q290))
action filter_type
action find
entity Q19271247
relation P21
type Q290
['Q19271247', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . resource:Q19271247 property:P21 ?a }
Andrew Crooke
action filter_type
action find
entity Andrew Crooke
relation gender
type sex
['Andrew Crooke', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . resource:Andrew_Crooke property:gender ?a }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19271247,P21,c(Q290))
action filter_type
action find
entity Q19271247
relation P21
type Q290
The sex of Andrew Crooke is a [ANSWER]
['Q19271247', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . resource:Q19271247 property:P21 ?a }
male
The sex of Andrew Crooke is a male
male
action filter_type
action find
entity Andrew Crooke
relation gender
type sex
['Andrew Crooke', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . resource:Andrew_Crooke property:gender ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19271247
P123
Q2342494
USER
What was released by Andrew Crooke ?
(c(Q2342494),P123,Q19271247)
action filter_type
action find_reverse
entity Q19271247
relation P123
type Q2342494
[{'concept': 'Q2342494'}, 'P123', 'Q19271247']
SELECT DISTINCT ?o WHERE { ?o property:P123 resource:Q19271247 . ?o rdf:type ontology:Q2342494 }
Andrew Crooke
action filter_type
action find_reverse
entity Andrew Crooke
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'Andrew Crooke']
SELECT DISTINCT ?o WHERE { ?o property:publisher resource:Andrew_Crooke . ?o rdf:type ontology:collectable }
[]
collectable
Q1771741
SYSTEM
Religio Medici
Q1771741
(c(Q2342494),P123,Q19271247)
action filter_type
action find_reverse
entity Q19271247
relation P123
type Q2342494
[ANSWER] was released by Andrew Crooke
[{'concept': 'Q2342494'}, 'P123', 'Q19271247']
SELECT DISTINCT ?o WHERE { ?o property:P123 resource:Q19271247 . ?o rdf:type ontology:Q2342494 }
Religio Medici
Religio Medici was released by Andrew Crooke
Religio Medici
action filter_type
action find_reverse
entity Andrew Crooke
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'Andrew Crooke']
SELECT DISTINCT ?o WHERE { ?o property:publisher resource:Andrew_Crooke . ?o rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19271247
P800
Q2342494
USER
What are a notable work of Andrew Crooke ?
(Q19271247,P800,c(Q2342494))
action filter_type
action find
entity Q19271247
relation P800
type Q2342494
['Q19271247', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ?m WHERE { resource:Q19271247 property:P800 ?m . ?m rdf:type ontology:Q2342494 }
Andrew Crooke
action filter_type
action find
entity Andrew Crooke
relation notable work
type collectable
['Andrew Crooke', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ?m WHERE { resource:Andrew_Crooke property:notable_work ?m . ?m rdf:type ontology:collectable }
[]
collectable
Q193034 Q1771741
SYSTEM
Leviathan, Religio Medici
Q193034 Q1771741
(Q19271247,P800,c(Q2342494))
action filter_type
action find
entity Q19271247
relation P800
type Q2342494
A notable work of Andrew Crooke are The [ANSWERS]
['Q19271247', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ?m WHERE { resource:Q19271247 property:P800 ?m . ?m rdf:type ontology:Q2342494 }
Leviathan Religio Medici
A notable work of Andrew Crooke are The Leviathan and Religio Medici
Leviathan Religio Medici
action filter_type
action find
entity Andrew Crooke
relation notable work
type collectable
['Andrew Crooke', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ?m WHERE { resource:Andrew_Crooke property:notable_work ?m . ?m rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q193034
P364
Q34770
USER
How many languages were used originally for the creation of Leviathan ?
(Q193034,P364,c(Q34770))
action count
action filter_type
action find
entity Q193034
relation P364
type Q34770
['Q193034', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q193034 property:P364 ?i . ?i rdf:type ontology:Q34770 }
Leviathan
action count
action filter_type
action find
entity Leviathan
relation original language of work
type language
['Leviathan', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Leviathan property:original_language_of_work ?i . ?i rdf:type ontology:language }
[]
language
SYSTEM
1
Q1860
(Q193034,P364,c(Q34770))
action count
action filter_type
action find
entity Q193034
relation P364
type Q34770
[ANSWER]
['Q193034', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q193034 property:P364 ?i . ?i rdf:type ontology:Q34770 }
English
1
action count
action filter_type
action find
entity Leviathan
relation original language of work
type language
['Leviathan', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Leviathan property:original_language_of_work ?i . ?i rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18610112
P180
Q39546
USER
What is demonstrated in George Clinton ?
(Q18610112,P180,c(Q39546))
action filter_type
action find
entity Q18610112
relation P180
type Q39546
['Q18610112', 'P180', {'concept': 'Q39546'}]
SELECT DISTINCT ?i WHERE { resource:Q18610112 property:P180 ?i . ?i rdf:type ontology:Q39546 }
George Clinton
action filter_type
action find
entity George Clinton
relation depicts
type tool
['George Clinton', 'depicts', {'concept': 'tool'}]
SELECT DISTINCT ?i WHERE { resource:George_Clinton property:depicts ?i . ?i rdf:type ontology:tool }
[]
tool
Q235585
SYSTEM
blackboard
Q235585
(Q18610112,P180,c(Q39546))
action filter_type
action find
entity Q18610112
relation P180
type Q39546
Is [ANSWER] is demonstrated in George Clinton
['Q18610112', 'P180', {'concept': 'Q39546'}]
SELECT DISTINCT ?i WHERE { resource:Q18610112 property:P180 ?i . ?i rdf:type ontology:Q39546 }
blackboard
Is blackboard is demonstrated in George Clinton
blackboard
action filter_type
action find
entity George Clinton
relation depicts
type tool
['George Clinton', 'depicts', {'concept': 'tool'}]
SELECT DISTINCT ?i WHERE { resource:George_Clinton property:depicts ?i . ?i rdf:type ontology:tool }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18610112
P364
Q34770
USER
Which language was used originally for the creation of George Clinton ?
(Q18610112,P364,c(Q34770))
action filter_type
action find
entity Q18610112
relation P364
type Q34770
['Q18610112', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q18610112 property:P364 ?l . ?l rdf:type ontology:Q34770 }
George Clinton
action filter_type
action find
entity George Clinton
relation original language of work
type language
['George Clinton', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:George_Clinton property:original_language_of_work ?l . ?l rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q18610112,P364,c(Q34770))
action filter_type
action find
entity Q18610112
relation P364
type Q34770
[ANSWER] was used originally for the creation of George Clinton
['Q18610112', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q18610112 property:P364 ?l . ?l rdf:type ontology:Q34770 }
English
English was used originally for the creation of George Clinton
English
action filter_type
action find
entity George Clinton
relation original language of work
type language
['George Clinton', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:George_Clinton property:original_language_of_work ?l . ?l rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q5329170 Q39249
P361
Q5962346
USER
Is that language a component of Anglo-Frisian languages and St. John's water dog ?
(Q1860,P361,Q5329170) (Q1860,P361,Q39249)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q39249
relation P361
['Q1860', 'P361', 'Q5329170'] ['Q1860', 'P361', 'Q39249']
ASK WHERE { resource:Q1860 property:P361 resource:Q39249 . resource:Q1860 property:P361 resource:Q5329170 }
English Anglo-Frisian languages St. John's water dog
action is_in
entity English
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity St. John's water dog
relation part of
['English', 'part of', 'Anglo-Frisian languages'] ['English', 'part of', "St. John's water dog"]
ASK WHERE { resource:English property:part_of resource:St._John's_water_dog . resource:English property:part_of resource:Anglo-Frisian_languages }
[]
classification scheme
SYSTEM
YES and NO respectively
(Q1860,P361,Q5329170) (Q1860,P361,Q39249)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q39249
relation P361
[ANSWER]
['Q1860', 'P361', 'Q5329170'] ['Q1860', 'P361', 'Q39249']
ASK WHERE { resource:Q1860 property:P361 resource:Q39249 . resource:Q1860 property:P361 resource:Q5329170 }
YES and NO respectively
action is_in
entity English
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity St. John's water dog
relation part of
['English', 'part of', 'Anglo-Frisian languages'] ['English', 'part of', "St. John's water dog"]
ASK WHERE { resource:English property:part_of resource:St._John's_water_dog . resource:English property:part_of resource:Anglo-Frisian_languages }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1771741
P800 P21
Q502895
USER
Which people have Religio Medici as their notable work and are a male ?
AND((c(Q502895),P800,Q1771741), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1771741
relation P800
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q1771741'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P800 resource:Q1771741 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
male Religio Medici
action filter_type
action intersection
action find_reverse
entity Religio Medici
relation notable work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Religio Medici'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:notable_work resource:Religio_Medici . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
common name
Q19271247
SYSTEM
Andrew Crooke
Q19271247
AND((c(Q502895),P800,Q1771741), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1771741
relation P800
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Religio Medici as their notable work and are a male
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q1771741'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P800 resource:Q1771741 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
Andrew Crooke
Andrew Crooke have Religio Medici as their notable work and are a male
Andrew Crooke
action filter_type
action intersection
action find_reverse
entity Religio Medici
relation notable work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Religio Medici'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:notable_work resource:Religio_Medici . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q19271247 Q2516866
P106
Q12737077
USER
Is publisher the profession of that person ?
(Q19271247,P106,Q2516866)
action is_in
entity Q2516866
action find
entity Q19271247
relation P106
['Q19271247', 'P106', 'Q2516866']
ASK WHERE { resource:Q19271247 property:P106 resource:Q2516866 }
Andrew Crooke publisher
action is_in
entity publisher
action find
entity Andrew Crooke
relation occupation
['Andrew Crooke', 'occupation', 'publisher']
ASK WHERE { resource:Andrew_Crooke property:occupation resource:publisher }
[]
occupation
SYSTEM
YES
(Q19271247,P106,Q2516866)
action is_in
entity Q2516866
action find
entity Q19271247
relation P106
[ANSWER]
['Q19271247', 'P106', 'Q2516866']
ASK WHERE { resource:Q19271247 property:P106 resource:Q2516866 }
Yes
action is_in
entity publisher
action find
entity Andrew Crooke
relation occupation
['Andrew Crooke', 'occupation', 'publisher']
ASK WHERE { resource:Andrew_Crooke property:occupation resource:publisher }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q193034 Q1860 Q713894
P364
Q34770
USER
Does Leviathan have English and Arts & Architecture as its original language of creation ?
(Q193034,P364,Q1860) (Q193034,P364,Q713894)
action is_in
entity Q193034
action intersection
action find_reverse
entity Q1860
relation P364
action find_reverse
entity Q713894
relation P364
['Q193034', 'P364', 'Q1860'] ['Q193034', 'P364', 'Q713894']
ASK WHERE { resource:Q193034 property:P364 resource:Q1860 . resource:Q193034 property:P364 resource:Q713894 }
Leviathan English Arts & Architecture
action is_in
entity Leviathan
action intersection
action find_reverse
entity English
relation original language of work
action find_reverse
entity Arts & Architecture
relation original language of work
['Leviathan', 'original language of work', 'English'] ['Leviathan', 'original language of work', 'Arts & Architecture']
ASK WHERE { resource:Leviathan property:original_language_of_work resource:English . resource:Leviathan property:original_language_of_work resource:Arts_&_Architecture }
[]
language
SYSTEM
YES and NO respectively
(Q193034,P364,Q1860) (Q193034,P364,Q713894)
action is_in
entity Q193034
action intersection
action find_reverse
entity Q1860
relation P364
action find_reverse
entity Q713894
relation P364
[ANSWER]
['Q193034', 'P364', 'Q1860'] ['Q193034', 'P364', 'Q713894']
ASK WHERE { resource:Q193034 property:P364 resource:Q1860 . resource:Q193034 property:P364 resource:Q713894 }
YES and NO respectively
action is_in
entity Leviathan
action intersection
action find_reverse
entity English
relation original language of work
action find_reverse
entity Arts & Architecture
relation original language of work
['Leviathan', 'original language of work', 'English'] ['Leviathan', 'original language of work', 'Arts & Architecture']
ASK WHERE { resource:Leviathan property:original_language_of_work resource:English . resource:Leviathan property:original_language_of_work resource:Arts_&_Architecture }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3775904
P366
Q268592 Q4830453 Q39546
USER
How many tools mainly plays the role of a more number of economic branches or business enterprises than Alcotán-100 ?
(c(Q39546),P366,c(Q268592)|c(Q4830453))
action count
action greater
action union
action find_tuple_counts
relation P366
type Q39546
type Q268592
action find_tuple_counts
relation P366
type Q39546
type Q4830453
action count
action filter_multi_types
action find
entity Q3775904
relation P366
type Q268592
type Q4830453
[{'concept': 'Q39546'}, 'P366', [{'concept': 'Q268592'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { { ?h rdf:type ontology:Q268592 } UNION { ?h rdf:type ontology:Q4830453 } } . resource:Q3775904 property:P366 ?h } } . FILTER ( ?a > ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?a ) WHERE { { ?c property:P366 ?r . ?c rdf:type ontology:Q39546 . ?r rdf:type ontology:Q268592 } UNION { ?c property:P366 ?r . ?c rdf:type ontology:Q39546 . ?r rdf:type ontology:Q4830453 } } GROUP BY ?c } }
Alcotán-100
action count
action greater
action union
action find_tuple_counts
relation use
type tool
type economic branch
action find_tuple_counts
relation use
type tool
type business enterprise
action count
action filter_multi_types
action find
entity Alcotán-100
relation use
type economic branch
type business enterprise
[{'concept': 'tool'}, 'use', [{'concept': 'economic branch'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { { ?h rdf:type ontology:economic_branch } UNION { ?h rdf:type ontology:business_enterprise } } . resource:Alcotán-100 property:use ?h } } . FILTER ( ?a > ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?a ) WHERE { { ?c property:use ?r . ?c rdf:type ontology:tool . ?r rdf:type ontology:economic_branch } UNION { ?c property:use ?r . ?c rdf:type ontology:tool . ?r rdf:type ontology:business_enterprise } } GROUP BY ?c } }
[]
economic branch business enterprise tool
SYSTEM
2
Q2304371 Q18003170
(c(Q39546),P366,c(Q268592)|c(Q4830453))
action count
action greater
action union
action find_tuple_counts
relation P366
type Q39546
type Q268592
action find_tuple_counts
relation P366
type Q39546
type Q4830453
action count
action filter_multi_types
action find
entity Q3775904
relation P366
type Q268592
type Q4830453
[ANSWER]
[{'concept': 'Q39546'}, 'P366', [{'concept': 'Q268592'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { { ?h rdf:type ontology:Q268592 } UNION { ?h rdf:type ontology:Q4830453 } } . resource:Q3775904 property:P366 ?h } } . FILTER ( ?a > ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?a ) WHERE { { ?c property:P366 ?r . ?c rdf:type ontology:Q39546 . ?r rdf:type ontology:Q268592 } UNION { ?c property:P366 ?r . ?c rdf:type ontology:Q39546 . ?r rdf:type ontology:Q4830453 } } GROUP BY ?c } }
electrostatic generator ramp
2
action count
action greater
action union
action find_tuple_counts
relation use
type tool
type economic branch
action find_tuple_counts
relation use
type tool
type business enterprise
action count
action filter_multi_types
action find
entity Alcotán-100
relation use
type economic branch
type business enterprise
[{'concept': 'tool'}, 'use', [{'concept': 'economic branch'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { { ?h rdf:type ontology:economic_branch } UNION { ?h rdf:type ontology:business_enterprise } } . resource:Alcotán-100 property:use ?h } } . FILTER ( ?a > ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?a ) WHERE { { ?c property:use ?r . ?c rdf:type ontology:tool . ?r rdf:type ontology:economic_branch } UNION { ?c property:use ?r . ?c rdf:type ontology:tool . ?r rdf:type ontology:business_enterprise } } GROUP BY ?c } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1639393
P366
Q268592 Q4830453 Q39546
USER
And also tell me about Wooden horse?
(c(Q39546),P366,c(Q268592)|c(Q4830453))
action count
action greater
action union
action find_tuple_counts
relation P366
type Q39546
type Q268592
action find_tuple_counts
relation P366
type Q39546
type Q4830453
action count
action filter_multi_types
action find
entity Q1639393
relation P366
type Q268592
type Q4830453
[{'concept': 'Q39546'}, 'P366', [{'concept': 'Q268592'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) ?o WHERE { { ?o property:P366 ?h . ?o rdf:type ontology:Q39546 . ?h rdf:type ontology:Q268592 } UNION { ?o rdf:type ontology:Q39546 . ?h rdf:type ontology:Q4830453 . ?o property:P366 ?h } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Q1639393 property:P366 ?m . { ?m rdf:type ?u . VALUES ( ?u ) { ( ontology:Q268592 ) ( ontology:Q4830453 ) } } } } . FILTER ( ?t > ?a ) }
Wooden horse
action count
action greater
action union
action find_tuple_counts
relation use
type tool
type economic branch
action find_tuple_counts
relation use
type tool
type business enterprise
action count
action filter_multi_types
action find
entity Wooden horse
relation use
type economic branch
type business enterprise
[{'concept': 'tool'}, 'use', [{'concept': 'economic branch'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) ?o WHERE { { ?o property:use ?h . ?o rdf:type ontology:tool . ?h rdf:type ontology:economic_branch } UNION { ?o rdf:type ontology:tool . ?h rdf:type ontology:business_enterprise . ?o property:use ?h } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Wooden_horse property:use ?m . { ?m rdf:type ?u . VALUES ( ?u ) { ( ontology:economic_branch ) ( ontology:business_enterprise ) } } } } . FILTER ( ?t > ?a ) }
[]
economic branch business enterprise tool
SYSTEM
2
Q2304371 Q18003170
(c(Q39546),P366,c(Q268592)|c(Q4830453))
action count
action greater
action union
action find_tuple_counts
relation P366
type Q39546
type Q268592
action find_tuple_counts
relation P366
type Q39546
type Q4830453
action count
action filter_multi_types
action find
entity Q1639393
relation P366
type Q268592
type Q4830453
[ANSWER]
[{'concept': 'Q39546'}, 'P366', [{'concept': 'Q268592'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) ?o WHERE { { ?o property:P366 ?h . ?o rdf:type ontology:Q39546 . ?h rdf:type ontology:Q268592 } UNION { ?o rdf:type ontology:Q39546 . ?h rdf:type ontology:Q4830453 . ?o property:P366 ?h } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Q1639393 property:P366 ?m . { ?m rdf:type ?u . VALUES ( ?u ) { ( ontology:Q268592 ) ( ontology:Q4830453 ) } } } } . FILTER ( ?t > ?a ) }
electrostatic generator ramp
2
action count
action greater
action union
action find_tuple_counts
relation use
type tool
type economic branch
action find_tuple_counts
relation use
type tool
type business enterprise
action count
action filter_multi_types
action find
entity Wooden horse
relation use
type economic branch
type business enterprise
[{'concept': 'tool'}, 'use', [{'concept': 'economic branch'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) ?o WHERE { { ?o property:use ?h . ?o rdf:type ontology:tool . ?h rdf:type ontology:economic_branch } UNION { ?o rdf:type ontology:tool . ?h rdf:type ontology:business_enterprise . ?o property:use ?h } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) WHERE { resource:Wooden_horse property:use ?m . { ?m rdf:type ?u . VALUES ( ?u ) { ( ontology:economic_branch ) ( ontology:business_enterprise ) } } } } . FILTER ( ?t > ?a ) }
[]