Simple Question (Direct)
Simple Question
Q22680403
P40
Q502895
USER
Which person is a successor of John Driver ?
(Q22680403,P40,c(Q502895))
action filter_type
action find
entity Q22680403
relation P40
type Q502895
['Q22680403', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q22680403 property:P40 ?w . ?w rdf:type ontology:Q502895 }
John Driver
action filter_type
action find
entity John Driver
relation child
type common name
['John Driver', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:John_Driver property:child ?w . ?w rdf:type ontology:common_name }
[]
common name
Q22680404
SYSTEM
Jamie Driver
Q22680404
(Q22680403,P40,c(Q502895))
action filter_type
action find
entity Q22680403
relation P40
type Q502895
[ANSWER] is a successor of John Driver
['Q22680403', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q22680403 property:P40 ?w . ?w rdf:type ontology:Q502895 }
Jamie Driver
Jamie Driver is a successor of John Driver
Jamie Driver
action filter_type
action find
entity John Driver
relation child
type common name
['John Driver', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:John_Driver property:child ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22680403
P22
Q502895
USER
Which person has John Driver as a parent ?
(c(Q502895),P22,Q22680403)
action filter_type
action find_reverse
entity Q22680403
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q22680403']
SELECT DISTINCT ?j WHERE { ?j property:P22 resource:Q22680403 . ?j rdf:type ontology:Q502895 }
John Driver
action filter_type
action find_reverse
entity John Driver
relation father
type common name
[{'concept': 'common name'}, 'father', 'John Driver']
SELECT DISTINCT ?j WHERE { ?j property:father resource:John_Driver . ?j rdf:type ontology:common_name }
[]
common name
Q22680404
SYSTEM
Jamie Driver
Q22680404
(c(Q502895),P22,Q22680403)
action filter_type
action find_reverse
entity Q22680403
relation P22
type Q502895
[ANSWER] has John Driver as a parent
[{'concept': 'Q502895'}, 'P22', 'Q22680403']
SELECT DISTINCT ?j WHERE { ?j property:P22 resource:Q22680403 . ?j rdf:type ontology:Q502895 }
Jamie Driver
Jamie Driver has John Driver as a parent
Jamie Driver
action filter_type
action find_reverse
entity John Driver
relation father
type common name
[{'concept': 'common name'}, 'father', 'John Driver']
SELECT DISTINCT ?j WHERE { ?j property:father resource:John_Driver . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22680403
P734
Q82799
USER
Who is associated with John Driver ?
(Q22680403,P734,c(Q82799))
action filter_type
action find
entity Q22680403
relation P734
type Q82799
['Q22680403', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q22680403 property:P734 ?m . ?m rdf:type ontology:Q82799 }
John Driver
action filter_type
action find
entity John Driver
relation family name
type name
['John Driver', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:John_Driver property:family_name ?m . ?m rdf:type ontology:name }
[]
name
Q16869674
SYSTEM
Driver
Q16869674
(Q22680403,P734,c(Q82799))
action filter_type
action find
entity Q22680403
relation P734
type Q82799
[ANSWER] [ANSWER] is associated with John [ANSWER]
['Q22680403', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q22680403 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Driver
Driver Driver is associated with John Driver
Driver
action filter_type
action find
entity John Driver
relation family name
type name
['John Driver', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:John_Driver property:family_name ?m . ?m rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22680403
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q16869674,P1412,c(Q34770))
action filter_type
action find
entity Q22680403
relation P1412
type Q34770
['Q16869674', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q34770 . resource:Q22680403 property:P1412 ?r }
John Driver
action filter_type
action find
entity John Driver
relation languages spoken, written or signed
type language
['Driver', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:language . resource:John_Driver property:languages_spoken,_written_or_signed ?r }
[]
language
Q1860
SYSTEM
English
Q1860
(Q16869674,P1412,c(Q34770))
action filter_type
action find
entity Q22680403
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q16869674', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q34770 . resource:Q22680403 property:P1412 ?r }
English
English is that person capable of writing
English
action filter_type
action find
entity John Driver
relation languages spoken, written or signed
type language
['Driver', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:language . resource:John_Driver property:languages_spoken,_written_or_signed ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22680403
P19
Q5119
USER
Which capital is the place of birth of that person ?
(Q1860,P19,c(Q5119))
action filter_type
action find
entity Q22680403
relation P19
type Q5119
['Q1860', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q5119 . resource:Q22680403 property:P19 ?d }
John Driver
action filter_type
action find
entity John Driver
relation place of birth
type capital
['English', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:capital . resource:John_Driver property:place_of_birth ?d }
[]
capital
Q234061
SYSTEM
Erie
Q234061
(Q1860,P19,c(Q5119))
action filter_type
action find
entity Q22680403
relation P19
type Q5119
[ANSWER] is the place of birth of that person
['Q1860', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q5119 . resource:Q22680403 property:P19 ?d }
Erie
Erie is the place of birth of that person
Erie
action filter_type
action find
entity John Driver
relation place of birth
type capital
['English', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:capital . resource:John_Driver property:place_of_birth ?d }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1408
Q5119 Q4830453
USER
How many capitals are greater number of business enterprises permitted to broadcast as per their license than that capital ?
(c(Q4830453),P1408,c(Q5119))
action count
action greater
action find_reverse_tuple_counts
relation P1408
type Q5119
type Q4830453
action count
action filter_type
action find
entity Q234061
relation P1408
type Q5119
[{'concept': 'Q4830453'}, 'P1408', {'concept': 'Q5119'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:P1408 ?o . ?k rdf:type ontology:Q4830453 . ?o rdf:type ontology:Q5119 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q234061 property:P1408 ?c . ?c rdf:type ontology:Q5119 } } . FILTER ( ?p > ?d ) }
action count
action greater
action find_reverse_tuple_counts
relation licensed to broadcast to
type capital
type business enterprise
action count
action filter_type
action find
entity Erie
relation licensed to broadcast to
type capital
[{'concept': 'business enterprise'}, 'licensed to broadcast to', {'concept': 'capital'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:licensed_to_broadcast_to ?o . ?k rdf:type ontology:business_enterprise . ?o rdf:type ontology:capital } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Erie property:licensed_to_broadcast_to ?c . ?c rdf:type ontology:capital } } . FILTER ( ?p > ?d ) }
[]
capital business enterprise
SYSTEM
4
Q163132 Q25893 Q38453 Q18013
(c(Q4830453),P1408,c(Q5119))
action count
action greater
action find_reverse_tuple_counts
relation P1408
type Q5119
type Q4830453
action count
action filter_type
action find
entity Q234061
relation P1408
type Q5119
[ANSWER]
[{'concept': 'Q4830453'}, 'P1408', {'concept': 'Q5119'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:P1408 ?o . ?k rdf:type ontology:Q4830453 . ?o rdf:type ontology:Q5119 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q234061 property:P1408 ?c . ?c rdf:type ontology:Q5119 } } . FILTER ( ?p > ?d ) }
Akron Rutland Columbia Sacramento
4
action count
action greater
action find_reverse_tuple_counts
relation licensed to broadcast to
type capital
type business enterprise
action count
action filter_type
action find
entity Erie
relation licensed to broadcast to
type capital
[{'concept': 'business enterprise'}, 'licensed to broadcast to', {'concept': 'capital'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:licensed_to_broadcast_to ?o . ?k rdf:type ontology:business_enterprise . ?o rdf:type ontology:capital } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Erie property:licensed_to_broadcast_to ?c . ?c rdf:type ontology:capital } } . FILTER ( ?p > ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q8216
P282
Q2001982 Q34770
USER
How many notations are utilized as the script for less number of languages than Greek alphabet ?
(c(Q34770),P282,c(Q2001982))
action count
action less
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find_reverse
entity Q8216
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?q ) WHERE { ?b rdf:type ontology:Q2001982 . ?p rdf:type ontology:Q34770 . ?p property:P282 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:P282 resource:Q8216 . ?l rdf:type ontology:Q34770 } } . FILTER ( ?q < ?k ) }
Greek alphabet
action count
action less
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find_reverse
entity Greek alphabet
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?q ) WHERE { ?b rdf:type ontology:notation . ?p rdf:type ontology:language . ?p property:writing_system ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:writing_system resource:Greek_alphabet . ?l rdf:type ontology:language } } . FILTER ( ?q < ?k ) }
[]
notation language
SYSTEM
20
Q3544702 Q82772 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q1771716 Q26978 Q3322653 Q1089000 Q790681 Q752854 Q185083 Q401 Q806024 Q2479183
(c(Q34770),P282,c(Q2001982))
action count
action less
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find_reverse
entity Q8216
relation P282
type Q34770
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?q ) WHERE { ?b rdf:type ontology:Q2001982 . ?p rdf:type ontology:Q34770 . ?p property:P282 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:P282 resource:Q8216 . ?l rdf:type ontology:Q34770 } } . FILTER ( ?q < ?k ) }
Manichaean alphabet kanji Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Pahlavi scripts Aramaic alphabet Southwest Paleohispanic script Sarati Avestan alphabet Sui script Brahmi script cuneiform Bamum script Canadian Aboriginal syllabics
20
action count
action less
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find_reverse
entity Greek alphabet
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?q ) WHERE { ?b rdf:type ontology:notation . ?p rdf:type ontology:language . ?p property:writing_system ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l property:writing_system resource:Greek_alphabet . ?l rdf:type ontology:language } } . FILTER ( ?q < ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q790681
P282
Q2001982 Q34770
USER
And also tell me about Avestan alphabet?
(c(Q34770),P282,c(Q2001982))
action count
action less
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find_reverse
entity Q790681
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:P282 ?c . ?s rdf:type ontology:Q34770 . ?c rdf:type ontology:Q2001982 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P282 resource:Q790681 . ?o rdf:type ontology:Q34770 } } . FILTER ( ?l < ?n ) }
Avestan alphabet
action count
action less
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find_reverse
entity Avestan alphabet
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:writing_system ?c . ?s rdf:type ontology:language . ?c rdf:type ontology:notation } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:writing_system resource:Avestan_alphabet . ?o rdf:type ontology:language } } . FILTER ( ?l < ?n ) }
[]
notation language
SYSTEM
15
Q3544702 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q26978 Q1089000 Q752854 Q185083 Q806024 Q2479183
(c(Q34770),P282,c(Q2001982))
action count
action less
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find_reverse
entity Q790681
relation P282
type Q34770
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:P282 ?c . ?s rdf:type ontology:Q34770 . ?c rdf:type ontology:Q2001982 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P282 resource:Q790681 . ?o rdf:type ontology:Q34770 } } . FILTER ( ?l < ?n ) }
Manichaean alphabet Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Aramaic alphabet Sarati Sui script Brahmi script Bamum script Canadian Aboriginal syllabics
15
action count
action less
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find_reverse
entity Avestan alphabet
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:writing_system ?c . ?s rdf:type ontology:language . ?c rdf:type ontology:notation } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:writing_system resource:Avestan_alphabet . ?o rdf:type ontology:language } } . FILTER ( ?l < ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q21506948
P361
Q8436 Q151885 Q82799
USER
How many names are a component of greater number of families or concepts than Izumi ?
(c(Q82799),P361,c(Q8436)|c(Q151885))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q151885
action count
action filter_multi_types
action find
entity Q21506948
relation P361
type Q8436
type Q151885
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) ?m WHERE { VALUES ( ?u ) { ( ontology:Q8436 ) ( ontology:Q151885 ) } . ?b rdf:type ?u } GROUP BY ?m } . FILTER ( ?o > ?r ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Q21506948 property:P361 ?d . { { ?d rdf:type ontology:Q151885 } UNION { ?d rdf:type ontology:Q8436 } } } } }
Izumi
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type concept
action count
action filter_multi_types
action find
entity Izumi
relation part of
type family
type concept
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) ?m WHERE { VALUES ( ?u ) { ( ontology:family ) ( ontology:concept ) } . ?b rdf:type ?u } GROUP BY ?m } . FILTER ( ?o > ?r ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Izumi property:part_of ?d . { { ?d rdf:type ontology:concept } UNION { ?d rdf:type ontology:family } } } } }
[]
family concept name
SYSTEM
5
Q1058384 Q235598 Q742083 Q746990 Q876933
(c(Q82799),P361,c(Q8436)|c(Q151885))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q151885
action count
action filter_multi_types
action find
entity Q21506948
relation P361
type Q8436
type Q151885
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) ?m WHERE { VALUES ( ?u ) { ( ontology:Q8436 ) ( ontology:Q151885 ) } . ?b rdf:type ?u } GROUP BY ?m } . FILTER ( ?o > ?r ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Q21506948 property:P361 ?d . { { ?d rdf:type ontology:Q151885 } UNION { ?d rdf:type ontology:Q8436 } } } } }
hakham Piso Princes of Paliano Brahman magi
5
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type concept
action count
action filter_multi_types
action find
entity Izumi
relation part of
type family
type concept
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) ?m WHERE { VALUES ( ?u ) { ( ontology:family ) ( ontology:concept ) } . ?b rdf:type ?u } GROUP BY ?m } . FILTER ( ?o > ?r ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Izumi property:part_of ?d . { { ?d rdf:type ontology:concept } UNION { ?d rdf:type ontology:family } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q26822132
P361
Q8436 Q151885 Q82799
USER
And what about Wito?
(c(Q82799),P361,c(Q8436)|c(Q151885))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q151885
action count
action filter_multi_types
action find
entity Q26822132
relation P361
type Q8436
type Q151885
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?r WHERE { { ?r property:P361 ?t . ?r rdf:type ontology:Q82799 . ?t rdf:type ontology:Q8436 } UNION { ?r rdf:type ontology:Q82799 . ?t rdf:type ontology:Q151885 . ?r property:P361 ?t } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q26822132 property:P361 ?e . { { ?e rdf:type ontology:Q8436 } UNION { ?e rdf:type ontology:Q151885 } } } } . FILTER ( ?u > ?z ) }
Wito
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type concept
action count
action filter_multi_types
action find
entity Wito
relation part of
type family
type concept
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?r WHERE { { ?r property:part_of ?t . ?r rdf:type ontology:name . ?t rdf:type ontology:family } UNION { ?r rdf:type ontology:name . ?t rdf:type ontology:concept . ?r property:part_of ?t } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Wito property:part_of ?e . { { ?e rdf:type ontology:family } UNION { ?e rdf:type ontology:concept } } } } . FILTER ( ?u > ?z ) }
[]
family concept name
SYSTEM
5
Q1058384 Q235598 Q742083 Q746990 Q876933
(c(Q82799),P361,c(Q8436)|c(Q151885))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q151885
action count
action filter_multi_types
action find
entity Q26822132
relation P361
type Q8436
type Q151885
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?r WHERE { { ?r property:P361 ?t . ?r rdf:type ontology:Q82799 . ?t rdf:type ontology:Q8436 } UNION { ?r rdf:type ontology:Q82799 . ?t rdf:type ontology:Q151885 . ?r property:P361 ?t } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q26822132 property:P361 ?e . { { ?e rdf:type ontology:Q8436 } UNION { ?e rdf:type ontology:Q151885 } } } } . FILTER ( ?u > ?z ) }
hakham Piso Princes of Paliano Brahman magi
5
action count
action greater
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type concept
action count
action filter_multi_types
action find
entity Wito
relation part of
type family
type concept
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?r WHERE { { ?r property:part_of ?t . ?r rdf:type ontology:name . ?t rdf:type ontology:family } UNION { ?r rdf:type ontology:name . ?t rdf:type ontology:concept . ?r property:part_of ?t } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Wito property:part_of ?e . { { ?e rdf:type ontology:family } UNION { ?e rdf:type ontology:concept } } } } . FILTER ( ?u > ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q84794
P841
Q573 Q186081 Q502895
USER
How many people have lesser number of days or time intervals as principal feast day than László Batthyány-Strattmann ?
(c(Q502895),P841,c(Q573)|c(Q186081))
action count
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q573
action find_tuple_counts
relation P841
type Q502895
type Q186081
action count
action filter_multi_types
action find
entity Q84794
relation P841
type Q573
type Q186081
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?q ) WHERE { { ?j property:P841 ?i . ?j rdf:type ontology:Q502895 . ?i rdf:type ontology:Q573 } UNION { ?j property:P841 ?i . ?j rdf:type ontology:Q502895 . ?i rdf:type ontology:Q186081 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Q84794 property:P841 ?m . { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:Q573 ) ( ontology:Q186081 ) } } } } . FILTER ( ?q < ?g ) }
László Batthyány-Strattmann
action count
action less
action union
action find_tuple_counts
relation feast day
type common name
type day
action find_tuple_counts
relation feast day
type common name
type time interval
action count
action filter_multi_types
action find
entity László Batthyány-Strattmann
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?q ) WHERE { { ?j property:feast_day ?i . ?j rdf:type ontology:common_name . ?i rdf:type ontology:day } UNION { ?j property:feast_day ?i . ?j rdf:type ontology:common_name . ?i rdf:type ontology:time_interval } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:László_Batthyány-Strattmann property:feast_day ?m . { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:day ) ( ontology:time_interval ) } } } } . FILTER ( ?q < ?g ) }
[]
day time interval common name
SYSTEM
11
Q384117 Q365797 Q3483257 Q679784 Q3483161 Q3483259 Q3483263 Q167477 Q3047912 Q269889 Q2701365
(c(Q502895),P841,c(Q573)|c(Q186081))
action count
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q573
action find_tuple_counts
relation P841
type Q502895
type Q186081
action count
action filter_multi_types
action find
entity Q84794
relation P841
type Q573
type Q186081
[ANSWER]
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?q ) WHERE { { ?j property:P841 ?i . ?j rdf:type ontology:Q502895 . ?i rdf:type ontology:Q573 } UNION { ?j property:P841 ?i . ?j rdf:type ontology:Q502895 . ?i rdf:type ontology:Q186081 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Q84794 property:P841 ?m . { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:Q573 ) ( ontology:Q186081 ) } } } } . FILTER ( ?q < ?g ) }
Aignan of Orleans Ahmad al-Tijani Sidi M'hamed Bou Qobrine Pier Giorgio Frassati Sidi Abder Rahman El Thaelebi Sidi M'hand Oumalek Sidi Mansour Anthony of Padua Seraphina Sforza Joanna, wife of Chuza Thomas Percy, 7th Earl of Northumberland
11
action count
action less
action union
action find_tuple_counts
relation feast day
type common name
type day
action find_tuple_counts
relation feast day
type common name
type time interval
action count
action filter_multi_types
action find
entity László Batthyány-Strattmann
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?q ) WHERE { { ?j property:feast_day ?i . ?j rdf:type ontology:common_name . ?i rdf:type ontology:day } UNION { ?j property:feast_day ?i . ?j rdf:type ontology:common_name . ?i rdf:type ontology:time_interval } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:László_Batthyány-Strattmann property:feast_day ?m . { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:day ) ( ontology:time_interval ) } } } } . FILTER ( ?q < ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q788443
P841
Q573 Q186081 Q502895
USER
And what about San Sabino eremita?
(c(Q502895),P841,c(Q573)|c(Q186081))
action count
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q573
action find_tuple_counts
relation P841
type Q502895
type Q186081
action count
action filter_multi_types
action find
entity Q788443
relation P841
type Q573
type Q186081
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?e ) WHERE { VALUES ( ?a ) { ( ontology:Q573 ) ( ontology:Q186081 ) } . ?c rdf:type ?a } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Q788443 property:P841 ?g . { ?g rdf:type ?o . VALUES ( ?o ) { ( ontology:Q186081 ) ( ontology:Q573 ) } } } } . FILTER ( ?e < ?l ) }
San Sabino eremita
action count
action less
action union
action find_tuple_counts
relation feast day
type common name
type day
action find_tuple_counts
relation feast day
type common name
type time interval
action count
action filter_multi_types
action find
entity San Sabino eremita
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?e ) WHERE { VALUES ( ?a ) { ( ontology:day ) ( ontology:time_interval ) } . ?c rdf:type ?a } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:San_Sabino_eremita property:feast_day ?g . { ?g rdf:type ?o . VALUES ( ?o ) { ( ontology:time_interval ) ( ontology:day ) } } } } . FILTER ( ?e < ?l ) }
[]
day time interval common name
SYSTEM
11
Q384117 Q365797 Q3483257 Q679784 Q3483161 Q3483259 Q3483263 Q167477 Q3047912 Q269889 Q2701365
(c(Q502895),P841,c(Q573)|c(Q186081))
action count
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q573
action find_tuple_counts
relation P841
type Q502895
type Q186081
action count
action filter_multi_types
action find
entity Q788443
relation P841
type Q573
type Q186081
[ANSWER]
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?e ) WHERE { VALUES ( ?a ) { ( ontology:Q573 ) ( ontology:Q186081 ) } . ?c rdf:type ?a } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Q788443 property:P841 ?g . { ?g rdf:type ?o . VALUES ( ?o ) { ( ontology:Q186081 ) ( ontology:Q573 ) } } } } . FILTER ( ?e < ?l ) }
Aignan of Orleans Ahmad al-Tijani Sidi M'hamed Bou Qobrine Pier Giorgio Frassati Sidi Abder Rahman El Thaelebi Sidi M'hand Oumalek Sidi Mansour Anthony of Padua Seraphina Sforza Joanna, wife of Chuza Thomas Percy, 7th Earl of Northumberland
11
action count
action less
action union
action find_tuple_counts
relation feast day
type common name
type day
action find_tuple_counts
relation feast day
type common name
type time interval
action count
action filter_multi_types
action find
entity San Sabino eremita
relation feast day
type day
type time interval
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?e ) WHERE { VALUES ( ?a ) { ( ontology:day ) ( ontology:time_interval ) } . ?c rdf:type ?a } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:San_Sabino_eremita property:feast_day ?g . { ?g rdf:type ?o . VALUES ( ?o ) { ( ontology:time_interval ) ( ontology:day ) } } } } . FILTER ( ?e < ?l ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1093977 Q234061
P495 P17
Q15617994
USER
Which administrative territories do Erie belong to and are the origins of Howling II: Your Sister Is a Werewolf ?
AND((Q234061,P17,c(Q15617994)), (Q1093977,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q234061
relation P17
action find
entity Q1093977
relation P495
type Q15617994
{'AND': [['Q234061', 'P17', {'concept': 'Q15617994'}], ['Q1093977', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { resource:Q1093977 property:P495 ?l . resource:Q234061 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Howling II: Your Sister Is a Werewolf Erie
action filter_type
action intersection
action find
entity Erie
relation country
action find
entity Howling II: Your Sister Is a Werewolf
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Erie', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Howling II: Your Sister Is a Werewolf', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { resource:Howling_II:_Your_Sister_Is_a_Werewolf property:country_of_origin ?l . resource:Erie property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q234061,P17,c(Q15617994)), (Q1093977,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q234061
relation P17
action find
entity Q1093977
relation P495
type Q15617994
Erie belong to [ANSWER] and are the origins of Howling II : Your Sister
{'AND': [['Q234061', 'P17', {'concept': 'Q15617994'}], ['Q1093977', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { resource:Q1093977 property:P495 ?l . resource:Q234061 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
Erie belong to United States of America and are the origins of Howling II : Your Sister
United States of America
action filter_type
action intersection
action find
entity Erie
relation country
action find
entity Howling II: Your Sister Is a Werewolf
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Erie', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Howling II: Your Sister Is a Werewolf', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { resource:Howling_II:_Your_Sister_Is_a_Werewolf property:country_of_origin ?l . resource:Erie property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]