Simple Question (Direct)
Simple Question
Q848767
P106
Q151885
USER
What is the job of Akinori Otsuka ?
(Q848767,P106,c(Q151885))
action filter_type
action find
entity Q848767
relation P106
type Q151885
['Q848767', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { resource:Q848767 property:P106 ?b . ?b rdf:type ontology:Q151885 }
Akinori Otsuka
action filter_type
action find
entity Akinori Otsuka
relation occupation
type concept
['Akinori Otsuka', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { resource:Akinori_Otsuka property:occupation ?b . ?b rdf:type ontology:concept }
[]
concept
Q10871364
SYSTEM
baseball player
Q10871364
(Q848767,P106,c(Q151885))
action filter_type
action find
entity Q848767
relation P106
type Q151885
The job of Akinori Otsuka is a [ANSWER]
['Q848767', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { resource:Q848767 property:P106 ?b . ?b rdf:type ontology:Q151885 }
baseball player
The job of Akinori Otsuka is a baseball player
baseball player
action filter_type
action find
entity Akinori Otsuka
relation occupation
type concept
['Akinori Otsuka', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { resource:Akinori_Otsuka property:occupation ?b . ?b rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q848767
P54
Q12973014
USER
Which sports teams are that person a member of ?
(Q10871364,P54,c(Q12973014))
action filter_type
action find
entity Q848767
relation P54
type Q12973014
['Q10871364', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { resource:Q848767 property:P54 ?u . ?u rdf:type ontology:Q12973014 }
Akinori Otsuka
action filter_type
action find
entity Akinori Otsuka
relation member of sports team
type sports team
['baseball player', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { resource:Akinori_Otsuka property:member_of_sports_team ?u . ?u rdf:type ontology:sports_team }
[]
sports team
Q721134 Q329816
SYSTEM
San Diego Padres, Texas Rangers
Q721134 Q329816
(Q10871364,P54,c(Q12973014))
action filter_type
action find
entity Q848767
relation P54
type Q12973014
[ANSWERS] are that person a member of
['Q10871364', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { resource:Q848767 property:P54 ?u . ?u rdf:type ontology:Q12973014 }
San Diego Padres Texas Rangers
San Diego Padres and Texas Rangers are that person a member of
San Diego Padres Texas Rangers
action filter_type
action find
entity Akinori Otsuka
relation member of sports team
type sports team
['baseball player', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { resource:Akinori_Otsuka property:member_of_sports_team ?u . ?u rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q721134 Q329816
P641
Q349
USER
Which sports did San Diego Padres and Texas Rangers participate in ?
(Q721134,P641,c(Q349)) (Q329816,P641,c(Q349))
action union
action filter_type
action find
entity Q721134
relation P641
type Q349
action filter_type
action find
entity Q329816
relation P641
type Q349
['Q721134', 'P641', {'concept': 'Q349'}] ['Q329816', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?f property:P641 ?k . VALUES ( ?f ) { ( resource:Q721134 ) ( resource:Q329816 ) } }
San Diego Padres Texas Rangers
action union
action filter_type
action find
entity San Diego Padres
relation sport
type sport
action filter_type
action find
entity Texas Rangers
relation sport
type sport
['San Diego Padres', 'sport', {'concept': 'sport'}] ['Texas Rangers', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?f property:sport ?k . VALUES ( ?f ) { ( resource:San_Diego_Padres ) ( resource:Texas_Rangers ) } }
[]
sport
Q5369 Q5369
SYSTEM
baseball
Q5369 Q5369
(Q721134,P641,c(Q349)) (Q329816,P641,c(Q349))
action union
action filter_type
action find
entity Q721134
relation P641
type Q349
action filter_type
action find
entity Q329816
relation P641
type Q349
San Diego Padres and Texas Rangers participated in [ANSWER] and [ANSWER]
['Q721134', 'P641', {'concept': 'Q349'}] ['Q329816', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?f property:P641 ?k . VALUES ( ?f ) { ( resource:Q721134 ) ( resource:Q329816 ) } }
baseball baseball
San Diego Padres and Texas Rangers participated in baseball and baseball
baseball baseball
action union
action filter_type
action find
entity San Diego Padres
relation sport
type sport
action filter_type
action find
entity Texas Rangers
relation sport
type sport
['San Diego Padres', 'sport', {'concept': 'sport'}] ['Texas Rangers', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?f property:sport ?k . VALUES ( ?f ) { ( resource:San_Diego_Padres ) ( resource:Texas_Rangers ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q329816
P647
Q502895
USER
Who drafted Texas Rangers ?
(c(Q502895),P647,Q329816)
action filter_type
action find_reverse
entity Q329816
relation P647
type Q502895
[{'concept': 'Q502895'}, 'P647', 'Q329816']
SELECT DISTINCT ?x WHERE { ?x property:P647 resource:Q329816 . ?x rdf:type ontology:Q502895 }
Texas Rangers
action filter_type
action find_reverse
entity Texas Rangers
relation drafted by
type common name
[{'concept': 'common name'}, 'drafted by', 'Texas Rangers']
SELECT DISTINCT ?x WHERE { ?x property:drafted_by resource:Texas_Rangers . ?x rdf:type ontology:common_name }
[]
common name
Q902679 Q3574506 Q14943730
SYSTEM
Cody Eppley, Zach Phillips, Joey Butler
Q902679 Q14943730 Q861990 Q3574506
(c(Q502895),P647,Q329816)
action filter_type
action find_reverse
entity Q329816
relation P647
type Q502895
[ANSWERS] drafted Texas Rangers
[{'concept': 'Q502895'}, 'P647', 'Q329816']
SELECT DISTINCT ?x WHERE { ?x property:P647 resource:Q329816 . ?x rdf:type ontology:Q502895 }
Cody Eppley Joey Butler Darren Oliver Zach Phillips
Cody Eppley, Zach Phillips and Joey Butler drafted Texas Rangers
Cody Eppley Zach Phillips Joey Butler
action filter_type
action find_reverse
entity Texas Rangers
relation drafted by
type common name
[{'concept': 'common name'}, 'drafted by', 'Texas Rangers']
SELECT DISTINCT ?x WHERE { ?x property:drafted_by resource:Texas_Rangers . ?x rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3574506
P793
Q1190554
USER
Which events are the significant events associated with that person ?
(Q3574506,P793,c(Q1190554))
action filter_type
action find
entity Q3574506
relation P793
type Q1190554
['Q3574506', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?t WHERE { resource:Q3574506 property:P793 ?t . ?t rdf:type ontology:Q1190554 }
Zach Phillips
action filter_type
action find
entity Zach Phillips
relation significant event
type event
['Zach Phillips', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?t WHERE { resource:Zach_Phillips property:significant_event ?t . ?t rdf:type ontology:event }
[]
event
Clarification for simple ques.
Q14943730
SYSTEM
Did you mean Joey Butler ?
Q902679 Q3574506 Q14943730
(Q902679,P793,c(Q1190554)) (Q3574506,P793,c(Q1190554)) (Q14943730,P793,c(Q1190554))
[ANSWER]
['Q902679', 'P793', {'concept': 'Q1190554'}] ['Q3574506', 'P793', {'concept': 'Q1190554'}] ['Q14943730', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?t WHERE { resource:Q3574506 property:P793 ?t . ?t rdf:type ontology:Q1190554 }
Cody Eppley Zach Phillips Joey Butler
Did you mean Joey Butler ?
Joey Butler
['Cody Eppley', 'significant event', {'concept': 'event'}] ['Zach Phillips', 'significant event', {'concept': 'event'}] ['Joey Butler', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?t WHERE { resource:Zach_Phillips property:significant_event ?t . ?t rdf:type ontology:event }
[]
Simple Question (Coreferenced)
USER
No, I meant Zach Phillips. Could you tell me the answer for that?
(Q3574506,P793,c(Q1190554))
Q3574506
['Q3574506', 'P793', {'concept': 'Q1190554'}]
['Zach Phillips', 'significant event', {'concept': 'event'}]
[]
Q15056768 Q15089689
SYSTEM
Major League Baseball debut, Major League Baseball initial signing
Q15056768 Q15089689
(Q3574506,P793,c(Q1190554))
action filter_type
action find
entity Q3574506
relation P793
type Q1190554
[ANSWERS] are the significant events associated with that person
['Q3574506', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?t WHERE { resource:Q3574506 property:P793 ?t . ?t rdf:type ontology:Q1190554 }
Major League Baseball debut Major League Baseball initial signing
Major League Baseball debut and Major League Baseball initial signing are the significant events associated with that person
Major League Baseball debut Major League Baseball initial signing
action filter_type
action find
entity Zach Phillips
relation significant event
type event
['Zach Phillips', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?t WHERE { resource:Zach_Phillips property:significant_event ?t . ?t rdf:type ontology:event }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q18121798
P180
Q151885 Q3305213 Q11060274
USER
Which concepts are depicted in approximately the same number of paintings and prints as lovers' embrace ?
(c(Q3305213)|c(Q11060274),P180,c(Q151885))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q151885
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q18121798
relation P180
type Q3305213
type Q11060274
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?y ) WHERE { VALUES ( ?p ) { ( ontology:Q3305213 ) ( ontology:Q11060274 ) } . ?c rdf:type ?p } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:P180 resource:Q18121798 . { ?s rdf:type ?k . VALUES ( ?k ) { ( ontology:Q3305213 ) ( ontology:Q11060274 ) } } } } . FILTER ( ?y = ?t ) }
lovers' embrace
action approx
action union
action find_reverse_tuple_counts
relation depicts
type concept
type painting
action find_reverse_tuple_counts
relation depicts
type concept
type print
action count
action filter_multi_types
action find_reverse
entity lovers' embrace
relation depicts
type painting
type print
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?y ) WHERE { VALUES ( ?p ) { ( ontology:painting ) ( ontology:print ) } . ?c rdf:type ?p } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:depicts resource:lovers'_embrace . { ?s rdf:type ?k . VALUES ( ?k ) { ( ontology:painting ) ( ontology:print ) } } } } . FILTER ( ?y = ?t ) }
[]
concept painting print
Q4964182 Q931260 Q12004621
SYSTEM
philosopher, murderer, fortune-teller
Q254508 Q193373 Q13381863 Q2304859 Q2472587 Q7743 Q188353 Q34023 Q454 Q177923 Q8436 Q14467155 Q177826 Q189829 Q48942 Q1968442 Q170430 Q482980 Q12004621 Q11513337 Q12773225 Q2207288 Q126236 Q15980704 Q273283 Q124216 Q703534 Q272735 Q17176618 Q38433 Q48282 Q113904 Q43616 Q1146843 Q1714828 Q2979 Q25443024 Q4964182 Q11399 Q40953 Q213449 Q327055 Q877674 Q6388 Q203872 Q6537379 Q2083958 Q855091 Q2066131 Q3562775 Q931260 Q192581 Q18120029 Q18121798 Q876776 Q10843402 Q179637 Q5167661 Q3035707 Q1862087 Q1134237 Q10294 Q1125062 Q13382576 Q7234072
(c(Q3305213)|c(Q11060274),P180,c(Q151885))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q151885
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q18121798
relation P180
type Q3305213
type Q11060274
[ANSWERS] are depicted in approximately the same number of paintings and prints as lovers' embrace
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?y ) WHERE { VALUES ( ?p ) { ( ontology:Q3305213 ) ( ontology:Q11060274 ) } . ?c rdf:type ?p } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:P180 resource:Q18121798 . { ?s rdf:type ?k . VALUES ( ?k ) { ( ontology:Q3305213 ) ( ontology:Q11060274 ) } } } } . FILTER ( ?y = ?t ) }
outlaw Gordian knot fencer sovereign people home Welsh people tumulus peace auction family gaze clergy hermit pupil donor predation author fortune-teller athletics competitor slave craft conquistador matchmaker beggar Swiss people employee tree smuggler Newton's laws of motion student Radha mummy anchorite hunter liberty to walk philosopher rock music prayer eating worker touch human swimming being walking pattern guitarist sportsperson thief murderer job bibliophile lovers' embrace drinking swimmer prisoner of war justice gift prisoner court poverty rebel rower postal worker
Philosopher, murderer and fortune-teller are depicted in approximately the same number of paintings and prints as lovers' embrace
philosopher murderer fortune-teller
action approx
action union
action find_reverse_tuple_counts
relation depicts
type concept
type painting
action find_reverse_tuple_counts
relation depicts
type concept
type print
action count
action filter_multi_types
action find_reverse
entity lovers' embrace
relation depicts
type painting
type print
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?y ) WHERE { VALUES ( ?p ) { ( ontology:painting ) ( ontology:print ) } . ?c rdf:type ?p } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s property:depicts resource:lovers'_embrace . { ?s rdf:type ?k . VALUES ( ?k ) { ( ontology:painting ) ( ontology:print ) } } } } . FILTER ( ?y = ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q703534
P180
Q151885 Q386724 Q15709879
USER
Which concepts are depicted in around the same number of works or artwork series as employee ?
(c(Q386724)|c(Q15709879),P180,c(Q151885))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q386724
action find_reverse_tuple_counts
relation P180
type Q151885
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q703534
relation P180
type Q386724
type Q15709879
[[{'concept': 'Q386724'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?z WHERE { VALUES ( ?f ) { ( ontology:Q386724 ) ( ontology:Q15709879 ) } . ?c rdf:type ?f } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P180 resource:Q703534 . { { ?i rdf:type ontology:Q386724 } UNION { ?i rdf:type ontology:Q15709879 } } } } . FILTER ( ?d = ?a ) }
employee
action approx
action union
action find_reverse_tuple_counts
relation depicts
type concept
type work
action find_reverse_tuple_counts
relation depicts
type concept
type artwork series
action count
action filter_multi_types
action find_reverse
entity employee
relation depicts
type work
type artwork series
[[{'concept': 'work'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?z WHERE { VALUES ( ?f ) { ( ontology:work ) ( ontology:artwork_series ) } . ?c rdf:type ?f } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:depicts resource:employee . { { ?i rdf:type ontology:work } UNION { ?i rdf:type ontology:artwork_series } } } } . FILTER ( ?d = ?a ) }
[]
concept work artwork series
Q4964182 Q931260 Q12004621
SYSTEM
philosopher, murderer, fortune-teller
Q254508 Q193373 Q13381863 Q2304859 Q2472587 Q7743 Q188353 Q34023 Q454 Q177923 Q8436 Q14467155 Q177826 Q189829 Q48942 Q1968442 Q170430 Q482980 Q12004621 Q11513337 Q12773225 Q2207288 Q126236 Q15980704 Q273283 Q124216 Q703534 Q272735 Q17176618 Q38433 Q48282 Q113904 Q43616 Q1146843 Q1714828 Q2979 Q25443024 Q4964182 Q11399 Q40953 Q213449 Q527 Q327055 Q877674 Q6388 Q203872 Q6537379 Q2083958 Q855091 Q2066131 Q3562775 Q931260 Q192581 Q18120029 Q18121798 Q876776 Q10843402 Q179637 Q5167661 Q3035707 Q1862087 Q1134237 Q10294 Q1125062 Q13382576 Q7234072
(c(Q386724)|c(Q15709879),P180,c(Q151885))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q386724
action find_reverse_tuple_counts
relation P180
type Q151885
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q703534
relation P180
type Q386724
type Q15709879
[ANSWERS] are depicted in around the same number of works or artwork series as employee
[[{'concept': 'Q386724'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?z WHERE { VALUES ( ?f ) { ( ontology:Q386724 ) ( ontology:Q15709879 ) } . ?c rdf:type ?f } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P180 resource:Q703534 . { { ?i rdf:type ontology:Q386724 } UNION { ?i rdf:type ontology:Q15709879 } } } } . FILTER ( ?d = ?a ) }
outlaw Gordian knot fencer sovereign people home Welsh people tumulus peace auction family gaze clergy hermit pupil donor predation author fortune-teller athletics competitor slave craft conquistador matchmaker beggar Swiss people employee tree smuggler Newton's laws of motion student Radha mummy anchorite hunter liberty to walk philosopher rock music prayer eating sky worker touch human swimming being walking pattern guitarist sportsperson thief murderer job bibliophile lovers' embrace drinking swimmer prisoner of war justice gift prisoner court poverty rebel rower postal worker
Philosopher, murderer and fortune-teller are depicted in around the same number of works or artwork series as employee
philosopher murderer fortune-teller
action approx
action union
action find_reverse_tuple_counts
relation depicts
type concept
type work
action find_reverse_tuple_counts
relation depicts
type concept
type artwork series
action count
action filter_multi_types
action find_reverse
entity employee
relation depicts
type work
type artwork series
[[{'concept': 'work'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?z WHERE { VALUES ( ?f ) { ( ontology:work ) ( ontology:artwork_series ) } . ?c rdf:type ?f } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:depicts resource:employee . { { ?i rdf:type ontology:work } UNION { ?i rdf:type ontology:artwork_series } } } } . FILTER ( ?d = ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2304859
P180
Q151885 Q386724 Q15709879
USER
And how about sovereign?
(c(Q386724)|c(Q15709879),P180,c(Q151885))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q386724
action find_reverse_tuple_counts
relation P180
type Q151885
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q2304859
relation P180
type Q386724
type Q15709879
[[{'concept': 'Q386724'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?k WHERE { VALUES ( ?j ) { ( ontology:Q386724 ) ( ontology:Q15709879 ) } . ?g rdf:type ?j } GROUP BY ?k } . FILTER ( ?y = ?x ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { { ?p rdf:type ontology:Q386724 } UNION { ?p rdf:type ontology:Q15709879 } } . ?p property:P180 resource:Q2304859 } } }
sovereign
action approx
action union
action find_reverse_tuple_counts
relation depicts
type concept
type work
action find_reverse_tuple_counts
relation depicts
type concept
type artwork series
action count
action filter_multi_types
action find_reverse
entity sovereign
relation depicts
type work
type artwork series
[[{'concept': 'work'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?k WHERE { VALUES ( ?j ) { ( ontology:work ) ( ontology:artwork_series ) } . ?g rdf:type ?j } GROUP BY ?k } . FILTER ( ?y = ?x ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { { ?p rdf:type ontology:work } UNION { ?p rdf:type ontology:artwork_series } } . ?p property:depicts resource:sovereign } } }
[]
concept work artwork series
Q4964182 Q931260 Q12004621
SYSTEM
philosopher, murderer, fortune-teller
Q254508 Q193373 Q13381863 Q2304859 Q2472587 Q7743 Q188353 Q34023 Q454 Q177923 Q8436 Q14467155 Q177826 Q189829 Q48942 Q1968442 Q170430 Q482980 Q12004621 Q11513337 Q12773225 Q2207288 Q126236 Q15980704 Q273283 Q124216 Q703534 Q272735 Q17176618 Q38433 Q48282 Q113904 Q43616 Q1146843 Q1714828 Q2979 Q25443024 Q4964182 Q11399 Q40953 Q213449 Q527 Q327055 Q877674 Q6388 Q203872 Q6537379 Q2083958 Q855091 Q2066131 Q3562775 Q931260 Q192581 Q18120029 Q18121798 Q876776 Q10843402 Q179637 Q5167661 Q3035707 Q1862087 Q1134237 Q10294 Q1125062 Q13382576 Q7234072
(c(Q386724)|c(Q15709879),P180,c(Q151885))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q386724
action find_reverse_tuple_counts
relation P180
type Q151885
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q2304859
relation P180
type Q386724
type Q15709879
[ANSWERS]
[[{'concept': 'Q386724'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?k WHERE { VALUES ( ?j ) { ( ontology:Q386724 ) ( ontology:Q15709879 ) } . ?g rdf:type ?j } GROUP BY ?k } . FILTER ( ?y = ?x ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { { ?p rdf:type ontology:Q386724 } UNION { ?p rdf:type ontology:Q15709879 } } . ?p property:P180 resource:Q2304859 } } }
outlaw Gordian knot fencer sovereign people home Welsh people tumulus peace auction family gaze clergy hermit pupil donor predation author fortune-teller athletics competitor slave craft conquistador matchmaker beggar Swiss people employee tree smuggler Newton's laws of motion student Radha mummy anchorite hunter liberty to walk philosopher rock music prayer eating sky worker touch human swimming being walking pattern guitarist sportsperson thief murderer job bibliophile lovers' embrace drinking swimmer prisoner of war justice gift prisoner court poverty rebel rower postal worker
philosopher murderer fortune-teller
action approx
action union
action find_reverse_tuple_counts
relation depicts
type concept
type work
action find_reverse_tuple_counts
relation depicts
type concept
type artwork series
action count
action filter_multi_types
action find_reverse
entity sovereign
relation depicts
type work
type artwork series
[[{'concept': 'work'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?k WHERE { VALUES ( ?j ) { ( ontology:work ) ( ontology:artwork_series ) } . ?g rdf:type ?j } GROUP BY ?k } . FILTER ( ?y = ?x ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { { ?p rdf:type ontology:work } UNION { ?p rdf:type ontology:artwork_series } } . ?p property:depicts resource:sovereign } } }
[]