Simple Question (Direct)
Simple Question
Q18285969
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Dirk Janssens ?
(Q18285969,P27,c(Q15617994))
action filter_type
action find
entity Q18285969
relation P27
type Q15617994
['Q18285969', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q18285969 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Dirk Janssens
action filter_type
action find
entity Dirk Janssens
relation country of citizenship
type designation for an administrative territorial entity
['Dirk Janssens', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Dirk_Janssens property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q18285969,P27,c(Q15617994))
action filter_type
action find
entity Q18285969
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Dirk Janssens
['Q18285969', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q18285969 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Belgium
Belgium is the country of citizenship of Dirk Janssens
Belgium
action filter_type
action find
entity Dirk Janssens
relation country of citizenship
type designation for an administrative territorial entity
['Dirk Janssens', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Dirk_Janssens property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q31
P1001
Q12737077
USER
Which occupations apply to jurisdiction over that administrative territory ?
(c(Q12737077),P1001,Q31)
action filter_type
action find_reverse
entity Q31
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q31']
SELECT DISTINCT ?q WHERE { ?q property:P1001 resource:Q31 . ?q rdf:type ontology:Q12737077 }
Belgium
action filter_type
action find_reverse
entity Belgium
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Belgium']
SELECT DISTINCT ?q WHERE { ?q property:applies_to_jurisdiction resource:Belgium . ?q rdf:type ontology:occupation }
[]
occupation
Q24199589 Q15705021 Q213107
SYSTEM
Minister of Defence, member of the Chamber of Representatives of Belgium, Prime Minister of Belgium
Q168589 Q24199589 Q13592862 Q15705021 Q213107 Q1922481 Q17619252 Q1670832 Q2242323
(c(Q12737077),P1001,Q31)
action filter_type
action find_reverse
entity Q31
relation P1001
type Q12737077
[ANSWERS] apply to jurisdiction over that administrative territory
[{'concept': 'Q12737077'}, 'P1001', 'Q31']
SELECT DISTINCT ?q WHERE { ?q property:P1001 resource:Q31 . ?q rdf:type ontology:Q12737077 }
Minister of Justice of Belgium Minister of Defence King of the Belgians member of the Chamber of Representatives of Belgium Prime Minister of Belgium Minister of the Interior Senator of Belgium minister of Foreign Affairs in Belgium finance minister of Belgium
Minister of Defence, member of the Chamber of Representatives of Belgium and Prime Minister of Belgium apply to jurisdiction over that administrative territory
Minister of Defence member of the Chamber of Representatives of Belgium Prime Minister of Belgium
action filter_type
action find_reverse
entity Belgium
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Belgium']
SELECT DISTINCT ?q WHERE { ?q property:applies_to_jurisdiction resource:Belgium . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18285969
P734
Q82799
USER
Which name is associated with Dirk Janssens ?
(Q18285969,P734,c(Q82799))
action filter_type
action find
entity Q18285969
relation P734
type Q82799
['Q18285969', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q18285969 property:P734 ?y . ?y rdf:type ontology:Q82799 }
Dirk Janssens
action filter_type
action find
entity Dirk Janssens
relation family name
type name
['Dirk Janssens', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Dirk_Janssens property:family_name ?y . ?y rdf:type ontology:name }
[]
name
Q21491099
SYSTEM
Janssens
Q21491099
(Q18285969,P734,c(Q82799))
action filter_type
action find
entity Q18285969
relation P734
type Q82799
Company [ANSWER] is associated with Dirk [ANSWER]
['Q18285969', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q18285969 property:P734 ?y . ?y rdf:type ontology:Q82799 }
Janssens
Company Janssens is associated with Dirk Janssens
Janssens
action filter_type
action find
entity Dirk Janssens
relation family name
type name
['Dirk Janssens', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Dirk_Janssens property:family_name ?y . ?y rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21491099 Q8185024
P734
Q502895
USER
Does Jean Janssens have that one as family name ?
(Q8185024,P734,Q21491099)
action is_in
entity Q21491099
action find
entity Q8185024
relation P734
['Q8185024', 'P734', 'Q21491099']
ASK WHERE { resource:Q8185024 property:P734 resource:Q21491099 }
Janssens Jean Janssens
action is_in
entity Janssens
action find
entity Jean Janssens
relation family name
['Jean Janssens', 'family name', 'Janssens']
ASK WHERE { resource:Jean_Janssens property:family_name resource:Janssens }
[]
common name
SYSTEM
YES
(Q8185024,P734,Q21491099)
action is_in
entity Q21491099
action find
entity Q8185024
relation P734
[ANSWER]
['Q8185024', 'P734', 'Q21491099']
ASK WHERE { resource:Q8185024 property:P734 resource:Q21491099 }
Yes
action is_in
entity Janssens
action find
entity Jean Janssens
relation family name
['Jean Janssens', 'family name', 'Janssens']
ASK WHERE { resource:Jean_Janssens property:family_name resource:Janssens }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q24199589 Q25363518
P1001
Q15617994
USER
How many administrative territories come under the supervision of Minister of Defence or Paraguayan legislative election ?
(Q24199589,P1001,c(Q15617994)) (Q25363518,P1001,c(Q15617994))
action count
action union
action filter_type
action find
entity Q24199589
relation P1001
type Q15617994
action filter_type
action find
entity Q25363518
relation P1001
type Q15617994
['Q24199589', 'P1001', {'concept': 'Q15617994'}] ['Q25363518', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { resource:Q25363518 property:P1001 ?v . ?v rdf:type ontology:Q15617994 } UNION { resource:Q24199589 property:P1001 ?v . ?v rdf:type ontology:Q15617994 } }
Minister of Defence Paraguayan legislative election
action count
action union
action filter_type
action find
entity Minister of Defence
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Paraguayan legislative election
relation applies to jurisdiction
type designation for an administrative territorial entity
['Minister of Defence', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Paraguayan legislative election', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { resource:Paraguayan_legislative_election property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Minister_of_Defence property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q31 Q733
(Q24199589,P1001,c(Q15617994)) (Q25363518,P1001,c(Q15617994))
action count
action union
action filter_type
action find
entity Q24199589
relation P1001
type Q15617994
action filter_type
action find
entity Q25363518
relation P1001
type Q15617994
[ANSWER]
['Q24199589', 'P1001', {'concept': 'Q15617994'}] ['Q25363518', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { resource:Q25363518 property:P1001 ?v . ?v rdf:type ontology:Q15617994 } UNION { resource:Q24199589 property:P1001 ?v . ?v rdf:type ontology:Q15617994 } }
Belgium Paraguay
2
action count
action union
action filter_type
action find
entity Minister of Defence
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Paraguayan legislative election
relation applies to jurisdiction
type designation for an administrative territorial entity
['Minister of Defence', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Paraguayan legislative election', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { resource:Paraguayan_legislative_election property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Minister_of_Defence property:applies_to_jurisdiction ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11522681 Q18285969
P106
Q12737077
USER
Which occupations do Dirk Janssens or Mina Murakami do for a living ?
OR((Q18285969,P106,c(Q12737077)), (Q11522681,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q18285969
relation P106
action find
entity Q11522681
relation P106
type Q12737077
{'OR': [['Q18285969', 'P106', {'concept': 'Q12737077'}], ['Q11522681', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q18285969 property:P106 ?g } UNION { resource:Q11522681 property:P106 ?g } } . ?g rdf:type ontology:Q12737077 }
Mina Murakami Dirk Janssens
action filter_type
action union
action find
entity Dirk Janssens
relation occupation
action find
entity Mina Murakami
relation occupation
type occupation
{'OR': [['Dirk Janssens', 'occupation', {'concept': 'occupation'}], ['Mina Murakami', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Dirk_Janssens property:occupation ?g } UNION { resource:Mina_Murakami property:occupation ?g } } . ?g rdf:type ontology:occupation }
[]
occupation
Q2705098 Q82955
SYSTEM
tarento, politician
Q2705098 Q82955
OR((Q18285969,P106,c(Q12737077)), (Q11522681,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q18285969
relation P106
action find
entity Q11522681
relation P106
type Q12737077
Dirk Janssens or Mina Murakami do for a living in [ANSWERS]
{'OR': [['Q18285969', 'P106', {'concept': 'Q12737077'}], ['Q11522681', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q18285969 property:P106 ?g } UNION { resource:Q11522681 property:P106 ?g } } . ?g rdf:type ontology:Q12737077 }
tarento politician
Dirk Janssens or Mina Murakami do for a living in tarento and politician
tarento politician
action filter_type
action union
action find
entity Dirk Janssens
relation occupation
action find
entity Mina Murakami
relation occupation
type occupation
{'OR': [['Dirk Janssens', 'occupation', {'concept': 'occupation'}], ['Mina Murakami', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Dirk_Janssens property:occupation ?g } UNION { resource:Mina_Murakami property:occupation ?g } } . ?g rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1030
P495
Q15617994 Q2088357 Q2342494
USER
Which administrative territories are the countries of origin of more number of musical ensembles or collectables than Namibia ?
(c(Q2088357)|c(Q2342494),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1030
relation P495
type Q2088357
type Q2342494
[[{'concept': 'Q2088357'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?o ) WHERE { VALUES ( ?j ) { ( ontology:Q2088357 ) ( ontology:Q2342494 ) } . ?s rdf:type ?j } GROUP BY ?g } . FILTER ( ?o > ?y ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P495 resource:Q1030 . { VALUES ( ?l ) { ( ontology:Q2088357 ) ( ontology:Q2342494 ) } . ?v rdf:type ?l } } } }
Namibia
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Namibia
relation country of origin
type musical ensemble
type collectable
[[{'concept': 'musical ensemble'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?o ) WHERE { VALUES ( ?j ) { ( ontology:musical_ensemble ) ( ontology:collectable ) } . ?s rdf:type ?j } GROUP BY ?g } . FILTER ( ?o > ?y ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:country_of_origin resource:Namibia . { VALUES ( ?l ) { ( ontology:musical_ensemble ) ( ontology:collectable ) } . ?v rdf:type ?l } } } }
[]
designation for an administrative territorial entity musical ensemble collectable
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q37 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q884 Q881 Q826 Q822 Q241 Q242 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q851 Q733 Q29999 Q854 Q424 Q1013 Q236 Q230 Q232 Q233 Q20 Q1041 Q27 Q28 Q1049 Q1027 Q1020 Q189 Q843 Q184 Q1028 Q736 Q786 Q227 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q963 Q298 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q916 Q1006 Q833 Q1008 Q79 Q77 Q774 Q948 Q1014 Q1011 Q29 Q176 Q869 Q953
(c(Q2088357)|c(Q2342494),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1030
relation P495
type Q2088357
type Q2342494
[ANSWERS] are the countries of origin of more number of musical ensembles or collectables than Namibia
[[{'concept': 'Q2088357'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?o ) WHERE { VALUES ( ?j ) { ( ontology:Q2088357 ) ( ontology:Q2342494 ) } . ?s rdf:type ?j } GROUP BY ?g } . FILTER ( ?o > ?y ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P495 resource:Q1030 . { VALUES ( ?l ) { ( ontology:Q2088357 ) ( ontology:Q2342494 ) } . ?v rdf:type ?l } } } }
Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Lithuania Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe South Korea Vietnam Maldives Lebanon Cuba Belize Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Cambodia Lesotho Montenegro Georgia Kazakhstan Malta Norway Senegal Ireland Hungary Sudan Mauritius Malawi Iceland Pakistan Belarus Morocco Ecuador Dominican Republic Azerbaijan Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Botswana Chile Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Angola Guinea Malaysia Côte d'Ivoire Egypt Uruguay Guatemala Tunisia Liberia Cape Verde Spain Quebec Thailand Zambia
Italy, Brazil and United States of America are the countries of origin of more number of musical ensembles or collectables than Namibia
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Namibia
relation country of origin
type musical ensemble
type collectable
[[{'concept': 'musical ensemble'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?o ) WHERE { VALUES ( ?j ) { ( ontology:musical_ensemble ) ( ontology:collectable ) } . ?s rdf:type ?j } GROUP BY ?g } . FILTER ( ?o > ?y ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:country_of_origin resource:Namibia . { VALUES ( ?l ) { ( ontology:musical_ensemble ) ( ontology:collectable ) } . ?v rdf:type ?l } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q783
P495
Q15617994 Q2088357 Q2342494
USER
And how about Honduras?
(c(Q2088357)|c(Q2342494),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q783
relation P495
type Q2088357
type Q2342494
[[{'concept': 'Q2088357'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?m > ?h ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P495 resource:Q783 . { { ?p rdf:type ontology:Q2088357 } UNION { ?p rdf:type ontology:Q2342494 } } } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?q WHERE { { ?f property:P495 ?q . ?q rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q2088357 } UNION { ?f property:P495 ?q . ?q rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q2342494 } } GROUP BY ?q } }
Honduras
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Honduras
relation country of origin
type musical ensemble
type collectable
[[{'concept': 'musical ensemble'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?m > ?h ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:country_of_origin resource:Honduras . { { ?p rdf:type ontology:musical_ensemble } UNION { ?p rdf:type ontology:collectable } } } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?q WHERE { { ?f property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:musical_ensemble } UNION { ?f property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:collectable } } GROUP BY ?q } }
[]
designation for an administrative territorial entity musical ensemble collectable
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q37 Q717 Q837 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q884 Q881 Q822 Q241 Q33 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q851 Q29999 Q854 Q236 Q230 Q20 Q1041 Q27 Q28 Q1049 Q189 Q843 Q184 Q1028 Q224 Q222 Q96 Q229 Q17 Q902 Q1036 Q974 Q1033 Q191 Q298 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q214 Q215 Q218 Q219 Q912 Q833 Q1008 Q79 Q77 Q774 Q1014 Q1011 Q29 Q869 Q953
(c(Q2088357)|c(Q2342494),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q783
relation P495
type Q2088357
type Q2342494
[ANSWERS]
[[{'concept': 'Q2088357'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?m > ?h ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P495 resource:Q783 . { { ?p rdf:type ontology:Q2088357 } UNION { ?p rdf:type ontology:Q2342494 } } } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?q WHERE { { ?f property:P495 ?q . ?q rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q2088357 } UNION { ?f property:P495 ?q . ?q rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q2342494 } } GROUP BY ?q } }
Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Lithuania Venezuela Nepal Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe South Korea Vietnam Lebanon Cuba Finland Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia Saudi Arabia Kingdom of the Netherlands Sri Lanka Montenegro Georgia Norway Senegal Ireland Hungary Sudan Iceland Pakistan Belarus Morocco Croatia Albania Mexico Cyprus Japan Bangladesh Uganda Democratic Republic of the Congo Nigeria Estonia Chile Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Slovakia Slovenia Romania Bulgaria Mali Malaysia Côte d'Ivoire Egypt Uruguay Guatemala Liberia Cape Verde Spain Thailand Zambia
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Honduras
relation country of origin
type musical ensemble
type collectable
[[{'concept': 'musical ensemble'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?m > ?h ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:country_of_origin resource:Honduras . { { ?p rdf:type ontology:musical_ensemble } UNION { ?p rdf:type ontology:collectable } } } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?q WHERE { { ?f property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:musical_ensemble } UNION { ?f property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:collectable } } GROUP BY ?q } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q937857 Q21491099
P734 P106
Q502895
USER
Which people have Janssens as their family name and are not working as association football player ?
AND((c(Q502895),P734,Q21491099), NOT((c(Q502895),P106,Q937857)))
action filter_type
action difference
action find_reverse
entity Q21491099
relation P734
action find_reverse
entity Q937857
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q21491099'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q937857']]}]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . MINUS { ?k property:P106 resource:Q937857 } . ?k property:P734 resource:Q21491099 }
association football player Janssens
action filter_type
action difference
action find_reverse
entity Janssens
relation family name
action find_reverse
entity association football player
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Janssens'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'association football player']]}]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . MINUS { ?k property:occupation resource:association_football_player } . ?k property:family_name resource:Janssens }
[]
common name
Q2762653 Q2959437 Q591144 Q6424134 Q1900163 Q330139 Q2504329 Q2149073 Q15125419 Q2959452
SYSTEM
Some of them are Lieven Janssens, Charles Janssens, Marcel Janssens, Ko Janssens, Mark Janssens, Abraham Janssens, Uwe Janssens, Victor Honoré Janssens, Jan Janssens, Charles Janssens
Q4596990 Q3135313 Q1560475 Q2627246 Q14482034 Q3570215 Q591144 Q15126994 Q2127878 Q2149910 Q1450401 Q6424134 Q3083109 Q2775535 Q5324648 Q2932921 Q5481476 Q2850425 Q2634522 Q3083455 Q1911077 Q11708592 Q13735578 Q16073030 Q330139 Q15125419 Q12499 Q2959438 Q8078287 Q3262307 Q2138133 Q3850675 Q2157860 Q2959452 Q2638823 Q2538935 Q2076012 Q17428396 Q17428397 Q17428395 Q4884584 Q2684230 Q15324318 Q4533453 Q18285969 Q2959437 Q1900163 Q3028744 Q2444795 Q1875609 Q13808708 Q2588503 Q2490953 Q2702660 Q20666710 Q1956707 Q2149073 Q918726 Q2762653 Q2504329 Q3048568 Q8185024 Q2105854 Q2201389 Q3166827
AND((c(Q502895),P734,Q21491099), NOT((c(Q502895),P106,Q937857)))
action filter_type
action difference
action find_reverse
entity Q21491099
relation P734
action find_reverse
entity Q937857
relation P106
type Q502895
[ANSWERS] have Janssens as their family name and are not working as association football player
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q21491099'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q937857']]}]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . MINUS { ?k property:P106 resource:Q937857 } . ?k property:P734 resource:Q21491099 }
Daniel Janssens Hieronymus Janssens Robert Janssens Onno Janssens Theodoor Janssens Wynand Janssens Marcel Janssens Chris Janssens François Janssens Jozef Janssens de Varebeke Franziskus Janssens Ko Janssens Franz Janssens Marc Janssens Staf Janssens Bert Janssens Francis Janssens Ann Veronica Janssens Hans Peter Janssens François-Joseph Janssens Albertus Jacobus Clemens Janssens Hans Janssens Jan Janssens Frits Janssens Abraham Janssens Jan Janssens Patrick Janssens Charles Janssens Émile Janssens Louis Janssens Charles Janssens Frans Alfons Janssens Pieter Janssens Charles Janssens Alfons Janssens Luc Janssens Peter Janssens Raymond Janssens Willem Janssens Arthur Janssens Frans Janssens Kevin Janssens Edouard Janssens Walter Janssens Dirk Janssens Charles Janssens Mark Janssens Dionysia Carmen Janssens Ernest Janssens Pierre Janssens Magda Janssens Lode Janssens Ludo Janssens Johannes Janssens Johann Hermann Janssens Fernand Janssens Victor Honoré Janssens Jean-Baptiste Janssens Lieven Janssens Uwe Janssens Edward Janssens Jean Janssens Charel Janssens Jan Willem Janssens Jean-Louis Janssens
Lieven Janssens, Charles Janssens, Marcel Janssens, Ko Janssens, Mark Janssens, Abraham Janssens, Uwe Janssens, Victor Honoré Janssens, Jan Janssens and Charles Janssens have Janssens as their family name and are not working as association football player
Lieven Janssens Charles Janssens Marcel Janssens Ko Janssens Mark Janssens Abraham Janssens Uwe Janssens Victor Honoré Janssens Jan Janssens Charles Janssens
action filter_type
action difference
action find_reverse
entity Janssens
relation family name
action find_reverse
entity association football player
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Janssens'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'association football player']]}]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . MINUS { ?k property:occupation resource:association_football_player } . ?k property:family_name resource:Janssens }
[]