Simple Question (Direct)
Simple Question
Q2110644
P39
Q12737077
USER
Which occupations were a position held by Marcus Slingenberg ?
(Q2110644,P39,c(Q12737077))
action filter_type
action find
entity Q2110644
relation P39
type Q12737077
['Q2110644', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q2110644 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Marcus Slingenberg
action filter_type
action find
entity Marcus Slingenberg
relation position held
type occupation
['Marcus Slingenberg', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Marcus_Slingenberg property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q19305384 Q27516521 Q21383592
SYSTEM
member of the Senate of the Netherlands, member of the Provincial Executive of North Holland, municipal executive of Haarlem
Q19305384 Q27516521 Q21383592
(Q2110644,P39,c(Q12737077))
action filter_type
action find
entity Q2110644
relation P39
type Q12737077
[ANSWERS] were a position held by Marcus Slingenberg
['Q2110644', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q2110644 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
member of the Senate of the Netherlands member of the Provincial Executive of North Holland municipal executive of Haarlem
Member of the Senate of the Netherlands, member of the Provincial Executive of North Holland and municipal executive of Haarlem were a position held by Marcus Slingenberg
member of the Senate of the Netherlands member of the Provincial Executive of North Holland municipal executive of Haarlem
action filter_type
action find
entity Marcus Slingenberg
relation position held
type occupation
['Marcus Slingenberg', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Marcus_Slingenberg property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q19305384 Q27516521 Q21383592
P17
Q15617994
USER
Which administrative territories do member of the Senate of the Netherlands, member of the Provincial Executive of North Holland and municipal executive of Haarlem belong to ?
(Q19305384,P17,c(Q15617994)) (Q27516521,P17,c(Q15617994)) (Q21383592,P17,c(Q15617994))
action union
action filter_type
action find
entity Q19305384
relation P17
type Q15617994
action filter_type
action find
entity Q27516521
relation P17
type Q15617994
action filter_type
action find
entity Q21383592
relation P17
type Q15617994
['Q19305384', 'P17', {'concept': 'Q15617994'}] ['Q27516521', 'P17', {'concept': 'Q15617994'}] ['Q21383592', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { resource:Q19305384 property:P17 ?u . ?u rdf:type ontology:Q15617994 } UNION { ?u rdf:type ontology:Q15617994 . resource:Q27516521 property:P17 ?u } }
member of the Senate of the Netherlands member of the Provincial Executive of North Holland municipal executive of Haarlem
action union
action filter_type
action find
entity member of the Senate of the Netherlands
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity member of the Provincial Executive of North Holland
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity municipal executive of Haarlem
relation country
type designation for an administrative territorial entity
['member of the Senate of the Netherlands', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the Provincial Executive of North Holland', 'country', {'concept': 'designation for an administrative territorial entity'}] ['municipal executive of Haarlem', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { resource:member_of_the_Senate_of_the_Netherlands property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_Provincial_Executive_of_North_Holland property:country ?u } }
[]
designation for an administrative territorial entity
Q29999 Q55 Q55
SYSTEM
Kingdom of the Netherlands for 1st, Netherlands for 2nd, 3rd
Q29999 Q55 Q55
(Q19305384,P17,c(Q15617994)) (Q27516521,P17,c(Q15617994)) (Q21383592,P17,c(Q15617994))
action union
action filter_type
action find
entity Q19305384
relation P17
type Q15617994
action filter_type
action find
entity Q27516521
relation P17
type Q15617994
action filter_type
action find
entity Q21383592
relation P17
type Q15617994
[ANSWERS]
['Q19305384', 'P17', {'concept': 'Q15617994'}] ['Q27516521', 'P17', {'concept': 'Q15617994'}] ['Q21383592', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { resource:Q19305384 property:P17 ?u . ?u rdf:type ontology:Q15617994 } UNION { ?u rdf:type ontology:Q15617994 . resource:Q27516521 property:P17 ?u } }
Kingdom of the Netherlands Netherlands Netherlands
Kingdom of the Netherlands, Netherlands and Netherlands member of the Senate of the Netherlands, member of the Provincial Executive of North Holland and municipal executive of Haarlem belong to
Kingdom of the Netherlands Netherlands Netherlands
action union
action filter_type
action find
entity member of the Senate of the Netherlands
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity member of the Provincial Executive of North Holland
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity municipal executive of Haarlem
relation country
type designation for an administrative territorial entity
['member of the Senate of the Netherlands', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the Provincial Executive of North Holland', 'country', {'concept': 'designation for an administrative territorial entity'}] ['municipal executive of Haarlem', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { resource:member_of_the_Senate_of_the_Netherlands property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_Provincial_Executive_of_North_Holland property:country ?u } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q19305384
P1001
Q15617994
USER
Which administrative territory applies to jurisdiction of that occupation ?
(Q19305384,P1001,c(Q15617994))
action filter_type
action find
entity Q19305384
relation P1001
type Q15617994
['Q19305384', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q19305384 property:P1001 ?f . ?f rdf:type ontology:Q15617994 }
member of the Senate of the Netherlands
action filter_type
action find
entity member of the Senate of the Netherlands
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Senate of the Netherlands', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:member_of_the_Senate_of_the_Netherlands property:applies_to_jurisdiction ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q19305384
SYSTEM
Did you mean member of the Senate of the Netherlands ?
Q29999 Q55 Q55
(Q29999,P1001,c(Q15617994)) (Q55,P1001,c(Q15617994)) (Q55,P1001,c(Q15617994))
[ANSWER]
['Q29999', 'P1001', {'concept': 'Q15617994'}] ['Q55', 'P1001', {'concept': 'Q15617994'}] ['Q55', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q19305384 property:P1001 ?f . ?f rdf:type ontology:Q15617994 }
Kingdom of the Netherlands Netherlands Netherlands
Did you mean member of the Senate of the Netherlands ?
member of the Senate of the Netherlands
['Kingdom of the Netherlands', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Netherlands', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Netherlands', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:member_of_the_Senate_of_the_Netherlands property:applies_to_jurisdiction ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q19305384,P1001,c(Q15617994))
['Q19305384', 'P1001', {'concept': 'Q15617994'}]
['member of the Senate of the Netherlands', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
[]
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q19305384,P1001,c(Q15617994))
action filter_type
action find
entity Q19305384
relation P1001
type Q15617994
The [ANSWER] applies to jurisdiction of that occupation
['Q19305384', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q19305384 property:P1001 ?f . ?f rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
The Kingdom of the Netherlands applies to jurisdiction of that occupation
Kingdom of the Netherlands
action filter_type
action find
entity member of the Senate of the Netherlands
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Senate of the Netherlands', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:member_of_the_Senate_of_the_Netherlands property:applies_to_jurisdiction ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q732577 Q2342494
USER
Which occupations were discussed in around 1 publications and collectables ?
(c(Q732577)|c(Q2342494),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 1
[[{'concept': 'Q732577'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?f WHERE { ?g rdf:type ?h . VALUES ( ?h ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } GROUP BY ?f } . FILTER ( ?o = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 1
[[{'concept': 'publication'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?f WHERE { ?g rdf:type ?h . VALUES ( ?h ) { ( ontology:publication ) ( ontology:collectable ) } } GROUP BY ?f } . FILTER ( ?o = 1 ) }
[]
occupation publication collectable
Q42973 Q18145518 Q18220900
SYSTEM
architect, Member of the New Zealand House of Representatives, Member of the South Australian House of Assembly
Q774306 Q3809586 Q83307 Q4610556 Q18145518 Q2094335 Q82955 Q730242 Q42973 Q9402 Q43845 Q29182 Q131524 Q14373094 Q18220900 Q15320003 Q16003605 Q49757 Q1238570 Q2259532
(c(Q732577)|c(Q2342494),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 1
[ANSWERS] were discussed in around 1 publications and collectables
[[{'concept': 'Q732577'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?f WHERE { ?g rdf:type ?h . VALUES ( ?h ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } GROUP BY ?f } . FILTER ( ?o = 1 ) }
surgeon Wikipedian in Residence minister model Member of the New Zealand House of Representatives United States Attorney politician test pilot architect ninja businessperson bishop entrepreneur rugby league player Member of the South Australian House of Assembly migrant worker elementary school student poet political scientist cleric
Architect, Member of the New Zealand House of Representatives and Member of the South Australian House of Assembly were discussed in around 1 publications and collectables
architect Member of the New Zealand House of Representatives Member of the South Australian House of Assembly
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 1
[[{'concept': 'publication'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?f WHERE { ?g rdf:type ?h . VALUES ( ?h ) { ( ontology:publication ) ( ontology:collectable ) } } GROUP BY ?f } . FILTER ( ?o = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q15618890
P180
Q12737077 Q18783400 Q3305213
USER
How many occupations are depicted in more number of genres of sculpture and paintings than ventriloquist ?
(c(Q18783400)|c(Q3305213),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q15618890
relation P180
type Q18783400
type Q3305213
[[{'concept': 'Q18783400'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?u WHERE { { ?k property:P180 ?u . ?u rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q18783400 } UNION { ?k property:P180 ?u . ?u rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q3305213 } } GROUP BY ?u } . FILTER ( ?r > ?w ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P180 resource:Q15618890 . { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:Q18783400 ) ( ontology:Q3305213 ) } } } } }
ventriloquist
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity ventriloquist
relation depicts
type genre of sculpture
type painting
[[{'concept': 'genre of sculpture'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?u WHERE { { ?k property:depicts ?u . ?u rdf:type ontology:occupation . ?k rdf:type ontology:genre_of_sculpture } UNION { ?k property:depicts ?u . ?u rdf:type ontology:occupation . ?k rdf:type ontology:painting } } GROUP BY ?u } . FILTER ( ?r > ?w ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:depicts resource:ventriloquist . { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:genre_of_sculpture ) ( ontology:painting ) } } } } }
[]
occupation genre of sculpture painting
SYSTEM
37
Q131512 Q1401609 Q1124183 Q81710 Q1259917 Q4504549 Q842782 Q486748 Q483501 Q215536 Q19723482 Q1139055 Q1028181 Q733786 Q12097 Q12059906 Q14009165 Q10833314 Q1318187 Q4991371 Q250867 Q10873124 Q2730732 Q103163 Q207651 Q5716684 Q833860 Q2191547 Q838811 Q331432 Q639669 Q49757 Q15296811 Q1281618 Q811122 Q42603 Q1630100
(c(Q18783400)|c(Q3305213),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q15618890
relation P180
type Q18783400
type Q3305213
[ANSWER]
[[{'concept': 'Q18783400'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?u WHERE { { ?k property:P180 ?u . ?u rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q18783400 } UNION { ?k property:P180 ?u . ?u rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q3305213 } } GROUP BY ?u } . FILTER ( ?r > ?w ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P180 resource:Q15618890 . { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:Q18783400 ) ( ontology:Q3305213 ) } } } } }
farmer vaquero lumberjack shepherd violinist religious servant detective pianist artist merchant mandolinist tax collector painter monk king herder trapper tennis player scrivener soldier Catholic priest chess player equestrian abbot executioner dancer maid picador peasant fisherman musician poet draughtsperson sculptor construction worker priest art model
37
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity ventriloquist
relation depicts
type genre of sculpture
type painting
[[{'concept': 'genre of sculpture'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?u WHERE { { ?k property:depicts ?u . ?u rdf:type ontology:occupation . ?k rdf:type ontology:genre_of_sculpture } UNION { ?k property:depicts ?u . ?u rdf:type ontology:occupation . ?k rdf:type ontology:painting } } GROUP BY ?u } . FILTER ( ?r > ?w ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:depicts resource:ventriloquist . { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:genre_of_sculpture ) ( ontology:painting ) } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q520549
P180
Q12737077 Q18783400 Q3305213
USER
And how about geologist?
(c(Q18783400)|c(Q3305213),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q520549
relation P180
type Q18783400
type Q3305213
[[{'concept': 'Q18783400'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?m ) WHERE { { ?w rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q18783400 . ?b property:P180 ?w } UNION { ?b property:P180 ?w . ?w rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q3305213 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P180 resource:Q520549 . { { ?x rdf:type ontology:Q18783400 } UNION { ?x rdf:type ontology:Q3305213 } } } } . FILTER ( ?m > ?p ) }
geologist
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity geologist
relation depicts
type genre of sculpture
type painting
[[{'concept': 'genre of sculpture'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?m ) WHERE { { ?w rdf:type ontology:occupation . ?b rdf:type ontology:genre_of_sculpture . ?b property:depicts ?w } UNION { ?b property:depicts ?w . ?w rdf:type ontology:occupation . ?b rdf:type ontology:painting } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:depicts resource:geologist . { { ?x rdf:type ontology:genre_of_sculpture } UNION { ?x rdf:type ontology:painting } } } } . FILTER ( ?m > ?p ) }
[]
occupation genre of sculpture painting
SYSTEM
37
Q131512 Q1401609 Q1124183 Q81710 Q1259917 Q4504549 Q842782 Q486748 Q483501 Q215536 Q19723482 Q1139055 Q1028181 Q733786 Q12097 Q12059906 Q14009165 Q10833314 Q1318187 Q4991371 Q250867 Q10873124 Q2730732 Q103163 Q207651 Q5716684 Q833860 Q2191547 Q838811 Q331432 Q639669 Q49757 Q15296811 Q1281618 Q811122 Q42603 Q1630100
(c(Q18783400)|c(Q3305213),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q520549
relation P180
type Q18783400
type Q3305213
[ANSWER]
[[{'concept': 'Q18783400'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?m ) WHERE { { ?w rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q18783400 . ?b property:P180 ?w } UNION { ?b property:P180 ?w . ?w rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q3305213 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P180 resource:Q520549 . { { ?x rdf:type ontology:Q18783400 } UNION { ?x rdf:type ontology:Q3305213 } } } } . FILTER ( ?m > ?p ) }
farmer vaquero lumberjack shepherd violinist religious servant detective pianist artist merchant mandolinist tax collector painter monk king herder trapper tennis player scrivener soldier Catholic priest chess player equestrian abbot executioner dancer maid picador peasant fisherman musician poet draughtsperson sculptor construction worker priest art model
37
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity geologist
relation depicts
type genre of sculpture
type painting
[[{'concept': 'genre of sculpture'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?m ) WHERE { { ?w rdf:type ontology:occupation . ?b rdf:type ontology:genre_of_sculpture . ?b property:depicts ?w } UNION { ?b property:depicts ?w . ?w rdf:type ontology:occupation . ?b rdf:type ontology:painting } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:depicts resource:geologist . { { ?x rdf:type ontology:genre_of_sculpture } UNION { ?x rdf:type ontology:painting } } } } . FILTER ( ?m > ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2110644
P106
Q12737077
USER
What does Marcus Slingenberg do for a living ?
(Q2110644,P106,c(Q12737077))
action filter_type
action find
entity Q2110644
relation P106
type Q12737077
['Q2110644', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q2110644 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Marcus Slingenberg
action filter_type
action find
entity Marcus Slingenberg
relation occupation
type occupation
['Marcus Slingenberg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Marcus_Slingenberg property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2110644,P106,c(Q12737077))
action filter_type
action find
entity Q2110644
relation P106
type Q12737077
Marcus Slingenberg does a [ANSWER] for a living
['Q2110644', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q2110644 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
politician
Marcus Slingenberg does a politician for a living
politician
action filter_type
action find
entity Marcus Slingenberg
relation occupation
type occupation
['Marcus Slingenberg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Marcus_Slingenberg property:occupation ?a . ?a rdf:type ontology:occupation }
[]