Simple Question (Direct)
Simple Question
Q11359225
P734
Q82799
USER
Who has the surname Shōzō Uesugi ?
(Q11359225,P734,c(Q82799))
action filter_type
action find
entity Q11359225
relation P734
type Q82799
['Q11359225', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q11359225 property:P734 ?j }
Shōzō Uesugi
action filter_type
action find
entity Shōzō Uesugi
relation family name
type name
['Shōzō Uesugi', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Shōzō_Uesugi property:family_name ?j }
[]
name
Q21498408
SYSTEM
Uesugi
Q21498408
(Q11359225,P734,c(Q82799))
action filter_type
action find
entity Q11359225
relation P734
type Q82799
[ANSWER] has the surname Shōzō [ANSWER]
['Q11359225', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q11359225 property:P734 ?j }
Uesugi
Uesugi has the surname Shōzō Uesugi
Uesugi
action filter_type
action find
entity Shōzō Uesugi
relation family name
type name
['Shōzō Uesugi', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Shōzō_Uesugi property:family_name ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11359225
P106
Q151885
USER
What is the job of Shōzō Uesugi ?
(Q11359225,P106,c(Q151885))
action filter_type
action find
entity Q11359225
relation P106
type Q151885
['Q11359225', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { resource:Q11359225 property:P106 ?g . ?g rdf:type ontology:Q151885 }
Shōzō Uesugi
action filter_type
action find
entity Shōzō Uesugi
relation occupation
type concept
['Shōzō Uesugi', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { resource:Shōzō_Uesugi property:occupation ?g . ?g rdf:type ontology:concept }
[]
concept
Q214917
SYSTEM
playwright
Q214917
(Q11359225,P106,c(Q151885))
action filter_type
action find
entity Q11359225
relation P106
type Q151885
The job of Shōzō Uesugi is a [ANSWER]
['Q11359225', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { resource:Q11359225 property:P106 ?g . ?g rdf:type ontology:Q151885 }
playwright
The job of Shōzō Uesugi is a playwright
playwright
action filter_type
action find
entity Shōzō Uesugi
relation occupation
type concept
['Shōzō Uesugi', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { resource:Shōzō_Uesugi property:occupation ?g . ?g rdf:type ontology:concept }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q11359225
Q12737077
USER
And which occupation?
(Q11359225,P106,c(Q12737077))
action filter_type
action find
entity Q11359225
relation P106
type Q12737077
['Q11359225', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q11359225 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Shōzō Uesugi
action filter_type
action find
entity Shōzō Uesugi
relation occupation
type occupation
['Shōzō Uesugi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Shōzō_Uesugi property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q943995 Q33999
SYSTEM
impresario, actor
Q943995 Q33999
(Q11359225,P106,c(Q12737077))
action filter_type
action find
entity Q11359225
relation P106
type Q12737077
[ANSWERS]
['Q11359225', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q11359225 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
impresario actor
impresario actor
action filter_type
action find
entity Shōzō Uesugi
relation occupation
type occupation
['Shōzō Uesugi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Shōzō_Uesugi property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6394257 Q11359225
P27
Q15617994
USER
Which administrative territories do Shōzō Uesugi or Keron Cummings belong to ?
OR((Q11359225,P27,c(Q15617994)), (Q6394257,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11359225
relation P27
action find
entity Q6394257
relation P27
type Q15617994
{'OR': [['Q11359225', 'P27', {'concept': 'Q15617994'}], ['Q6394257', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q11359225 property:P27 ?u } UNION { resource:Q6394257 property:P27 ?u } } . ?u rdf:type ontology:Q15617994 }
Keron Cummings Shōzō Uesugi
action filter_type
action union
action find
entity Shōzō Uesugi
relation country of citizenship
action find
entity Keron Cummings
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Shōzō Uesugi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Keron Cummings', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Shōzō_Uesugi property:country_of_citizenship ?u } UNION { resource:Keron_Cummings property:country_of_citizenship ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q754
SYSTEM
Japan, Trinidad and Tobago
Q17 Q754
OR((Q11359225,P27,c(Q15617994)), (Q6394257,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11359225
relation P27
action find
entity Q6394257
relation P27
type Q15617994
Shōzō Uesugi or Keron Cummings belong to both [ANSWERS]
{'OR': [['Q11359225', 'P27', {'concept': 'Q15617994'}], ['Q6394257', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q11359225 property:P27 ?u } UNION { resource:Q6394257 property:P27 ?u } } . ?u rdf:type ontology:Q15617994 }
Japan Trinidad and Tobago
Shōzō Uesugi or Keron Cummings belong to both Japan and Trinidad and Tobago
Japan Trinidad and Tobago
action filter_type
action union
action find
entity Shōzō Uesugi
relation country of citizenship
action find
entity Keron Cummings
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Shōzō Uesugi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Keron Cummings', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Shōzō_Uesugi property:country_of_citizenship ?u } UNION { resource:Keron_Cummings property:country_of_citizenship ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q1267889 Q337567 Q15617994
USER
Which administrative territories are located in the neighbourhood of min number of waterways and still waterss ?
(c(Q15617994),P206,c(Q1267889)|c(Q337567))
action argmin
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q337567
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?n ) { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1267889 ) ( ontology:Q337567 ) } } GROUP BY ?g } } . { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?j ) WHERE { { ?b rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q337567 . ?b property:P206 ?y } UNION { ?b property:P206 ?y . ?b rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1267889 } } GROUP BY ?b } . FILTER ( ?j = ?n ) }
action argmin
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?n ) { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ?i . VALUES ( ?i ) { ( ontology:waterway ) ( ontology:still_waters ) } } GROUP BY ?g } } . { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?j ) WHERE { { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:still_waters . ?b property:located_next_to_body_of_water ?y } UNION { ?b property:located_next_to_body_of_water ?y . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:waterway } } GROUP BY ?b } . FILTER ( ?j = ?n ) }
[]
waterway still waters designation for an administrative territorial entity
Q38 Q55 Q36
SYSTEM
Italy, Netherlands, Poland
Q21111 Q505785 Q446425 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q55 Q801 Q487328 Q1604782 Q241358 Q2316529 Q525945 Q14859 Q508863 Q568926 Q1650693 Q1009384 Q657 Q214 Q622487 Q4628 Q503693 Q4391124 Q884 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q532046 Q7496670 Q307508 Q36 Q38 Q6685 Q3352704 Q252772 Q769680 Q519663 Q2360428 Q255698 Q236 Q1984541 Q560870 Q20 Q621469 Q28 Q29 Q3088406 Q917406 Q511806 Q548982 Q3038 Q225 Q224 Q222 Q14889 Q229 Q347 Q17 Q338094 Q3939 Q1577 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q516567 Q507258 Q213 Q547059 Q215 Q269010 Q262684 Q573230 Q1604772 Q3923 Q174307 Q522992 Q1009 Q1438 Q522677 Q257859 Q252320 Q251778 Q895413 Q53742 Q567984 Q526087 Q1604766 Q7561974 Q948 Q2758 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q4149191 Q7942378
(c(Q15617994),P206,c(Q1267889)|c(Q337567))
action argmin
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q337567
[ANSWERS] are located in the neighbourhood of min number of waterways and still waterss
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?n ) { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1267889 ) ( ontology:Q337567 ) } } GROUP BY ?g } } . { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?j ) WHERE { { ?b rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q337567 . ?b property:P206 ?y } UNION { ?b property:P206 ?y . ?b rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1267889 } } GROUP BY ?b } . FILTER ( ?j = ?n ) }
Corn Islands Pförring Altwarp Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Netherlands Israel Marktl Ulul Schleiden Noordpolderzijl Pfofeld Ansbach Mindelstetten Maasholm Niamey III Weno Chad Slovakia Päwesin Faroe Islands Riedenburg Rakhlitsy South Korea Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Fischen Shillingford Yepifan Poland Italy Dorfhain Oneop Eichstätt Bornholm Kösching Tijuana Municipality Abensberg Montenegro Niamey II Owschlag Norway Wennigsen Hungary Spain Front de Seine Niamey V North Slope Borough Heidenheim Helgoland Bosnia and Herzegovina Croatia Albania Schwabach Cyprus Liechtenstein Japan Polsingen Dinslaken Neuwerk Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kappeln Kipfenberg Czech Republic Gnotzheim Slovenia Neustadt an der Donau Füssen Beilngries Moch Bayreuth Essing Braunlage Cameroon Campania Nassenfels Cham Pleinfeld Vohburg Bowen Island Donauwörth Woleai Nennslingen Pisaras Sonning Eye Tunisia Mönchengladbach British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Grigorovo Voxna
Italy, Netherlands and Poland are located in the neighbourhood of min number of waterways and still waterss
Italy Netherlands Poland
action argmin
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?n ) { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ?i . VALUES ( ?i ) { ( ontology:waterway ) ( ontology:still_waters ) } } GROUP BY ?g } } . { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?j ) WHERE { { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:still_waters . ?b property:located_next_to_body_of_water ?y } UNION { ?b property:located_next_to_body_of_water ?y . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:waterway } } GROUP BY ?b } . FILTER ( ?j = ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q38433
P180
Q151885 Q3516658 Q11060274
USER
Which concepts are demonstrated in more number of heraldic symbols and prints than Newton's laws of motion ?
(c(Q3516658)|c(Q11060274),P180,c(Q151885))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q151885
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q38433
relation P180
type Q3516658
type Q11060274
[[{'concept': 'Q3516658'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?o WHERE { { ?e property:P180 ?o . ?o rdf:type ontology:Q151885 . ?e rdf:type ontology:Q3516658 } UNION { ?o rdf:type ontology:Q151885 . ?e rdf:type ontology:Q11060274 . ?e property:P180 ?o } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P180 resource:Q38433 . { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:Q11060274 ) ( ontology:Q3516658 ) } } } } . FILTER ( ?w > ?c ) }
Newton's laws of motion
action greater
action union
action find_reverse_tuple_counts
relation depicts
type concept
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type concept
type print
action count
action filter_multi_types
action find_reverse
entity Newton's laws of motion
relation depicts
type heraldic symbol
type print
[[{'concept': 'heraldic symbol'}, {'concept': 'print'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?o WHERE { { ?e property:depicts ?o . ?o rdf:type ontology:concept . ?e rdf:type ontology:heraldic_symbol } UNION { ?o rdf:type ontology:concept . ?e rdf:type ontology:print . ?e property:depicts ?o } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:depicts resource:Newton's_laws_of_motion . { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:print ) ( ontology:heraldic_symbol ) } } } } . FILTER ( ?w > ?c ) }
[]
concept heraldic symbol print
Q193373 Q8436 Q467
SYSTEM
Gordian knot, family, woman
Q193373 Q8436 Q467 Q189829 Q527 Q8441 Q327055 Q2083958 Q1862087
(c(Q3516658)|c(Q11060274),P180,c(Q151885))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q151885
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q38433
relation P180
type Q3516658
type Q11060274
[ANSWERS] are demonstrated in more number of heraldic symbols and prints than Newton's laws of motion
[[{'concept': 'Q3516658'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?o WHERE { { ?e property:P180 ?o . ?o rdf:type ontology:Q151885 . ?e rdf:type ontology:Q3516658 } UNION { ?o rdf:type ontology:Q151885 . ?e rdf:type ontology:Q11060274 . ?e property:P180 ?o } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P180 resource:Q38433 . { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:Q11060274 ) ( ontology:Q3516658 ) } } } } . FILTER ( ?w > ?c ) }
Gordian knot family woman hermit sky man worker pattern prisoner
Gordian knot, family and woman are demonstrated in more number of heraldic symbols and prints than Newton's laws of motion
Gordian knot family woman
action greater
action union
action find_reverse_tuple_counts
relation depicts
type concept
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type concept
type print
action count
action filter_multi_types
action find_reverse
entity Newton's laws of motion
relation depicts
type heraldic symbol
type print
[[{'concept': 'heraldic symbol'}, {'concept': 'print'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?o WHERE { { ?e property:depicts ?o . ?o rdf:type ontology:concept . ?e rdf:type ontology:heraldic_symbol } UNION { ?o rdf:type ontology:concept . ?e rdf:type ontology:print . ?e property:depicts ?o } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:depicts resource:Newton's_laws_of_motion . { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:print ) ( ontology:heraldic_symbol ) } } } } . FILTER ( ?w > ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q13381863
P180
Q151885 Q3516658 Q11060274
USER
And also tell me about fencer?
(c(Q3516658)|c(Q11060274),P180,c(Q151885))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q151885
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q13381863
relation P180
type Q3516658
type Q11060274
[[{'concept': 'Q3516658'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?s ) WHERE { VALUES ( ?t ) { ( ontology:Q3516658 ) ( ontology:Q11060274 ) } . ?w rdf:type ?t } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P180 resource:Q13381863 . { { ?j rdf:type ontology:Q3516658 } UNION { ?j rdf:type ontology:Q11060274 } } } } . FILTER ( ?s > ?d ) }
fencer
action greater
action union
action find_reverse_tuple_counts
relation depicts
type concept
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type concept
type print
action count
action filter_multi_types
action find_reverse
entity fencer
relation depicts
type heraldic symbol
type print
[[{'concept': 'heraldic symbol'}, {'concept': 'print'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?s ) WHERE { VALUES ( ?t ) { ( ontology:heraldic_symbol ) ( ontology:print ) } . ?w rdf:type ?t } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:depicts resource:fencer . { { ?j rdf:type ontology:heraldic_symbol } UNION { ?j rdf:type ontology:print } } } } . FILTER ( ?s > ?d ) }
[]
concept heraldic symbol print
Q193373 Q8436 Q467
SYSTEM
Gordian knot, family, woman
Q193373 Q8436 Q467 Q189829 Q527 Q8441 Q327055 Q2083958 Q1862087
(c(Q3516658)|c(Q11060274),P180,c(Q151885))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q151885
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q13381863
relation P180
type Q3516658
type Q11060274
[ANSWERS]
[[{'concept': 'Q3516658'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?s ) WHERE { VALUES ( ?t ) { ( ontology:Q3516658 ) ( ontology:Q11060274 ) } . ?w rdf:type ?t } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P180 resource:Q13381863 . { { ?j rdf:type ontology:Q3516658 } UNION { ?j rdf:type ontology:Q11060274 } } } } . FILTER ( ?s > ?d ) }
Gordian knot family woman hermit sky man worker pattern prisoner
Gordian knot family woman
action greater
action union
action find_reverse_tuple_counts
relation depicts
type concept
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type concept
type print
action count
action filter_multi_types
action find_reverse
entity fencer
relation depicts
type heraldic symbol
type print
[[{'concept': 'heraldic symbol'}, {'concept': 'print'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?s ) WHERE { VALUES ( ?t ) { ( ontology:heraldic_symbol ) ( ontology:print ) } . ?w rdf:type ?t } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:depicts resource:fencer . { { ?j rdf:type ontology:heraldic_symbol } UNION { ?j rdf:type ontology:print } } } } . FILTER ( ?s > ?d ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P101
Q151885 Q21114848
USER
Which concepts do approximately the same number of magazine genres belong to as that concept ?
(c(Q21114848),P101,c(Q151885))
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q151885 }
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:concept }
[]
concept magazine genre
Comparative|More/Less|Single entity type|Clarification
Q8436
SYSTEM
Did you mean family ?
(c(Q21114848),P101,c(Q151885))
[ANSWER]
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q151885 }
Did you mean family ?
family
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:concept }
[]
Comparative Reasoning (All)
USER
No, I meant woman. Could you tell me the answer for that?
(c(Q21114848),P101,c(Q151885))
Q467
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q151885'}]
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'concept'}]
[]
Q4964182 Q131222 Q935586
SYSTEM
philosopher, information theory, Liturgical music
Q132438 Q935586 Q26384 Q3281534 Q1080208 Q2474068 Q177571 Q5127848 Q9730 Q43343 Q212944 Q177923 Q333018 Q131476 Q4204600 Q9778 Q826745 Q5465488 Q6661 Q37073 Q39072 Q674684 Q3014296 Q83270 Q612024 Q847526 Q38848 Q214917 Q860918 Q126236 Q131222 Q212024 Q1198874 Q373342 Q203549 Q908604 Q2389651 Q181043 Q4056436 Q4964182 Q4290 Q186075 Q192781 Q903820 Q205560 Q467 Q1476215 Q83440 Q855091 Q2066131 Q454 Q39680 Q15253558 Q622512 Q10294 Q1065742 Q858517 Q1195695 Q135637 Q8341 Q792542 Q8361 Q1336170 Q396077 Q482980 Q6501221 Q11401 Q3242115
(c(Q21114848),P101,c(Q151885))
[ANSWERS] approximately the same number of magazine genres belong to as that concept
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q151885 }
black metal Liturgical music do it yourself modern history production theory cosmetology decision theory class classical music contemporary folk music klezmer auction Common descent graph theory History of Ancient Rome electronic music humanitarian aid food history French cuisine pop music microeconomics Sevdalinka motorcycle racer hard rock contemporary classical music queueing theory heavy metal music playwright Esperantist conquistador information theory Negro spiritual operator theory popular music scientific management social history children's music dissident Bard philosopher investing contemporary history military history field theory trip hop woman human rights activist country music guitarist sportsperson peace macroeconomics activist Spanish cuisine poverty religious music cultural history intellectual history chiptune jazz axiomatic system Baroque music Ramsey theory agrarian history author control theory hip hop revolutionary
Philosopher, information theory and Liturgical music approximately the same number of magazine genres belong to as that concept
philosopher information theory Liturgical music
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:concept }
[]
Clarification
Simple Question|Single Entity|Indirect
Q131222
P921
Q2342494
USER
Which collectable is that concept a main subject of ?
(c(Q2342494),P921,Q131222)
action filter_type
action find_reverse
entity Q131222
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q131222']
SELECT DISTINCT ?p WHERE { ?p property:P921 resource:Q131222 . ?p rdf:type ontology:Q2342494 }
information theory
action filter_type
action find_reverse
entity information theory
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'information theory']
SELECT DISTINCT ?p WHERE { ?p property:main_subject resource:information_theory . ?p rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q131222
SYSTEM
Did you mean information theory ?
Q4964182 Q131222 Q935586
(c(Q2342494),P921,Q4964182) (c(Q2342494),P921,Q131222) (c(Q2342494),P921,Q935586)
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q4964182'] [{'concept': 'Q2342494'}, 'P921', 'Q131222'] [{'concept': 'Q2342494'}, 'P921', 'Q935586']
SELECT DISTINCT ?p WHERE { ?p property:P921 resource:Q131222 . ?p rdf:type ontology:Q2342494 }
philosopher information theory Liturgical music
Did you mean information theory ?
information theory
[{'concept': 'collectable'}, 'main subject', 'philosopher'] [{'concept': 'collectable'}, 'main subject', 'information theory'] [{'concept': 'collectable'}, 'main subject', 'Liturgical music']
SELECT DISTINCT ?p WHERE { ?p property:main_subject resource:information_theory . ?p rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2342494),P921,Q131222)
[{'concept': 'Q2342494'}, 'P921', 'Q131222']
[{'concept': 'collectable'}, 'main subject', 'information theory']
[]
Q724029
SYSTEM
A Mathematical Theory of Communication
Q724029
(c(Q2342494),P921,Q131222)
action filter_type
action find_reverse
entity Q131222
relation P921
type Q2342494
Which collectable is that concept a main subject of
[{'concept': 'Q2342494'}, 'P921', 'Q131222']
SELECT DISTINCT ?p WHERE { ?p property:P921 resource:Q131222 . ?p rdf:type ontology:Q2342494 }
A Mathematical Theory of Communication
Which collectable is that concept a main subject of
A Mathematical Theory of Communication
action filter_type
action find_reverse
entity information theory
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'information theory']
SELECT DISTINCT ?p WHERE { ?p property:main_subject resource:information_theory . ?p rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131222
P361
Q336
USER
Which sciences are information theory a part of ?
(Q131222,P361,c(Q336))
action filter_type
action find
entity Q131222
relation P361
type Q336
['Q131222', 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?w WHERE { resource:Q131222 property:P361 ?w . ?w rdf:type ontology:Q336 }
information theory
action filter_type
action find
entity information theory
relation part of
type science
['information theory', 'part of', {'concept': 'science'}]
SELECT DISTINCT ?w WHERE { resource:information_theory property:part_of ?w . ?w rdf:type ontology:science }
[]
science
Q395 Q147638
SYSTEM
mathematics, cognitive science
Q395 Q147638
(Q131222,P361,c(Q336))
action filter_type
action find
entity Q131222
relation P361
type Q336
[ANSWERS] are information theory a part of
['Q131222', 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?w WHERE { resource:Q131222 property:P361 ?w . ?w rdf:type ontology:Q336 }
mathematics cognitive science
Mathematics and cognitive science are information theory a part of
mathematics cognitive science
action filter_type
action find
entity information theory
relation part of
type science
['information theory', 'part of', {'concept': 'science'}]
SELECT DISTINCT ?w WHERE { resource:information_theory property:part_of ?w . ?w rdf:type ontology:science }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q131222
Q1047113
USER
And which special field?
(Q131222,P361,c(Q1047113))
action filter_type
action find
entity Q131222
relation P361
type Q1047113
['Q131222', 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ?z WHERE { resource:Q131222 property:P361 ?z . ?z rdf:type ontology:Q1047113 }
information theory
action filter_type
action find
entity information theory
relation part of
type special field
['information theory', 'part of', {'concept': 'special field'}]
SELECT DISTINCT ?z WHERE { resource:information_theory property:part_of ?z . ?z rdf:type ontology:special_field }
[]
special field
Q21198
SYSTEM
computer science
Q21198
(Q131222,P361,c(Q1047113))
action filter_type
action find
entity Q131222
relation P361
type Q1047113
[ANSWER]
['Q131222', 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ?z WHERE { resource:Q131222 property:P361 ?z . ?z rdf:type ontology:Q1047113 }
computer science
computer science
action filter_type
action find
entity information theory
relation part of
type special field
['information theory', 'part of', {'concept': 'special field'}]
SELECT DISTINCT ?z WHERE { resource:information_theory property:part_of ?z . ?z rdf:type ontology:special_field }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P101
Q502895
USER
How many people have specialisation in that special field ?
(c(Q502895),P101,Q21198)
action count
action filter_type
action find_reverse
entity Q21198
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q21198']
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P101 resource:Q21198 . ?z rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity computer science
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'computer science']
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:field_of_work resource:computer_science . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
67
Q17457 Q2385483 Q3169881 Q5110720 Q20830617 Q3524190 Q92944 Q92781 Q5493428 Q92695 Q3262724 Q2361839 Q60093 Q2377021 Q5562077 Q204815 Q3083180 Q20731635 Q92743 Q3176866 Q15994985 Q92778 Q2475715 Q6711047 Q15995384 Q3479573 Q3350958 Q3456013 Q1659753 Q6169542 Q3301202 Q18720176 Q13399681 Q4895906 Q892115 Q4963278 Q92853 Q3123761 Q299723 Q6171277 Q92635 Q3570727 Q7259 Q7251 Q3438206 Q62857 Q11609 Q14218 Q62843 Q1651791 Q93072 Q93077 Q7184820 Q93013 Q5360702 Q1840472 Q92946 Q4705657 Q93027 Q16029529 Q974366 Q3167700 Q3124458 Q3571662 Q5128934 Q5212421 Q92596
(c(Q502895),P101,Q21198)
action count
action filter_type
action find_reverse
entity Q21198
relation P101
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q21198']
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:P101 resource:Q21198 . ?z rdf:type ontology:Q502895 }
Donald Knuth Patrick Cousot Jean-Raymond Abrial Christien Rioux Loren Terveen Thierry Coquand David Wheeler Joseph Sifakis François Vernadat Philippe Flajolet Louis Monier Jean-Daniel Fekete Konrad Zuse Fokko du Cloux Gilles Motet Marvin Minsky Louis Pouzin Anne Le Calvé Vint Cerf Sam Hocevar Lori A. Clarke J. C. R. Licklider Ulrich Drepper Léon Bottou Leon J. Osterweil Serge Vaudenay Olivier Danvy Rémi Després Mike Paterson Jean-Marc Jézéquel Maurice Nivat Nuria Oliver Pierre Genevès Bertrand du Castel Bernard Chazelle Brian Cantwell Smith Jean Ichbiah Gérard Berry Howard H. Aiken Jean Paoli Jacques Vallée Xavier Leroy Ada Lovelace Alan Turing Rodnay Zaks Maurice Wilkes Shafrira Goldwasser Colette Rolland Bob Kahn Gilles Kahn Alain Colmerauer Jean Kuntzmann Philippe Gautier Fabrice Bellard Elie Bursztein Roberto Ierusalimschy Bertrand Meyer Alain Fournier Henri Gouraud Jeff Berryman Gérard Huet Jean-Marie Hullot Géraud Sénizergues Yann LeCun Claude Lemaréchal Damien Doligez Edgar F. Codd
67
action count
action filter_type
action find_reverse
entity computer science
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'computer science']
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z property:field_of_work resource:computer_science . ?z rdf:type ontology:common_name }
[]