Simple Question (Direct)
Simple Question
Q18237264
P20
Q56061
USER
Where did Erik Andersson expire ?
(Q18237264,P20,c(Q56061))
action filter_type
action find
entity Q18237264
relation P20
type Q56061
['Q18237264', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q18237264 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Erik Andersson
action filter_type
action find
entity Erik Andersson
relation place of death
type administrative territorial entity
['Erik Andersson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Erik_Andersson property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1754
SYSTEM
Stockholm
Q1754
(Q18237264,P20,c(Q56061))
action filter_type
action find
entity Q18237264
relation P20
type Q56061
Erik Andersson expired in [ANSWER]
['Q18237264', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q18237264 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Stockholm
Erik Andersson expired in Stockholm
Stockholm
action filter_type
action find
entity Erik Andersson
relation place of death
type administrative territorial entity
['Erik Andersson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Erik_Andersson property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18237264
P106
Q12737077
USER
Which occupation has Erik Andersson as his/her 's career ?
(Q18237264,P106,c(Q12737077))
action filter_type
action find
entity Q18237264
relation P106
type Q12737077
['Q18237264', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q18237264 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Erik Andersson
action filter_type
action find
entity Erik Andersson
relation occupation
type occupation
['Erik Andersson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Erik_Andersson property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q81096
SYSTEM
engineer
Q81096
(Q18237264,P106,c(Q12737077))
action filter_type
action find
entity Q18237264
relation P106
type Q12737077
The [ANSWER] has Erik Andersson as his/her 's career
['Q18237264', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q18237264 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
engineer
The engineer has Erik Andersson as his/her 's career
engineer
action filter_type
action find
entity Erik Andersson
relation occupation
type occupation
['Erik Andersson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Erik_Andersson property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q81096
P425
Q11862829
USER
Which academic discipline is associated with the field of occupation that one ?
(Q81096,P425,c(Q11862829))
action filter_type
action find
entity Q81096
relation P425
type Q11862829
['Q81096', 'P425', {'concept': 'Q11862829'}]
SELECT DISTINCT ?e WHERE { resource:Q81096 property:P425 ?e . ?e rdf:type ontology:Q11862829 }
engineer
action filter_type
action find
entity engineer
relation field of this occupation
type academic discipline
['engineer', 'field of this occupation', {'concept': 'academic discipline'}]
SELECT DISTINCT ?e WHERE { resource:engineer property:field_of_this_occupation ?e . ?e rdf:type ontology:academic_discipline }
[]
academic discipline
Q11023
SYSTEM
engineering
Q11023
(Q81096,P425,c(Q11862829))
action filter_type
action find
entity Q81096
relation P425
type Q11862829
[ANSWER] is associated with the field of occupation that one
['Q81096', 'P425', {'concept': 'Q11862829'}]
SELECT DISTINCT ?e WHERE { resource:Q81096 property:P425 ?e . ?e rdf:type ontology:Q11862829 }
engineering
Engineering is associated with the field of occupation that one
engineering
action filter_type
action find
entity engineer
relation field of this occupation
type academic discipline
['engineer', 'field of this occupation', {'concept': 'academic discipline'}]
SELECT DISTINCT ?e WHERE { resource:engineer property:field_of_this_occupation ?e . ?e rdf:type ontology:academic_discipline }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q11862829 Q502895 Q21114848
USER
How many academic disciplines are the field of work of greater number of people and magazine genres than that academic discipline ?
(c(Q502895)|c(Q21114848),P101,c(Q11862829))
action count
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q11862829
type Q502895
action find_reverse_tuple_counts
relation P101
type Q11862829
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q11023
relation P101
type Q502895
type Q21114848
[[{'concept': 'Q502895'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q11862829'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?y ) WHERE { { ?b rdf:type ontology:Q11862829 . ?m rdf:type ontology:Q502895 . ?m property:P101 ?b } UNION { ?b rdf:type ontology:Q11862829 . ?m rdf:type ontology:Q21114848 . ?m property:P101 ?b } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P101 resource:Q11023 . { VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q21114848 ) } . ?z rdf:type ?k } } } . FILTER ( ?y > ?p ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation field of work
type academic discipline
type common name
action find_reverse_tuple_counts
relation field of work
type academic discipline
type magazine genre
action count
action filter_multi_types
action find_reverse
entity engineering
relation field of work
type common name
type magazine genre
[[{'concept': 'common name'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'academic discipline'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?y ) WHERE { { ?b rdf:type ontology:academic_discipline . ?m rdf:type ontology:common_name . ?m property:field_of_work ?b } UNION { ?b rdf:type ontology:academic_discipline . ?m rdf:type ontology:magazine_genre . ?m property:field_of_work ?b } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:field_of_work resource:engineering . { VALUES ( ?k ) { ( ontology:common_name ) ( ontology:magazine_genre ) } . ?z rdf:type ?k } } } . FILTER ( ?y > ?p ) }
[]
academic discipline common name magazine genre
SYSTEM
15
Q18334 Q3968 Q874429 Q180969 Q1166618 Q76592 Q8087 Q2539 Q12479 Q12818349 Q42989 Q190549 Q188444 Q9465 Q12482
(c(Q502895)|c(Q21114848),P101,c(Q11862829))
action count
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q11862829
type Q502895
action find_reverse_tuple_counts
relation P101
type Q11862829
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q11023
relation P101
type Q502895
type Q21114848
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q11862829'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?y ) WHERE { { ?b rdf:type ontology:Q11862829 . ?m rdf:type ontology:Q502895 . ?m property:P101 ?b } UNION { ?b rdf:type ontology:Q11862829 . ?m rdf:type ontology:Q21114848 . ?m property:P101 ?b } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P101 resource:Q11023 . { VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q21114848 ) } . ?z rdf:type ?k } } } . FILTER ( ?y > ?p ) }
particle physics algebra group theory algebraic geometry mathematical logic combinatorics geometry machine learning number theory Islamic theology topology functional analysis differential geometry ethics set theory
15
action count
action greater
action union
action find_reverse_tuple_counts
relation field of work
type academic discipline
type common name
action find_reverse_tuple_counts
relation field of work
type academic discipline
type magazine genre
action count
action filter_multi_types
action find_reverse
entity engineering
relation field of work
type common name
type magazine genre
[[{'concept': 'common name'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'academic discipline'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?y ) WHERE { { ?b rdf:type ontology:academic_discipline . ?m rdf:type ontology:common_name . ?m property:field_of_work ?b } UNION { ?b rdf:type ontology:academic_discipline . ?m rdf:type ontology:magazine_genre . ?m property:field_of_work ?b } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:field_of_work resource:engineering . { VALUES ( ?k ) { ( ontology:common_name ) ( ontology:magazine_genre ) } . ?z rdf:type ?k } } } . FILTER ( ?y > ?p ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1754
P190
Q56061
USER
How many administrative territories are twin cities of Stockholm ?
(Q1754,P190,c(Q56061))
action count
action filter_type
action find
entity Q1754
relation P190
type Q56061
['Q1754', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Q1754 property:P190 ?i . ?i rdf:type ontology:Q56061 }
Stockholm
action count
action filter_type
action find
entity Stockholm
relation sister city
type administrative territorial entity
['Stockholm', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Stockholm property:sister_city ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
14
Q1757 Q1770 Q10704 Q226 Q51103 Q1748 Q1489 Q3711 Q585 Q13670 Q406 Q1764 Q216 Q23564
(Q1754,P190,c(Q56061))
action count
action filter_type
action find
entity Q1754
relation P190
type Q56061
[ANSWER]
['Q1754', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Q1754 property:P190 ?i . ?i rdf:type ontology:Q56061 }
Helsinki Tallinn Tórshavn Nuuk Cali Copenhagen Mexico City Belgrade Oslo Syracuse Istanbul Reykjavík Vilnius Podgorica
14
action count
action filter_type
action find
entity Stockholm
relation sister city
type administrative territorial entity
['Stockholm', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Stockholm property:sister_city ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2542169
Q56061
USER
And how about Aglandjia?
(Q2542169,P190,c(Q56061))
action count
action filter_type
action find
entity Q2542169
relation P190
type Q56061
['Q2542169', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Q2542169 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Aglandjia
action count
action filter_type
action find
entity Aglandjia
relation sister city
type administrative territorial entity
['Aglandjia', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Aglandjia property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
2
(Q2542169,P190,c(Q56061))
action count
action filter_type
action find
entity Q2542169
relation P190
type Q56061
[ANSWER]
['Q2542169', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Q2542169 property:P190 ?x . ?x rdf:type ontology:Q56061 }
2
action count
action filter_type
action find
entity Aglandjia
relation sister city
type administrative territorial entity
['Aglandjia', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Aglandjia property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q831474 Q81096
P106
Q502895
USER
Which people have a job as engineer and presbyter ?
AND((c(Q502895),P106,Q81096), (c(Q502895),P106,Q831474))
action filter_type
action intersection
action find_reverse
entity Q81096
relation P106
action find_reverse
entity Q831474
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q81096'], [{'concept': 'Q502895'}, 'P106', 'Q831474']]}
SELECT DISTINCT ?g WHERE { ?g property:P106 resource:Q831474 . ?g property:P106 resource:Q81096 . ?g rdf:type ontology:Q502895 }
presbyter engineer
action filter_type
action intersection
action find_reverse
entity engineer
relation occupation
action find_reverse
entity presbyter
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'engineer'], [{'concept': 'common name'}, 'occupation', 'presbyter']]}
SELECT DISTINCT ?g WHERE { ?g property:occupation resource:presbyter . ?g property:occupation resource:engineer . ?g rdf:type ontology:common_name }
[]
common name
Q1373297
SYSTEM
Eugenio Barsanti
Q1373297
AND((c(Q502895),P106,Q81096), (c(Q502895),P106,Q831474))
action filter_type
action intersection
action find_reverse
entity Q81096
relation P106
action find_reverse
entity Q831474
relation P106
type Q502895
[ANSWER] have a job as engineer and presbyter
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q81096'], [{'concept': 'Q502895'}, 'P106', 'Q831474']]}
SELECT DISTINCT ?g WHERE { ?g property:P106 resource:Q831474 . ?g property:P106 resource:Q81096 . ?g rdf:type ontology:Q502895 }
Eugenio Barsanti
Eugenio Barsanti have a job as engineer and presbyter
Eugenio Barsanti
action filter_type
action intersection
action find_reverse
entity engineer
relation occupation
action find_reverse
entity presbyter
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'engineer'], [{'concept': 'common name'}, 'occupation', 'presbyter']]}
SELECT DISTINCT ?g WHERE { ?g property:occupation resource:presbyter . ?g property:occupation resource:engineer . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1373297
P119
Q44539
USER
Where is the place of burial for that person located ?
(Q1373297,P119,c(Q44539))
action filter_type
action find
entity Q1373297
relation P119
type Q44539
['Q1373297', 'P119', {'concept': 'Q44539'}]
SELECT DISTINCT ?y WHERE { resource:Q1373297 property:P119 ?y . ?y rdf:type ontology:Q44539 }
Eugenio Barsanti
action filter_type
action find
entity Eugenio Barsanti
relation place of burial
type temple
['Eugenio Barsanti', 'place of burial', {'concept': 'temple'}]
SELECT DISTINCT ?y WHERE { resource:Eugenio_Barsanti property:place_of_burial ?y . ?y rdf:type ontology:temple }
[]
temple
Q51177
SYSTEM
Basilica of Santa Croce
Q51177
(Q1373297,P119,c(Q44539))
action filter_type
action find
entity Q1373297
relation P119
type Q44539
[ANSWER] is the place of burial for that person located
['Q1373297', 'P119', {'concept': 'Q44539'}]
SELECT DISTINCT ?y WHERE { resource:Q1373297 property:P119 ?y . ?y rdf:type ontology:Q44539 }
Basilica of Santa Croce
Basilica of Santa Croce is the place of burial for that person located
Basilica of Santa Croce
action filter_type
action find
entity Eugenio Barsanti
relation place of burial
type temple
['Eugenio Barsanti', 'place of burial', {'concept': 'temple'}]
SELECT DISTINCT ?y WHERE { resource:Eugenio_Barsanti property:place_of_burial ?y . ?y rdf:type ontology:temple }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q12737077 Q838948 Q191067
USER
Which occupations were the main subjects of min number of works of art and articles 's work ?
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) ?d WHERE { { ?y property:P921 ?d . ?d rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P921 ?d . ?d rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q191067 } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) ?z WHERE { { ?u property:P921 ?z . ?z rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q838948 } UNION { ?u property:P921 ?z . ?z rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q191067 } } GROUP BY ?z } . FILTER ( ?n = ?j ) }
action argmin
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type article
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) ?d WHERE { { ?y property:main_subject ?d . ?d rdf:type ontology:occupation . ?y rdf:type ontology:work_of_art } UNION { ?y property:main_subject ?d . ?d rdf:type ontology:occupation . ?y rdf:type ontology:article } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) ?z WHERE { { ?u property:main_subject ?z . ?z rdf:type ontology:occupation . ?u rdf:type ontology:work_of_art } UNION { ?u property:main_subject ?z . ?z rdf:type ontology:occupation . ?u rdf:type ontology:article } } GROUP BY ?z } . FILTER ( ?n = ?j ) }
[]
occupation work of art article
Q131512 Q42973 Q16707842
SYSTEM
farmer, architect, Member of Parliament in the United Kingdom
Q9045502 Q2666591 Q5185440 Q765778 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q43845 Q14128148 Q814356 Q168559 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q654291 Q14373094 Q483501 Q1114448 Q16533 Q18220900 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q838811 Q219477 Q1006696 Q639669 Q49757 Q17143199 Q384593 Q372436 Q1238570 Q2259532 Q361593 Q1856798 Q16707842
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
[ANSWERS] were the main subjects of min number of works of art and articles 's work
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) ?d WHERE { { ?y property:P921 ?d . ?d rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P921 ?d . ?d rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q191067 } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) ?z WHERE { { ?u property:P921 ?z . ?z rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q838948 } UNION { ?u property:P921 ?z . ?z rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q191067 } } GROUP BY ?z } . FILTER ( ?n = ?j ) }
member of the Parliament of Norway Chair of the Federal Reserve Crime scene cleanup organist surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate businessperson gridiron football player call girl political commissar double agent member of the Lok Sabha soldier bishop member of parliament violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver Deputy to the Dáil rugby league player artist cartoonist judge Member of the South Australian House of Assembly caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor peasant missionary United States federal judge musician poet medical examiner police officer statesman political scientist cleric police officer baseball umpire Member of Parliament in the United Kingdom
Farmer, architect and Member of Parliament in the United Kingdom were the main subjects of min number of works of art and articles 's work
farmer architect Member of Parliament in the United Kingdom
action argmin
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type article
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?j ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) ?d WHERE { { ?y property:main_subject ?d . ?d rdf:type ontology:occupation . ?y rdf:type ontology:work_of_art } UNION { ?y property:main_subject ?d . ?d rdf:type ontology:occupation . ?y rdf:type ontology:article } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) ?z WHERE { { ?u property:main_subject ?z . ?z rdf:type ontology:occupation . ?u rdf:type ontology:work_of_art } UNION { ?u property:main_subject ?z . ?z rdf:type ontology:occupation . ?u rdf:type ontology:article } } GROUP BY ?z } . FILTER ( ?n = ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11639 Q11023
P366
Q3249551
USER
Which processes have their main functionality as engineering or dance ?
OR((c(Q3249551),P366,Q11023), (c(Q3249551),P366,Q11639))
action filter_type
action union
action find_reverse
entity Q11023
relation P366
action find_reverse
entity Q11639
relation P366
type Q3249551
{'OR': [[{'concept': 'Q3249551'}, 'P366', 'Q11023'], [{'concept': 'Q3249551'}, 'P366', 'Q11639']]}
SELECT DISTINCT ?p WHERE { { ?p property:P366 ?w . VALUES ( ?w ) { ( resource:Q11023 ) ( resource:Q11639 ) } } . ?p rdf:type ontology:Q3249551 }
dance engineering
action filter_type
action union
action find_reverse
entity engineering
relation use
action find_reverse
entity dance
relation use
type process
{'OR': [[{'concept': 'process'}, 'use', 'engineering'], [{'concept': 'process'}, 'use', 'dance']]}
SELECT DISTINCT ?p WHERE { { ?p property:use ?w . VALUES ( ?w ) { ( resource:engineering ) ( resource:dance ) } } . ?p rdf:type ontology:process }
[]
process
Q229344 Q5459872 Q1002535
SYSTEM
3D Documentation, Floating, geometric modeling
Q229344 Q5459872 Q1002535
OR((c(Q3249551),P366,Q11023), (c(Q3249551),P366,Q11639))
action filter_type
action union
action find_reverse
entity Q11023
relation P366
action find_reverse
entity Q11639
relation P366
type Q3249551
3D Documentation, floating and geometric modeling have their main functionality as engineering or dance
{'OR': [[{'concept': 'Q3249551'}, 'P366', 'Q11023'], [{'concept': 'Q3249551'}, 'P366', 'Q11639']]}
SELECT DISTINCT ?p WHERE { { ?p property:P366 ?w . VALUES ( ?w ) { ( resource:Q11023 ) ( resource:Q11639 ) } } . ?p rdf:type ontology:Q3249551 }
3D Documentation Floating geometric modeling
3D Documentation, floating and geometric modeling have their main functionality as engineering or dance
3D Documentation Floating geometric modeling
action filter_type
action union
action find_reverse
entity engineering
relation use
action find_reverse
entity dance
relation use
type process
{'OR': [[{'concept': 'process'}, 'use', 'engineering'], [{'concept': 'process'}, 'use', 'dance']]}
SELECT DISTINCT ?p WHERE { { ?p property:use ?w . VALUES ( ?w ) { ( resource:engineering ) ( resource:dance ) } } . ?p rdf:type ontology:process }
[]