Simple Question (Direct)
Simple Question
Q16559677
P734
Q82799
USER
Who is associated with Giovanna Giordano ?
(Q16559677,P734,c(Q82799))
action filter_type
action find
entity Q16559677
relation P734
type Q82799
['Q16559677', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q16559677 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Giovanna Giordano
action filter_type
action find
entity Giovanna Giordano
relation family name
type name
['Giovanna Giordano', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Giovanna_Giordano property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q15272936
SYSTEM
Giordano
Q15272936
(Q16559677,P734,c(Q82799))
action filter_type
action find
entity Q16559677
relation P734
type Q82799
[ANSWER] is associated with Giovanna [ANSWER]
['Q16559677', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q16559677 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Giordano
Giordano is associated with Giovanna Giordano
Giordano
action filter_type
action find
entity Giovanna Giordano
relation family name
type name
['Giovanna Giordano', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Giovanna_Giordano property:family_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16559677
P106
Q12737077
USER
What are the professions of Giovanna Giordano ?
(Q16559677,P106,c(Q12737077))
action filter_type
action find
entity Q16559677
relation P106
type Q12737077
['Q16559677', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q16559677 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Giovanna Giordano
action filter_type
action find
entity Giovanna Giordano
relation occupation
type occupation
['Giovanna Giordano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Giovanna_Giordano property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q1930187 Q36180
SYSTEM
journalist, writer
Q1930187 Q36180
(Q16559677,P106,c(Q12737077))
action filter_type
action find
entity Q16559677
relation P106
type Q12737077
The professions of Giovanna Giordano are the [ANSWERS]
['Q16559677', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q16559677 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
journalist writer
The professions of Giovanna Giordano are the journalist and writer
journalist writer
action filter_type
action find
entity Giovanna Giordano
relation occupation
type occupation
['Giovanna Giordano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Giovanna_Giordano property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16559677
P27
Q15617994
USER
Which administrative territory is Giovanna Giordano a civilian of ?
(Q16559677,P27,c(Q15617994))
action filter_type
action find
entity Q16559677
relation P27
type Q15617994
['Q16559677', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q16559677 property:P27 ?w }
Giovanna Giordano
action filter_type
action find
entity Giovanna Giordano
relation country of citizenship
type designation for an administrative territorial entity
['Giovanna Giordano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Giovanna_Giordano property:country_of_citizenship ?w }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q16559677,P27,c(Q15617994))
action filter_type
action find
entity Q16559677
relation P27
type Q15617994
[ANSWER] is Giovanna Giordano a civilian of
['Q16559677', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q16559677 property:P27 ?w }
Italy
Italy is Giovanna Giordano a civilian of
Italy
action filter_type
action find
entity Giovanna Giordano
relation country of citizenship
type designation for an administrative territorial entity
['Giovanna Giordano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Giovanna_Giordano property:country_of_citizenship ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16559677
P1412
Q34770
USER
Which language can that person understand ?
(Q38,P1412,c(Q34770))
action filter_type
action find
entity Q16559677
relation P1412
type Q34770
['Q38', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q16559677 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Giovanna Giordano
action filter_type
action find
entity Giovanna Giordano
relation languages spoken, written or signed
type language
['Italy', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Giovanna_Giordano property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q38,P1412,c(Q34770))
action filter_type
action find
entity Q16559677
relation P1412
type Q34770
That person can understand [ANSWER]
['Q38', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q16559677 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Italian
That person can understand Italian
Italian
action filter_type
action find
entity Giovanna Giordano
relation languages spoken, written or signed
type language
['Italy', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Giovanna_Giordano property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q17595415 Q16559677
P1412
Q34770
USER
Or Cayetano Quintana Hernández?
OR((Q16559677,P1412,c(Q34770)), (Q17595415,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q16559677
relation P1412
action find
entity Q17595415
relation P1412
type Q34770
{'OR': [['Q16559677', 'P1412', {'concept': 'Q34770'}], ['Q17595415', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?s ) { ( resource:Q16559677 ) ( resource:Q17595415 ) } . ?s property:P1412 ?i } . ?i rdf:type ontology:Q34770 }
Cayetano Quintana Hernández Giovanna Giordano
action filter_type
action union
action find
entity Giovanna Giordano
relation languages spoken, written or signed
action find
entity Cayetano Quintana Hernández
relation languages spoken, written or signed
type language
{'OR': [['Giovanna Giordano', 'languages spoken, written or signed', {'concept': 'language'}], ['Cayetano Quintana Hernández', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?s ) { ( resource:Giovanna_Giordano ) ( resource:Cayetano_Quintana_Hernández ) } . ?s property:languages_spoken,_written_or_signed ?i } . ?i rdf:type ontology:language }
[]
language
Q652 Q1321
SYSTEM
Italian, Spanish
Q652 Q1321
OR((Q16559677,P1412,c(Q34770)), (Q17595415,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q16559677
relation P1412
action find
entity Q17595415
relation P1412
type Q34770
[ANSWERS]
{'OR': [['Q16559677', 'P1412', {'concept': 'Q34770'}], ['Q17595415', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?s ) { ( resource:Q16559677 ) ( resource:Q17595415 ) } . ?s property:P1412 ?i } . ?i rdf:type ontology:Q34770 }
Italian Spanish
Italian Spanish
action filter_type
action union
action find
entity Giovanna Giordano
relation languages spoken, written or signed
action find
entity Cayetano Quintana Hernández
relation languages spoken, written or signed
type language
{'OR': [['Giovanna Giordano', 'languages spoken, written or signed', {'concept': 'language'}], ['Cayetano Quintana Hernández', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?s ) { ( resource:Giovanna_Giordano ) ( resource:Cayetano_Quintana_Hernández ) } . ?s property:languages_spoken,_written_or_signed ?i } . ?i rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q386724 Q18783400
USER
Which names are expressed in max number of works or genres of sculpture ?
(c(Q386724)|c(Q18783400),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
[[{'concept': 'Q386724'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?o ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:Q386724 ) ( ontology:Q18783400 ) } } GROUP BY ?n } } . { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?c ) WHERE { { ?p property:P180 ?m . ?m rdf:type ontology:Q82799 . ?p rdf:type ontology:Q386724 } UNION { ?m rdf:type ontology:Q82799 . ?p rdf:type ontology:Q18783400 . ?p property:P180 ?m } } GROUP BY ?m } . FILTER ( ?c = ?o ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type work
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
[[{'concept': 'work'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?o ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:work ) ( ontology:genre_of_sculpture ) } } GROUP BY ?n } } . { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?c ) WHERE { { ?p property:depicts ?m . ?m rdf:type ontology:name . ?p rdf:type ontology:work } UNION { ?m rdf:type ontology:name . ?p rdf:type ontology:genre_of_sculpture . ?p property:depicts ?m } } GROUP BY ?m } . FILTER ( ?c = ?o ) }
[]
name work genre of sculpture
Q726
SYSTEM
horse
Q726
(c(Q386724)|c(Q18783400),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
[ANSWER] is expressed in max number of works or genres of sculpture
[[{'concept': 'Q386724'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?o ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:Q386724 ) ( ontology:Q18783400 ) } } GROUP BY ?n } } . { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?c ) WHERE { { ?p property:P180 ?m . ?m rdf:type ontology:Q82799 . ?p rdf:type ontology:Q386724 } UNION { ?m rdf:type ontology:Q82799 . ?p rdf:type ontology:Q18783400 . ?p property:P180 ?m } } GROUP BY ?m } . FILTER ( ?c = ?o ) }
horse
Horse is expressed in max number of works or genres of sculpture
horse
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type work
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
[[{'concept': 'work'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?o ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ?q . VALUES ( ?q ) { ( ontology:work ) ( ontology:genre_of_sculpture ) } } GROUP BY ?n } } . { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?c ) WHERE { { ?p property:depicts ?m . ?m rdf:type ontology:name . ?p rdf:type ontology:work } UNION { ?m rdf:type ontology:name . ?p rdf:type ontology:genre_of_sculpture . ?p property:depicts ?m } } GROUP BY ?m } . FILTER ( ?c = ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36180
P425
Q1914636
USER
Who is associated with the field of occupation writer ?
(Q36180,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?a WHERE { resource:Q36180 property:P425 ?a . ?a rdf:type ontology:Q1914636 }
writer
action filter_type
action find
entity writer
relation field of this occupation
type activity
['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?a WHERE { resource:writer property:field_of_this_occupation ?a . ?a rdf:type ontology:activity }
[]
activity
Q8242
SYSTEM
literature
Q8242
(Q36180,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
Is [ANSWER] is associated with the field of occupation writer
['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?a WHERE { resource:Q36180 property:P425 ?a . ?a rdf:type ontology:Q1914636 }
literature
Is literature is associated with the field of occupation writer
literature
action filter_type
action find
entity writer
relation field of this occupation
type activity
['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?a WHERE { resource:writer property:field_of_this_occupation ?a . ?a rdf:type ontology:activity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16698086
Q1914636
USER
And what about Doktor Nauk in Public Administration?
(Q16698086,P425,c(Q1914636))
action filter_type
action find
entity Q16698086
relation P425
type Q1914636
['Q16698086', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?g WHERE { resource:Q16698086 property:P425 ?g . ?g rdf:type ontology:Q1914636 }
Doktor Nauk in Public Administration
action filter_type
action find
entity Doktor Nauk in Public Administration
relation field of this occupation
type activity
['Doktor Nauk in Public Administration', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?g WHERE { resource:Doktor_Nauk_in_Public_Administration property:field_of_this_occupation ?g . ?g rdf:type ontology:activity }
[]
activity
Q31728
SYSTEM
public administration
Q31728
(Q16698086,P425,c(Q1914636))
action filter_type
action find
entity Q16698086
relation P425
type Q1914636
[ANSWER]
['Q16698086', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?g WHERE { resource:Q16698086 property:P425 ?g . ?g rdf:type ontology:Q1914636 }
public administration
public administration
action filter_type
action find
entity Doktor Nauk in Public Administration
relation field of this occupation
type activity
['Doktor Nauk in Public Administration', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?g WHERE { resource:Doktor_Nauk_in_Public_Administration property:field_of_this_occupation ?g . ?g rdf:type ontology:activity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3438698
P361
Q163740 Q350604 Q1914636
USER
How many activities are a portion of lesser number of nonprofit organizations and armed conflicts than Sijekovac killings ?
(c(Q1914636),P361,c(Q163740)|c(Q350604))
action count
action less
action union
action find_tuple_counts
relation P361
type Q1914636
type Q163740
action find_tuple_counts
relation P361
type Q1914636
type Q350604
action count
action filter_multi_types
action find
entity Q3438698
relation P361
type Q163740
type Q350604
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q163740'}, {'concept': 'Q350604'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?o WHERE { { ?o property:P361 ?v . ?o rdf:type ontology:Q1914636 . ?v rdf:type ontology:Q163740 } UNION { ?o rdf:type ontology:Q1914636 . ?v rdf:type ontology:Q350604 . ?o property:P361 ?v } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Q3438698 property:P361 ?d . { { ?d rdf:type ontology:Q163740 } UNION { ?d rdf:type ontology:Q350604 } } } } . FILTER ( ?k < ?w ) }
Sijekovac killings
action count
action less
action union
action find_tuple_counts
relation part of
type activity
type nonprofit organization
action find_tuple_counts
relation part of
type activity
type armed conflict
action count
action filter_multi_types
action find
entity Sijekovac killings
relation part of
type nonprofit organization
type armed conflict
[{'concept': 'activity'}, 'part of', [{'concept': 'nonprofit organization'}, {'concept': 'armed conflict'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?o WHERE { { ?o property:part_of ?v . ?o rdf:type ontology:activity . ?v rdf:type ontology:nonprofit_organization } UNION { ?o rdf:type ontology:activity . ?v rdf:type ontology:armed_conflict . ?o property:part_of ?v } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Sijekovac_killings property:part_of ?d . { { ?d rdf:type ontology:nonprofit_organization } UNION { ?d rdf:type ontology:armed_conflict } } } } . FILTER ( ?k < ?w ) }
[]
nonprofit organization armed conflict activity
SYSTEM
113
Q1069 Q5972092 Q17014350 Q4652509 Q11625220 Q14623204 Q7202 Q7205 Q3519248 Q8074593 Q3189909 Q471906 Q5322511 Q1642790 Q205260 Q159964 Q5172476 Q2301555 Q309162 Q8427 Q10979515 Q190149 Q3720660 Q19969854 Q1546627 Q1786253 Q297251 Q1246516 Q214932 Q26997005 Q29198 Q600236 Q3009579 Q517003 Q83371 Q204938 Q1330176 Q11410 Q244955 Q472238 Q1153786 Q189250 Q1273108 Q1924397 Q897511 Q1023769 Q16861871 Q306103 Q1787378 Q7041997 Q1185297 Q338754 Q25931035 Q1110896 Q11448899 Q10494362 Q2914732 Q13507753 Q26132809 Q210005 Q2313702 Q991265 Q514 Q4621731 Q1719546 Q4116434 Q13605743 Q331803 Q288166 Q242864 Q2021311 Q20706262 Q244939 Q4763557 Q1298668 Q9166713 Q2956237 Q641169 Q1052820 Q392409 Q43114 Q190993 Q862072 Q306228 Q500096 Q11467 Q80993 Q18156118 Q306096 Q2465832 Q23038331 Q8789 Q5775114 Q1860969 Q1319035 Q22905659 Q645920 Q219067 Q298455 Q19723898 Q7141 Q332736 Q953652 Q131683 Q14215960 Q215501 Q4307822 Q31728 Q321984 Q331835 Q11774442 Q1203526 Q15871713
(c(Q1914636),P361,c(Q163740)|c(Q350604))
action count
action less
action union
action find_tuple_counts
relation P361
type Q1914636
type Q163740
action find_tuple_counts
relation P361
type Q1914636
type Q350604
action count
action filter_multi_types
action find
entity Q3438698
relation P361
type Q163740
type Q350604
[ANSWER]
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q163740'}, {'concept': 'Q350604'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?o WHERE { { ?o property:P361 ?v . ?o rdf:type ontology:Q1914636 . ?v rdf:type ontology:Q163740 } UNION { ?o rdf:type ontology:Q1914636 . ?v rdf:type ontology:Q350604 . ?o property:P361 ?v } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Q3438698 property:P361 ?d . { { ?d rdf:type ontology:Q163740 } UNION { ?d rdf:type ontology:Q350604 } } } } . FILTER ( ?k < ?w ) }
geology IMRC transgender activism AM1* resuscitation secondary education molecular biology paleontology teuthology Zoti Jum quantum cryptography EAOP circuit technology Zinswucher typography Corporate media open-loop controller extreme sport turkology general economics photogrammetry 2012–2013 Egyptian protests Project Aristo Strategy (game theory) power plant technology Ölpolitur Feminist art flight simulator Renaissance art 2011 Egyptian revolution operation Cytology Soviet manned lunar programs seismology Zinkätzung judicial activism game Zwischengesang 2010–2012 Algerian protests DIN 488 Zeltmission E-Commerce measurement technology cryptanalysis CIVITAS job training mining method parts cleaning Nixon White House tapes Dementi control Bernie or Bust Colonial Service Academic Frontier Promotion Project Faunistics military deception Via Catalana Twinkl Create 2011 Yemeni revolution Sprengtechnik keratometry anatomy 2011 London anti-cuts protest recreational diving Medical privacy 2013 Egyptian coup d'état sales assistant Riksgropen Bahraini uprising Dutch Senior Civil Service Breakthrough Listen 228 Incident Anglican ministry research project tertiary education lyric singing Voice projection Suijutsu free-diving aikido malacology conchology Abbergen psychophysics metallurgy software engineering Hong Kong Civil Service Dismantling production branch of science 2016 Chicago protest cryptography history of Australia Mars to Stay adult education Prostitution in ancient Greece Protestation at Speyer physical exercise Österleden Europeana Food and Drink cell biology Absolve domine Hello! Project embryology freighter travel pedology Muraqqa public administration Abkreuzung suction Prostitution in ancient Rome pilot experiment 2014 pro-Russian unrest in Ukraine
113
action count
action less
action union
action find_tuple_counts
relation part of
type activity
type nonprofit organization
action find_tuple_counts
relation part of
type activity
type armed conflict
action count
action filter_multi_types
action find
entity Sijekovac killings
relation part of
type nonprofit organization
type armed conflict
[{'concept': 'activity'}, 'part of', [{'concept': 'nonprofit organization'}, {'concept': 'armed conflict'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?o WHERE { { ?o property:part_of ?v . ?o rdf:type ontology:activity . ?v rdf:type ontology:nonprofit_organization } UNION { ?o rdf:type ontology:activity . ?v rdf:type ontology:armed_conflict . ?o property:part_of ?v } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Sijekovac_killings property:part_of ?d . { { ?d rdf:type ontology:nonprofit_organization } UNION { ?d rdf:type ontology:armed_conflict } } } } . FILTER ( ?k < ?w ) }
[]