Simple Question (Direct)
Simple Question
Q319029
P106
Q151885
USER
What is the profession of Yigal Amir ?
(Q319029,P106,c(Q151885))
action filter_type
action find
entity Q319029
relation P106
type Q151885
['Q319029', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q319029 property:P106 ?j . ?j rdf:type ontology:Q151885 }
Yigal Amir
action filter_type
action find
entity Yigal Amir
relation occupation
type concept
['Yigal Amir', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:Yigal_Amir property:occupation ?j . ?j rdf:type ontology:concept }
[]
concept
Q2159907
SYSTEM
criminal
Q2159907
(Q319029,P106,c(Q151885))
action filter_type
action find
entity Q319029
relation P106
type Q151885
The profession of Yigal Amir is a [ANSWER]
['Q319029', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q319029 property:P106 ?j . ?j rdf:type ontology:Q151885 }
criminal
The profession of Yigal Amir is a criminal
criminal
action filter_type
action find
entity Yigal Amir
relation occupation
type concept
['Yigal Amir', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:Yigal_Amir property:occupation ?j . ?j rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2159907
P425
Q1914636
USER
Who has that concept as the associated field of occupation ?
(Q2159907,P425,c(Q1914636))
action filter_type
action find
entity Q2159907
relation P425
type Q1914636
['Q2159907', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?x WHERE { resource:Q2159907 property:P425 ?x . ?x rdf:type ontology:Q1914636 }
criminal
action filter_type
action find
entity criminal
relation field of this occupation
type activity
['criminal', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?x WHERE { resource:criminal property:field_of_this_occupation ?x . ?x rdf:type ontology:activity }
[]
activity
Q83267
SYSTEM
crime
Q83267
(Q2159907,P425,c(Q1914636))
action filter_type
action find
entity Q2159907
relation P425
type Q1914636
The [ANSWER] has that concept as the associated field of occupation
['Q2159907', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?x WHERE { resource:Q2159907 property:P425 ?x . ?x rdf:type ontology:Q1914636 }
crime
The crime has that concept as the associated field of occupation
crime
action filter_type
action find
entity criminal
relation field of this occupation
type activity
['criminal', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?x WHERE { resource:criminal property:field_of_this_occupation ?x . ?x rdf:type ontology:activity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27583428
Q1914636
USER
And what about ski instructor?
(Q27583428,P425,c(Q1914636))
action filter_type
action find
entity Q27583428
relation P425
type Q1914636
['Q27583428', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?x WHERE { resource:Q27583428 property:P425 ?x . ?x rdf:type ontology:Q1914636 }
ski instructor
action filter_type
action find
entity ski instructor
relation field of this occupation
type activity
['ski instructor', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?x WHERE { resource:ski_instructor property:field_of_this_occupation ?x . ?x rdf:type ontology:activity }
[]
activity
Q15621650 Q814517
SYSTEM
skiing, disabled sport
Q15621650 Q814517
(Q27583428,P425,c(Q1914636))
action filter_type
action find
entity Q27583428
relation P425
type Q1914636
[ANSWERS]
['Q27583428', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?x WHERE { resource:Q27583428 property:P425 ?x . ?x rdf:type ontology:Q1914636 }
skiing disabled sport
skiing disabled sport
action filter_type
action find
entity ski instructor
relation field of this occupation
type activity
['ski instructor', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?x WHERE { resource:ski_instructor property:field_of_this_occupation ?x . ?x rdf:type ontology:activity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q1914636 Q838948 Q2342494
USER
Which activities are expressed in atmost 3 works of art or collectables ?
(c(Q838948)|c(Q2342494),P180,c(Q1914636))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q1914636
type Q838948
action find_reverse_tuple_counts
relation P180
type Q1914636
type Q2342494
value 3
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q1914636'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?h WHERE { VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?w rdf:type ?e } GROUP BY ?h } . FILTER ( ?n <= 3 ) }
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type activity
type work of art
action find_reverse_tuple_counts
relation depicts
type activity
type collectable
value 3
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'depicts', {'concept': 'activity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?h WHERE { VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?w rdf:type ?e } GROUP BY ?h } . FILTER ( ?n <= 3 ) }
[]
activity work of art collectable
Q5873 Q211011 Q514
SYSTEM
sexual intercourse, falconry, anatomy
Q1069 Q484591 Q211011 Q5873 Q184485 Q600236 Q192386 Q514 Q2991771 Q12014035 Q175331 Q3199915 Q16868432 Q49389 Q11635 Q11410 Q208165 Q1194492 Q6502154 Q12271 Q896777 Q11416 Q638 Q916412 Q12950902 Q9350 Q124946 Q10737 Q474100 Q1132965 Q149086 Q192296 Q366301 Q671119 Q1562096 Q25261 Q842284 Q1358616 Q7214166 Q254615 Q133333 Q124757 Q1644573 Q179415
(c(Q838948)|c(Q2342494),P180,c(Q1914636))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q1914636
type Q838948
action find_reverse_tuple_counts
relation P180
type Q1914636
type Q2342494
value 3
[ANSWERS] are expressed in atmost 3 works of art or collectables
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q1914636'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?h WHERE { VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?w rdf:type ?e } GROUP BY ?h } . FILTER ( ?n <= 3 ) }
geology natural history falconry sexual intercourse performing arts operation military science anatomy gathering hiking demonstration massacre cabinetwork tourism theater game collecting angling exploration architecture Water Jousting gambling music infanticide parforce hunting yoga gardening suicide pyrotechnics sea bathing homicide weaving research expedition Bull-leaping ironwork meteorology skateboarding mortification of the flesh harvest gleaning foxhunting riot pilgrimage massage
Sexual intercourse, falconry and anatomy are expressed in atmost 3 works of art or collectables
sexual intercourse falconry anatomy
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type activity
type work of art
action find_reverse_tuple_counts
relation depicts
type activity
type collectable
value 3
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'depicts', {'concept': 'activity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?h WHERE { VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?w rdf:type ?e } GROUP BY ?h } . FILTER ( ?n <= 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P452
Q1914636 Q80071
USER
Which symbols belong to the industry around 1 activity ?
(c(Q80071),P452,c(Q1914636))
action approx
action find_tuple_counts
relation P452
type Q80071
type Q1914636
value 1
[{'concept': 'Q80071'}, 'P452', {'concept': 'Q1914636'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?o ) WHERE { ?w property:P452 ?e . ?e rdf:type ontology:Q1914636 . ?w rdf:type ontology:Q80071 } GROUP BY ?w } . FILTER ( ?o = 1 ) }
action approx
action find_tuple_counts
relation industry
type symbol
type activity
value 1
[{'concept': 'symbol'}, 'industry', {'concept': 'activity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?o ) WHERE { ?w property:industry ?e . ?e rdf:type ontology:activity . ?w rdf:type ontology:symbol } GROUP BY ?w } . FILTER ( ?o = 1 ) }
[]
activity symbol
Q22193849
SYSTEM
Evolution Music Group
Q22193849
(c(Q80071),P452,c(Q1914636))
action approx
action find_tuple_counts
relation P452
type Q80071
type Q1914636
value 1
[ANSWER] belong to the industry around 1 activity
[{'concept': 'Q80071'}, 'P452', {'concept': 'Q1914636'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?o ) WHERE { ?w property:P452 ?e . ?e rdf:type ontology:Q1914636 . ?w rdf:type ontology:Q80071 } GROUP BY ?w } . FILTER ( ?o = 1 ) }
Evolution Music Group
Evolution Music Group belong to the industry around 1 activity
Evolution Music Group
action approx
action find_tuple_counts
relation industry
type symbol
type activity
value 1
[{'concept': 'symbol'}, 'industry', {'concept': 'activity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?o ) WHERE { ?w property:industry ?e . ?e rdf:type ontology:activity . ?w rdf:type ontology:symbol } GROUP BY ?w } . FILTER ( ?o = 1 ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q22193849 Q20903522
P264
Q2031291
USER
Does Ekseption '78 have that symbol as its record label ?
(Q20903522,P264,Q22193849)
action is_in
entity Q20903522
action find
entity Q22193849
relation P264
['Q20903522', 'P264', 'Q22193849']
ASK WHERE { resource:Q22193849 property:P264 resource:Q20903522 }
Evolution Music Group Ekseption '78
action is_in
entity Ekseption '78
action find
entity Evolution Music Group
relation record label
["Ekseption '78", 'record label', 'Evolution Music Group']
ASK WHERE { resource:Evolution_Music_Group property:record_label resource:Ekseption_'78 }
[]
release
SYSTEM
NO
(Q20903522,P264,Q22193849)
action is_in
entity Q20903522
action find
entity Q22193849
relation P264
[ANSWER]
['Q20903522', 'P264', 'Q22193849']
ASK WHERE { resource:Q22193849 property:P264 resource:Q20903522 }
No
action is_in
entity Ekseption '78
action find
entity Evolution Music Group
relation record label
["Ekseption '78", 'record label', 'Evolution Music Group']
ASK WHERE { resource:Evolution_Music_Group property:record_label resource:Ekseption_'78 }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q80071 Q17335294
USER
How many coats of arms express around 1 symbol ?
(c(Q17335294),P180,c(Q80071))
action count
action approx
action find_tuple_counts
relation P180
type Q17335294
type Q80071
value 1
[{'concept': 'Q17335294'}, 'P180', {'concept': 'Q80071'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?s ) WHERE { ?c property:P180 ?z . ?c rdf:type ontology:Q17335294 . ?z rdf:type ontology:Q80071 } GROUP BY ?c } . FILTER ( ?s = 1 ) }
action count
action approx
action find_tuple_counts
relation depicts
type flag or coat of arms
type symbol
value 1
[{'concept': 'flag or coat of arms'}, 'depicts', {'concept': 'symbol'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?s ) WHERE { ?c property:depicts ?z . ?c rdf:type ontology:flag_or_coat_of_arms . ?z rdf:type ontology:symbol } GROUP BY ?c } . FILTER ( ?s = 1 ) }
[]
symbol flag or coat of arms
SYSTEM
41
Q19829200 Q19829258 Q22227162 Q34494 Q15910445 Q21099940 Q21065704 Q19829303 Q18033397 Q20011187 Q1882506 Q18088321 Q15883822 Q15883824 Q2217645 Q22133764 Q18033363 Q21069095 Q27270015 Q21004690 Q20812698 Q18033306 Q21099849 Q20771742 Q2265085 Q2068228 Q18033325 Q21088458 Q20821395 Q19829213 Q668988 Q20985198 Q20010895 Q21596887 Q17747409 Q2361898 Q20080565 Q24383229 Q21006214 Q2248565 Q16801260
(c(Q17335294),P180,c(Q80071))
action count
action approx
action find_tuple_counts
relation P180
type Q17335294
type Q80071
value 1
[ANSWER]
[{'concept': 'Q17335294'}, 'P180', {'concept': 'Q80071'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?s ) WHERE { ?c property:P180 ?z . ?c rdf:type ontology:Q17335294 . ?z rdf:type ontology:Q80071 } GROUP BY ?c } . FILTER ( ?s = 1 ) }
coat of arms of Bergschenhoek coat of arms of Langerak flag of Roosendaal flag of Victoria coat of arms of Albrandswaard coat of arms of Oirsbeek coat of arms of Heer coat of arms of Tienhoven coat of arms of Roosendaal coat of arms of Aduard flag of Flevoland flag of Almere coat of arms of Wehl coat of arms of West Maas en Waal coat of arms of Almere Flag of Asten coat of arms of Menterwolde coat of arms of Aarschot White Cross coat of arms of Jabeek coat of arms of Breskens coat of arms of Genemuden coat of arms of Schinveld coat of arms of 's-Gravenpolder flag of Drenthe coat of arms of Zeevang coat of arms of Haren coat of arms of Cadier en Keer coat of arms of Maarheeze coat of arms of Cillaarshoek Pahonia coat of arms of Roosendaal en Nispen coat of arms of 't Zandt flag of Menterwolde coat of arms of Hoevelaken coat of arms of Anna Paulowna coat of arms of Noordbroek flag of Achtkarspelen coat of arms of Bingelrade coat of arms of 's-Heerenberg Coat of arms of Asten
41
action count
action approx
action find_tuple_counts
relation depicts
type flag or coat of arms
type symbol
value 1
[{'concept': 'flag or coat of arms'}, 'depicts', {'concept': 'symbol'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?s ) WHERE { ?c property:depicts ?z . ?c rdf:type ontology:flag_or_coat_of_arms . ?z rdf:type ontology:symbol } GROUP BY ?c } . FILTER ( ?s = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q11467
P361
Q1914636 Q12737077 Q2221906
USER
Which activities are approximately the same number of occupations or geographic locations a component of as metallurgy ?
(c(Q12737077)|c(Q2221906),P361,c(Q1914636))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q2221906
action count
action filter_multi_types
action find_reverse
entity Q11467
relation P361
type Q12737077
type Q2221906
[[{'concept': 'Q12737077'}, {'concept': 'Q2221906'}], 'P361', {'concept': 'Q1914636'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?d WHERE { { ?y property:P361 ?d . ?y rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q1914636 } UNION { ?y property:P361 ?d . ?d rdf:type ontology:Q1914636 . ?y rdf:type ontology:Q2221906 } } GROUP BY ?d } . FILTER ( ?x = ?o ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P361 resource:Q11467 . { { ?s rdf:type ontology:Q12737077 } UNION { ?s rdf:type ontology:Q2221906 } } } } }
metallurgy
action approx
action union
action find_reverse_tuple_counts
relation part of
type activity
type occupation
action find_reverse_tuple_counts
relation part of
type activity
type geographic location
action count
action filter_multi_types
action find_reverse
entity metallurgy
relation part of
type occupation
type geographic location
[[{'concept': 'occupation'}, {'concept': 'geographic location'}], 'part of', {'concept': 'activity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?d WHERE { { ?y property:part_of ?d . ?y rdf:type ontology:occupation . ?d rdf:type ontology:activity } UNION { ?y property:part_of ?d . ?d rdf:type ontology:activity . ?y rdf:type ontology:geographic_location } } GROUP BY ?d } . FILTER ( ?x = ?o ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:part_of resource:metallurgy . { { ?s rdf:type ontology:occupation } UNION { ?s rdf:type ontology:geographic_location } } } } }
[]
activity occupation geographic location
Q23058648 Q7598 Q2319878
SYSTEM
protests against Donald Trump, GNU Project, Barbican Estate
Q3077373 Q1803786 Q861623 Q10843872 Q383695 Q7202 Q11635 Q7205 Q179661 Q309100 Q4622769 Q33761 Q159964 Q5172476 Q2301555 Q484937 Q7598 Q309162 Q2319878 Q8421 Q10979515 Q3720660 Q11372 Q163082 Q159452 Q2313702 Q34187 Q26997005 Q11650 Q191072 Q1408288 Q300920 Q517003 Q5386 Q350532 Q944537 Q36649 Q49389 Q11410 Q1475717 Q1273108 Q221096 Q127050 Q638 Q1924397 Q897511 Q8242 Q16861871 Q853077 Q8162 Q242791 Q752021 Q210005 Q474100 Q614380 Q22081761 Q514 Q36389 Q242864 Q1425343 Q180834 Q9166713 Q861581 Q177777 Q15243731 Q932522 Q539067 Q190993 Q25261 Q9350 Q23058648 Q120931 Q11467 Q80993 Q1283318 Q18156118 Q13654274 Q8789 Q189594 Q629636 Q1319035 Q1386523 Q686876 Q2144042 Q1194492 Q7141 Q494452 Q626503 Q5246046 Q953652 Q949180 Q861654 Q5157540 Q215501 Q50675 Q931309 Q686831
(c(Q12737077)|c(Q2221906),P361,c(Q1914636))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q2221906
action count
action filter_multi_types
action find_reverse
entity Q11467
relation P361
type Q12737077
type Q2221906
The [ANSWERS] are approximately the same number of occupations or geographic locations a component of as metallurgy
[[{'concept': 'Q12737077'}, {'concept': 'Q2221906'}], 'P361', {'concept': 'Q1914636'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?d WHERE { { ?y property:P361 ?d . ?y rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q1914636 } UNION { ?y property:P361 ?d . ?d rdf:type ontology:Q1914636 . ?y rdf:type ontology:Q2221906 } } GROUP BY ?d } . FILTER ( ?x = ?o ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P361 resource:Q11467 . { { ?s rdf:type ontology:Q12737077 } UNION { ?s rdf:type ontology:Q2221906 } } } } }
test method power engineering Education in the Netherlands process in engineering flight training molecular biology theater paleontology therapy planning 2011 United Kingdom anti-austerity protests Arab Spring typography Corporate media open-loop controller Breitensport GNU Project extreme sport Barbican Estate aeronautics general economics 2012–2013 Egyptian protests physical chemistry petrology Capoeira Sprengtechnik religious studies Renaissance art electronics cadastre manufacturing process eSports Soviet manned lunar programs auto racing precision mechanics Geisteswissenschaft visual arts tourism game test automation E-Commerce public-private partnership Manhattan Project music measurement technology cryptanalysis literature job training mathematics education linguistics Kyokushin kaikan Budō 2011 Yemeni revolution pyrotechnics education in France Just For The Record anatomy taekwondo Bahraini uprising radio electronics 2006 protests in Hungary tertiary education Education in Italy logistics 2013–14 Thai political crisis strategic planning Ninjutsu malacology meteorology yoga protests against Donald Trump Thai boxing metallurgy software engineering Chest radiograph Hong Kong Civil Service Post-coup unrest in Egypt (2013–2014) cryptography Islamic art 2011–13 Russian protests adult education Production Planning and Productioncontrol space colonization Process engineering angling cell biology blazonry swinging academic publishing Hello! Project financial accounting education in the United States computer file management pedology historiography medical imaging book design
The protests against Donald Trump, GNU Project and Barbican Estate are approximately the same number of occupations or geographic locations a component of as metallurgy
protests against Donald Trump GNU Project Barbican Estate
action approx
action union
action find_reverse_tuple_counts
relation part of
type activity
type occupation
action find_reverse_tuple_counts
relation part of
type activity
type geographic location
action count
action filter_multi_types
action find_reverse
entity metallurgy
relation part of
type occupation
type geographic location
[[{'concept': 'occupation'}, {'concept': 'geographic location'}], 'part of', {'concept': 'activity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?d WHERE { { ?y property:part_of ?d . ?y rdf:type ontology:occupation . ?d rdf:type ontology:activity } UNION { ?y property:part_of ?d . ?d rdf:type ontology:activity . ?y rdf:type ontology:geographic_location } } GROUP BY ?d } . FILTER ( ?x = ?o ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:part_of resource:metallurgy . { { ?s rdf:type ontology:occupation } UNION { ?s rdf:type ontology:geographic_location } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q383695
P361
Q1914636 Q12737077 Q2221906
USER
And how about flight training?
(c(Q12737077)|c(Q2221906),P361,c(Q1914636))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q2221906
action count
action filter_multi_types
action find_reverse
entity Q383695
relation P361
type Q12737077
type Q2221906
[[{'concept': 'Q12737077'}, {'concept': 'Q2221906'}], 'P361', {'concept': 'Q1914636'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?l WHERE { { ?l rdf:type ontology:Q1914636 . ?p rdf:type ontology:Q2221906 . ?p property:P361 ?l } UNION { ?p property:P361 ?l . ?l rdf:type ontology:Q1914636 . ?p rdf:type ontology:Q12737077 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { { ?x rdf:type ontology:Q12737077 } UNION { ?x rdf:type ontology:Q2221906 } } . ?x property:P361 resource:Q383695 } } . FILTER ( ?q = ?g ) }
flight training
action approx
action union
action find_reverse_tuple_counts
relation part of
type activity
type occupation
action find_reverse_tuple_counts
relation part of
type activity
type geographic location
action count
action filter_multi_types
action find_reverse
entity flight training
relation part of
type occupation
type geographic location
[[{'concept': 'occupation'}, {'concept': 'geographic location'}], 'part of', {'concept': 'activity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?l WHERE { { ?l rdf:type ontology:activity . ?p rdf:type ontology:geographic_location . ?p property:part_of ?l } UNION { ?p property:part_of ?l . ?l rdf:type ontology:activity . ?p rdf:type ontology:occupation } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { { ?x rdf:type ontology:occupation } UNION { ?x rdf:type ontology:geographic_location } } . ?x property:part_of resource:flight_training } } . FILTER ( ?q = ?g ) }
[]
activity occupation geographic location
Q23058648 Q7598 Q2319878
SYSTEM
protests against Donald Trump, GNU Project, Barbican Estate
Q3077373 Q1803786 Q861623 Q10843872 Q383695 Q7202 Q11635 Q7205 Q179661 Q309100 Q4622769 Q33761 Q159964 Q5172476 Q2301555 Q484937 Q7598 Q309162 Q2319878 Q8421 Q10979515 Q3720660 Q11372 Q163082 Q159452 Q2313702 Q34187 Q26997005 Q11650 Q191072 Q1408288 Q300920 Q517003 Q5386 Q350532 Q944537 Q36649 Q49389 Q11410 Q1475717 Q1273108 Q221096 Q127050 Q638 Q1924397 Q897511 Q8242 Q16861871 Q853077 Q8162 Q242791 Q752021 Q210005 Q474100 Q614380 Q22081761 Q514 Q36389 Q242864 Q1425343 Q180834 Q9166713 Q861581 Q177777 Q15243731 Q932522 Q539067 Q190993 Q25261 Q9350 Q23058648 Q120931 Q11467 Q80993 Q1283318 Q18156118 Q13654274 Q8789 Q189594 Q629636 Q1319035 Q1386523 Q686876 Q2144042 Q1194492 Q7141 Q494452 Q626503 Q5246046 Q953652 Q949180 Q861654 Q5157540 Q215501 Q50675 Q931309 Q686831
(c(Q12737077)|c(Q2221906),P361,c(Q1914636))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q2221906
action count
action filter_multi_types
action find_reverse
entity Q383695
relation P361
type Q12737077
type Q2221906
[ANSWERS]
[[{'concept': 'Q12737077'}, {'concept': 'Q2221906'}], 'P361', {'concept': 'Q1914636'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?l WHERE { { ?l rdf:type ontology:Q1914636 . ?p rdf:type ontology:Q2221906 . ?p property:P361 ?l } UNION { ?p property:P361 ?l . ?l rdf:type ontology:Q1914636 . ?p rdf:type ontology:Q12737077 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { { ?x rdf:type ontology:Q12737077 } UNION { ?x rdf:type ontology:Q2221906 } } . ?x property:P361 resource:Q383695 } } . FILTER ( ?q = ?g ) }
test method power engineering Education in the Netherlands process in engineering flight training molecular biology theater paleontology therapy planning 2011 United Kingdom anti-austerity protests Arab Spring typography Corporate media open-loop controller Breitensport GNU Project extreme sport Barbican Estate aeronautics general economics 2012–2013 Egyptian protests physical chemistry petrology Capoeira Sprengtechnik religious studies Renaissance art electronics cadastre manufacturing process eSports Soviet manned lunar programs auto racing precision mechanics Geisteswissenschaft visual arts tourism game test automation E-Commerce public-private partnership Manhattan Project music measurement technology cryptanalysis literature job training mathematics education linguistics Kyokushin kaikan Budō 2011 Yemeni revolution pyrotechnics education in France Just For The Record anatomy taekwondo Bahraini uprising radio electronics 2006 protests in Hungary tertiary education Education in Italy logistics 2013–14 Thai political crisis strategic planning Ninjutsu malacology meteorology yoga protests against Donald Trump Thai boxing metallurgy software engineering Chest radiograph Hong Kong Civil Service Post-coup unrest in Egypt (2013–2014) cryptography Islamic art 2011–13 Russian protests adult education Production Planning and Productioncontrol space colonization Process engineering angling cell biology blazonry swinging academic publishing Hello! Project financial accounting education in the United States computer file management pedology historiography medical imaging book design
protests against Donald Trump GNU Project Barbican Estate
action approx
action union
action find_reverse_tuple_counts
relation part of
type activity
type occupation
action find_reverse_tuple_counts
relation part of
type activity
type geographic location
action count
action filter_multi_types
action find_reverse
entity flight training
relation part of
type occupation
type geographic location
[[{'concept': 'occupation'}, {'concept': 'geographic location'}], 'part of', {'concept': 'activity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?l WHERE { { ?l rdf:type ontology:activity . ?p rdf:type ontology:geographic_location . ?p property:part_of ?l } UNION { ?p property:part_of ?l . ?l rdf:type ontology:activity . ?p rdf:type ontology:occupation } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { { ?x rdf:type ontology:occupation } UNION { ?x rdf:type ontology:geographic_location } } . ?x property:part_of resource:flight_training } } . FILTER ( ?q = ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2319878
P276
Q44539 Q18142
USER
How many temples or tower blocks are located at Barbican Estate ?
(c(Q44539),P276,Q2319878) (c(Q18142),P276,Q2319878)
action count
action union
action filter_type
action find_reverse
entity Q2319878
relation P276
type Q44539
action filter_type
action find_reverse
entity Q2319878
relation P276
type Q18142
[{'concept': 'Q44539'}, 'P276', 'Q2319878'] [{'concept': 'Q18142'}, 'P276', 'Q2319878']
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { ?a property:P276 resource:Q2319878 . ?a rdf:type ontology:Q18142 } UNION { ?a rdf:type ontology:Q44539 . ?a property:P276 resource:Q2319878 } }
Barbican Estate
action count
action union
action filter_type
action find_reverse
entity Barbican Estate
relation location
type temple
action filter_type
action find_reverse
entity Barbican Estate
relation location
type tower block
[{'concept': 'temple'}, 'location', 'Barbican Estate'] [{'concept': 'tower block'}, 'location', 'Barbican Estate']
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { ?a property:location resource:Barbican_Estate . ?a rdf:type ontology:tower_block } UNION { ?a rdf:type ontology:temple . ?a property:location resource:Barbican_Estate } }
[]
temple tower block
SYSTEM
4
Q15709545 Q15709554 Q2323930 Q15709552
(c(Q44539),P276,Q2319878) (c(Q18142),P276,Q2319878)
action count
action union
action filter_type
action find_reverse
entity Q2319878
relation P276
type Q44539
action filter_type
action find_reverse
entity Q2319878
relation P276
type Q18142
[ANSWER]
[{'concept': 'Q44539'}, 'P276', 'Q2319878'] [{'concept': 'Q18142'}, 'P276', 'Q2319878']
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { ?a property:P276 resource:Q2319878 . ?a rdf:type ontology:Q18142 } UNION { ?a rdf:type ontology:Q44539 . ?a property:P276 resource:Q2319878 } }
Cromwell Tower Lauderdale Tower St Giles-without-Cripplegate Shakespeare Tower
4
action count
action union
action filter_type
action find_reverse
entity Barbican Estate
relation location
type temple
action filter_type
action find_reverse
entity Barbican Estate
relation location
type tower block
[{'concept': 'temple'}, 'location', 'Barbican Estate'] [{'concept': 'tower block'}, 'location', 'Barbican Estate']
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { { ?a property:location resource:Barbican_Estate . ?a rdf:type ontology:tower_block } UNION { ?a rdf:type ontology:temple . ?a property:location resource:Barbican_Estate } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P101
Q1914636 Q43229 Q21114848
USER
Which activities do max number of organizations and magazine genres belong to ?
(c(Q43229)|c(Q21114848),P101,c(Q1914636))
action argmax
action union
action find_reverse_tuple_counts
relation P101
type Q1914636
type Q43229
action find_reverse_tuple_counts
relation P101
type Q1914636
type Q21114848
[[{'concept': 'Q43229'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?z WHERE { { ?t property:P101 ?z . ?z rdf:type ontology:Q1914636 . ?t rdf:type ontology:Q43229 } UNION { ?t property:P101 ?z . ?z rdf:type ontology:Q1914636 . ?t rdf:type ontology:Q21114848 } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?p WHERE { { ?a property:P101 ?p . ?p rdf:type ontology:Q1914636 . ?a rdf:type ontology:Q21114848 } UNION { ?a property:P101 ?p . ?p rdf:type ontology:Q1914636 . ?a rdf:type ontology:Q43229 } } GROUP BY ?p } . FILTER ( ?j = ?i ) }
action argmax
action union
action find_reverse_tuple_counts
relation field of work
type activity
type organization
action find_reverse_tuple_counts
relation field of work
type activity
type magazine genre
[[{'concept': 'organization'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?z WHERE { { ?t property:field_of_work ?z . ?z rdf:type ontology:activity . ?t rdf:type ontology:organization } UNION { ?t property:field_of_work ?z . ?z rdf:type ontology:activity . ?t rdf:type ontology:magazine_genre } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?p WHERE { { ?a property:field_of_work ?p . ?p rdf:type ontology:activity . ?a rdf:type ontology:magazine_genre } UNION { ?a property:field_of_work ?p . ?p rdf:type ontology:activity . ?a rdf:type ontology:organization } } GROUP BY ?p } . FILTER ( ?j = ?i ) }
[]
activity organization magazine genre
Q12271 Q8242 Q763631
SYSTEM
architecture, literature, textile design
Q12271 Q8242 Q763631
(c(Q43229)|c(Q21114848),P101,c(Q1914636))
action argmax
action union
action find_reverse_tuple_counts
relation P101
type Q1914636
type Q43229
action find_reverse_tuple_counts
relation P101
type Q1914636
type Q21114848
Max number of organizations and magazine genres belong to the [ANSWERS]
[[{'concept': 'Q43229'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?z WHERE { { ?t property:P101 ?z . ?z rdf:type ontology:Q1914636 . ?t rdf:type ontology:Q43229 } UNION { ?t property:P101 ?z . ?z rdf:type ontology:Q1914636 . ?t rdf:type ontology:Q21114848 } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?p WHERE { { ?a property:P101 ?p . ?p rdf:type ontology:Q1914636 . ?a rdf:type ontology:Q21114848 } UNION { ?a property:P101 ?p . ?p rdf:type ontology:Q1914636 . ?a rdf:type ontology:Q43229 } } GROUP BY ?p } . FILTER ( ?j = ?i ) }
architecture literature textile design
Max number of organizations and magazine genres belong to the architecture, literature and textile design
architecture literature textile design
action argmax
action union
action find_reverse_tuple_counts
relation field of work
type activity
type organization
action find_reverse_tuple_counts
relation field of work
type activity
type magazine genre
[[{'concept': 'organization'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?i ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?z WHERE { { ?t property:field_of_work ?z . ?z rdf:type ontology:activity . ?t rdf:type ontology:organization } UNION { ?t property:field_of_work ?z . ?z rdf:type ontology:activity . ?t rdf:type ontology:magazine_genre } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?p WHERE { { ?a property:field_of_work ?p . ?p rdf:type ontology:activity . ?a rdf:type ontology:magazine_genre } UNION { ?a property:field_of_work ?p . ?p rdf:type ontology:activity . ?a rdf:type ontology:organization } } GROUP BY ?p } . FILTER ( ?j = ?i ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2319878
P276
Q44539 Q18142
USER
How many temples or tower blocks are located at Barbican Estate ?
(c(Q44539),P276,Q2319878) (c(Q18142),P276,Q2319878)
action count
action union
action filter_type
action find_reverse
entity Q2319878
relation P276
type Q44539
action filter_type
action find_reverse
entity Q2319878
relation P276
type Q18142
[{'concept': 'Q44539'}, 'P276', 'Q2319878'] [{'concept': 'Q18142'}, 'P276', 'Q2319878']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { ?b property:P276 resource:Q2319878 . ?b rdf:type ontology:Q44539 } UNION { ?b rdf:type ontology:Q18142 . ?b property:P276 resource:Q2319878 } }
Barbican Estate
action count
action union
action filter_type
action find_reverse
entity Barbican Estate
relation location
type temple
action filter_type
action find_reverse
entity Barbican Estate
relation location
type tower block
[{'concept': 'temple'}, 'location', 'Barbican Estate'] [{'concept': 'tower block'}, 'location', 'Barbican Estate']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { ?b property:location resource:Barbican_Estate . ?b rdf:type ontology:temple } UNION { ?b rdf:type ontology:tower_block . ?b property:location resource:Barbican_Estate } }
[]
temple tower block
SYSTEM
4
Q15709545 Q15709554 Q2323930 Q15709552
(c(Q44539),P276,Q2319878) (c(Q18142),P276,Q2319878)
action count
action union
action filter_type
action find_reverse
entity Q2319878
relation P276
type Q44539
action filter_type
action find_reverse
entity Q2319878
relation P276
type Q18142
[ANSWER]
[{'concept': 'Q44539'}, 'P276', 'Q2319878'] [{'concept': 'Q18142'}, 'P276', 'Q2319878']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { ?b property:P276 resource:Q2319878 . ?b rdf:type ontology:Q44539 } UNION { ?b rdf:type ontology:Q18142 . ?b property:P276 resource:Q2319878 } }
Cromwell Tower Lauderdale Tower St Giles-without-Cripplegate Shakespeare Tower
4
action count
action union
action filter_type
action find_reverse
entity Barbican Estate
relation location
type temple
action filter_type
action find_reverse
entity Barbican Estate
relation location
type tower block
[{'concept': 'temple'}, 'location', 'Barbican Estate'] [{'concept': 'tower block'}, 'location', 'Barbican Estate']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { ?b property:location resource:Barbican_Estate . ?b rdf:type ontology:temple } UNION { ?b rdf:type ontology:tower_block . ?b property:location resource:Barbican_Estate } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q8261 Q83267
P136
Q2342494
USER
Which collectables have crime and novel as their type ?
AND((c(Q2342494),P136,Q83267), (c(Q2342494),P136,Q8261))
action filter_type
action intersection
action find_reverse
entity Q83267
relation P136
action find_reverse
entity Q8261
relation P136
type Q2342494
{'AND': [[{'concept': 'Q2342494'}, 'P136', 'Q83267'], [{'concept': 'Q2342494'}, 'P136', 'Q8261']]}
SELECT DISTINCT ?c WHERE { ?c property:P136 resource:Q83267 . ?c property:P136 resource:Q8261 . ?c rdf:type ontology:Q2342494 }
novel crime
action filter_type
action intersection
action find_reverse
entity crime
relation genre
action find_reverse
entity novel
relation genre
type collectable
{'AND': [[{'concept': 'collectable'}, 'genre', 'crime'], [{'concept': 'collectable'}, 'genre', 'novel']]}
SELECT DISTINCT ?c WHERE { ?c property:genre resource:crime . ?c property:genre resource:novel . ?c rdf:type ontology:collectable }
[]
collectable
Q685674 Q7739970 Q7062337 Q10701604 Q7523810 Q4659943 Q7761962 Q4658137 Q4655453 Q513696
SYSTEM
Some of them are The Cold Moon, The Hollow Man, Not the End of the World, Three Seconds, Single & Single, A Tale Etched in Blood and Hard Black Pencil, The Sacred Art of Stealing, A Masculine Ending, A Big Boy did it and Ran Away, The Broken Window
Q7761962 Q513696 Q4658137 Q7062337 Q7092638 Q7739970 Q4655453 Q4659943 Q7523810 Q685674 Q10701604
AND((c(Q2342494),P136,Q83267), (c(Q2342494),P136,Q8261))
action filter_type
action intersection
action find_reverse
entity Q83267
relation P136
action find_reverse
entity Q8261
relation P136
type Q2342494
[ANSWERS] have crime and novel as their type
{'AND': [[{'concept': 'Q2342494'}, 'P136', 'Q83267'], [{'concept': 'Q2342494'}, 'P136', 'Q8261']]}
SELECT DISTINCT ?c WHERE { ?c property:P136 resource:Q83267 . ?c property:P136 resource:Q8261 . ?c rdf:type ontology:Q2342494 }
The Sacred Art of Stealing The Broken Window A Masculine Ending Not the End of the World One Fine Day in the Middle of the Night The Hollow Man A Big Boy did it and Ran Away A Tale Etched in Blood and Hard Black Pencil Single & Single The Cold Moon Three Seconds
The Cold Moon, The Hollow Man, Not the End of the World, Three Seconds, Single & Single, A Tale Etched in Blood and Hard Black Pencil, The Sacred Art of Stealing, A Masculine Ending, A Big Boy did it and Ran Away and The Broken Window have crime and novel as their type
The Cold Moon The Hollow Man Not the End of the World Three Seconds Single & Single A Tale Etched in Blood and Hard Black Pencil The Sacred Art of Stealing A Masculine Ending A Big Boy did it and Ran Away The Broken Window
action filter_type
action intersection
action find_reverse
entity crime
relation genre
action find_reverse
entity novel
relation genre
type collectable
{'AND': [[{'concept': 'collectable'}, 'genre', 'crime'], [{'concept': 'collectable'}, 'genre', 'novel']]}
SELECT DISTINCT ?c WHERE { ?c property:genre resource:crime . ?c property:genre resource:novel . ?c rdf:type ontology:collectable }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4659943
P495
Q15617994
USER
Which administrative territory is the origin of that collectable ?
(Q4659943,P495,c(Q15617994))
action filter_type
action find
entity Q4659943
relation P495
type Q15617994
['Q4659943', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q4659943 property:P495 ?z }
A Tale Etched in Blood and Hard Black Pencil
action filter_type
action find
entity A Tale Etched in Blood and Hard Black Pencil
relation country of origin
type designation for an administrative territorial entity
['A Tale Etched in Blood and Hard Black Pencil', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:A_Tale_Etched_in_Blood_and_Hard_Black_Pencil property:country_of_origin ?z }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q4658137
SYSTEM
Did you mean A Masculine Ending ?
Q685674 Q7739970 Q7062337 Q10701604 Q7523810 Q4659943 Q7761962 Q4658137 Q4655453 Q513696
(Q685674,P495,c(Q15617994)) (Q7739970,P495,c(Q15617994)) (Q7062337,P495,c(Q15617994)) (Q10701604,P495,c(Q15617994)) (Q7523810,P495,c(Q15617994)) (Q4659943,P495,c(Q15617994)) (Q7761962,P495,c(Q15617994)) (Q4658137,P495,c(Q15617994)) (Q4655453,P495,c(Q15617994)) (Q513696,P495,c(Q15617994))
[ANSWER]
['Q685674', 'P495', {'concept': 'Q15617994'}] ['Q7739970', 'P495', {'concept': 'Q15617994'}] ['Q7062337', 'P495', {'concept': 'Q15617994'}] ['Q10701604', 'P495', {'concept': 'Q15617994'}] ['Q7523810', 'P495', {'concept': 'Q15617994'}] ['Q4659943', 'P495', {'concept': 'Q15617994'}] ['Q7761962', 'P495', {'concept': 'Q15617994'}] ['Q4658137', 'P495', {'concept': 'Q15617994'}] ['Q4655453', 'P495', {'concept': 'Q15617994'}] ['Q513696', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q4659943 property:P495 ?z }
The Cold Moon The Hollow Man Not the End of the World Three Seconds Single & Single A Tale Etched in Blood and Hard Black Pencil The Sacred Art of Stealing A Masculine Ending A Big Boy did it and Ran Away The Broken Window
Did you mean A Masculine Ending ?
A Masculine Ending
['The Cold Moon', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Hollow Man', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Not the End of the World', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Three Seconds', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Single & Single', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['A Tale Etched in Blood and Hard Black Pencil', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Sacred Art of Stealing', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['A Masculine Ending', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['A Big Boy did it and Ran Away', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Broken Window', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:A_Tale_Etched_in_Blood_and_Hard_Black_Pencil property:country_of_origin ?z }
[]
Simple Question (Coreferenced)
USER
No, I meant A Tale Etched in Blood and Hard Black Pencil. Could you tell me the answer for that?
(Q4659943,P495,c(Q15617994))
Q4659943
['Q4659943', 'P495', {'concept': 'Q15617994'}]
['A Tale Etched in Blood and Hard Black Pencil', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q145
SYSTEM
United Kingdom
Q145
(Q4659943,P495,c(Q15617994))
action filter_type
action find
entity Q4659943
relation P495
type Q15617994
[ANSWER] is the origin of that collectable
['Q4659943', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q4659943 property:P495 ?z }
United Kingdom
United Kingdom is the origin of that collectable
United Kingdom
action filter_type
action find
entity A Tale Etched in Blood and Hard Black Pencil
relation country of origin
type designation for an administrative territorial entity
['A Tale Etched in Blood and Hard Black Pencil', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:A_Tale_Etched_in_Blood_and_Hard_Black_Pencil property:country_of_origin ?z }
[]